Operation Manual – VRRP
H3C S3610&S5510 Series Ethernet Switches
Chapter 1 VRRP Configuration
1-34
[SwitchA-Vlan-interface2] vrrp ipv6 vrid 1 track interface vlan-interface 3
reduced 30
2)
Configure Switch B
# Configure VLAN 2.
<SwitchB> system-view
[SwitchB] ipv6
[SwitchB] vlan 2
[SwitchB-vlan2] port GigabitEthernet 2/0/5
[SwitchB-vlan2] quit
[SwitchB] interface vlan-interface 2
[SwitchB-Vlan-interface2] ipv6 address fe80::2 link-local
[SwitchB-Vlan-interface2] ipv6 address 1::2 64
# Create a standby group 1 and set its virtual IP address to FE80::10.
[SwitchB-Vlan-interface2] vrrp ipv6 vrid 1 virtual-ip fe80::10 link-local
# Set the authentication mode for standby group 1 to
simple
and authentication key to
hello
.
[SwitchB-Vlan-interface2] vrrp ipv6 vrid 1 authentication-mode simple hello
# Set the VRRP advertisement interval to 500 centiseconds.
[SwitchB-Vlan-interface2] vrrp ipv6 vrid 1 timer advertise 500
# Set Switch B to work in preemption mode. The preemption delay is five seconds.
[SwitchB-Vlan-interface2] vrrp ipv6 vrid 1 preempt-mode timer delay 5
3)
Verify the configuration
After the configuration, Host B can be pinged through on Host A. You can use the
display vrrp ipv6
command to verify the configuration.
# Display detailed information of standby group 1 on Switch A.
[SwitchA-Vlan-interface2] display vrrp ipv6 verbose
IPv6 Standby Information:
Run Method : VIRTUAL-MAC
Virtual IP Ping : Enable
Interface : Vlan-interface2
VRID : 1 Adver. Timer : 500
Admin Status : UP State : Master
Config Pri : 110 Run Pri : 110
Preempt Mode : YES Delay Time : 5
Auth Type : SIMPLE TEXT Key : hello
Track IF : Vlan-interface3 Pri Reduced : 30
Virtual IP : FE80::10
Virtual MAC : 0000-5e00-0201
Master IP : FE80::1