Configuring vf tracking, Configuration prerequisites, Configuration procedure – H3C Technologies H3C SR8800 User Manual
Page 68: Configuring vrrp packet attributes

59
Configuring VF tracking
Configuration prerequisites
Before you configure the VF tracking function, create a VRRP group and configure a virtual IP address for
it.
Configuration procedure
VRRP works in load balancing mode. Suppose that the VF is configured to monitor the track entry. When
the state of the track entry becomes negative, the weight values of all VFs on the routers decrease by a
specified value; when the state of the track entry becomes positive or invalid, the weight values of all VFs
on the routers restore their original values.
To configure VF tracking:
Step Command
Remarks
1.
Enter system view.
system-view N/A
2.
Enter the specified interface
view.
interface interface-type
interface-number
N/A
3.
Configure the VF to monitor a
specified track entry and
specify the amount by which
the weight decreases.
vrrp vrid virtual-router-id weight
track track-entry-number [ reduced
weight-reduced ]
No track entry is specified by
default.
NOTE:
•
You can configure the VF tracking function when VRRP works in either standard protocol mode or load
balancing mode; however, the VF tracking function is effective only when VRRP works in load balancing
mode.
•
By default, the weight of a VF is 255, and its lower limit of failure is 10.
•
If the weight of a VF owner is higher than or equal to the lower limit of failure, the priority of the VF
owner is always 255 and does not change with the weight value. Therefore, in case of an uplink failure,
another VF takes over the VF owner's work and becomes the AVF only when the weight of the VF owner
decreases by a properly specified value and becomes lower than the lower limit of failure. In other
words, the weight of the VF owner decreases by more than 245.
Configuring VRRP packet attributes
Configuration prerequisites
Before you configure the relevant attributes of VRRP packets, create a VRRP group and configure a virtual
IP address for it.
Configuration procedure
To configure VRRP packet attributes:
Step Command
Remarks
1.
Enter system view.
system-view N/A
2.
Enter the specified interface
view.
interface interface-type
interface-number
N/A