HP MSR2000/3000/4000 Router Series High Availability Command Reference
37
delay delay-value: Specifies a preemption delay time in the range of 0 to 255 in seconds. The default
setting is 0 seconds.
Usage guidelines
In non-preemptive mode, when a router in the IPv6 VRRP group becomes the master, it acts as the master
as long as it operates correctly, even if a backup is assigned a higher priority later. The non-preemptive
mode helps avoid frequent switchover between the master and backups.
In preemptive mode, a backup takes over as the master and sends VRRP advertisements when it detects
that it has a higher priority than the master. The previous master then becomes a backup. This mechanism
makes sure the master is always the router with the highest priority.
To avoid frequent state changes among members in a VRRP group and to provide the backups enough
time to collect information (such as routing information), a backup does not immediately become the
master after it receives an advertisement with lower priority than the local priority. Instead, it waits for a
period of time before taking over as the master.
Examples
# Enable the preemptive mode for VRRP group 1, and set the preemption delay to 5 seconds.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] vrrp ipv6 vrid 10 preempt-mode delay 5
Related commands
display vrrp ipv6
vrrp ipv6 vrid priority
Use vrrp ipv6 vrid priority to configure the priority of the router in an IPv6 VRRP group.
Use undo vrrp ipv6 vrid priority to restore the default.
Syntax
vrrp ipv6 vrid virtual-router-id priority priority-value
undo vrrp ipv6 vrid virtual-router-id priority
Default
The priority of a router in an IPv6 VRRP group is 100.
Views
Interface view
Predefined user roles
network-admin
Parameters
virtual-router-id: Specifies an IPv6 VRRP group by its virtual router ID in the range of 1 to 255.
priority-value: Specifies a priority value in the range of 1 to 254. A higher number indicates a higher
priority.
Usage guidelines
VRRP determines the role (master or backup) of each router in a VRRP group by priority. A router with a
higher priority is more likely to become the master.