F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices High Availability Command Reference-6PW100
11
If the router is the IP address owner, its priority is always 255. Therefore, it remains as the master so long
as it is functioning properly.
Examples
# Set the priority of the router in VRRP group 1 to 150.
<Sysname> system-view
[Sysname] interface gigabitethernet0/1
[Sysname-GigabitEthernet0/1] vrrp vrid 1 virtual-ip 10.1.1.1
[Sysname-GigabitEthernet0/1] vrrp vrid 1 priority 150
Related commands
display vrrp
vrrp vrid timer advertise
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.
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: 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.
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 gigabitethernet0/1
[Sysname-GigabitEthernet0/1] vrrp vrid 1 virtual-ip 10.1.1.1
[Sysname-GigabitEthernet0/1] vrrp vrid 1 timer advertise 5