3Com S7902E Command Reference Manual - page 2299
1-6
View
Interface view
Default Level
2: System level
Parameters
virtual-router-id
: VRRP group number, in the range 1 to 255.
simple
: Plain text authentication mode.
md5
: Authentication using the MD5 algorithm.
key
: Authentication key, which is case sensitive.
z
When
simple
authentication applies, the authentication key is in plain text with a length of 1 to 8
characters.
z
When
md5
authentication applies, the authentication key is in MD5 cipher text or in plain text and
the length of the key depends on its input format. If the key is input in plain text, its length is 1 to 8
characters, such as 1234567; if the key is input in cipher text, its length must be 24 characters,
such as _(TT8F]Y\5SQ=^Q`MAF4
Description
Use the
vrrp vrid authentication-mode
command to configure authentication mode and
authentication key for a VRRP group to send and receive VRRP packets.
Use the
undo
vrrp vrid authentication-mode
command to restore the default.
By default, authentication is disabled.
Note that:
z
Before executing the command, create a VRRP group on an interface and configure the virtual IP
address of the VRRP group.
z
You may configure different authentication types and authentication keys for the VRRP groups on
an interface. However, the members of the same VRRP group must use the same authentication
mode and authentication key.
Examples
# Set the authentication mode and authentication key for VRRP group 1 on interface VLAN-interface 2
to send and receive VRRP packets.
[Sysname] interface vlan-interface 2
[Sysname-Vlan-interface2] vrrp vrid 1 virtual-ip 10.1.1.1
[Sysname-Vlan-interface2] vrrp vrid 1 authentication-mode simple Sysname
vrrp method
Syntax
vrrp method
{
real-mac
|
virtual-mac
}
undo vrrp method