[Switch-vlan10]
quit
[Switch]
interface vlanif 10
[Switch-Vlanif10]
ip address 10.1.1.3 24
[Switch-Vlanif10]
quit
Step 6
Verify the configuration.
Run the
shutdown
command on GE 1/0/0 of Router C to simulate a link fault. Wait 20 seconds
and run the
display vrrp
command on Router A. The VRRP status of Router B is
Master
and
that of Router A is
Backup
. This means that a master/backup VRRP switchover has been
performed.
[RouterA]
display vrrp
GigabitEthernet1/0/0 | Virtual Router 1
State :
Backup
Virtual IP : 10.1.1.10
Master IP : 10.1.1.2
PriorityRun : 80
PriorityConfig : 120
MasterPriority : 100
Preempt : YES Delay Time : 20 s
TimerRun : 1 s
TimerConfig : 1 s
Auth Type : NONE
Virtual Mac : 0000-5e00-0101
Check TTL : YES
Config type : normal-vrrp
Track IP route : 192.168.1.0/24 Priority reduced : 40
IP route state :
Unreachable
Backup-forward : disabled
Create time : 2011-06-08 15:39:45
Last change time : 2011-06-08 16:02:16
[RouterB]
display vrrp
GigabitEthernet1/0/0 | Virtual Router 1
State :
Master
Virtual IP : 10.1.1.10
Master IP : 10.1.1.2
PriorityRun : 100
PriorityConfig : 100
MasterPriority : 100
Preempt : YES Delay Time : 0 s
TimerRun : 1 s
TimerConfig : 1 s
Auth Type : NONE
Virtual Mac : 0000-5e00-0101
Check TTL : YES
Config type : normal-vrrp
Backup-forward : disabled
Create time : 2011-06-08 15:39:45
Last change time : 2011-06-08 16:02:16
Run the
undo shutdown
command on GE 1/0/0 of Router C. Wait 20 seconds after GE 1/0/0
goes Up, and run the
display vrrp
command on Router A to view the VRRP status. The VRRP
status of Router A is
Master
.
[RouterA]
display vrrp
GigabitEthernet1/0/0 | Virtual Router 1
State :
Master
Virtual IP : 10.1.1.10
Master IP : 10.1.1.1
PriorityRun : 120
PriorityConfig : 120
MasterPriority : 110
Preempt : YES Delay Time : 20 s
TimerRun : 1 s
TimerConfig : 1 s
HUAWEI NetEngine80E/40E Router
Configuration Guide - Reliability
4 VRRP Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
290