The vrrp6 vrid preempt-mode disable command configures the device in a VRRP6 group in non-preemption mode.
The undo vrrp6 vrid preempt-mode command restores the default preemption mode.
By default, the device uses the immediate preemption mode.
vrrp6 vrid virtual-router-id preempt-mode disable
undo vrrp6 vrid virtual-router-id preempt-mode
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. |
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
To enable the device with higher priority in a VRRP6 group to be the master, set the preemption mode on the device. In non-preemption mode, as long as the master is working properly, the backup with higher priority cannot be the master.
When non-preemption is disabled, the preemption delay is restored to 0 seconds immediately.
The vrrp6 vrid virtual-ip command has been executed on an interface to create a VRRP6 group.
<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 disable
<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 disable