- play_arrow Common Configuration for All VPNs
- play_arrow VPNs Overview
- play_arrow Assigning Routing Instances to VPNs
- play_arrow Distributing Routes in VPNs
- play_arrow Distributing VPN Routes with Target Filtering
- Configuring BGP Route Target Filtering for VPNs
- Example: BGP Route Target Filtering for VPNs
- Example: Configuring BGP Route Target Filtering for VPNs
- Configuring Static Route Target Filtering for VPNs
- Understanding Proxy BGP Route Target Filtering for VPNs
- Example: Configuring Proxy BGP Route Target Filtering for VPNs
- Example: Configuring an Export Policy for BGP Route Target Filtering for VPNs
- Reducing Network Resource Use with Static Route Target Filtering for VPNs
- play_arrow Configuring Forwarding Options for VPNs
- play_arrow Configuring Graceful Restart for VPNs
- play_arrow Configuring Class of Service for VPNs
- play_arrow Pinging VPNs
-
- play_arrow Common Configuration for Layer 2 VPNs and VPLS
- play_arrow Overview
- play_arrow Layer 2 VPNs Configuration Overview
- play_arrow Configuring Layer 2 Interfaces
- play_arrow Configuring Path Selection for Layer 2 VPNs and VPLS
- play_arrow Creating Backup Connections with Redundant Pseudowires
- play_arrow Configuring Class of Service for Layer 2 VPNs
- play_arrow Monitoring Layer 2 VPNs
- Configuring BFD for Layer 2 VPN and VPLS
- BFD Support for VCCV for Layer 2 VPNs, Layer 2 Circuits, and VPLS
- Configuring BFD for VCCV for Layer 2 VPNs, Layer 2 Circuits, and VPLS
- Connectivity Fault Management Support for EVPN and Layer 2 VPN Overview
- Configure a MEP to Generate and Respond to CFM Protocol Messages
-
- play_arrow Configuring Group VPNs
- play_arrow Configuring Public Key Infrastructure
- play_arrow Configuring Digital Certificate Validation
- play_arrow Configuring a Device for Certificate Chains
- play_arrow Managing Certificate Revocation
-
- play_arrow Configuring Layer 2 Circuits
- play_arrow Overview
- play_arrow Layer 2 Circuits Configuration Overview
- play_arrow Configuring Class of Service with Layer 2 Circuits
- play_arrow Configuring Pseudowire Redundancy for Layer 2 Circuits
- play_arrow Configuring Load Balancing for Layer 2 Circuits
- play_arrow Configuring Protection Features for Layer 2 Circuits
- Egress Protection LSPs for Layer 2 Circuits
- Configuring Egress Protection Service Mirroring for BGP Signaled Layer 2 Services
- Example: Configuring an Egress Protection LSP for a Layer 2 Circuit
- Example: Configuring Layer 2 Circuit Protect Interfaces
- Example: Configuring Layer 2 Circuit Switching Protection
- play_arrow Monitoring Layer 2 Circuits with BFD
- play_arrow Troubleshooting Layer 2 Circuits
-
- play_arrow Configuring VPWS VPNs
- play_arrow Overview
- play_arrow Configuring VPWS VPNs
- Understanding FEC 129 BGP Autodiscovery for VPWS
- Example: Configuring FEC 129 BGP Autodiscovery for VPWS
- Example: Configuring MPLS Egress Protection Service Mirroring for BGP Signaled Layer 2 Services
- Understanding Multisegment Pseudowire for FEC 129
- Example: Configuring a Multisegment Pseudowire
- Configuring the FAT Flow Label for FEC 128 VPWS Pseudowires for Load-Balancing MPLS Traffic
- Configuring the FAT Flow Label for FEC 129 VPWS Pseudowires for Load-Balancing MPLS Traffic
-
- play_arrow Connecting Layer 2 VPNs and Circuits to Other VPNs
- play_arrow Connecting Layer 2 VPNs to Other VPNs
- play_arrow Connecting Layer 2 Circuits to Other VPNs
- Using the Layer 2 Interworking Interface to Interconnect a Layer 2 Circuit to a Layer 2 VPN
- Applications for Interconnecting a Layer 2 Circuit with a Layer 2 Circuit
- Example: Interconnecting a Layer 2 Circuit with a Layer 2 VPN
- Example: Interconnecting a Layer 2 Circuit with a Layer 2 Circuit
- Applications for Interconnecting a Layer 2 Circuit with a Layer 3 VPN
- Example: Interconnecting a Layer 2 Circuit with a Layer 3 VPN
-
- play_arrow Configuration Statements and Operational Commands
Configure Hot-Standby Pseudowire Redundancy in H-VPLS
Hot-standby redundant pseudowire provide redundant end-to-end paths on an H-VPLS network. When you enable hot-standby redundancy and the primary pseudowire fails, the network transitions to the redundant pseudowire with minimal disruption.
The benefits of hot-standby pseudowire for H-VPLS include the following:
Rapid recovery to a rerouted path when the active path has a failure.
Reduced traffic disruption during the transition.
Figure 1 shows a simplified 2-level hierarchical VPLS (H-VPLS) network with an active pseudowire connecting the primary hub HL3-1 to spokes HL4-1 and HL4-2. A standby pseudowire connects the backup hub HL3-2 to spokes HL4-1 and HL4-2. When the primary pseudowire fails, the standby pseudowire takes over.
With the hot-standby enabled, both the primary and backup hub have programmed active and standby pseudowire paths to spoke devices in the Packet Forwarding Engine. Likewise, the spoke devices have programmed active and standby pseudowire paths. Having both active and pseudowire paths preprogrammed on the Packet Forwarding Engine reduces the amount of traffic that gets discarded during transition. Both the active and standby pseudowire can send and receive traffic. So we must give special consideration to preventing traffic loops when spoke devices send unknown traffic. To configure hot-standby in an H-VPLS network, configure the following statements on all hub-and-spoke devices:
On the hub devices:
Include the
pseudowire-status-tlv
statement at the[edit routing-instances routing-instance-name protocols vpls mesh-group mesh-group-name neighbor address ]
hierarchy. PE devices use the pseudowire status type length variable (TLV) to communicate the pseudowire status.Include the
This allows the backup hub device managing the standby pseudowire to preprogram pseudowire paths to the spoke devices.hot-standby-vc-on
statement at the[edit routing-instances routing-instance-name protocols vpls mesh-group mesh-group-name neighbor address pseudowire-status-tlv]
hierarchy on the hub devices.Include the
load-balance per-packet
statement at the[edit policy-options policy-statement policy-name term term-name then]
hierarchy and apply the routing policy to all routes in the forwarding table.
On the spoke devices:
Include the
pseudowire-status-tlv
statement at the[edit routing-instances routing-instance-name protocols vpls neighbor address ]
hierarchy. PE devices use the pseudowire status type length variable (TLV) to communicate the pseudowire status.Include the
hot-standby
statement at the [edit routing-instances routing-instance-name protocols vpls neighbor address backup-neighbor address]
hierarchy on the spoke devices. Enablinghot-standby
allows the spoke devices to preprogram the routes and next hops of the standby pseudowire.Include the
vpls-hot-standby-convergence
statement at the[ routing-options forwarding-table]
hierarchy on the spoke device. When you enablevpls-hot-standby-convergence
, the Junos device sends advertising messages with different labels on the active and standby pseudowire. The spoke device can then differentiate the return messages coming back from the active and standby pseudowire.Include the
load-balance per-packet
statement at the[edit policy-options policy-statement policy-name term term-name then]
hierarchy level and apply the routing policy to all routes in the forwarding table.(Optional) In some cases, you may want to include a
switchover-delay
at the[edit routing-instances routing-instance-name protocols vpls mesh-group mesh-group-name neighbor address ]
hierarchy on the spoke device. This is the time that the device waits before switching to the backup neighbor after detecting a failure in the primary pseudowire connection. We recommend a delay of 60 seconds.
The following sample hot-standby configuration shows how to configure the hub-and-spoke devices.

The following is the sample configuration for Hub HL3-1.
routing-instances LDP-VPLS { instance-type vpls; interface ge-0/0/0.0; protocols { vpls { no-tunnel-services; vpls-id 1; neighbor 10.3.2.2; mesh-group HL4 { vpls-id 1; local-switching; neighbor 10.4.1.1 { pseudowire-status-tlv hot-standby-vc-on; } neighbor 10.4.2.2 { pseudowire-status-tlv hot-standby-vc-on; } } connectivity-type permanent; } } }
policy-options { policy-statement PPLB { then { load-balance per-packet; } } } routing-options { forwarding-table { export PPLB; } }
The following is the sample configuration for Hub HL3-2.
routing-instances LDP-VPLS { instance-type vpls; protocols { vpls { enable-mac-move-action; no-tunnel-services; vpls-id 1; neighbor 10.1.2.2; mesh-group HL4 { vpls-id 1; local-switching; neighbor 10.4.1.1 { pseudowire-status-tlv hot-standby-vc-on; } neighbor 10.4.2.2 { pseudowire-status-tlv hot-standby-vc-on; } } connectivity-type permanent; } } }
policy-options { policy-statement PPLB { then { load-balance per-packet; } } } routing-options { forwarding-table { export PPLB; } }
The following is the sample configuration for the spoke devices (HL4-1 and HL4-2).
routing-instances LDP-VPLS { instance-type vpls; interface ge-0/0/0.0; protocols { vpls { no-tunnel-services; vpls-id 1; neighbor 10.3.1.1 { pseudowire-status-tlv; switchover-delay 60000; revert-time 10; backup-neighbor 10.3.2.2 { hot-standby; } } } } } routing-options { forwarding-table { vpls-hot-standby-convergence; } }
policy-options { policy-statement PPLB { then { load-balance per-packet; } } } routing-options { forwarding-table { export PPLB; } }