< Home

vrrp6 vrid preempt-mode disable

Function

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.

Format

vrrp6 vrid virtual-router-id preempt-mode disable

undo vrrp6 vrid virtual-router-id preempt-mode

Parameters

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.

Views

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

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

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.

Prerequisites

The vrrp6 vrid virtual-ip command has been executed on an interface to create a VRRP6 group.

Example

# Configure VRRP6 group 1 in non-preemption mode on the VLANIF interface.
<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
# Configure VRRP6 group 1 in non-preemption mode on the Ethernet interface.
<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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >