beautypg.com

Configuring vf tracking, Configuring vrrp packet attributes – H3C Technologies H3C SecBlade LB Cards User Manual

Page 32

background image

24

Configuring VF tracking

1.

Configuration prerequisites

Before you configure the VF tracking function, create a VRRP group and configure a virtual IP address for
it.

2.

Configuration procedure

VRRP operates in load balancing mode. Assume that you have configured the VF tracking function to

monitor the track entry and specified the value by which the weight decreases. When the status of the

track entry becomes negative, the weight values of all VFs on the router decrease by the specified value.
When the status of the track entry becomes positive or invalid, the weight values of all VFs on the router

restore their original values.
If you configure the VF tracking function on an LVF to monitor its corresponding AVF on a specified router,

the LVF can take over the AVF immediately when the status of the track entry becomes negative, to ensure
uninterrupted network communications.
You can configure the VF tracking function when VRRP operates in either standard mode or load

balancing mode. However, the VF tracking function is effective only when VRRP operates 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.
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 VF

tracking.

Configure the VF tracking function to monitor a specified

track entry and specify the value by which the weight

decreases:
vrrp vrid virtual-router-id weight track track-entry-number

[ reduced weight-reduced ]

Configure the VF tracking function to monitor an AVF on

a specified router:

vrrp vrid virtual-router-id track track-entry-number

forwarder-switchover member-ip ip-address

Use either
approach.
The VF tracking

function is not
configured by

default.

Configuring VRRP packet attributes

1.

Configuration prerequisites

Before you configure the relevant attributes of VRRP packets, create a VRRP group and configure a virtual

IP address for it.

2.

Configuration guidelines

This manual is related to the following products: