R211x-HP Flexfabric 11900 High Availability Command Reference

69
Parameters
version-number: Specifies a VRRP version. The version number is 2 or 3, where 2 indicates VRRPv2
(described in RFC 3768), and 3 indicates VRRPv3 (described in RFC 5798).
Usage guidelines
The version of VRRP on all routers in an IPv4 VRRP group must be the same.
Examples
# Specify VRRPv2 to run on VLAN-interface 10.
<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] vrrp version 2
vrrp vrid authentication-mode
Use vrrp vrid authentication-mode to configure the authentication mode and the authentication key for
an IPv4 VRRP group to send and receive VRRP packets.
Use undo vrrp vrid authentication-mode to restore the default.
Syntax
vrrp vrid virtual-router-id authentication-mode { md5 | simple } { cipher | plain } key
undo vrrp vrid virtual-router-id authentication-mode
Default
Authentication is disabled when a VRRP group sends and receives VRRP packets.
Views
Interface view
Predefined user roles
network-admin
mdc-admin
Parameters
virtual-router-id: Specifies an IPv4 VRRP group by its virtual router ID in the range of 1 to 255.
md5: Specifies the MD5 authentication mode.
simple: Specifies the simple authentication mode.
cipher: Sets a ciphertext authentication key.
plain: Sets a plaintext authentication key.
key: Sets the authentication key. This argument is case sensitive. It must be a ciphertext string of 1 to 41
characters if the cipher keyword is specified or a plaintext string of 1 to 8 characters if the plain keyword
is specified.
Usage guidelines
To avoid attacks from unauthorized users, VRRP member routers add authentication keys in VRRP packets
to authenticate one another. VRRP provides the following authentication modes:
simple—Simple text authentication.