show l2vpn connections
Syntax
show l2vpn connections <brief | extensive> <down | up | up-down> <history> <instance instance> <instance-history> <local-site local-site> <logical-system (all | logical-system-name)> <remote-site remote-site> <status> <summary>
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. |
| instance-history | (Optional) Display information about connection history for a particular instance. |
| 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
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.
Field Name |
Field Description |
|---|---|
|
Name of Layer 2 VPN instance. |
|
For BGP autodiscovery, a globally unique Layer 2 VPN community identifier for the instance. |
|
BGP |
|
Name of local site. |
|
For FEC 129, the VPWS source attachment identifier. The point-to-point nature of VPWS requires that you specify the source access individual identifier (SAII) and the target access individual identifier (TAII). This SAII-TAII pair defines a unique pseudowire between two PE devices. |
|
For FEC 129, the VPWS target attachment identifier. If the configured target identifier matches a source identifier advertised by a remote PE device by way of a BGP auto-discovery message, the pseudowire between that source-target pair is signaled. If there is no match between an advertised source identifier and the configured target identifier, the pseudowire is not established. |
|
Name of interface. |
|
Remote site ID. |
|
Numbers within the label block that are skipped to find the next 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. |
|
Advertises the label block size. |
|
Bit vector advertising the state
of local PE-CE circuits to remote PE routers. A bit value of |
|
Name of the connection site. |
|
Type of connection: |
|
Status of the connection. (For
a list of possible values, see the |
|
Time that the connection was last
in the |
|
Number of transitions from |
|
Address and status of local circuit. |
|
Address and status of remote circuit. |
|
Status of the Layer 2 VPN connection (corresponds with Legend for Connection Status):
|
|
Address of the remote provider edge router. |
|
Name of the incoming label. |
|
Name of the outgoing label. |
|
Whether the given PVC is protected by connection protection logic using egress protection for BGP signaled layer 2 services. |
|
Capability to pop the flow label in the receive direction to the remote provider edge (PE) router |
|
Capability to push the flow label in the transmit direction to the provider edge (PE) router |
|
Date and time of Layer 2 VPN connection event. |
|
Type of event. |
|
Interface, label, or PE router. |
Sample Output
- show l2vpn connections
- show l2vpn connections
- show l2vpn connections extensive
- show l2vpn connections extensive (VPWS)
show l2vpn connections
user@host> show l2vpn connections
L2VPN Connections :
Instance : vpna
Edge protection: Not-Primary
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.0.2.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.0.2.1
Incoming label: 33792, Outgoing label: 32770
show l2vpn connections
user@host> show l2vpn 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 available
BK -- Backup connection ST -- Standby connection
PF -- Profile parse failure PB -- Profile busy
RS -- remote site standby SN -- Static Neighbor
LB -- Local site not best-site RB -- Remote site not best-site
VM -- VLAN ID mismatch
Legend for interface status
Up -- operational
Dn -- down
Instance: l2vpn-inst
Edge protection: Not-Primary
Local site: pe2 (2)
connection-site Type St Time last up # Up trans
1 rmt Up Jun 22 14:46:50 2015 1
Remote PE: 10.255.255.1, Negotiated control-word: Yes (Null)
Incoming label: 800002, Outgoing label: 800003
Local interface: ge-0/0/1.300, Status: Up, Encapsulation: VLAN
Flow Label Transmit: Yes, Flow Label Receive: Yes
show l2vpn connections extensive
user@host> show l2vpn connections extensive
L2VPN Connections:
Instance: vpn-a
Edge protection: Not-Primary
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
Egress Protection: Yes
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
show l2vpn connections extensive (VPWS)
user@host> show l2vpn 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 available
BK -- Backup connection ST -- Standby connection
PF -- Profile parse failure PB -- Profile busy
RS -- remote site standby SN -- Static Neighbor
LB -- Local site not best-site RB -- Remote site not best-site
VM -- VLAN ID mismatch
Legend for interface status
Up -- operational
Dn -- down
Instance: FEC129-VPWS
L2vpn-id: 100:100
Number of local interfaces: 1
Number of local interfaces up: 1
ge-2/0/5.0
Local source-attachment-id: 1 (ONE)
Target-attachment-id Type St Time last up # Up trans
2 rmt Up Nov 28 16:16:14 2012 1
Remote PE: 198.51.100.2, Negotiated control-word: No
Incoming label: 299792, Outgoing label: 299792
Local interface: ge-2/0/5.0, Status: Up, Encapsulation: ETHERNET
Connection History:
Nov 28 16:16:14 2012 status update timer
Nov 28 16:16:14 2012 PE route changed
Nov 28 16:16:14 2012 Out lbl Update 299792
Nov 28 16:16:14 2012 In lbl Update 299792
Nov 28 16:16:14 2012 loc intf up ge-2/0/5.0Release Information
Command introduced before Junos OS Release 7.4.
instance-history option introduced in Junos OS Release
12.3R2.