
<Quidway>
system-view
[Quidway]
sysname SwitchB
[SwitchB]
interface vlanif 100
[SwitchB-Vlanif100]
vrrp6 vrid 1 virtual-ip FE80::1 link-local
[SwitchB-Vlanif100]
vrrp6 vrid 1 virtual-ip 2000::100
[SwitchB-Vlanif100]
vrrp6 vrid 2 virtual-ip FE80::2 link-local
[SwitchB-Vlanif100]
vrrp6 vrid 2 virtual-ip 2000::60
[SwitchB-Vlanif100]
vrrp6 vrid 2 priority 120
[SwitchB-Vlanif100]
quit
Step 5
Verify the configuration.
After the preceding configuration is complete, Host A and Host C can ping Host B successfully.
Run the
display vrrp6
command on Switch A, and you can find that VRRP group 1 and VRRP
group 2 are created on Switch A. Switch A is the master device in VRRP group 1 and the backup
device in VRRP group 2.
[SwitchA]
display vrrp6
Vlanif100 | Virtual Router 1
State : Master
Virtual IP : FE80::1
2000::100
Master IP : FE80::200:FF:FE00:24
PriorityRun : 120
PriorityConfig : 120
MasterPriority : 120
Preempt : YES Delay time : 0
TimerRun : 100
TimerConfig : 100
Virtual MAC : 0000-5e00-0201
Check hop limit : YES
Config type : normal-vrrp
Config track link-bfd down-number : 0
Vlanif100 | Virtual Router 2
State : Backup
Virtual IP : FE80::2
2000::60
Master IP : FE80::200:FF:FE00:24
PriorityRun : 100
PriorityConfig : 100
MasterPriority : 120
Preempt : YES Delay time : 0
TimerRun : 100
TimerConfig : 100
Virtual MAC : 0000-5e00-0202
Check hop limit : YES
Config type : normal-vrrp
Config track link-bfd down-number : 0
Run the
display vrrp6
command on Switch B, and you can find that VRRP group 1 and VRRP
group 2 are created on Switch B. Switch B is the backup device in VRRP group 1 and the master
device in VRRP group 2.
[SwitchB]
display vrrp6
Vlanif100 | Virtual Router 1
State : Backup
Virtual IP : FE80::1
2000::100
Master IP : FE80::200:FF:FE00:24
PriorityRun : 100
PriorityConfig : 100
MasterPriority : 120
Preempt : YES Delay time : 0
TimerRun : 100
TimerConfig : 100
Virtual MAC : 0000-5e00-0201
Check hop limit : YES
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.
369