
devices do not receive any VRRP6 advertisement message after the interval expires,
the backup device with the highest priority becomes the master device automatically.
----End
7.7.3 Configuring the Preemption Delay Time of Backup Group
Switch s
By setting the preemption delay time of switchs in a VRRP backup group, you can speed up or
slow the master/backup switchover.
Context
Do as follows on the VRRP backup switch of which the latency of preemption needs to be
adjusted:
Perform the following step as required to configure VRRP for IPv4 or VRRP for IPv6.
Procedure
l
For VRRP for IPv4, run the following commands:
1.
Run:
system-view
The system view is displayed.
2.
Run:
interface
interface-type
interface-number
The interface view is displayed.
3.
Run:
vrrp vrid
virtual-router-id
preempt-mode
timer
delay
delay-value
The preemption delay of switchs in the backup group is configured.
By default, the preemption mode is adopted and the delay period is 0, indicating
immediate preemption. In immediate preemption mode, the backup switch becomes
the new master switch when its priority is higher than that of the current master
switch. The original master switch becomes a backup switch. After the preemption
delay period is set, the backup switch is delayed to preempt the master switch.
Run the
vrrp vrid
virtual-router-id
preempt-mode
disable
command to configure
switchs in the backup group with the non-preemption mode. In the non-preemption
mode, if a switch in the backup group becomes the master switch and works normally,
other switchs do not become the master switch even if they are configured with higher
priorities later.
After the IP address owner recovers from a fault, it switches to be the master switch
immediately in spite of the preemption delay. The preemption delay refers to a delay
period for the backup switch to be switched to be the master switch. The preemption
delay is unavailable for the IP address owner. For the VRRP backup group that needs
to support the preemption delay, the master virtual switch cannot be configured as the
IP address owner.
Run the
undo vrrp vrid
virtual-router-id
preempt-mode
command to restore the
default preemption mode.
Quidway S3700 Series Ethernet Switches
Configuration Guide - Reliability
7 VRRP and VRRP6 Configuration
Issue 01 (2011-10-26)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
336