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. |
instance <instance-name> |
Displays LDP label binding information about the specified instance. |
instance <instance-name> prefix <ip> |
Displays LDP label binding information about the specified prefix and instance. Supported prefix values: ipv4, ipv6. |
prefix <ip> |
Displays the LDP label binding information for the specified prefix. Supported prefix values: ipv4, ipv6, l2vpn. |
received |
Displays the LDP received label binding information of the LDP sessions. |
received instance <instance-name> |
Displays LDP received label binding information of the specified instance. |
received instance <instance-name> ldp-id <ldp-id> |
Displays LDP received label binding information about the specified LDP identifier and instance. |
received ldp-id <ldp-id> |
Displays LDP received label binding information of the specified LDP identifier. |
sent |
Displays the LDP sent label binding information of the LDP sessions. |
sent instance <instance-name> |
Displays LDP sent label binding information of the specified instance. |
sent instance <instance-name> ldp-id <ldp-id> |
Displays LDP sent label binding information about the specified LDP identifier and instance. |
sent ldp-id <ldp-id> |
Displays LDP sent label binding information of the specified LDP identifier. |
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 about 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 about the IPv4 address family. |
ipv4 prefix <ip> |
Displays LDP route IPv4 address family information for the specified prefix. |
ipv6 |
Displays LDP route information about the IPv6 address family. |
ipv6 prefix <ip> |
Displays LDP route IPv6 address family information for the specified prefix. |
mpls |
Displays LDP route information about 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 |
---|---|
instance <name> |
Displays 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