2242
C
147: VRRP C
HAPTER
vrrp ipv6 vrid authentication-mode
Syntax
View
Parameter
Description
Example
vrrp ipv6 vrid preempt-mode
Syntax
View
Parameter
C
ONFIGURATION
OMMANDS FOR
vrrp ipv6 vrid virtual-router-id authentication-mode simple key
undo vrrp ipv6 vrid virtual-router-id authentication-mode
Interface view
virtual-router-id: VRRP standby group number, in the range 1 to 255.
simple: Sets the authentication mode to plain text authentication.
key: Authentication key of 1 to 8 case-sensitive characters in plain text.
Use the
vrrp ipv6 vrid
command to configure authentication mode and authentication key for the VRRP
standby groups to send and receive VRRP packets.
Use the
undo vrrp ipv6 vrid
to restore the default.
By default, authentication is disabled.
Note that:
Before executing the command, create a standby group on an interface and
■
configure the virtual IP address of the standby group.
You may configure different authentication types and authentication keys for
■
the standby groups on an interface. However, the members of the same
standby group must use the same authentication mode and authentication key.
# Set the authentication mode and authentication key for VRRP standby group 10
on interface Ethernet 1/0 to send and receive VRRP packets.
<Sysname> system-view
[Sysname] interface ethernet 1/0
[Sysname-Ethernet1/0] vrrp ipv6 vrid 10 virtual-ip fe80::2 link-local
[Sysname-Ethernet1/0] vrrp ipv6 vrid 10 authentication-mode simple Sysname
vrrp ipv6 vrid virtual-router-id preempt-mode [ timer delay delay-value ]
undo vrrp ipv6 vrid virtual-router-id preempt-mode [ timer delay ]
Interface view
virtual-router-id: Virtual router ID or VRRP standby group number, in the range 1
to 255.
IP
6
V
virtual-router-id authentication-mode simple key
virtual-router-id authentication-mode command