Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show l2circuit connections

Syntax

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.

Table 1: show l2circuit 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 virtual circuit is configured.

Type

VC type: rmt (remote) or loc (local).

Legend for connection status (St)

Status of the virtual circuit connection:

  • EI—The local virtual circuit interface is configured with an encapsulation that is not supported.

  • MM—The two routers do not agree on an MTU value, which causes an MTU mismatch.

  • EM—The encapsulation type received on this virtual circuit from the neighbor does not match the local virtual circuit interface encapsulation type.

  • CM—The two routers do not agree on a control word, which causes a control word mismatch.

  • VM—The remote and local VLAN IDs do not match across the Layer 2 circuit.

  • OL—No advertisement has been received for this virtual circuit from the neighbor. There is no outgoing label available for use by this virtual circuit.

  • NC—The interface is not configured as a CCC or TCC interface.

  • BK—The virtual circuit has switched to a backup connection.

  • CB—The remote PE router is advertising a different cell bundle from that configured on the local PE router.

  • LD—The connection to the local site is signaled down, because the CE-facing interface to the local site is down.

  • RD—The remote neighbor is down. It has signaled a problem using the pseudowire status code.

  • NP—The router detects that interface hardware is not present. The hardware may be offline, a PIC may not be of the desired type, or the interface may be configured in a different routing instance.

  • Dn—The virtual circuit is down.

  • VC-Dn—The virtual circuit is down because there is no tunnel LSP from the local PE router to the neighbor.

  • UP—The virtual circuit is operational.

  • CF—The router cannot find enough bandwidth to the remote router to satisfy the Layer 2 circuit bandwidth requirement.

  • IB—The bit rate is incompatible for Time Division Multiplexing (TDM).

  • TDM—TDM is not configured correctly.

  • ST—The virtual circuit has been switched to a standby connection.

  • SP—The virtual circuit connection is using a static pseudowire.

  • RS—The remote site is in a standby state.

  • XX—The virtual circuit is down for an unknown reason. This is a programming error.

Time last up

Date and time the virtual circuit was last operational.

# Up trans

Number of times the virtual circuit 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.

Flow Label Transmit

Flow label transmit status.

Flow Label Receive

Flow label receive status.

Remote PE

Prefix of the remote PE router.

Negotiated control-word

Whether the use of the control word has been negotiated for this virtual circuit: Yes (Null) or No.

Incoming label

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.

Outgoing label

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.

Negotiated PW status TLV

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.

local PW status code

If the pseudowire status TLV is used, displays the local PE router status code.

Neighbor PW status code

If the pseudowire status TLV is used, displays the neighbor PE router status code.

Local interface

Name of the local interface used for the Layer 2 circuit connection.

Status

Status of the local interface (Up or Down).

Encapsulation

Encapsulation configured for the local interface.

APS-active

Indicates that the interface belongs to the working circuit.

APS-inactive

Indicates that the interface belongs to the protect circuit.

Connection protection

Whether or not connection protection is configured for the Layer 2 circuit to the neighbor: Yes or No.

VC bandwidth

Bandwidth requirement of the Layer 2 circuit.

Time

Time at which the event occurred.

Connection History

Event types logged in history.

  • loc intf up—Local virtual circuit interface went up.

  • loc intf down—Local virtual circuit interface went down.

  • In lbl Update—Incoming label has been updated.

  • Out lbl Update—Outgoing label has been updated.

  • PE route changed—Route to PE router has been updated.

  • PE route down—Route to PE router is down.

  • rmt side marked—Remote side is marked.

  • VC Dn—Remote side indicated that its end of the virtual circuit is down (if the tunnel LSP from the remote side to the local side is down).

  • status update timer—Status update timer processing. It computes the state of the virtual circuit, and determines whether it should be advertised to or withdrawn from the remote side.

Sample Output

show l2circuit connections

Sample Output

show l2circuit connections interface

Sample Output

show l2circuit connections extensive

Sample Output

show l2circuit connections extensive (Pseudowire Redundancy with Hot Standby)

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.