R3204P16-HP Load Balancing Module High Availability Configuration Guide-6PW101
29
To do… Use the command…
Remarks
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.
NOTE:
• The running priority of an IP address owner is always 255 and you do not need to confi
g
ure it. An IP
address owner always works in the preemptive mode.
• Do not configure VRRP tracking of an interface or an object on an IP address owner.
• The tracked interface can be a Layer 3 Ethernet interface or a VLAN interface.
• If the state of the interface under tracking changes from down or removed to up, the priority of the route
r
corresponding to the interface is restored automatically.
• If the state of a track object changes from negative to positive or invalid, the priority of the router
corresponding to the Track object is restored automatically.
Configuring VF tracking
Configuration prerequisites
Before configuring the VF tracking function, create a VRRP group and configure a virtual IP address for
it.
Configuration procedure
VRRP works in the load balancing mode. Suppose that the VF is configured to monitor the Track object.
When the state of the Track object becomes negative, the weight values of all VFs on the routers decrease
by a specified value; when the state of the Track object becomes positive or invalid, the weight values of
all VFs on the routers restore their original values.
Follow these steps to configure VF tracking:
To do… Use the command…
Remarks
Enter system view system-view —
Enter the specified
interface view
interface interface-type interface-number
—
Configure the VF to
monitor a specified Track
object
vrrp vrid virtual-router-id weight track
track-entry-number [ reduced
weight-reduced ]
Required
No Track object is specified by
default.