
Procedure
Step 1
Enable IPv6 forwarding.
# Configure SwitchA.
<Quidway>
system-view
[Quidway]
sysname SwitchA
[SwitchA]
ipv6
# Configure SwitchB.
<Quidway>
system-view
[Quidway]
sysname SwitchB
[SwitchB]
ipv6
Step 2
Configure IPv6 addresses for interfaces.
# Configure SwitchA.
[SwitchA]
vlan 100
[SwitchA-vlan100]
quit
[SwitchA]
interface ethernet0/0/1
[SwitchA-Ethernet0/0/1]
port hybrid pvid vlan 100
[SwitchA-Ethernet0/0/1]
port hybrid untagged vlan 100
[SwitchA-Ethernet0/0/1]
quit
[SwitchA]
interface vlanif 100
[SwitchA-Vlanif100]
ipv6 enable
[SwitchA-Vlanif100]
ipv6 address 2000::2 64
# Configure SwitchB.
[SwitchB]
vlan 100
[SwitchB-vlan100]
quit
[SwitchB]
interface ethernet0/0/1
[SwitchB-Ethernet0/0/1]
port hybrid pvid vlan 100
[SwitchB-Ethernet0/0/10]
port hybrid untagged vlan 100
[SwitchB-Ethernet0/0/1]
quit
[SwitchB]
interface vlanif 100
[SwitchB-Vlanif100]
ipv6 enable
[SwitchB-Vlanif100]
ipv6 address 2000::3 64
Step 3
Configure virtual IPv6 addresses on interfaces in the VRRP6 group.
# Configure SwitchA.
[SwitchA-Vlanif100]
vrrp6 vrid 24 virtual-ip fe80::1 link-local
[SwitchA-Vlanif100]
vrrp6 vrid 24 virtual-ip 2000::1
[SwitchA-Vlanif100]
quit
# Configure SwitchB.
[SwitchB-Vlanif100]
vrrp6 vrid 24 virtual-ip fe80::1 link-local
[SwitchB-Vlanif100]
vrrp6 vrid 24 virtual-ip 2000::1
Step 4
Set the priority of SwitchB to a value lower than the priority of SwitchA.
[SwitchB-Vlanif100]
vrrp6 vrid 24 priority 25
[SwitchB-Vlanif100]
quit
Step 5
Verify the configuration.
The following information shows that SwitchA is the master device, and SwitchB is the backup
device.
[SwitchA]
display vrrp6 interface vlanif 100
Vlanif100 | Virtual Router 24
State : Master
Virtual IP : FE80::1
Quidway S3700 Series Ethernet Switches
Configuration Guide - Reliability
7 VRRP and VRRP6 Configuration
Issue 01 (2011-10-26)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
365