[Contents] [Prev] [Next] [Index] [Report an Error]

show l2circuit connections

Syntax

show l2circuit connections
<brief | extensive | summary>
<history>
<status>
<down | up | up-down>
<interface interface-name>
<logical-system (all | logical-system-name)>
<neighbor neighbor>

Release Information

Command introduced before JUNOS Release 7.4.

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 on all logical systems.

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.

history — (Optional) Display information about connection history.

status — (Optional) Display information about the connection and interface status.

down | up | up-down — (Optional) Display nonoperational, operational, or both kinds of connections.

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.

Required Privilege Level

view

List of Sample Output

show l2circuit connections
show l2circuit connections extensive

Output Fields

Table 177 lists the output fields for the show l2circuits connections command. Output fields are listed in the approximate order in which they appear.

Table 177: 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:

  • EI—The local VC 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 VC from the neighbor does not match the local VC 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 VC from the neighbor. There is no outgoing label available for use by this VC.
  • NC—The interface is not configured as a CCC or TCC interface.
  • CB—The remote PE router is advertising a different cell bundle from that configured on the local PE router.
  • 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 VC is down because the local VC interface is down.
  • VC-Dn—The VC is down because there is no tunnel LSP from the local PE router to the neighbor.
  • UP—The VC is operational.
  • CF—The router cannot find enough bandwidth to the remote router to satisfy the Layer 2 circuit bandwidth requirement.
  • XX—The VC is down for an unknown reason. This is a programming error.

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.

VC bandwidth

Bandwidth requirement of the Layer 2 circuit.

Time

Time at which the event occurred.

Event

Event types logged in history.

  • loc intf up—Local VC interface went up.
  • loc intf down—Local VC 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 VC 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 VC, and determines whether it should be advertised or withdrawn to or from the remote side.

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 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          XX -- unknown
NC -- intf encaps not CCC/TCC
CB -- rcvd cell-bundle size bad
+ IB -- incompatible bit rate
+ TM -- TDM misconfiguration

Legend for interface status  
Up -- operational            
Dn -- down                   
Neighbor: 10.255.245.51 
    Interface                 Type  St     Time last up          # Up trans
    t1-0/0/2.0(vc 1)          rmt   Up     Oct 24 11:09:50 2007           1
      Local interface: t1-0/0/2.0, Status: Up, Encapsulation: SATOP-T1 
      Remote PE: 10.255.245.51, Negotiated control-word: Yes 
      Incoming label: 100048, Outgoing label: 100128

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          XX -- unknown
NC -- intf encaps not CCC/TCC
CB -- rcvd cell-bundle size bad

Neighbor: 10.1.1.195
    Interface                    Type  St     Timelast up          # Up trans
    so-0/1/0.1 (vc 1 primary-W)  rmt   Up     Oct 8 15:44:19 2001           1
      Local interface: so-0/1/0.1, Status: Up
      Remote PE: 10.1.1.195, , Negotiated control-word: Yes (Null)
      Incoming label: 100002, Outgoing label: 138264604
        Time                  Event                  Interface/Lbl/PE
        Oct  8 15:44:19 2001  status update timer
        Oct  8 15:44:18 2001  PE route changed
        Oct  8 15:44:18 2001  Out lbl Update           138264604
        Oct  8 15:44:18 2001  In lbl Update               100002
        Oct  8 15:44:18 2001  loc intf up             so-0/1/0.1
    so-0/1/0.2 (vc 1 primary-W)         rmt   Up     Oct  8 15:44:19 2001 1
      Local interface: so-0/1/0.2, Status: Up
      Remote PE: 10.1.1.195, , Negotiated control-word: Yes (Null)
      Incoming label: 100003, Outgoing label: 138264604
        Time                  Event                  Interface/Lbl/PE
        Oct  8 15:44:19 2001  status update timer
        Oct  8 15:44:17 2001  PE route changed
        Oct  8 15:44:17 2001  Out lbl Update           138264604
        Oct  8 15:44:17 2001  In lbl Update               100003
        Oct  8 15:44:17 2001  loc intf up             so-0/1/0.2

[Contents] [Prev] [Next] [Index] [Report an Error]