The vrrp6 vrid preempt-mode timer delay command sets the preemption delay for the device in a VRRP6 group.
The undo vrrp6 vrid preempt-mode timer delay command restores the default preemption delay for the device in a VRRP6 group.
By default, the preemption delay is 0 seconds, indicating immediate preemption.
vrrp6 vrid virtual-router-id preempt-mode timer delay delay-value
undo vrrp6 vrid virtual-router-id preempt-mode timer delay
Parameter | Description | Value |
---|---|---|
vrid virtual-router-id | Specifies the VRID of a VRRP6 group. | The value is an integer that ranges from 1 to 255. |
delay delay-value | Specifies the preemption delay. | The value is an integer that ranges from 0 to 3600, in seconds. The default value is 0. |
VLANIF interface view, Eth-Trunk interface view, GE interface view, MultiGE interface view, XGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, Eth-Trunk sub-interface view, GE sub-interface view, MultiGE sub-interface view, XGE sub-interface view, 25GE sub-interface view, 40GE sub-interface view, 100GE sub-interface view
If the backup in a VRRP6 group does not receive VRRP6 Advertisement packets from the master within a specified period of time, the backup becomes the master. On an unstable network, even if the master is working properly, the backup may not receive packets from the master because of network congestion. In this case, the VRRP6 group status will flap and traffic is lost. To prevent frequent switching of the VRRP6 group status, run the vrrp6 vrid preempt-mode timer delay command to set the preemption delay so that the backup becomes the master only after the delay expires.
PrerequisitesThe vrrp6 vrid virtual-ip command has been executed to create a VRRP6 group.
PrecautionsYou are advised to set the preemption delay of the backup in a VRRP6 group to 0, configure the master in preemption mode, and set the preemption delay to be longer than 15s. These settings allow a period of time for status synchronization between the uplink and downlink on devices on an unstable network. If the preceding settings are not used, two masters coexist and user devices may learn an incorrect master address. As a result, traffic is interrupted.
<HUAWEI> system-view [HUAWEI] interface vlanif 100 [HUAWEI-Vlanif100] vrrp6 vrid 1 virtual-ip FE80::7 link-local [HUAWEI-Vlanif100] vrrp6 vrid 1 preempt-mode timer delay 10
<HUAWEI> system-view [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] undo portswitch [HUAWEI-GigabitEthernet0/0/1] vrrp6 vrid 1 virtual-ip FE80::7 link-local [HUAWEI-GigabitEthernet0/0/1] vrrp6 vrid 1 preempt-mode timer delay 10