Technical Documentation

show l2vpn connections

Syntax

show l2vpn connections <brief | extensive><down | up | up-down> <history><instance instance><local-site local-site><logical-system (all | logical-system-name)><remote-site remote-site><status><summary>

Release Information

Command introduced before Junos OS Release 7.4.

Description

Display Layer 2 virtual private network (VPN) connections.

Options

none

Display all Layer 2 VPN connections for all routing instances.

brief | extensive

(Optional) Display the specified level of output.

down | up | up-down

(Optional) Display nonoperational, operational, or both kinds of connections.

history

(Optional) Display information about connection history.

instance instance

(Optional) Display connections for the specified routing instance only.

local-site local-site

(Optional) Display connections for the specified Layer 2 VPN local site name or ID only.

logical-system (all | logical-system-name)

(Optional) Perform this operation on all logical systems or on a particular logical system.

remote-site remote-site

(Optional) Display connection for the specified Layer 2 VPN remote site ID only.

status

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

summary

(Optional) Display summary of all Layer 2 VPN connections information.

Required Privilege Level

view

List of Sample Output

show l2vpn connections
show l2vpn connections extensive

Output Fields

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

Table 1: show l2vpn connections Output Fields

Field Name

Field Description

Instance

Name of Layer 2 VPN instance.

Local site

Name of local site.

Interface name

Name of interface.

Remote Site ID

Remote site ID.

Label Offset

Numbers within the label block that are skipped to find the next label base.

Label-base

Advertises the first label in a block of labels. A remote PE router uses this first label when sending traffic toward the advertising PE router.

Range

Advertises the label block size.

status-vector

Bit vector advertising the state of local PE-CE circuits to remote PE routers. A bit value of 0 indicates that the local circuit and LSP tunnel to the remote PE router are up, whereas a value of 1 indicates either one or both are down.

connection-site

Name of the connection site.

Type

Type of connection: loc (local) or rmt (remote).

St

Status of the connection. (For a list of possible values, see the Legend for connection status (St) field.)

Time last up

Time that the connection was last in the Up condition.

# Up trans

Number of transitions from Down to Up condition.

Local circuit

Address and status of local circuit.

Remote circuit

Address and status of remote circuit.

Status

Status of local or remote circuit:

  • Up—Operational
  • Dn—Down
  • NP—Not present
  • DS—Disabled
  • WE—Wrong encapsulation
  • UN—Uninitialized

Remote PE

Address of the remote provider edge router.

Incoming label

Name of the incoming label.

Outgoing label

Name of the outgoing label.

Time

Date and time of Layer 2 VPN connection event.

Event

Type of event.

Interface/Lbl/PE

Interface, label, or PE router.

Sample Output

show l2vpn connections

user@host> show l2vpn connections
L2VPN Connections :
Instance : vpna
Local site: 2 (ce-2)
offset: 1, range: 3, label-base: 32768
    connection-site           Type  St  Time last up          # Up trans
    3 (3)                     loc   Up  Jul 18 20:45:46 2001           1
      Local circuit: fe-0/0/0.1, Status: Up
      Remote circuit: fe-0/0/3.0, Status: Up
    1                         rmt   Up  Jul 18 21:47:25 2001           1
      Local circuit: fe-0/0/0.0, Status: Up
      Remote PE: 192.168.16.1
      Incoming label: 32768, Outgoing label: 32769
Local site: 3 (ce-3)
offset: 1, range: 2, label-base: 33792
    connection-site           Type  St  Time last up          # Up trans
    2 (ce-b)                  loc   Up  Jul 18 20:45:46 2001           1
      Local circuit: fe-0/0/0.1, Status: Up
      Remote circuit: fe-0/0/3.0, Status: Up
    1                         rmt   Up  Jul 18 21:47:25 2001           1
      Local circuit: fe-0/0/3.1, Status: Up
      Remote PE: 192.168.16.1
      Incoming label: 33792, Outgoing label: 32770

show l2vpn connections extensive

user@host> show l2vpn connections extensive
L2VPN Connections:

Legend for connection status (St)   
EI -- encapsulation invalid      NC -- interface encapsulation not CCC/TCC/VPLS
EM -- encapsulation mismatch     WE -- interface and instance encaps not same
VC-Dn -- Virtual circuit down    NP -- interface hardware not present 
CM -- control-word mismatch      -> -- only outbound connection is up
CN -- circuit not provisioned    <- -- only inbound connection is up
OR -- out of range               Up -- operational
OL -- no outgoing label          Dn -- down                      
LD -- local site signaled down   CF -- call admission control failure      
RD -- remote site signaled down  SC -- local and remote site ID collision
LN -- local site not designated  LM -- local site ID not minimum designated
RN -- remote site not designated RM -- remote site ID not minimum designated
XX -- unknown connection status  IL -- no incoming label

Instance: vpn-a
Local site: ce-a (1)
  Interface name      Remote Site ID
  fe-0/0/0.0                       2
  Label Offset      Offset     Range
         32768           1         2
    connection-site           Type  St  Time last up          # Up trans
    2                         rmt   Up  Aug  3 00:08:14 2001           1
      Local circuit: fe-0/0/0.0, Status: Up
      Remote PE: 192.168.24.1
      Incoming label: 32769, Outgoing label: 32768
        Time                  Event            Interface/Lbl/PE
        Aug  3 00:08:14 2001  PE route up    
        Aug  3 00:08:14 2001  Out lbl Update               32768
        Aug  3 00:08:14 2001  In lbl Update                32769
        Aug  3 00:08:14 2001  ckt0 up                 fe-0/0/0.0

Published: 2010-07-13

Help
|
My Account
|
Log Out