R3721-F3210-F3171-HP High-End Firewalls High Availability Command Reference-6PW101
13
By default, a VRRP group is not associated with any track entry.
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 router,
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 invalid, the router automatically restores its
priority.
IMPORTANT:
You must create the VRRP
g
roup and assi
g
n a virtual IP address to it before you can associate it with an
y
track entry.
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 confi
g
uration takes effect after the router chan
g
es 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
.
Related commands: display vrrp.
Examples
# Associate VRRP group 1 on GigabitEthernet 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 0/1
[Sysname-GigabitEthernet0/1] vrrp vrid 1 virtual-ip 10.1.1.1
[Sysname-GigabitEthernet0/1] vrrp vrid 1 track 1 reduced 50
vrrp vrid track interface
Syntax
vrrp vrid virtual-router-id track interface interface-type interface-number [ reduced priority-reduced ]
undo vrrp vrid virtual-router-id track [ interface interface-type interface-number ]
View
Interface view
Default level
2: System level
Parameters
virtual-router-id: VRRP group number, which ranges from 1 to 255.
interface interface-type interface-number: Specifies an interface to be tracked by its type and number.
reduced priority-reduced: Value by which the priority decrements. priority-reduced ranges from 1 to 255
and defaults to 10.
Description
Use vrrp vrid track interface to configure to track the specified interface.