Vrrp Vrid Authentication-Mode - H3C s3600 series Command Manual

Hide thumbs Also See for s3600 series:
Table of Contents

Advertisement

vrrp vrid authentication-mode

Syntax
vrrp vrid virtual-router-id authentication-mode authentication-type authentication-key
undo vrrp vrid virtual-router-id authentication-mode
View
VLAN interface view
Parameters
virtual-router-id: VRRP group ID, ranging from 1 to 255.
authentication-type: Authentication type, which can be:
simple: Indicates to perform simple text authentication.
md5: Indicates to perform the authentication by using MD5 algorithm.
authentication-key: Authentication key, which can be:
When the authentication type is simple, the authentication key is in plain text and can contain one
to eight characters.
When the authentication type is md5, the authentication key can be a string of one to eight
characters in plain text, such as 1234567, or a 24-character MD5 encrypted string, such as
_(TT8F]Y\5SQ=^Q`MAF4<1!!.
Description
Use the vrrp vrid authentication-mode command to specify the authentication type and the
authentication key for a VRRP group to receive and send VRRP packets.
Use the undo vrrp vrid authentication-mode command to restore the default.
By default, no VRRP authentication is configured.
Note that:
The authentication key is case sensitive.
Before configuring VRRP authentication on a VLAN interface, you need to create a VRRP group
and configure the virtual IP address of it on the VLAN interface.
This command sets the authentication type and authentication key for all the VRRP groups on an
interface. This is determined by the protocol, which defines that all the VRRP groups on an
interface share the same authentication type and authentication key. Besides, all the members
joining the same VRRP group should also share the same authentication type and authentication
key.
Examples
# Set the authentication type of VRRP group 1 on VLAN-interface 2 to simple and the authentication key
for it to aabbcc.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[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 aabbcc
1-8

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents