R3204P16-HP Load Balancing Module High Availability Command Reference-6PW101

18
Description
Use the vrrp vrid track command to specify the track entry to be monitored, that is, if the status of the
monitored track entry changes to negative, the priority of the router decreases by a specified value or the
router immediately switches to the master.
Use the undo vrrp vrid track command to cancel 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.
When the router is the IP address owner, you cannot perform the configuration.
When the status of the monitored track entry turns from negative to positive or invalid, the corresponding
router restores its priority automatically.
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 using the track command.
Related commands: display vrrp.
Examples
# Configure to monitor track entry 1, making the priority of VRRP group 1 on Ten-GigabitEthernet 0/0.1
decrease by 50 when track entry 1 turns to negative.
<Sysname> system-view
[Sysname] interface Ten-GigabitEthernet 0/0.1
[Sysname-Ten-GigabitEthernet0/0.1] vrrp vrid 1 virtual-ip 10.1.1.1
[Sysname-Ten-GigabitEthernet0/0.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 the vrrp vrid track interface command to configure to track the specified interface.
Use the undo vrrp vrid track interface command to disable tracking the specified interface.
By default, no interface is tracked.