To verify proper operation of Layer 2 circuits, use the following commands:
The following section shows the output of these commands used with the configuration example:
user@PE1> show l2circuit connections
Layer-2 Circuit Connections:
Legend for connection status (St)
EI -- encapsulation invalid NP -- interface not present
MM -- mtu mismatch Dn -- down
EM -- encapsulation mismatch VC-Dn -- Virtual circuit Down
CM -- control-word mismatch Up -- operational
OL -- no outgoing label XX -- unknown
NC -- intf encaps not CCC/TCC
Legend for interface status
Up -- operational
Dn -- down
Neighbor: 10.255.145.130
Interface Type St Time last up # Up trans
so-0/0/0.0 (vc 1) rmt Up Jan 26 14:13:54 2003 1
Local interface: so-0/0/0.0, Status: Up, Encapsulation: PPP
Remote PE: 10.255.145.130, Negotiated control-word: Yes (Null)
Incoming label: 100000, Outgoing label: 100000
user@PE1> show ldp database l2circuit
Input label database, 10.255.145.126:0--10.255.145.130:0
Label Prefix
100000 L2CKT CtrlWord PPP VC 1
Output label database, 10.255.145.126:0--10.255.145.130:0
Label Prefix
100000 L2CKT CtrlWord PPP VC 1
user@PE1> show ldp database l2circuit detail
Input label database, 10.255.145.126:0--10.255.145.130:0
Label Prefix
100000 L2CKT CtrlWord PPP VC 1
State: Active
Age: 5:37
Output label database, 10.255.145.126:0--10.255.145.130:0
Label Prefix
100000 L2CKT CtrlWord PPP VC 1
State: Active
Age: 5:37
user@PE1> show route table mpls.0
mpls.0: 7 destinations, 7 routes (7 active, 0 holddown, 0 hidden)
Restart Complete
+ = Active Route, - = Last Active, * = Both
0 *[MPLS/0] 00:05:04, metric 1
Receive
1 *[MPLS/0] 00:05:04, metric 1
Receive
2 *[MPLS/0] 00:05:04, metric 1
Receive
100000 *[L2VPN/7] 00:04:50
> via so-0/0/0.0, Pop Offset: 4
100016 *[LDP/9] 00:04:52, metric 1
> via so-0/1/0.0, Pop
100016(S=0) *[LDP/9] 00:04:52, metric 1
> via so-0/1/0.0, Pop
so-0/0/0.0 *[L2VPN/7] 00:04:50
> via so-0/1/0.0, Push 100000 Offset: -4