Configuring track-static routing collaboration – H3C Technologies H3C SecPath F1000-E User Manual
Page 289
6
When VRRP works in the load balancing mode, through the collaboration between the track module
and VRRP, you can change the priority of a virtual forwarder according to the status of the uplink. When
the uplink of the active virtual forwarder (AVF) fails, the status of the track entry changes to Negative and
the weight of the VF decreases by a specified value so that the VF with a higher priority becomes the AVF
and forwards packets.
Follow these steps to configure track-VRRP collaboration:
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.
Specify a track entry to be
monitored by VRRP
vrrp [ ipv6 ] vrid virtual-router-id
track track-entry-number
[ reduced priority-reduced |
switchover ]
Required
No track entry is specified for VRRP
by default.
This command is supported when
VRRP works in both the standard
protocol mode and load balancing
mode.
Specify a track entry to be
monitored by a virtual forwarder
vrrp [ ipv6 ] vrid virtual-router-id
weight track track-entry-number
[ reduced weight-reduced ]
Required
No track entry is specified for a
virtual forwarder by default.
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:
•
Do not perform track entry monitoring on the IP address owner.
•
When the status of the monitored track entry turns from Negative to Positive or Invalid, the
corresponding router or VF restores its priority automatically.
•
The monitored track entry can be nonexistent so that you can first specify the track entry to be monitored
using the vrrp vrid track command, and then create the track entry using the track command.
•
For more information about VRRP, see
VRRP Configuration in the System Volume.
Configuring Track-Static Routing Collaboration
A static route is a manually configured route. With a static route configured, packets to the specified
destination are forwarded through the path specified by the administrator.
The disadvantage of using static routes is that they cannot adapt to network topology changes. If a fault
or a topological change occurs in the network, the routes will be unreachable and the network breaks.