The mpls l2vpn holdoff command configures a switching delay for a PW.
The undo mpls l2vpn holdoff command deletes the switching delay for a PW.
By default, no switching delay is configured for a PW.
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
In a VPWS with the master/slave PW redundancy mode, if the master PW fails, traffic immediately switches to the slave PW. If the master PW flaps or an error occurs in the detection mechanism, traffic frequently switches between the master and slave PWs. To prevent this problem in a VPWS with the master/slave PW redundancy mode, run the holdoff command to configure a switching delay.
The VPWS with the master/slave PW redundancy mode supports two types of switching policies:
<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 20 [*HUAWEI-GigabitEthernet0/1/0] mpls l2vc 1.1.1.2 21 secondary [*HUAWEI-GigabitEthernet0/1/0] mpls l2vpn redundancy master [*HUAWEI-GigabitEthernet0/1/0] mpls l2vpn holdoff 30