To verify proper operation of Layer 2 circuits, use the following commands:
This is what the operational command output looks like for cell-relay mode on Router PE1:
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.17.4
Interface Type St Time last up # Up trans
at-0/1/0.0 (vc 32) rmt Up Jan 22 15:15:52 2003 1
Local interface: at-0/1/0.0, Status: Up, Encapsulation: ATM CELL (VC Mode)
Remote PE: 10.255.17.4, Negotiated control-word: Yes (Non-null)
Incoming label: 100000, Outgoing label: 100000
user@PE1> show route table l2circuit.0 detail
l2circuit.0: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden)
10.255.17.4:CtrlWord:9:32:Local/96 (1 entry, 1 announced)
*L2CKT Preference: 7
Next hop: via so-0/2/0.0 weight 1, selected
Label-switched-path PE1-PE2
Protocol next hop: 10.255.17.4 Indirect next hop: 85135e8 367
State: <Active Int>
Local AS: 69
Age: 2:34
Task: l2 circuit
Announcement bits (1): 0-LDP
AS path: I
VC Label 100000, MTU 0, cell-bundle size 80
10.255.17.4:CtrlWord:9:32:Remote/96 (1 entry, 1 announced)
*LDP Preference: 9
Next hop type: Discard
State: <Active Int>
Local AS: 69
Age: 28:11
Task: LDP
Announcement bits (1): 1-l2 circuit
AS path: I
VC Label 100000, MTU 0, cell-bundle size 80
user@PE1> show interfaces at-0/1/0.0 extensive
Logical interface at-0/1/0.0 (Index 66) (SNMP ifIndex 40) (Generation 4)
Flags: Point-To-Point SNMP-Traps Encapsulation: ATM-CCC-Cell-Relay
L2 circuit cell bundle size: 10 , bundle timeout: 125 usec, timeout count: 0
L2 circuit out-of-sequence count: 0
Traffic statistics:
[...]
user@PE1> show interfaces media at-0/1/0
Physical interface: at-0/1/0, Enabled, Physical link is Up
Interface index: 154, SNMP ifIndex: 50
Link-level type: ATM-CCC-Cell-Relay, MTU: 4482, Clocking: Internal, SONET mode,
L2 circuit mode: Cell, Speed: OC12, Loopback: None
[...]
user@PE1> show ldp database l2circuit detail
Input label database, 10.255.17.2:0--10.255.17.4:0
Label Prefix
100000 L2CKT CtrlWord ATM CELL (VC Mode) VC 32
Cell bundle size: 80
State: Active
Age: 9:48
Output label database, 10.255.17.2:0--10.255.17.4:0
Label Prefix
100000 L2CKT CtrlWord ATM CELL (VC Mode) VC 32
Cell bundle size: 80
State: Active
Age: 9:48
This is what the operational command output looks like on Router PE1 if AAL5 mode is used:
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.17.4
Interface Type St Time last up # Up trans
at-1/2/0.0 (vc 32) rmt Up Feb 18 18:00:00 2003 1
Local interface: at-1/2/0.0, Status: Up, Encapsulation: ATM AAL5
Remote PE: 10.255.17.4, Negotiated control-word: Yes (Non-null)
Incoming label: 100016, Outgoing label: 100032
user@PE1> show interfaces media at-0/1/0
Physical interface: at-0/1/0, Enabled, Physical link is Up
Interface index: 154, SNMP ifIndex: 50
Link-level type: ATM-PVC, MTU: 4482, Clocking: Internal, SONET mode,
L2 circuit mode: AAL5, Speed: OC12, Loopback: None, Payload scrambler: Enabled
[...]
user@PE1> show interfaces at-1/2/0.0 extensive
Logical interface at-1/2/0.0 (Index 68) (SNMP ifIndex 40) (Generation 38)
Flags: Point-To-Point SNMP-Traps Encapsulation: ATM-CCC-VCMUX
L2 circuit out-of-sequence count: 0
Traffic statistics:[...]