show l2circuit connections
Syntax
show l2circuit connections <brief | extensive | summary> <down | up | up-down> <history> <interface interface-name> <logical-system (all | logical-system-name)> <neighbor neighbor> <status>
Description
Display status information about Layer 2 virtual circuits from the local provider edge (PE) router to its neighbors.
Options
none | Display standard information about Layer 2 virtual circuits on all interfaces for all neighbors. |
brief | extensive | summary | (Optional) Display the specified level of output. Use history to display information about connection history. Use status to display information about the connection and interface status. |
down | up | up-down | (Optional) Display nonoperational, operational, or both kinds of connections. |
history | (Optional) Display information about connection history. |
interface interface-name | (Optional) Show all Layer 2 virtual circuits on an interface. |
logical-system (all | logical-system-name) | (Optional) Perform this operation on all logical systems or on a particular logical system. This option is only supported on Junos OS. |
neighbor neighbor | (Optional) IP address of a specific neighbor. |
status | (Optional) Display information about the connection and interface status. |
Required Privilege Level
view
Output Fields
Table 1 lists the output fields for the show l2circuit connections
command. Output fields are listed in the approximate order in which
they appear.
Field Name |
Field Description |
---|---|
|
Displays the legends for connection and interface status. |
|
Remote PE neighbor. |
|
Logical PE-to-CE interface on which the virtual circuit is configured. |
|
VC type: |
|
Status of the virtual circuit connection:
|
|
Date and time the virtual circuit was last operational. |
|
Number of times the virtual circuit came up. |
|
Name of the local PE-to-CE interface. |
|
Status of the local interface. |
|
Interface is operational. |
|
Interface is not operational. |
|
Not present. Interface does not exist. |
|
Disabled. Interface has been administratively disabled. |
|
Wrong encapsulation. The interface is not configured as CCC. |
|
Interface status is initialized. |
|
Encapsulation of the local interface. |
|
Flow label transmit status. |
|
Flow label receive status. |
|
Prefix of the remote PE router. |
|
Whether the use of the control
word has been negotiated for this virtual circuit: |
|
Label used by the remote side of the virtual circuit to send packets destined to the local side. This label is routed to the local virtual circuit interface. |
|
Label used by the local side of the virtual circuit to send packets to the remote side of the virtual circuit. Packets originated on the local virtual circuit interface are encapsulated with this label before being placed on the tunnel LSP to the neighbor for this virtual circuit. This label is allocated by the neighbor and is used in demultiplexing incoming packets destined for this virtual circuit. |
|
Displays the pseudowire status type, length, and value (TLV). TLVs are a method of encoding variable-length or optional information. If the pseudowire status TLV is used, the corresponding local or neighbor PE router status code is also displayed. |
|
If the pseudowire status TLV is used, displays the local PE router status code. |
|
If the pseudowire status TLV is used, displays the neighbor PE router status code. |
|
Name of the local interface used for the Layer 2 circuit connection. |
|
Status of the local interface ( |
|
Encapsulation configured for the local interface. |
|
Indicates that the interface belongs to the working circuit. |
|
Indicates that the interface belongs to the protect circuit. |
|
Whether or not connection protection is configured for
the Layer 2 circuit to the neighbor: |
|
Bandwidth requirement of the Layer 2 circuit. |
|
Time at which the event occurred. |
|
Event types logged in history.
|
Sample Output
show l2circuit connections
user@host> show l2circuit connections Layer-2 Circuit Connections: Legend for connection status (St) EI -- encapsulation invalid NP -- interface h/w not present MM -- mtu mismatch Dn -- down EM -- encapsulation mismatch VC-Dn -- Virtual circuit Down CM -- control-word mismatch Up -- operational VM -- vlan id mismatch CF -- Call admission control failure OL -- no outgoing label IB -- TDM incompatible bitrate NC -- intf encaps not CCC/TCC TM -- TDM misconfiguration BK -- Backup Connection ST -- Standby Connection CB -- rcvd cell-bundle size bad SP -- Static Pseudowire LD -- local site signaled down RS -- remote site standby RD -- remote site signaled down HS -- hot standby XX -- unknown Legend for interface status Up -- operational Dn -- down Neighbor: 10.255.245.51 Interface Type St Time last up # Up trans ge-2/0/2.600(vc 5) rmt Up Dec 7 18:11:18 2009 1 Remote PE: 10.255.245.51, Negotiated control-word: No Incoming label: 299856, Outgoing label: 299808 Negotiated PW status TLV: No Local interface: ge-2/0/2.600, Status: Up, Encapsulation: VLAN Flow Label Transmit: No, Flow Label Receive: No Auto-sensed or Programmed by XYZ
Sample Output
show l2circuit connections interface
user@host> show l2circuit connections interface t1-2/0/0:1:1.0 Layer-2 Circuit Connections: Legend for connection status (St) EI -- encapsulation invalid NP -- interface h/w not present MM -- mtu mismatch Dn -- down EM -- encapsulation mismatch VC-Dn -- Virtual circuit Down CM -- control-word mismatch Up -- operational VM -- vlan id mismatch CF -- Call admission control failure OL -- no outgoing label IB -- TDM incompatible bitrate NC -- intf encaps not CCC/TCC TM -- TDM misconfiguration BK -- Backup Connection ST -- Standby Connection CB -- rcvd cell-bundle size bad SP -- Static Pseudowire LD -- local site signaled down RS -- remote site standby RD -- remote site signaled down HS -- hot standby XX -- unknown Legend for interface status Up -- operational Dn -- down Neighbor: 10.1.1.1 Interface Type St Time last up # Up trans t1-2/0/0:1:1.0(vc 1)(SP) rmt Up Apr 27 04:21:02 2011 1 Remote PE: 10.1.1.1, Negotiated control-word: Yes (Non-null) Incoming label: 1010001, Outgoing label: 1000001 Negotiated PW status TLV: No Local interface: t1-1/0/0:1:1.0, Status: Up, Encapsulation: SATOP-T1, APS-active Local interface: t1-2/0/0:1:1.0, Status: Up, Encapsulation: SATOP-T1, APS-inactive
Sample Output
show l2circuit connections extensive
user@host>show l2circuit connections extensive Layer-2 Circuit Connections: Legend for connection status (St) EI -- encapsulation invalid NP -- interface h/w not present MM -- mtu mismatch Dn -- down EM -- encapsulation mismatch VC-Dn -- Virtual circuit Down CM -- control-word mismatch Up -- operational VM -- vlan id mismatch CF -- Call admission control failure OL -- no outgoing label IB -- TDM incompatible bitrate NC -- intf encaps not CCC/TCC TM -- TDM misconfiguration BK -- Backup Connection ST -- Standby Connection CB -- rcvd cell-bundle size bad SP -- Static Pseudowire LD -- local site signaled down RS -- remote site standby RD -- remote site signaled down HS -- hot standby XX -- unknown Legend for interface status Up -- operational Dn -- down Neighbor: 10.255.49.149 Interface Type St Time last up # Up trans ae0.0(vc 100) rmt Up Aug 31 09:36:12 2009 1 Remote PE: 10.255.49.149, Negotiated control-word: Yes (Null) Incoming label: 299824, Outgoing label: 299776 Negotiated PW status TLV: Yes local PW status code: 0x00000000, Neighbor PW status code: 0x00000000 Local interface: ae0.0, Status: Up, Encapsulation: ETHERNET Connection protection: Yes Connection History: Aug 31 09:36:12 2009 status update timer Aug 31 09:36:12 2009 PE route changed Aug 31 09:36:12 2009 Out lbl Update 299776 Aug 31 09:36:12 2009 In lbl Update 299824 Aug 31 09:36:12 2009 loc intf up ae0.0
Sample Output
show l2circuit connections extensive (Pseudowire Redundancy with Hot Standby)
user@host>show l2circuit connections extensive Layer-2 Circuit Connections: Legend for connection status (St) EI -- encapsulation invalid NP -- interface h/w not present MM -- mtu mismatch Dn -- down EM -- encapsulation mismatch VC-Dn -- Virtual circuit Down CM -- control-word mismatch Up -- operational VM -- vlan id mismatch CF -- Call admission control failure OL -- no outgoing label IB -- TDM incompatible bitrate NC -- intf encaps not CCC/TCC TM -- TDM misconfiguration BK -- Backup Connection ST -- Standby Connection CB -- rcvd cell-bundle size bad SP -- Static Pseudowire LD -- local site signaled down RS -- remote site standby RD -- remote site signaled down HS -- Hot-standby Connection XX -- unknown Legend for interface status Up -- operational Dn -- down Neighbor: 192.0.2.101 Interface Type St Time last up # Up trans ge-1/3/2.600(vc 1) rmt Up Jan 24 11:00:26 2013 1 Remote PE: 192.0.2.101, Negotiated control-word: Yes (Null) Incoming label: 299776, Outgoing label: 299776 Negotiated PW status TLV: Yes local PW status code: 0x00000000, Neighbor PW status code: 0x00000000 Local interface: ge-1/3/2.600, Status: Up, Encapsulation: VLAN Connection History: Jan 24 11:00:26 2013 status update timer Jan 24 11:00:26 2013 PE route changed Jan 24 11:00:26 2013 Out lbl Update 299776 Jan 24 11:00:26 2013 In lbl Update 299776 Jan 24 11:00:26 2013 loc intf up ge-1/3/2.600 Neighbor: 192.0.2.102 Interface Type St Time last up # Up trans ge-1/3/2.600(vc 2) rmt HS ----- ---- Remote PE: 192.0.2.102, Negotiated control-word: Yes (Null) Incoming label: 299792, Outgoing label: 299776 Negotiated PW status TLV: Yes local PW status code: 0x00000020, Neighbor PW status code: 0x00000000 Local interface: ge-1/3/2.600, Status: Up, Encapsulation: VLAN
Release Information
Command introduced before Junos OS Release 7.4.
Display enhancements in Junos OS Release 9.6.
Display enhancements in Junos OS Release 10.2.
Display enhancements in Junos OS Release 12.1.
Display enhancements in Junos OS Release 13.2.