show vpls connections

Syntax

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

Release Information

Command introduced before JUNOS Release 7.4.

Description

(T Series and M Series routers, except for the M160 router) Display virtual private LAN service (VPLS) connection information.

Options

none

Display information about all VPLS connections for all routing instances.

brief | extensive

(Optional) Display the specified level of output.

down | up | up-down

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

history

(Optional) Display information about connection history.

instance instance-name

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

local-site local-site-name

(Optional) Display the VPLS connections for the specified local site name or ID only.

remote-site remote-site-name

(Optional) Display the VPLS connections for the specified remote 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.

status

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

summary

(Optional) Display summary of all VPLS connections information.

Required Privilege Level

view

List of Sample Output

show vpls connections
show vpls connections extensive

Output Fields

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

Table 201: show vpls connections Output Fields

Field Name

Field Description

Instance

Name of the VPLS instance.

Local site

Name of the local site.

Local interface

Name of the local VPLS virtual loopback tunnel interface or label switched interface. Virtual loopback tunnel interfaces are displayed using the vt-fpc/pic/port.nnnnnformat.Label switched interfaces are displayed using the lsi.nnnnn format. In both cases, nnnnn is a dynamically generated virtual port used to transport and receive packets from other provider edge (PE) routers in the VPLS domain.

Label-base

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

Offset

Displays the VPLS Edge (VE) block offset in the Layer 2 VPN NLRI. The VE block offset is used to identify a label block from which a particular label value is selected to setup a pseduowire for a remote site. The block offset value itself indicates the starting VE ID that maps to the label base contained in the VPLS NLRI advertisement.

Size

Label block size.

Range

Label block range.

Preference

Preference value advertised for a VPLS site. When multiple PE routers are assigned the same VE ID for multi-homing, you might need to specify that a particular PE router acts as the designated forwarder by configuring the site preference value. The site preference indicates the degree of preference for a particular customer site. The site preference is one of the tie-breaking criteria used in a designated forwarder election.

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 connection was last in the Up condition.

# Up trans

Number of transitions from Down to Up condition.

Status

Status of the (local or remote circuit) local interface:

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

Encapsulation

Type of encapsulation: VPLS.

Remote PE

Address of the remote provider edge router.

Negotiated control-word

Whether a control word has been negotiated: Yes or No.

Incoming label

Name of the incoming label.

Outgoing label

Name of the outgoing label.

Time

Date and time of VPLS connection event.

Event

Type of event.

Interface/Lbl/PE

Interface, label, or PE router.

Sample Output

show vpls connections

user@host> show vpls connections
Layer-2 VPN 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
MM -- MTU mismatch               MI -- Mesh-Group ID not availble
BK -- Backup connection          ST -- Standby connection
PF -- Profile parse failure      PB -- Profile busy

Legend for interface status 
Up -- operational           
Dn -- down

Instance: vpls-1
  Local site: 1 (11)
    Number of local interfaces: 1
    Number of local interfaces up: 1
    IRB interface present: no
    lt-1/3/0.10496     
    vt-1/3/0.1048588    1         Intf - vpls vpls-1 local site 11 remote site 1
    vt-1/2/0.1048591    2         Intf - vpls vpls-1 local site 11 remote site 2
    vt-1/2/0.1048585    3         Intf - vpls vpls-1 local site 11 remote site 3
    vt-1/2/0.1048587    4         Intf - vpls vpls-1 local site 11 remote site 4
    vt-1/2/0.1048589    5         Intf - vpls vpls-1 local site 11 remote site 5
    vt-1/3/0.1048586    6         Intf - vpls vpls-1 local site 11 remote site 6
    vt-1/3/0.1048590    7         Intf - vpls vpls-1 local site 11 remote site 7
    vt-1/3/0.1048584    8         Intf - vpls vpls-1 local site 11 remote site 8
    Label-base        Offset     Size  Range     Preference
+   800256            1          16     16        100   
    Timer Values:
        Startup wait time: 120 seconds
        New site wait-time: 20 seconds
        Collision detect time: 30 seconds
        Reclaim wait time: 748 milliseconds
    connection-site           Type  St     Time last up          # Up trans
    1                         rmt   Up     Apr 28 13:28:24 2009           2
      Remote PE: 124.1.2.1, Negotiated control-word: No
      Incoming label: 800256, Outgoing label: 800026
      Local interface: vt-1/3/0.1048588, Status: Up, Encapsulation: VPLS
        Description: Intf - vpls vpls-1 local site 11 remote site 1
    Connection History:
        Apr 28 13:28:24 2009  status update timer  
        Apr 28 13:28:24 2009  PE route down        
        Apr 28 13:24:27 2009  status update timer  
        Apr 28 13:24:27 2009  loc intf up             vt-1/3/0.1048588
        Apr 28 13:24:27 2009  PE route changed     
        Apr 28 13:24:27 2009  Out lbl Update                    800026
        Apr 28 13:24:27 2009  In lbl Update                     800256
        Apr 28 13:24:27 2009  loc intf down        
    2                         rmt   Up     Apr 28 13:28:24 2009           2
      Remote PE: 124.1.7.1, Negotiated control-word: No
      Incoming label: 800257, Outgoing label: 800034
      Local interface: vt-1/2/0.1048591, Status: Up, Encapsulation: VPLS
        Description: Intf - vpls vpls-1 local site 11 remote site 2
    Connection History:
        Apr 28 13:28:24 2009  status update timer  
        Apr 28 13:28:24 2009  PE route down        
        Apr 28 13:24:28 2009  status update timer  
        Apr 28 13:24:28 2009  loc intf up             vt-1/2/0.1048591
        Apr 28 13:24:28 2009  PE route changed     
        Apr 28 13:24:28 2009  Out lbl Update                    800034
        Apr 28 13:24:28 2009  In lbl Update                     800257
        Apr 28 13:24:28 2009  loc intf down        
    3                         rmt   Up     Apr 28 13:28:24 2009           2
      Remote PE: 124.1.4.1, Negotiated control-word: No
      Incoming label: 800258, Outgoing label: 800026
      Local interface: vt-1/2/0.1048585, Status: Up, Encapsulation: VPLS
        Description: Intf - vpls vpls-1 local site 11 remote site 3
    Connection History:
        Apr 28 13:28:24 2009  status update timer  
        Apr 28 13:28:24 2009  PE route down        
        Apr 28 13:24:26 2009  status update timer  
        Apr 28 13:24:26 2009  loc intf up             vt-1/2/0.1048585
        Apr 28 13:24:26 2009  PE route changed     
        Apr 28 13:24:26 2009  Out lbl Update                    800026
        Apr 28 13:24:26 2009  In lbl Update                     800258
        Apr 28 13:24:26 2009  loc intf down        
    4                         rmt   Up     Apr 28 13:28:24 2009           2
      Remote PE: 124.1.6.1, Negotiated control-word: No
      Incoming label: 800259, Outgoing label: 800026
      Local interface: vt-1/2/0.1048587, Status: Up, Encapsulation: VPLS
        Description: Intf - vpls vpls-1 local site 11 remote site 4
    Connection History:
        Apr 28 13:28:24 2009  status update timer  
        Apr 28 13:28:24 2009  PE route down        
        Apr 28 13:24:27 2009  status update timer  
        Apr 28 13:24:27 2009  loc intf up             vt-1/2/0.1048587
        Apr 28 13:24:27 2009  PE route changed     
        Apr 28 13:24:27 2009  Out lbl Update                    800026
        Apr 28 13:24:27 2009  In lbl Update                     800259
        Apr 28 13:24:27 2009  loc intf down        
    5                         rmt   Up     Apr 28 13:28:24 2009           2
      Remote PE: 124.1.3.1, Negotiated control-word: No
      Incoming label: 800260, Outgoing label: 800034
      Local interface: vt-1/2/0.1048589, Status: Up, Encapsulation: VPLS
        Description: Intf - vpls vpls-1 local site 11 remote site 5
    Connection History:
        Apr 28 13:28:24 2009  status update timer  
        Apr 28 13:28:24 2009  PE route down        
        Apr 28 13:24:28 2009  status update timer  
        Apr 28 13:24:28 2009  loc intf up             vt-1/2/0.1048589
        Apr 28 13:24:28 2009  PE route changed     
        Apr 28 13:24:28 2009  Out lbl Update                    800034
        Apr 28 13:24:27 2009  In lbl Update                     800260
        Apr 28 13:24:27 2009  loc intf down        

show vpls connections extensive

user@host> show vpls connections extensive instance red
Layer-2 VPN 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
 
Legend for interface status 
Up -- operational           
Dn -- down
 
Instance: red
Local site: redR1 (1)
  Number of local interfaces: 1
  Number of local interfaces up: 1
  lt-2/1/0.4      
  vt-2/1/0.32780  2               Intf - vpls red local site 1 remote site 2
      Interface flags: VC-Down
  vt-2/1/0.32782  3               Intf - vpls red local site 1 remote site 3
  vt-2/1/0.32773  4               Intf - vpls red local site 1 remote site 4
  vt-2/1/0.32779  5               Intf - vpls red local site 1 remote site 5
      Interface flags: VC-Down
        800024           1         8       100
  status-vector: 87 
    connection-site           Type  St     Time last up          # Up trans
    2                         rmt   RD   
    3                         rmt   Up     Oct 28 07:13:18 2005           1
      Local interface: vt-2/1/0.32782, Status: Up, Encapsulation: VPLS
      Remote PE: 10.255.14.218, Negotiated control-word: No
      Incoming label: 800026, Outgoing label: 800024
        Time                  Event                   Interface/Lbl/PE
        Oct 28 07:13:18 2005  status update timer  
        Oct 28 07:13:18 2005  PE route changed     
        Oct 28 07:13:18 2005  Out lbl Update                    800024
        Oct 28 07:13:18 2005  In lbl Update                     800026
        Oct 28 07:13:18 2005  loc intf up               vt-2/1/0.32782
    4                         rmt   Up     Oct 28 07:13:12 2005           1
      Local interface: vt-2/1/0.32773, Status: Up, Encapsulation: VPLS
      Remote PE: 10.255.14.216, Negotiated control-word: No
      Incoming label: 800027, Outgoing label: 800008
        Time                  Event                   Interface/Lbl/PE
        Oct 28 07:13:12 2005  status update timer  
        Oct 28 07:13:12 2005  PE route changed     
        Oct 28 07:13:12 2005  Out lbl Update                    800008
        Oct 28 07:13:12 2005  In lbl Update                     800027
        Oct 28 07:13:12 2005  loc intf up               vt-2/1/0.32773
    5                         rmt   RM   
Local site: SW0 (4)
  Number of local interfaces: 1
  Number of local interfaces up: 1
  fe-0/1/2.1        
      Interface flags: VC-Down
  vt-2/1/0.32771  2               Intf - vpls red local site 4 remote site 2
      Interface flags: VC-Down
  vt-2/1/0.32783  3               Intf - vpls red local site 4 remote site 3
      Interface flags: VC-Down
  vt-2/1/0.32772  5               Intf - vpls red local site 4 remote site 5
      Interface flags: VC-Down
        800016           1         8       100
  status-vector: 97 
    connection-site           Type  St     Time last up          # Up trans
    2                         rmt   LN   
    3                         rmt   LN   
    4                         rmt   SC   
    5                         rmt   LN   
Local site: SW1 (5) 
  Number of local interfaces: 1
  Number of local interfaces up: 1
  fe-0/1/3.1        
      Interface flags: VC-Down
  vt-2/1/0.32778  2               Intf - vpls red local site 5 remote site 2
      Interface flags: VC-Down