
Context
The master switch sends VRRP advertisement packets at intervals to other backup switchs. If
the backup switchs do not receive VRRP advertising messages when the timer times out, the
backup switch with the highest priority becomes the master switch automatically.
Do as follows on the switch to adjust the interval for sending VRRP advertisement packets:
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
timer
advertise
advertise-interval
The interval for sending VRRP advertisement packets is configured.
By default, the interval for sending VRRP advertisement packets is 1 second. When
multiple backup groups exist, sending VRRP advertisement packets at very short
intervals may lead to frequent VRRP switchover. In this case, you can increase the
interval.
NOTE
l
If the
advertise-interval
parameters set for two VRRP devices are the same, the two devices
can work in master and slave mode.
l
If the
advertise-interval
parameters set for two VRRP devices are different, both the two
devices are in master state.
l
For VRRP6, 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:
vrrp6 vrid
virtual-router-id
timer
advertise
interval
The interval for sending VRRP6 advertisement packets is configured for the master
router.
By default, the interval is 100 centiseconds, namely, 1 second.
The master device sends VRRP6 advertisement messages at the interval to the backup
devices in the group to notify that the master device works normally. If the backup
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.
335