R3166-R3206-HP High-End Firewalls High Availability Command Reference-6PW101

20
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 priority-reduced: Specifies the value by which the priority decreases. priority-reduced ranges
from 1 to 255 and defaults to 10.
switchover: Specifies the router switchover mode. If the status of the monitored track entry turns to
negative and the router is a backup in the VRRP group, it immediately turns to the master.
Description
Use the vrrp vrid track command to specify the track entry to be monitored. If the status of the monitored
track entry changes to negative, the priority of the router decreases by a specified value and the router
immediately becomes the master.
Use the undo vrrp vrid track command to remove the specified track entry.
By default, no track entry is specified to be monitored.
Before executing the command, create a VRRP group on an interface and configure the virtual IP address
of the VRRP group.
If you configure a track entry to be monitored on a router that is the IP address owner in a VRRP group,
the configuration by the vrrp vrid track [ reduced ] command or the vrrp vrid track switchover command
does not take effect. If the router is not the IP address owner in the VRRP group later, the configuration
takes effect.
When the status of the monitored track entry turns from negative to positive or invalid, the corresponding
router automatically restores its priority.
The track entry specified in this command can be nonexistent. You can use the vrrp vrid track command
to specify a track entry, and then create the track entry by using the track command.
NOTE:
For more information about track entries, see
High Availability Configuration Guide
.
Related commands: display vrrp.
Examples
# Monitor track entry 1, making the priority of 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 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 ]