R0106-HP MSR Router Series High Availability Command Reference(V7)
31
Parameters
virtual-router-id: Specifies an IPv4 VRRP group number in the range of 1 to 255.
track-entry-number: Specifies a track entry. The track-entry-number argument is in the range of 1 to 1024.
reduced priority-reduced: Reduces the priority of the router in the VRRP group by a specific value when
the state of the specified track entry changes to negative. The priority-reduced argument is in the range
of 1 to 255.
switchover: Enables the router in backup state to take over as the master immediately after the specified
track entry changes to the negative state.
Usage guidelines
When the associated track entry changes to the negative state, the priority of the router in the VRRP group
decreases by a specified value, or the router immediately takes over as the master if it is a backup,
depending on your configuration.
If neither reduced priority-reduced nor switchover is specified, the priority of the router in the VRRP group
decreases by 10 when the track entry changes to negative.
When the track entry changes from Negative to Positive or NotReady, the router automatically restores its
priority.
IMPORTANT:
• The vrrp vrid track command cannot take effect on an IP address owner. If you have configured the
command on an IP address owner, the configuration takes effect after the router changes to be a non-IP
address owner.
• You can create a track entry with the track command before or after you associate it with a VRRP
g
roup.
For more information about configuring track entries, see
High Availability Configuration Guide
.
Examples
# Associate VRRP group 1 on GigabitEthernet 2/0/1 with track entry 1 and decrease the priority of the
router in the VRRP group by 50 when the state of track entry 1 changes to negative.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/0/1
[Sysname-GigabitEthernet2/0/1] vrrp vrid 1 track 1 reduced 50
Related commands
display vrrp
vrrp vrid
Use vrrp vrid to create an IPv4 VRRP group and assign a virtual IP address to the IPv4 VRRP group or to
assign a virtual IP address to an existing IPv4 VRRP group.
Use undo vrrp vrid to remove all configurations of an existing IPv4 VRRP group or to remove a virtual IP
address from an existing IPv4 VRRP group.
Syntax
vrrp vrid virtual-router-id virtual-ip virtual-address
undo vrrp vrid virtual-router-id [ virtual-ip [ virtual-address ] ]










