The protect-mode pw-redundancy command specifies the PW redundancy mode for a PW protection group.
The undo protect-mode command deletes the PW redundancy mode of a PW protection group.
By default, a PW protection group does not have a PW redundancy mode.
Usage Scenario
PW pairs in a VSI can be added to a PW protection group to protect each other. After the PW protection group is configured, you must specify the protection mode. Currently, only PW redundancy is supported. PW redundancy has two modes: master/slave and independent. The PW redundancy mode must be specified when PW redundancy is used:
Prerequisites
The VSI ID and PW protection group have been configured.
Configuration Impact
If the PW redundancy mode of a PW protection group is master/slave, the local UPE determines the active/standby status of PWs based on local configurations.
Follow-up Procedure
Configure a revertive switching policy for the PW protection group and add PWs to the group.
Precautions
After a PW protection group is configured, you must specify the PW redundancy mode before configuring other parameters. Deleting the PW redundancy mode of a PW protection group will clear all the configurations of the group.
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] vsi vsi1 [*HUAWEI-vsi-vsi1] pwsignal ldp [*HUAWEI-vsi-vsi1-ldp] vsi-id 100 [*HUAWEI-vsi-vsi1-ldp] protect-group group1 [*HUAWEI-vsi-vsi1-ldp-protect-group-group1] protect-mode pw-redundancy master