R3303-HP HSR6800 Routers High Availability Command Reference

158
Default
The Adver_Timer is 1 second.
Views
Interface view
Default command level
2: System level
Parameters
virtual-router-id: VRRP group number in the range of 1 to 255.
adver-interval: Interval at which the master in the specified VRRP group sends VRRP advertisements. The
value range for the argument is 1 to 255 seconds.
Usage guidelines
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.
Examples
# Set the master in VRRP group 1 to send VRRP advertisements at intervals of five seconds.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] vrrp vrid 1 virtual-ip 10.1.1.1
[Sysname-GigabitEthernet1/0/1] vrrp vrid 1 timer advertise 5
Related commands
display vrrp
vrrp vrid track
Use vrrp vrid track to associate a VRRP group with a track entry and control master switchover or AVF
switchover in the VRRP group in response to changes (such as uplink state changes) detected by the track
entry.
Use undo vrrp vrid track to remove the association between a VRRP group and a track entry. If no track
entry is specified, the association between the VRRP group and any track entry is removed.
Syntax
vrrp vrid virtual-router-id track track-entry-number [ forwarder-switchover member-ip ip-address |
reduced priority-reduced | switchover ]
undo vrrp vrid virtual-router-id track [ track-entry-number ]
Default
A VRRP group is not associated with any track entry.
Views
Interface view