beautypg.com

Network requirement – H3C Technologies H3C MSR 50 User Manual

Page 26

background image

18

[RouterA] ip route-static 192.168.2.0 24 serial 2/1

[RouterA] ip route-static 192.168.2.0 24 serial 2/2

# On Router B, configure a static route to the segment 192.168.1.0/24 where Host A resides.

system-view

[RouterB] ip route-static 192.168.1.0 24 serial 2/0

[RouterB] ip route-static 192.168.1.0 24 serial 2/1

[RouterB] ip route-static 192.168.1.0 24 serial 2/2

3.

Configure the standby interfaces and switch delays on Router A:
# Specify interfaces Serial 2/1 and Serial 2/2 on Router A to back up Serial 2/0, and assign
them the priorities 30 and 20, respectively.

[RouterA] interface serial 2/0

[RouterA-Serial2/0] standby interface serial 2/1 30

[RouterA-Serial2/0] standby interface serial 2/2 20

# Configure switchover delays to 10 seconds.

[RouterA-Serial2/0] standby timer delay 10 10

4.

Verify the configuration on Router A:
# Display the state of the active and standby interfaces.

[RouterA-Serial2/0] display standby state

Interface Interfacestate Standbystate Standbyflag Pri Loadstate

serial2/0 UP MUP MU

serial2/1 STANDBY STANDBY BU 30

serial2/2 STANDBY STANDBY BU 20

Backup-flag meaning:

M---MAIN B---BACKUP V---MOVED U---USED

D---LOAD P---PULLED

# Manually shut down the active interface Serial 2/0.

[RouterA-Serial2/0] shutdown

# 10 seconds after the active interface was shut down, standby interface Serial 2/1 with a higher
priority is enabled. Then you can view the state of the active and standby interfaces.

[RouterA-Serial2/0] display standby state

Interface Interfacestate Standbystate Standbyflag Pri Loadstate

serial2/0 DOWN MDOWN MU

serial2/1 UP UP BU 30

serial2/2 STANDBY STANDBY BU 20

Backup-flag meaning:

M---MAIN B---BACKUP V---MOVED U---USED

D---LOAD P---PULLED

Multi-interface load balancing configuration example

Network requirement

Use interfaces Serial 2/1 and Serial 2/2 on Router A to back up the active interface Serial 2/0,

assigning interface Serial 2/1 a higher priority.

This manual is related to the following products: