LDP L2VPN Operational Commands

show ldp binding

Syntax:

show ldp binding <option>

Option Description

-

Without any option, this command displays a summary of all the LDP label bindings.

detail

Displays detailed LDP label binding information.

instance <instance-name>

Displays LDP label binding information of the specified instance.

instance <instance-name> <afi>

Displays LDP label binding information of the specified address family. Supported AFI value: l2vpn.

instance <instance-name> <afi> detail

Displays detailed LDP label binding information of the specified address family.

instance <instance-name> <afi> prefix <ip>

Displays LDP label binding information of the specified prefix and instance for the specified address family.

instance <instance-name> <afi> prefix <ip> detail

Displays detailed LDP label binding information of the specified prefix and instance for the specified address family.

received

Displays the LDP received label binding information of the LDP sessions.

received instance <instance-name> <afi>

Displays LDP received label binding information of the specified address family and instance.

received instance <instance-name> <afi> detail

Displays detailed LDP received label binding information of the specified address family and instance.

received instance <instance-name> <afi> ldp-id <ldp-id>

Displays LDP received label binding information of the specified instance.

received instance <instance-name> <afi> ldp-id <ldp-id> detail

Displays detailed LDP received label binding information of the specified LDP identifier and instance.

received <afi>

Displays LDP received label binding information of the specified address family. Supported AFI values: l2vpn.

received <afi> detail

Displays detailed LDP received label binding information of the specified address family.

received <afi> instance <instance-name>

Displays LDP received label binding information of the specified address family and instance.

received <afi> instance <instance-name> detail

Displays detailed LDP received label binding information of the specified address family and instance.

received <afi> instance <instance-name> ldp-id <ldp-id>

Displays LDP received label binding information of the specified address family, instance, and LDP identifier.

received <afi> ldp-id <ldp-id>

Displays LDP received label binding information of the specified address family and LDP identifier.

received <afi> ldp-id <ldp-id> detail

Displays detailed LDP received label binding information of the specified address family and LDP identifier.

sent

Displays the LDP sent label binding information of the LDP sessions.

sent instance <instance-name> <afi>

Displays LDP sent label binding information of the specified address family and instance. Supported AFI values: l2vpn.

sent instance <instance-name> <afi> detail

Displays detailed LDP sent label binding information of the specified address family and instance.

sent instance <instance-name> <afi> prefix <ip>

Displays LDP sent label binding information of the specified address family, instance, and prefix.

sent instance <instance-name> <afi> prefix <ip> detail

Displays detailed LDP sent label binding information of the specified address family, instance, and prefix.

sent <afi>

Displays LDP sent label binding information of the specified address family. Supported AFI values: l2vpn.

sent <afi> detail

Displays detailed LDP sent label binding information of the specified address family.

sent <afi> instance <instance-name>

Displays LDP sent label binding information of the specified address family and instance.

sent <afi> instance <instance-name> detail

Displays detailed LDP sent label binding information of the specified address family and instance.

sent <afi> instance <instance-name> prefix <ip>

Displays LDP sent label binding information of the specified address family, instance, and prefix.

sent <afi> instance <instance-name> prefix <ip> detail

Displays detailed LDP sent label binding information of the specified address family, instance, and prefix

sent <afi> prefix <ip>

Displays LDP sent label binding information of the specified address family and prefix.

sent <afi> prefix <ip> detail

Example: Summary view of the LDP binding

supervisor@rtbrick>SPINE01: cfg> show ldp binding
Instance: default, AFI: l2vpn, SAFI: vpls-vpws
  Prefix                                        In Label           Out Label          LDP ID             Status
  00.00.00.00.00.00.00.00.00.00:100/112         -                  label:20002        -                  Best
                                                label:20002                           198.51.100.1:0     Best
  00.00.00.00.00.00.00.00.00.00:200/112         -                  label:20003        -                  Best
                                                label:20003                           198.51.100.1:0     Best
                                                label:20003        -                  198.51.100.5:0     Non-best

show ldp route

Syntax:

show ldp route <options>

Option Description

-

Without any option, this command displays a summary of LDP route information.

instance <instance-name>

Displays LDP route information for the specified instance.

instance <instance-name> <afi>

Displays LDP route information for the specified address family and instance. Supported AFI values: ipv4, ipv6, mpls, l2vpn.

instance <instance-name> ipv4 prefix <ip>

Displays LDP route information for the specified address family of IPv4 prefix and instance.

instance <instance-name> ipv6 prefix <ip>

Displays LDP route information for the specified address family of IPv6 prefix and instance.

instance <instance-name> prefix <ip>

Displays LDP route information for the specified prefix and instance.

instance <instance-name> label <label>

Displays LDP route information for the specified MPLS label and instance.

instance <instance-name> mpls

Displays LDP route information of MPLS labels.

instance <instance-name> mpls label <label>

Displays LDP route information for the specified MPLS label and instance.

label <label>

Displays LDP route information for the specified MPLS label.

ipv4

Displays LDP route information of the IPv4 address family.

ipv4 prefix <ip>

Displays LDP route IPv4 address family information for the specified prefix.

ipv6

Displays LDP route information of the IPv6 address family.

ipv6 prefix <ip>

Displays LDP route IPv6 address family information for the specified prefix.

mpls

Displays LDP route information of MPLS labels.

mpls label <label>

Displays LDP route information for the specified MPLS label.

prefix <ip>

Displays LDP route information for the specified prefix address.

Example: Summary view of the LDP route

supervisor@rtbrick>SPINE01: cfg> show ldp route
Instance: default, AFI: l2vpn, SAFI: vpls-vpws
  Prefix                                       Out Label               Next Hop                                   Interface           Metric
  00.00.00.00.00.00.00.00.00.00:100/112        20002                   198.51.100.1                                -                 30000
  00.00.00.00.00.00.00.00.00.00:200/112        20003                   198.51.100.1                                -                 30000

show ldp l2vpn pseudowire

Syntax:

show ldp l2vpn pseudowire <option>

Option Description

detail

Displays detailed LDP L2VPN pseudowire information.

instance <name>

Displays pseudowire peer IP information for the specified instance.

instance <name> detail

Displays detailed pseudowire peer IP information for the specified instance.

Example: Display LDP L2VPN pseudowire information for instance default

supervisor@rtbrick>SPINE01: cfg> show ldp l2vpn pseudowire
Instance: default, AFI: l2vpn, SAFI: vpls-vpws
  Number of local interfaces: 2
    Peer IP                                       Interface Name       Prefix                                     Status              PW ID  Pop Label          Push Label
    198.51.100.1                                 ifl-0/0/17/100     00.00.00.00.00.00.00.00.00.00:100/112      Up                    100  label:20002        label:20002
    198.51.100.1                                 ifl-0/0/17/200     00.00.00.00.00.00.00.00.00.00:200/112      Up                    200  label:20003        label:20003

request switch-over

This command initiates switch tunnelling between primary and backup TLDP neighbors manually.

Syntax:

request switch-over ldp l2vpn instance <instance> pseudowire <pseudowire-id>

supervisor@rtbrick>SPINE01: cfg> request switch-over ldp l2vpn instance default pseudowire 100