R0106-HP MSR Router Series High Availability Command Reference(V7)

26
For security purposes, all keys, including keys configured in plain text, are saved in cipher text.
IMPORTANT:
You can configure different authentication modes and authentication keys for the VRRP groups on an
interface. However, members of the same VRRP group must use the same authentication mode and
authentication key.
For VRRPv3, this command does not take effect.
Examples
# Set the authentication mode to simple and the authentication key to Sysname for VRRP group 1 on
GigabitEthernet 2/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/0/1
[Sysname-GigabitEthernet2/0/1] vrrp vrid 1 authentication-mode simple plain Sysname
Related commands
display vrrp
vrrp version
vrrp vrid preempt-mode
Use vrrp vrid preempt-mode to enable the preemptive mode for the device in an IPv4 VRRP group and
configure the preemption delay.
Use undo vrrp vrid preempt-mode to disable the preemptive mode for the device in an IPv4 VRRP group.
Use undo vrrp vrid preempt-mode delay to restore the default preemption delay.
Syntax
vrrp vrid virtual-router-id preempt-mode [ delay delay-value ]
undo vrrp vrid virtual-router-id preempt-mode [ delay ]
Default
The device operates in preemptive mode and the preemption delay is 0 seconds.
Views
Interface view
Predefined user roles
network-admin
Parameters
virtual-router-id: Specifies an IPv4 VRRP group by its virtual router ID in the range of 1 to 255.
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 device in the IPv4 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.