R3721-F3210-F3171-HP High-End Firewalls High Availability Command Reference-6PW101
23
Description
Use vrrp ipv6 vrid preempt-mode to configure preemption on the router and configure its preemption
delay in a specific VRRP group.
Use undo vrrp ipv6 vrid preempt-mode to disable preemption on the router in a specific VRRP group. As
a result, the router operates in non-preemptive mode.
Use undo vrrp ipv6 vrid preempt-mode timer delay to restore the default preemption delay.
The router operates in preemption mode and the preemption delay is zero seconds.
If you set the router in the VRRP group to operate in non-preemptive mode, the delay period automatically
changes to zero seconds.
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, 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 IPv6
address of the VRRP group.
Related commands: display vrrp ipv6.
Examples
# Enable preemption on the router in VRRP group 80 and set the preemption delay to five seconds.
<Sysname> system-view
[Sysname] interface GigabitEthernet 0/1
[Sysname-GigabitEthernet0/1] vrrp ipv6 vrid 10 virtual-ip fe80::2 link-local
[Sysname-GigabitEthernet0/1] vrrp ipv6 vrid 10 preempt-mode timer delay 5
vrrp ipv6 vrid priority
Syntax
vrrp ipv6 vrid virtual-router-id priority priority-value
undo vrrp ipv6 vrid virtual-router-id priority
View
Interface view
Default 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.
Description
Use vrrp ipv6 vrid priority to configure the priority of the router in the specified VRRP group.
Use undo vrrp ipv6 vrid priority to restore the default.
By default, the priority of a router in a VRRP group is 100.