Huawei AR2200-S Series Configuration Manual page 30

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

Advertisement

Huawei AR2200-S Series Enterprise Routers
Configuration Guide - Reliability
2.
3.
4.
5.
Configuration Files
l
Issue 01 (2012-01-06)
[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 and set priorities of 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 maximum bandwidth of the primary interface on RouterA.
# Set the maximum bandwidth of the primary interface to 10000 kbit/s.
<RouterA> system-view
[RouterA] interface gigabitethernet 2/0/0
[RouterA-GigabitEthernet2/0/0] standby bandwidth 10000
[RouterA-GigabitEthernet2/0/0] quit
Set higher and lower thresholds on RouterA.
# Set the higher threshold to 80% and lower threshold to 20%.
<RouterA> system-view
[RouterA] interface gigabitethernet 2/0/0
[RouterA-GigabitEthernet2/0/0] standby threshold 80 20
[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
GigabitEthernet2/0/0
TO-HYPNOTIZE
GigabitEthernet1/0/0
GigabitEthernet3/0/0
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
standby interface GigabitEthernet 1/0/0 30
standby interface GigabitEthernet 3/0/0 20
standby bandwidth 10000
standby threshold 80 20
#
interface GigabitEthernet3/0/0
ip address 3.3.3.1 255.255.255.0
#
ip route-static 192.168.2.0 24 2.2.2.2
ip route-static 192.168.2.0 24 1.1.1.2
ip route-static 192.168.2.0 24 3.3.3.2
#
return
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Interfacestate Backupstate Backupflag Pri Loadstate
UP
STANDBY
STANDBY
V---MOVED
U---USED
1 Interface Backup Configuration
MUP
MUD
STANDBY
BU
30
STANDBY
BU
20
22

Advertisement

Table of Contents
loading

Table of Contents