
196
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter interface view
interface
interface-type
interface-number
—
Create a VRRP group and
configure its virtual IP address
vrrp vrid
virtual-router-id
virtual-ip
virtual-address
Required
No VRRP group is created by
default.
Associate a track entry with a VRRP
group
vrrp
[
ipv6
]
vrid
virtual-router-id
track
track-entry-number
[
reduced
priority-reduced
|
switchover
]
Required
No track entry is specified for a
VRRP group by default.
This command is supported when
VRRP works in both the standard
protocol mode and load balancing
mode.
Follow these steps to associate track with VRRP VF:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter interface view
interface
interface-type interface-number
—
Create a VRRP group and
configure its virtual IP address
vrrp vrid
virtual-router-id
virtual-ip
virtual-address
Required
No VRRP group is created by
default.
Associate a track entry with the
VRRP VF
vrrp
[
ipv6
]
vrid
virtual-router-id
weight
track
track-entry-number
[
reduced
weight-reduced
]
Required
By default, no track entry is
specified for a VF.
This command is supported
when VRRP works in both
standard protocol mode and
load balancing mode.
However, this function takes
effect only when VRRP works in
load balancing mode.
NOTE:
•
VRRP tracking is not valid on an IP address owner. An IP address owner refers to a router when the IP
address of the virtual router is the IP address of an interface on the router in the VRRP group.
•
When the status of the track entry changes from Negative to Positive or Invalid, the associated router or
VF restores its priority automatically.
•
You can associate a nonexistent track entry with a VRRP group or VF. The association takes effect only
after you create the track entry with the
track
command.
•
For more information about VRRP, see the chapter “VRRP
configuration.”