show l2circuit connections
Syntax
Release Information
Command introduced before JUNOS Release 7.4. Display enhancements in JUNOS Release 9.6.
Description
Display status information about Layer 2 virtual circuits (VCs) 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 VCs on an interface.
- logical-system (all | logical-system-name)
(Optional) Perform this operation on all logical systems or on a particular logical system.
- neighbor neighbor
(Optional) IP address of a specific neighbor.
- status
(Optional) Display information about the connection and interface status.
Required Privilege Level
view
List of Sample Output
show l2circuit connectionsshow l2circuit connections extensive
Output Fields
Table 1 lists the output fields for the show l2circuits connections command. Output fields are listed in the approximate order in which they appear.
Table 1: show l2circuits connections Output Fields
Field Name | Field Description |
|---|---|
Layer-2 Circuit Connections | Displays the legends for connection and interface status. |
Neighbor | Remote PE neighbor. |
Interface | Logical PE-to-CE interface on which the VC is configured. |
Type | VC type: rmt (remote) or loc (local). |
Legend for connection status (St) | Status of the VC connection:
|
Time last up | Date and time the VC was last operational. |
# Up trans | Number of times the VC came up. |
local-interface-name | Name of the local PE-to-CE interface. |
Status | Status of the local interface. |
Up | Interface is operational. |
Dn | Interface is not operational. |
NP | Not present. Interface does not exist. |
DS | Disabled. Interface has been administratively disabled. |
WE | Wrong encapsulation. The interface is not configured as CCC. |
UN | Interface status is initialized. |
Encapsulation | Encapsulation of the local interface. |
Remote PE | Prefix of the remote PE router. |
Negotiated control-word | Whether the use of the control word has been negotiated for this VC: Yes (Null) or No. |
Incoming label | Label used by the remote side of the VC to send packets destined to the local side. This label is routed to the local VC interface. |
Outgoing label | Label used by the local side of the VC to send packets to the remote side of the VC. Packets originated on the local VC interface are encapsulated with this label before being placed on the tunnel LSP to the neighbor for this VC. This label is allocated by the neighbor and is used in demultiplexing incoming packets destined for this VC. |
Negotiated PW-status-TLV | Displays the pseudowire status Type, Length, and Value (TLV). TLVs are a method of encoding variable-length and/or optional information . If the pseudowire status TLV is used, the corresponding local or neighbor PE router status code is also displayed. |
Local status code | If the pseudowire status TLV is used, displays the local PE router status code. |
Neighbor status code | If the pseudowire status TLV is used, displays the neighbor PE router status code. |
VC bandwidth | Bandwidth requirement of the Layer 2 circuit. |
Time | Time at which the event occurred. |
Event | Event types logged in history.
|
Interface/Lbl/PE | Name associated with an event. It can be the name of the interface, the name of the new label, or if the route to a PE router changed, the name of the PE router that went down. |
(vc-number) | Unique number (between 1 and 232– 1) that identifies the VC configured between two PE routers, but not across the entire network. A VC identifier in conjunction with a neighbor address uniquely identifies the VC. |
Sample Output
show l2circuit connections
user@host> show l2circuit connectionsLayer-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 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
Sample Output
show l2circuit connections extensive
user@host>show l2circuit connections extensiveLayer-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 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
Connection History:
Dec 7 18:11:18 2009 status update timer
Dec 7 18:11:18 2009 PE route changed
Dec 7 18:11:18 2009 Out lbl Update 299808
Dec 7 18:11:18 2009 In lbl Update 299856
Dec 7 18:11:18 2009 loc intf up ge-2/0/2.600

