H3C LS-3100-52P-OVS-H3 Operation Manual - page 1822
1-11
Configuration procedure
By configuring router priority, preemptive mode, interface tracking, or a Track object, you can decide
which router in the VRRP group serves as the Master.
Follow these steps to configure router priority, preemptive mode and the Track object tracking function:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter interface view
interface interface-type
interface-number
—
Configure router priority in the
VRRP group
vrrp vrid virtual-router-id
priority priority-value
Optional
100 by default.
Configure the router in the
VRRP group to work in
preemptive mode and
configure preemption delay
vrrp vrid virtual-router-id
preempt-mode [ timer delay
delay-value ]
Optional
The router in the VRRP group
works in preemptive mode and
the preemption delay is 0
seconds by default.
If the router in the VRRP group
works in non preemptive mode,
the preemption delay changes
to zero seconds automatically.
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.
Configure VRRP to track a
specified Track object
vrrp vrid virtual-router-id track
track-entry-number [ reduced
priority-reduced | switchover ]
Optional
Not configured by default.
z
The running priority of an IP address owner is always 255 and you do not need to configure it. An IP
address owner always works in the preemptive mode.
z
Do not configure VRRP tracking of an interface or an object on an IP address owner.
z
If the state of the interface under tracking changes from down to up, the priority of the device
corresponding to the interface is restored automatically.
z
If the state of a Track object changes from negative to positive, the priority of the device
corresponding to the Track object is restored automatically.
Configuring VRRP Packet Attributes
Configuration prerequisites
Before configuring the relevant attributes of VRRP packets, you should first create a VRRP group and
configure a virtual IP address.
Configuration procedure
Follow these steps to configure VRRP packet attributes: