Troubleshooting tips on VPLS connection status flags, when the VPLS connection does not report Status Up (i.e. it's down).
This article is called from KB25025 - Resolution Guide - MX - VPLS Troubleshooting (Control Plane) - Connection not listed or down [juniper.net] .
When checking the status of a remote VPLS connection with the command ' show vpls connection extensive ', the status is not Up. What do the various flags mean? How do you troubleshoot it?
show vpls connection extensive
lab@siteAA-re0> 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 RS -- remote site standby SN -- Static Neighbor Legend for interface status Up -- operational Dn -- down Instance: vlan-11 rmt LN BGP-VPLS State Local site: vpls-11 connection-site Type St Time last up # Up trans 1 rmt LD 2 rmt LD 3 rmt LD <--- Status is not 'Up'
If the VPLS connection is not listed, then refer to KB25025 - Resolution Guide - MX - VPLS Troubleshooting (Control Plane) - Connection not listed or down [juniper.net] .
Click on one of the Status (St) values below to jump to the troubleshooting information for that status.
For other status values, refer to: http://www.juniper.net/techpubs/en_US/junos/topics/reference/command-summary/show-vpls-connections.html .
vt
lsi
tunnel-services: Tunnel interface is necessary in VPLS to bind and de-encapsulate traffic from remote sites on the core facing side of the local PE router. By default, the Junos OS automatically selects one of the virtual tunnel (VT) interfaces available to the router. The Junos OS cycles through the currently available VT interfaces, regularly updating the list of available VT interfaces as new remote sites are discovered and new connections are brought up. For that to happen on MX router at least one fpc should have tunnel-services enabled by using tunnel-services statement under the [edit chassis fpc slot-number pic number] hierarchy.For more information go to http://www.juniper.net/techpubs/en_US/junos12.1/topics/reference/configuration-statement/tunnel-services-edit-chassis.html . CAUTION: VT interfaces created using MS-DPC are not capable to provide VPLS tunnel (vt) functionality. So only use VT interfaces created on the DPC/MPC to tunnel VPLS . no-tunnel-services: Alternatively if you do not want to use up one interface on you MX fpc card only for tunnel services, you can make use of lsi interface (which can perform the same functionality as vt) which is enabled by using no-tunnel-services under the [edit routing-instances routing-instance-name protocols vpls] hierarchy.
Tunnel interface is necessary in VPLS to bind and de-encapsulate traffic from remote sites on the core facing side of the local PE router. By default, the Junos OS automatically selects one of the virtual tunnel (VT) interfaces available to the router. The Junos OS cycles through the currently available VT interfaces, regularly updating the list of available VT interfaces as new remote sites are discovered and new connections are brought up. For that to happen on MX router at least one fpc should have tunnel-services enabled by using tunnel-services statement under the [edit chassis fpc slot-number pic number] hierarchy.For more information go to http://www.juniper.net/techpubs/en_US/junos12.1/topics/reference/configuration-statement/tunnel-services-edit-chassis.html . CAUTION: VT interfaces created using MS-DPC are not capable to provide VPLS tunnel (vt) functionality. So only use VT interfaces created on the DPC/MPC to tunnel VPLS .
Alternatively if you do not want to use up one interface on you MX fpc card only for tunnel services, you can make use of lsi interface (which can perform the same functionality as vt) which is enabled by using no-tunnel-services under the [edit routing-instances routing-instance-name protocols vpls] hierarchy.
To correct the NP status:
up
show interfaces terse | match vpls | match vt
show interfaces terse | match vpls | match lsi
Working Examples: Example output when tunnel Services is used: lab# run show interfaces terse | match vpls lc-0/0/0.32769 up up vpls vt-0/0/10.1051136 up up vpls <<<<<< VT Interface for Core facing interface ge-1/2/5.0 up up vpls Example output when no-tunnel-services knob is used: lab# run show interfaces terse | match vpls lc-0/0/0.32769 up up vpls ge-1/2/5.0 up up vpls lsi.1048576 up up vpls <<<<< lsi interface for Core facing interface
lab# run show interfaces terse | match vpls
lc-0/0/0.32769 up up vpls
vt-0/0/10.1051136 up up vpls
<<<<<< VT Interface for Core facing interface
ge-1/2/5.0 up up vpls
lsi.1048576 up up vpls <<<<< lsi interface for Core facing interface
instance-type vpls; vlan-id none; interface ge-5/0/7.13; route-distinguisher 10.1.1.1:1000; vrf-target target:100:1000; protocols { vpls { site-range 10; <<<<<<<<< no-tunnel-services; site CE2{ site-identifier 2; multi-homing; site-preference backup; mesh-group ldp-2; } site CE3{ site-identifier 20; <<<<<<<<<< interface ge-5/0/7.13; }
instance-type vpls;
vlan-id none;
interface ge-5/0/7.13;
route-distinguisher 10.1.1.1:1000;
vrf-target target:100:1000;
protocols {
vpls {
site-range 10; <<<<<<<<<
no-tunnel-services;
site CE2{
site-identifier 2;
multi-homing;
site-preference backup;
mesh-group ldp-2;
}
site CE3{
site-identifier 20; <<<<<<<<<<
To correct the OR status:
To correct the OL status:
show vpls connections
show route advertising-protocol bgp <PE_neighbor> table <routing_instance> extensive
show route receive-protocol bgp <PE_neighbor> table <routing_instance> extensive
If you have LDP VPLS connections, they should be brought down if all CE interfaces go down on the local PE. Along with this there are some other conditions that need to be considered. Basically if any one of the following conditions hold true, the pseudowire is brought UP; otherwise, it is brought down on the local PE.
To correct the LD status, determine why the local CE facing interface is down:
The LM or RM state is typically found in multi-homing scenarios:
RM — The remote site identifier is not the minimum designated, i.e. it is not the lowest. There is another remote site connected to the same PE router which has a lower site identifier. The PE router cannot establish a pseduowire to this remote site and the associated remote site identifier cannot be used to distribute VPLS label blocks. However, this is not an error state. Traffic can continue to be forwarded to the PE router interface connected to this remote site when the remote site is in this state.
To correct this issue:
This flag is set on the local PE router if all the interfaces to the remote neighbor are down. Therefore, the remote site has been signaled as down to the other PE routers. No pseudowires can be established.
If any one of the following conditions are true on the remote PE router's CE facing link, the psuedowire is brought UP; otherwise it is brought down as RD on the local PE.
2020-06-12: Article reviewed for accuracy; no changes required2020-08-21: Added 2nd bullet item under OL regarding core interface and family mpls