
137
To do…
Use the command…
Remarks
Configure the interface to be
tracked
vrrp ipv6 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 entry
vrrp ipv6 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 configure it. An IP
address owner always works in preemptive mode.
•
Interface tracking is not configurable on an IP address owner.
•
The tracked interface can be a Layer 3 Ethernet interface, or a VLAN interfaces.
•
If the state of a tracked interface changes from down or removed to up, the priority of the router that
owns the interface is automatically restored.
•
If the state of a track entry changes from negative or invalid to positive, the priority of the router where
the track entry is configured is automatically restored.
Configuring VF tracking
Configuration prerequisites
Before you configure the VF tracking function, create a VRRP group and configure a virtual IPv6 address
for it.
Configuration procedure
VRRP works in load balancing mode. Suppose that the VF is configured to monitor a track entry. When
the state of the track entry becomes negative or invalid, the weight values of all VFs on the routers
decrease by a specified value; when the state of the track entry becomes positive, 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 VLAN interface
view or Layer 3 Ethernet interface
view
interface
interface-type
interface-number
—
Configure the VF to monitor a
specified track entry and specify
the amount by which the weight
decreases
vrrp ipv6 vrid
virtual-router-id
weight
track
track-entry-number
[
reduced
weight-reduced
]
Required
No track entry is specified by
default.