
Figure 1-8
Networking diagram of interface backup in load balancing mode
RouterA
RouterB
GE1/0/0
2.2.2.1/24
GE1/0/0
2.2.2.2/24
GE2/0/0
1.1.1.1/24
GE2/0/0
1.1.1.2/24
GE3/0/0
3.3.3.1/24
GE3/0/0
3.3.3.2/24
192.168.1.0/24
192.168.2.0/24
HostA
192.168.1.2/24
HostB
192.168.2.2/24
Configuration Roadmap
The configuration roadmap is as follows:
1.
Configure GE2/0/0 as the primary interface on RouterA.
2.
Configure GE1/0/0 and GigabitEthernet3/0/0 as backup interfaces of GE2/0/0 and set a
higher priority for GE1/0/0.
3.
Set the maximum bandwidth of the primary interface and higher and lower thresholds.
Data Preparation
To complete the configuration, you need the following data:
l
Link attributes of interfaces
l
IP addresses and subnet masks of interfaces
l
Priorities of backup interfaces
l
Higher and lower thresholds and maximum bandwidth of the primary interface
Procedure
1.
Configure static routes.
# On RouterA, configure a static route to the network segment where HostB is located.
<Huawei>
system-view
[Huawei]
sysname RouterA
[RouterA]
ip route-static 192.168.2.0 24 2.2.2.2
[RouterA]
ip route-static 192.168.2.0 24 1.1.1.2
[RouterA]
ip route-static 192.168.2.0 24 3.3.3.2
# On RouterB, configure a static route to the network segment where HostA is located.
<Huawei>
system-view
[Huawei]
sysname RouterB
Huawei AR2200-S Series Enterprise Routers
Configuration Guide - Reliability
1 Interface Backup Configuration
Issue 01 (2012-01-06)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
21