Operation Manual – VRRP
H3C S3610&S5510 Series Ethernet Switches
Chapter 1 VRRP Configuration
1-37
[SwitchA] vlan 2
[SwitchA-vlan2] port GigabitEthernet 2/0/5
[SwitchA-vlan2] quit
[SwitchA] interface vlan-interface 2
[SwitchA-Vlan-interface2] ipv6 address fe80::1 link-local
[SwitchA-Vlan-interface2] ipv6 address 1::1 64
# Create standby group 1 and set its virtual IP address to FE80::10.
[SwitchA-Vlan-interface2] vrrp ipv6 vrid 1 virtual-ip fe80::10 link-local
# Set the priority of Switch A in standby group 1 to 110.
[Switch-Vlan-interface2] vrrp ipv6 vrid 1 priority 110
# Create standby group 2 and set its virtual IP address to FE80::20.
[SwitchA-Vlan-interface2] vrrp ipv6 vrid 2 virtual-ip fe80::20 link-local
2)
Configure Switch B
# Configure VLAN 2.
<SwitchB> system-view
[SwitchB] ipv6
[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 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
# Create standby group 2 and set its virtual IP address to FE80::20.
[SwitchB-Vlan-interface2] vrrp ipv6 vrid 2 virtual-ip fe80::20 link-local
# Set the priority of Switch B in standby group 2 to 110.
[SwitchB-Vlan-interface2] vrrp ipv6 vrid 2 priority 110
3)
Verify the configuration
You can use the
display vrrp ipv6
command to verify the configuration.
# Display detailed information of the standby group 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 : 100
Admin Status : UP State : Master
Config Pri : 110 Run Pri : 110