HP VPN Firewall Appliances High Availability Command Reference

10
Parameters
virtual-router-id: Virtual router ID or VRRP group number, which ranges from 1 to 255.
timer delay delay-value: Sets preemption delay. The delay-value argument ranges from 0 to 255 seconds
and defaults to 0 seconds.
Usage guidelines
To avoid frequent member state changes in a VRRP group and make the backups have enough time to
collect information (such as routing information), each backup waits for a period of time (the preemption
delay time) after it receives an advertisement with the priority lower than the local priority, and then sends
VRRP advertisements to start a new master election in the VRRP group and becomes the master.
Before executing the command, create a VRRP group on an interface and configure the virtual IP address
of the VRRP group.
Examples
# Enable preemption on the router in VRRP group 1, and set the preemption delay to 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 preempt-mode timer delay 5
Related commands
display vrrp
vrrp vrid priority
Use vrrp vrid priority to configure the priority of the router in the specified VRRP group.
Use undo vrrp vrid priority to restore the default.
Syntax
vrrp vrid virtual-router-id priority priority-value
undo vrrp vrid virtual-router-id priority
Default
The priority of a router in a VRRP group is 100.
Views
Interface view
Default command level
2: System level
Parameters
virtual-router-id: VRRP group number, which ranges from 1 to 255.
priority-value: Priority value of the router in the specified VRRP group, which ranges from 1 to 254. A
higher number indicates a higher priority.
Usage guidelines
Before you execute the command, create a VRRP group on an interface and configure the virtual IP
address of the VRRP group.