Check Your Work
To verify proper operation of Layer 2 circuits, use the following commands:
- Options:
[brief] | [down] | [extensive] | [history] | [instance] | [local-site] | [remote-site] |[status] | [summary] | [up] | [up-down]The following section shows the output of these commands used with the configuration example:
user@PE1>show l2circuit connectionsLayer-2 Circuit Connections:Legend for connection status (St)EI -- encapsulation invalid NP -- interface not presentMM -- mtu mismatch Dn -- downEM -- encapsulation mismatch VC-Dn -- Virtual circuit DownCM -- control-word mismatch Up -- operationalOL -- no outgoing label XX -- unknownNC -- intf encaps not CCC/TCCLegend for interface statusUp -- operationalDn -- downNeighbor: 10.255.145.130Interface Type St Time last up # Up transso-0/0/0.0 (vc 1) rmt Up Jan 26 14:13:54 2003 1Local interface: so-0/0/0.0, Status: Up,Encapsulation: PPPRemote PE: 10.255.145.130,Negotiated control-word: Yes (Null)Incoming label: 100000, Outgoing label: 100000user@PE1>show ldp database l2circuitInput label database, 10.255.145.126:0--10.255.145.130:0Label Prefix100000 L2CKT CtrlWord PPP VC 1Output label database, 10.255.145.126:0--10.255.145.130:0Label Prefix100000 L2CKT CtrlWord PPP VC 1user@PE1>show ldp database l2circuit detailInput label database, 10.255.145.126:0--10.255.145.130:0Label Prefix100000 L2CKT CtrlWord PPP VC 1State: ActiveAge: 5:37Output label database, 10.255.145.126:0--10.255.145.130:0Label Prefix100000 L2CKT CtrlWord PPP VC 1State: ActiveAge: 5:37user@PE1>show route table mpls.0mpls.0: 7 destinations, 7 routes (7 active, 0 holddown, 0 hidden)Restart Complete+ = Active Route, - = Last Active, * = Both0 *[MPLS/0] 00:05:04, metric 1Receive1 *[MPLS/0] 00:05:04, metric 1Receive2 *[MPLS/0] 00:05:04, metric 1Receive100000 *[L2VPN/7] 00:04:50> via so-0/0/0.0, Pop Offset: 4100016 *[LDP/9] 00:04:52, metric 1> via so-0/1/0.0, Pop100016(S=0) *[LDP/9] 00:04:52, metric 1> via so-0/1/0.0, Popso-0/0/0.0 *[L2VPN/7] 00:04:50> via so-0/1/0.0, Push 100000 Offset: -4