Vrrp Vrid Weight Track - H3C WX Series Command Reference Manual

Access controllers
Hide thumbs Also See for WX Series:
Table of Contents

Advertisement

Related commands: display vrrp.
Examples
# Create VRRP group 1 and set its virtual IP address to 10.10.10.10.
<Sysname> system-view
[Sysname] interface vlan-interface 2
[Sysname-Vlan-interface2] vrrp vrid 1 virtual-ip 10.10.10.10
# Add virtual IP address 10.10.10.11 to VRRP group 1.
[Sysname-Vlan-interface2] vrrp vrid 1 virtual-ip 10.10.10.11

vrrp vrid weight track

Syntax
vrrp vrid virtual-router-id weight track track-entry-number [ reduced weight-reduced ]
undo vrrp vrid virtual-router-id weight track [ track-entry-number ]
View
Interface view
Default level
2: System level
Parameters
virtual-router-id: VRRP group number, which ranges from 1 to 255.
track track-entry-number: Specifies a track entry to be monitored by its number. track-entry-number
ranges from 1 to 1024.
reduced weight-reduced: Specifies the value by which the weight decreases. priority-reduced ranges
from 1 to 255 and defaults to 30.
Description
Use vrrp vrid weight track to specify the track entry to be monitored by VFs when VRRP is operating in
load balancing mode. If the status of the monitored track entry changes to negative, the weights of all VFs
in the VRRP group to which the current router belongs decrease by a specified value.
Use undo vrrp vrid weight track to remove the specified track entry.
By default, no track entry is specified to be monitored.
The command is effective only when VRRP is operating in load balancing mode.
Before executing the command, create a VRRP group on an interface and configure the virtual IP address
of the VRRP group.
When the status of the monitored track entry turns from negative to positive or invalid, the corresponding
VFs automatically restore their weights.
The track entry specified in this command can be nonexistent. You can use the vrrp vrid weight track
command to specify a track entry, and then create the track entry using the track command.
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, if an uplink fails, another VF takes
over the VF owner's work and becomes the AVF only when the weight of the VF owner decreases by a
21

Advertisement

Table of Contents
loading

Table of Contents