LDP L2VPN Operational Commands
show ldp binding
Syntax:
| Option | Description |
|---|---|
|
Without any option, this command displays a summary of all the LDP label bindings. |
|
Displays detailed LDP label binding information. |
|
Displays LDP label binding information of the specified instance. |
|
Displays LDP label binding information of the specified address family. Supported AFI value: l2vpn. |
|
Displays detailed LDP label binding information of the specified address family. |
|
Displays LDP label binding information of the specified prefix and instance for the specified address family. |
|
Displays detailed LDP label binding information of the specified prefix and instance for the specified address family. |
|
Displays the LDP received label binding information of the LDP sessions. |
|
Displays LDP received label binding information of the specified address family and instance. |
|
Displays detailed LDP received label binding information of the specified address family and instance. |
|
Displays LDP received label binding information of the specified instance. |
|
Displays detailed LDP received label binding information of the specified LDP identifier and instance. |
|
Displays LDP received label binding information of the specified address family. Supported AFI values: l2vpn. |
|
Displays detailed LDP received label binding information of the specified address family. |
|
Displays LDP received label binding information of the specified address family and instance. |
|
Displays detailed LDP received label binding information of the specified address family and instance. |
|
Displays LDP received label binding information of the specified address family, instance, and LDP identifier. |
|
Displays LDP received label binding information of the specified address family and LDP identifier. |
|
Displays detailed LDP received label binding information of the specified address family and LDP identifier. |
|
Displays the LDP sent label binding information of the LDP sessions. |
|
Displays LDP sent label binding information of the specified address family and instance. Supported AFI values: l2vpn. |
|
Displays detailed LDP sent label binding information of the specified address family and instance. |
|
Displays LDP sent label binding information of the specified address family, instance, and prefix. |
|
Displays detailed LDP sent label binding information of the specified address family, instance, and prefix. |
|
Displays LDP sent label binding information of the specified address family. Supported AFI values: l2vpn. |
|
Displays detailed LDP sent label binding information of the specified address family. |
|
Displays LDP sent label binding information of the specified address family and instance. |
|
Displays detailed LDP sent label binding information of the specified address family and instance. |
|
Displays LDP sent label binding information of the specified address family, instance, and prefix. |
|
Displays detailed LDP sent label binding information of the specified address family, instance, and prefix |
|
Displays LDP sent label binding information of the specified address family and prefix. |
|
Displays detailed LDP sent label binding information of the specified address family and prefix. |
Example: Summary view of the LDP binding
supervisor@rtbrick: op> show ldp binding
Instance: default, AFI: ipv4, SAFI: labeled-unicast
Prefix In Label Out Label LDP ID Status
198.51.100.12/32 - 3 - Best
198.51.100.13/32 - 3 - Best
198.51.100.22/32 3 - 198.51.100.21:0 Non-best
198.51.100.23/32 3 - 198.51.100.21:0 Non-best
Instance: default, AFI: ipv6, SAFI: labeled-unicast
Prefix In Label Out Label LDP ID Status
2001:db8:0:1::12/128 - 3 - Best
2001:db8:0:1::13/128 - 3 - Best
2001:db8:0:1::22/128 3 - 198.51.100.21:0 Non-best
2001:db8:0:1::23/128 3 - 198.51.100.21:0 Non-best
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:524032 - Best
label:524032 - 198.51.100.21:0 Best
00.00.00.00.00.00.00.00.00.00:200/112 - label:524033 - Best
label:524033 - 198.51.100.21:0 Best
show ldp route
Syntax:
| Option | Description |
|---|---|
|
Without any option, this command displays a summary of LDP route information. |
|
Displays LDP route information for the specified instance. |
|
Displays LDP route information for the specified address family and instance. Supported AFI values: ipv4, ipv6, mpls, l2vpn. |
|
Displays LDP route information for the specified address family of IPv4 prefix and instance. |
|
Displays LDP route information for the specified address family of IPv6 prefix and instance. |
|
Displays LDP route information for the specified prefix and instance. |
|
Displays LDP route information for the specified MPLS label and instance. |
|
Displays LDP route information of MPLS labels. |
|
Displays LDP route information for the specified MPLS label and instance. |
|
Displays LDP route information for the specified MPLS label. |
|
Displays LDP route information of the IPv4 address family. |
|
Displays LDP route IPv4 address family information for the specified prefix. |
|
Displays LDP route information of the IPv6 address family. |
|
Displays LDP route IPv6 address family information for the specified prefix. |
|
Displays LDP route information of MPLS labels. |
|
Displays LDP route information for the specified MPLS label. |
|
Displays LDP route information for the specified prefix address. |
Example: Summary view of the LDP route
supervisor@rtbrick: op> show ldp route
Instance: default, AFI: ipv4, SAFI: labeled-unicast
Prefix Out Label Next Hop Interface Metric
198.51.100.12/32 - - - 0
198.51.100.13/32 - - - 0
Instance: default, AFI: ipv6, SAFI: labeled-unicast
Prefix Out Label Next Hop Interface Metric
2001:db8:0:1::12/128 - - - 0
2001:db8:0:1::13/128 - - - 0
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 524032 198.51.100.21 - 2000000
00.00.00.00.00.00.00.00.00.00:200/112 524033 198.51.100.21 - 2000000
Instance: default, AFI: mpls, SAFI: unicast
Label Out Label Next Hop Interface Metric
524032 - - ifl-0/0/5/100 -
524032,bos:1 - - ifl-0/0/5/100 -
524033 - - ifl-0/0/5/200 -
524033,bos:1 - - ifl-0/0/5/200 -
show ldp l2vpn pseudowire
Syntax:
| Option | Description |
|---|---|
|
Displays detailed LDP L2VPN pseudowire information. |
|
Displays pseudowire peer IP information for the specified instance. |
|
Displays detailed pseudowire peer IP information for the specified instance. |
instance <name> prefix <ip> |
Displays pseudowire information for the specified instance and prefix. |
instance <name> prefix <ip> detail |
Displays detailed pseudowire information for the specified instance and prefix. |
Example 1: Display LDP L2VPN pseudowire information for instance default
supervisor@rtbrick: op> show ldp l2vpn pseudowire
Instance: default, AFI: l2vpn, SAFI: vpls-vpws
Number of local interfaces: 2
Peer IP Interface Name Prefix Status PW ID
198.51.100.21 ifl-0/0/5/100 00.00.00.00.00.00.00.00.00.00:100/112 Up 100
198.51.100.21 ifl-0/0/5/200 00.00.00.00.00.00.00.00.00.00:200/112 Up 200