R3721-F3210-F3171-HP High-End Firewalls High Availability Command Reference-6PW101

12
adver-interval: Interval at which the master in the specified VRRP group sends VRRP advertisements. It
ranges from 1 to 255 seconds.
Description
Use vrrp vrid timer advertise to configure the Adver_Timer of the specified VRRP group.
Use undo vrrp vrid timer advertise 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 GigabitEthernet 0/1
[Sysname-GigabitEthernet0/1] vrrp vrid 1 virtual-ip 10.1.1.1
[Sysname-GigabitEthernet0/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: Specifies a VRRP group number, which ranges from 1 to 255.
track track-entry-number: Specifies a track entry. The track-entry-number argument ranges from 1 to
1024.
reduced priority-reduced: Reduces the priority of the router in the VRRP group by a specific value when
the state of the specified track entry changes to the negative state. The priority-reduced argument ranges
from 1 to 255.
switchover: Enables the router in backup state to take over as the master immediately after the specified
track entry changes to the negative state.
Description
Use vrrp vrid track to associate a VRRP group with a track entry and control master 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.