The mpls l2vpn redundancy command specifies the PW redundancy mode.
The undo mpls l2vpn redundancy command restores the default PW redundancy mode.
By default, a device determines the primary and secondary PWs locally using FRR, without negotiating with other nodes.
100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE sub-interface view, 25GE interface view, 400GE Layer 2 sub-interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE Layer 2 sub-interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk Layer 2 sub-interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, GE Layer 2 sub-interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, Global VE sub-interface view, VE sub-interface view, XGE sub-interface view, XGE interface view, Layer 2 sub-interface view
Usage Scenario
After configuring the primary and secondary PWs on a PE, you can specify the PW redundancy mode. The following PW redundancy modes are supported:
FRR mode: The FRR mode is the default PW redundancy mode and does not need to be configured. Master/slave or independent mode: is configured using the mpls l2vpn redundancy command.Precautions
The independent or master/slave PW redundancy mode is used in PWE3 only.
If the mpls l2vpn redundancy command is run multiple times, the latest configuration overrides previous ones. The undo mpls l2vpn redundancy command restores the FRR mode. When using the undo mpls l2vpn redundancy command, ensure that the parameter in this command is the same as that in the corresponding mpls l2vpn redundancy command. You can run the mpls l2vpn reroute command to configure a switchback policy for the VLL FRR or master/slave PW redundancy mode. By default, the delayed switchback mode is used. The independent PW redundancy mode uses only the immediate switchback mode.<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] interface GigabitEthernet 0/1/0 [*HUAWEI-GigabitEthernet0/1/0] mpls l2vc 1.1.1.1 1 [*HUAWEI-GigabitEthernet0/1/0] mpls l2vc 2.2.2.2 2 secondary [*HUAWEI-GigabitEthernet0/1/0] mpls l2vpn redundancy master
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] interface GigabitEthernet 0/1/0 [*HUAWEI-GigabitEthernet0/1/0] mpls l2vc 1.1.1.1 1 [*HUAWEI-GigabitEthernet0/1/0] mpls l2vc 2.2.2.2 2 secondary [*HUAWEI-GigabitEthernet0/1/0] mpls l2vpn redundancy independent