H3C Technologies H3C MSR 50 User Manual
Page 28
20
[RouterB-Serial2/0] quit
[RouterB] interface serial 2/1
[RouterB-Serial2/1] undo ip fast-forwarding
[RouterB-Serial2/1] quit
[RouterB] interface serial 2/2
[RouterB-Serial2/2] undo ip fast-forwarding
[RouterB-Serial2/2] quit
4.
Configure the standby interfaces and load balancing 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 the available bandwidth used for setting the thresholds to 10000 kbps.
[RouterA-Serial2/0] standby bandwidth 10000
# Configure the enable-threshold of load balancing to 80 and the disable-threshold to 20.
[RouterA-Serial2/0] standby threshold 80 20
5.
Verify the configuration on Router A:
# Display the traffic statistics for the active interface taking part in load balancing.
[RouterA-Serial2/0] display standby flow
Interfacename : Serial2/0
Flow-interval(s) : 30
LastInOctets : 139
LastOutOctets : 22033
InFlow(Octets) : 0
OutFlow(Octets) : 0
BandWidth(b/s) : 10000
UsedBandWidth(b/s) : 0
# 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 MUD TO-HYPNOTIZE
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
# When the data traffic on the active interface Serial 2/0 exceeds 8000 kbps (that is, 10000 kbps
× 80%), standby interface Serial 2/1 with a higher priority is enabled first. 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 UP MUP MUD
serial2/1 UP UP BU 30
serial2/2 STANDBY STANDBY BU 20