3com S7906E 参照ガイド
1-19
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 10 on interface VLAN-interface 2
to send and receive VRRP packets.
<Sysname> system-view
[Sysname] interface vlan-interface 2
[Sysname-Vlan-interface2] vrrp ipv6 vrid 10 virtual-ip fe80::2 link-local
[Sysname-Vlan-interface2] vrrp ipv6 vrid 10 authentication-mode simple test
vrrp ipv6 method
Syntax
vrrp ipv6 method { real-mac | virtual-mac }
undo vrrp ipv6 method
View
System view
Default Level
2: System level
Parameters
real-mac: Associates the real MAC address of the interface with the virtual IPv6 address of the VRRP
group.
virtual-mac: Associates the virtual MAC address of the switch with the virtual IPv6 address of the
VRRP group.
Description
Use the vrrp ipv6 method command to set the mappings between the virtual IPv6 addresses and the
MAC addresses of the VRRP groups.
Use the undo vrrp ipv6 method command to restore the default mapping.
By default, the virtual MAC address of the VRRP group is associated with the virtual IP address.
Configure the mapping between the virtual IPv6 address and the MAC address before configuring a
VRRP group. Otherwise, your configuration will fail.
Examples
# Associate the virtual IPv6 address of the VRRP group with the real MAC address of the interface.
<Sysname> system-view
[Sysname] vrrp ipv6 method real-mac