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

17
Default level
2: System level
Parameters
virtual-router-id: VRRP group number, which ranges from 1 to 255.
adver-interval: Interval at which the master in the specified VRRP group sends VRRP advertisements. It
ranges from 1 to 255 seconds.
Description
Use the vrrp vrid timer advertise command to configure the Adver_Timer of the specified VRRP group.
Use the undo vrrp vrid timer advertise command to restore the default.
By default the Adver_Timer is 1 second.
The Adver_Timer controls the interval at which the master sends VRRP packets.
Before executing the command, create a VRRP group on an interface and configure the virtual IP address
of the VRRP group.
Routers in the same VRRP group must use the same Adver_Timer setting.
Related commands: display vrrp.
Examples
# Set the master in VRRP group 1 to send VRRP advertisements at intervals of five seconds.
<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 timer advertise 5
vrrp vrid track
Syntax
vrrp vrid virtual-router-id track track-entry-number [ reduced priority-reduced | switchover ]
undo vrrp vrid virtual-router-id track [ track-entry-number ]
View
Interface view
Default level
2: System level
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: Switchover mode of a router. If the status of the monitored track entry turns to negative and
the router is a backup in the VRRP group, it turns to the master immediately.