R3166-R3206-HP High-End Firewalls High Availability Command Reference-6PW101
23
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 the vrrp vrid weight track command to specify the track entry to be monitored by VFs when VRRP
works 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 the undo vrrp vrid weight track command to remove the specified track entry.
By default, no track entry is specified to be monitored.
• The command is effective only when VRRP works 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 properly specified value and becomes lower than the lower limit of failure,
which means the weight of the VF owner decreases by more than 245.
NOTE:
For more information about track entries, see
High Availability Configuration Guide
.
Related commands: display vrrp.
Examples
# Configure to monitor track entry 1, making the weights of VFs belonging to VRRP group 1 on
GigabitEthernet 0/1 decrease by 50 when track entry 1 turns to negative.
<Sysname> system-view
[Sysname] interface GigabitEthernet 0/1
[Sysname-GigabitEthernet0/1] vrrp vrid 1 virtual-ip 10.1.1.1
[Sysname-GigabitEthernet0/1] vrrp vrid 1 weight track 1 reduced 50