After configuring PWs, add them to a PW protection group, specify PW priorities, and configure PW protection group parameters to implement PW redundancy.
After configuring two VPLS PWs on a UPE, add them to a PW protection group, specify their priorities, and configure PW protection group parameters for the two PWs to work in backup mode.
The system view is displayed.
The view of the created VSI is displayed.
The VSI-LDP view is displayed.
A PW protection group is created, and the PW protection group view is displayed.
The PW redundancy mode is configured for the current PW protection group.
In HVPLS scenarios, the PW redundancy mode of the PW protection group can only be master. In VPLS accessing VLL scenarios, a bypass PW must be configured between NPEs if the PW redundancy mode of the PW protection group is master.
The PW redundancy mode of the PW protection group must have been configured before you perform the following configurations.
A PW is added to the PW protection group, and the priority of the PW is specified. The smaller the value, the higher the priority. Between the two PWs added to a PW protection group, the one with a higher priority functions as the primary PW.
Both the primary and secondary PWs are configured to receive packets.
This command helps prevent packet loss during traffic switchbacks, but may incur routing loops.
A switching delay is configured for the PW protection group.
If a fault occurs on the primary PW, traffic immediately switches to the secondary PW. If the working path flaps or an error occurs in the detection mechanism, traffic frequently switches between the working and protection paths. To prevent this problem, configure a switching delay.
On a VPLS network that uses BFD for fault detection, traffic immediately switches from the primary PW to the secondary PW after BFD detects a fault on the primary PW, irrespective of whether delayed switching is configured. It is recommended that you determine whether to use BFD or delayed switching based on your requirements.
After you configure a switching delay, traffic forwarded during the delay period will be interrupted if the primary PW fails to recover before the delay period expires.
A revertive switching policy is configured.
The revertive switching policy for a PW protection group in independent PW redundancy mode can only be immediate switchback and cannot be changed.
The revertive switching policy affects traffic switchback after the primary PW recovers.
The configuration is committed.