
Configuration Roadmap
The configuration roadmap is as follows:
1.
Configure IP addresses for interfaces to ensure connectivity of links.
2.
Configure a VRRP backup group on Router A and Router B. Ensure that Router A is the
master and Router B is the backup.
3.
Configure basic NQA functions on Router A.
4.
Create an NQA ICMP test instance on Router A to verify the connectivity of the link
between Router A and Router C's interface connected to the network.
5.
Associate the VRRP backup group with the NQA test instance on Router A. This
association enables the VRRP backup group to decrease Router A's priority value and
perform a master/backup VRRP switchover if the tracked NQA test instance reports a
detection failure.
Data Preparation
To complete the configuration, you need the following data:
l
IP addresses of interfaces on the switch, Router A, Router B, and Router C, shown in
l
VRID (1) and virtual IP address (10.1.1.10/24) of the VRRP backup group
l
VRRP priority values for router A (120) and router B (100), and preemption delay (20
seconds)
l
NQA test instance name (test1), destination IP address (20.1.1.1/24), NQA test type
(ICMP), TTL (0), and interval between tests (20 seconds)
l
Value (40) by which router A's VRRP priority value decreases each time a fault occurs in
the link connected to router A
Procedure
Step 1
Assign IP addresses to interfaces on Router A. The configuration of Router A is similar to the
configurations of the switch, Router B, and Router C. For details about configurations, see the
configuration files.
# Assign IP addresses to GE 1/0/0 and GE 2/0/0.
<Huawei>
system-view
[Huawei]
sysname RouterA
[RouterA]
interface gigabitethernet 1/0/0
[RouterA-GigabitEthernet1/0/0]
ip address 10.1.1.1 24
[RouterA-GigabitEthernet1/0/0]
quit
[RouterA]
interface gigabitethernet 2/0/0
[RouterA-GigabitEthernet2/0/0]
ip address 192.168.1.1 24
[RouterA-GigabitEthernet2/0/0]
quit
[RouterA]
ip route-static 20.1.1.0 255.255.255.0 gigabitethernet 2/0/0 192.168.1.0
Step 2
Configure basic functions of a VRRP backup group.
# Configure a VRRP backup group with VRID of 1 on Router A and set the VRRP priority value
of Router A to 120 to allow Router A to function as the master.
[RouterA]
interface gigabitethernet 1/0/0
[RouterA-GigabitEthernet1/0/0]
vrrp vrid 1 virtual-ip 10.1.1.10
[RouterA-GigabitEthernet1/0/0]
vrrp vrid 1 priority 120
[RouterA-GigabitEthernet1/0/0]
vrrp vrid 1 preempt-mode timer delay 20
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.
107