Configuring VRRP for IPv4 1083
■ The virtual IP address of the standby group cannot be 0.0.0.0, 
255.255.255.255, loopback address, non A/B/C address and other illegal IP 
addresses such as 0.0.0.1.
■ Only when the configured virtual IP address and the interface IP address belong 
to the same segment and are legal host addresses can the standby group 
operate normally. If the configured virtual IP address and the interface IP 
address do not belong to the same network segment, or the configured IP 
address is the network address or network broadcast address of the network 
segment that the interface IP address belongs to, the state of the standby 
group is always initialize though you can perform the configuration 
successfully, that is, VRRP does not take effect in this case.
Configuring Standby
Group Priority,
Preemption Mode and
Interface Tracking
Configuration prerequisites
Before you configure these features, you should first create a standby group on 
the interface and configure virtual IP address for it.
Configuration procedure
By configuring switch priority, preemption mode and interface tracking, you can 
decide which switch in the standby group serves as the Master.
c
CAUTION:
■ The priority of an IP address owner is always 255 and not configurable.
■ Interface tracking is not configurable to an IP address owner.
■ The priority of a device is restored if the state of the interface under tracking 
changes from down to up.
Configuring VRRP Packet
Attributes
Configuration prerequisites
Before configuring the relevant attributes of VRRP packets, you should first create 
the standby group and configure the virtual IP address.
Configuration procedure
Follow these steps to configure VRRP packet attributes:
To do…  Use the command…  Remarks 
Enter system view  system-view - 
Enter interface view  interface interface-type 
interface-number 
- 
Configure switch priority in 
the standby group 
vrrp vrid virtual-router-id 
priority priority-value 
Optional
100 by default. 
Configure the switch in the 
standby group to work in 
preemption mode and 
configure preemption delay 
vrrp vrid virtual-router-id 
preempt-mode [ timer 
delay delay-value ] 
Optional
The switch in the standby 
group works in preemption 
mode and the preemption 
delay is 0 seconds by default. 
Configure the interface to be 
tracked 
vrrp vrid virtual-router-id 
track interface interface-type 
interface-number [ reduced 
priority-reduced ] 
Optional
No interface is being tracked 
by default.