
[RouterA-GigabitEthernet1/0/0]
quit
# Configure a VRRP backup group with VRID of 1 on Router B.
[RouterB]
interface gigabitethernet 1/0/0
[RouterB-GigabitEthernet1/0/0]
vrrp vrid 1 virtual-ip 10.1.1.10
[RouterB-GigabitEthernet1/0/0]
quit
After completing the preceding configurations, run the
display vrrp
command on Router A and
Router B. The VRRP status of Router A is
Master
, and that of Router B is
Backup
. Use the
display on Router A as an example.
[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 : 120
Preempt : YES Delay Time : 20
TimerRun : 1 s
TimerConfig : 1 s
Auth Type : NONE
Virtual Mac : 0000-5e00-0101
Check TTL : YES
Config type : normal-vrrp
Create time : 2011-04-19 16:16:38
Last change time : 2011-04-19 16:16:42
[RouterB]
display vrrp
GigabitEthernet1/0/0 | Virtual Router 1
State :
Backup
Virtual IP : 10.1.1.10
Master IP : 10.1.1.1
PriorityRun : 100
PriorityConfig : 100
MasterPriority : 120
Preempt : YES Delay Time : 0
TimerRun : 1 s
TimerConfig : 1 s
Auth Type : NONE
Virtual Mac : 0000-5e00-0101
Check TTL : YES
Config type : normal-vrrp
Create time : 2011-04-19 16:18:13
Last change time : 2011-04-19 16:18:13
Step 3
Configure an NQA test instance with the destination IP address of 20.1.1.1/24 on Router A.
[RouterA]
nqa test-instance admin test1
[RouterA-nqa-admin-test1]
test-type icmp
[RouterA-nqa-admin-test1]
destination-address ipv4 20.1.1.1
[RouterA-nqa-admin-test1]
ttl 10
[RouterA-nqa-admin-test1]
frequency 20
[RouterA-nqa-admin-test1]
start now
After completing the preceding configuration, run the
display nqa results test-instance admin
test1
command on Router A. The NQA test instance is successful.
[RouterA]
display nqa results test-instance admin test1
NQA entry(admin, test1) :testflag is active ,testtype is icmp
1 .Test 1 result The test is finished
Send operation times: 3 Receive response times: 3
Completion:
success
RTD OverThresholds number: 0
Attempts number:1 Drop operation number:0
Disconnect operation number:0 Operation timeout number:0
System busy operation number:0 Connection fail number:0
Operation sequence errors number:0 RTT Stats errors number:0
Destination ip address:20.1.1.1
Min/Max/Average Completion Time: 60/90/80
Huawei AR2200-S Series Enterprise Routers
Configuration Guide - Reliability
2 VRRP Configuration
Issue 01 (2012-01-06)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
108