
Eth 0/0/2
VLANIF400
2001::2/64
Eth 0/0/3
VLANIF300
2003::2/64
Configuration Roadmap
The configuration roadmap is as follows:
1.
Create VRRP group 1 and VRRP group 2 on VLANIF 100 of Switch A. Ensure that Switch
A is the master device in VRRP group 1 and the backup device in VRRP group 2.
2.
Create VRRP group 1 and VRRP group 2 on VLANIF 100 of Switch B. Ensure that Switch
B is the backup device in VRRP group 1 and the master device in VRRP group 1.
Data Preparation
To complete the configuration, you need the following data:
l
IPv6 addresses of the interfaces
l
IDs and virtual IPv6 addresses of the VRRP groups
l
Priorities of the switches in each VRRP group
Procedure
Step 1
Configure IP addresses for the interfaces. The configuration procedure is not mentioned here.
Step 2
Configure OSPFv3 on Switch A, Switch B, and Switch C so that they can communicate with
each other. The configuration procedure is not mentioned here.
Step 3
Configure the hosts.
Set the default gateway address of Host A to 2000::10, which is the virtual IPv6 address of VRRP
group 1. Set the default gateway address of Host B to 2000::60, which is the virtual IPv6 address
of VRRP group 2. Set the default gateway address of Host C to 2003::2.
Step 4
Configure VRRP6 groups.
# Create VRRP group 1 and VRRP group 2 on VLANIF 100 of Switch A. Set the priority of
Switch A in VRRP group 1 to 120 so that Switch A becomes the master device in VRRP group
1. Use the default priority of Switch A in VRRP group 2 so that Switch A becomes the backup
device in VRRP group 2.
<Quidway>
system-view
[Quidway]
sysname SwitchA
[SwitchA]
interface vlanif100
[SwitchA-Vlanif100]
vrrp6 vrid 1 virtual-ip FE80::1 link-local
[SwitchA-Vlanif100]
vrrp6 vrid 1 virtual-ip 2000::100
[SwitchA-Vlanif100]
vrrp6 vrid 1 priority 120
[SwitchA-Vlanif100]
vrrp6 vrid 2 virtual-ip FE80::2 link-local
[SwitchA-Vlanif100]
vrrp6 vrid 2 virtual-ip 2000::60
[SwitchA-Vlanif100]
quit
# Create VRRP group 1 and VRRP group 2 on VLANIF 100 of Switch B. Use the priority of
Switch B in VRRP group 1 to 120 so that Switch B becomes the backup device in VRRP group
1. Set the priority of Switch B in VRRP group 2 to 120 so that Switch B becomes the master
device in VRRP group 2.
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.
368