Huawei NetEngine80E Configuration Manual - Reliability page 155

Hide thumbs Also See for NetEngine80E:
Table of Contents
HUAWEI NetEngine80E/40E Router
Configuration Guide - Reliability
l Check whether Router B can become the master when Router A fails.
l Check that Router A can perform preemption after recovering.
----End
Configuration Files
l
l
Issue 02 (2011-09-10)
192.168.2.1/32
Direct
192.168.2.2/32
Direct
To simulate the election of the master router when Router A fails, run the shutdown
command on the GE 2/0/0 on Router A.
Running the display vrrp command on Router B to view the VRRP status, you can view
that Router B is in the Master state. The command output is as follows:
display vrrp
GigabitEthernet2/0/0 | Virtual Router 1
state
: Master
Virtual IP
: 10.1.1.111
Master IP
: 10.1.1.2
PriorityRun
: 100
PriorityConfig : 100
MasterPriority : 100
Preempt
: YES
TimerRun
: 1
TimerConfig
: 1
Auth Type
: NONE
Virtual Mac
:
Check TTL
: YES
Config type
: normal-vrrp
Run the undo shutdown command on GE 2/0/0. On Router A, run the display vrrp
command to view VRRP status 20 seconds after GE 2/0/0 being Up. You can view that Router
A restores to be the master router.
Configuration file of Router A
#
sysname RouterA
#
interface GigabitEthernet2/0/0
undo shutdown
ip address 10.1.1.1 255.255.255.0
vrrp vrid 1 virtual-ip 10.1.1.111
vrrp vrid 1 priority 120
vrrp vrid 1 preempt-mode timer delay 20
#
interface Pos1/0/0
link-protocol ppp
undo shutdown
ip address 192.168.1.1 255.255.255.0
#
ospf 1
area 0.0.0.0
network 192.168.1.0 0.0.0.255
network 10.1.1.0 0.0.0.255
#
return
Configuration file of Router B
#
sysname RouterB
#
interface GigabitEthernet2/0/0
undo shutdown
ip address 10.1.1.2 255.255.255.0
vrrp vrid 1 virtual-ip 10.1.1.111
#
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
0
0
0
0
Delay Time : 0
0000-5e00-0101
4 VRRP Configuration
D
127.0.0.1
D
192.168.2.2
InLoopBack0
Pos1/0/0
138
Table of Contents
loading

This manual is also suitable for:

Netengine40e

Table of Contents