Huawei AR2200-S Series Configuration Manual page 27

Enterprise router
Hide thumbs Also See for AR2200-S Series:
Table of Contents

Advertisement

Huawei AR2200-S Series Enterprise Routers
Configuration Guide - Reliability
l
l
Procedure
1.
2.
3.
4.
Configuration Files
l
Issue 01 (2012-01-06)
IP addresses and subnet masks of interfaces
Priorities of backup interfaces
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
[RouterB] ip route-static 192.168.1.0 24 2.2.2.1
[RouterB] ip route-static 192.168.1.0 24 1.1.1.1
[RouterB] ip route-static 192.168.1.0 24 3.3.3.1
Configure backup interfaces on RouterA.
# Configure GE2/0/0 as the primary interface and GE1/0/0 and GigabitEthernet3/0/0 as
backup interfaces, and set the priority of GE1/0/0 and GigabitEthernet3/0/0 to 30 and 20.
<RouterA> system-view
[RouterA] interface gigabitethernet 2/0/0
[RouterA-GigabitEthernet2/0/0] standby interface gigabitethernet 1/0/0 30
[RouterA-GigabitEthernet2/0/0] standby interface gigabitethernet 3/0/0 20
[RouterA-GigabitEthernet2/0/0] quit
Set the switchover delay on RouterA.
# Set the switchover delay to 10s.
<RouterA> system-view
[RouterA] interface gigabitethernet 2/0/0
[RouterA-GigabitEthernet2/0/0] standby timer delay 10 10
[RouterA-GigabitEthernet2/0/0] quit
Verify the configuration.
# View the status information about primary and backup interfaces on RouterA. You can
see that GE2/0/0 is in Up state, and GE1/0/0 and GigabitEthernet3/0/0 are in standby state.
<RouterA> display standby state
Interface
Loadstate
GigabitEthernet2/0/0
GigabitEthernet1/0/0
30
GigabitEthernet3/0/0
20
Backup-flag meaning:
M---MAIN
B---BACKUP
D---LOAD
P---PULLED
Configuration file of RouterA
#
sysname RouterA
#
interface GigabitEthernet1/0/0
ip address 2.2.2.1 255.255.255.0
#
interface GigabitEthernet2/0/0
ip address 1.1.1.1 255.255.255.0
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Interfacestate Backupstate Backupflag Pri
STANDBY
STANDBY
V---MOVED
U---USED
1 Interface Backup Configuration
UP
MUP
STANDBY
STANDBY
MU
BU
BU
19

Advertisement

Table of Contents
loading

Table of Contents