R2511-HP MSR Router Series High Availability Command Reference(V5)

45
Use undo vrrp vrid timer advertise to restore the default.
Syntax
vrrp vrid virtual-router-id timer advertise adver-interval
undo vrrp vrid virtual-router-id timer advertise
Default
The Adver_Timer is 1 second.
Views
Interface view
Default command level
2: System level
Parameters
virtual-router-id: Specifies a VRRP group by its number in the range of 1 to 255.
adver-interval: Specifies the interval at which the master in the specified VRRP group sends VRRP
advertisements, in the range of 1 to 40 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 5 seconds.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] vrrp vrid 1 virtual-ip 10.1.1.1
[Sysname-Ethernet1/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 ]