
Command Manual – VRRP
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 VRRP Configuration Commands
Huawei Technologies Proprietary
1-9
Parameter
virtual-router-id
: VRRP backup group ID ranging from 1 to 255.
priority
: Switch priority to be set. This argument ranges from 1 to 254.
Description
Use the
vrrp vrid priority
command to set the priority of a switch in a backup group.
Use the
undo vrrp vrid priority
command to revert to the default priority.
By default, the priority of a switch in a backup group is 100.
Switch priority determines the possibility for the switch to become a master switch. A
switch with larger priority is more likely to become a master switch. Note that the priority
of 0 is reserved for special use, and the priority of 255 is for IP address owners. That is,
the priority of a switch that owns a virtual router IP address is fixed to 255 and cannot be
modified.
Example
# Set the priority to 120 for the switch in the backup group.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] interface Vlan-interface 2
[Quidway-Vlan-interface2] vrrp vrid 1 priority 120
1.1.9 vrrp vrid timer advertise
Syntax
vrrp vrid virtual-router-id timer advertise
adver-interval
undo vrrp vrid virtual-router-id timer advertise
View
VLAN interface view
Parameter
virtual-router-id
: VRRP backup group ID ranging from 1 to 255.
adver-interval
: Interval (in seconds) for the master switch of a backup group to send
VRRP packets. This argument ranges from 1 to 255.
Description
Use the
vrrp vrid timer
advertise
command to set the interval for the master switch of
a backup group to send VRRP packets.
Use the
undo vrrp vrid timer advertise
command to revert to the default interval.