Configuration procedure – H3C Technologies H3C SecBlade LB Cards User Manual
Page 163
155
Figure 64 Network diagram
Configuration procedure
1.
Configure IP addresses:
Follow
to configure the IP address and subnet mask for each interface. (Details not
shown.)
2.
Configure a static route:
# On LB, configure a static route to the segment 192.168.2.0/24 where Host B resides.
[LB] ip route-static 192.168.2.0 24 gigabitethernet0/1 1.1.1.2
[LB] ip route-static 192.168.2.0 24 gigabitethernet0/2 2.2.2.2
[LB] ip route-static 192.168.2.0 24 gigabitethernet0/3 3.3.3.2
# On Router, configure a static route to the segment 192.168.1.0/24 where Host A resides.
[Router] ip route-static 192.168.1.0 24 gigabitethernet0/1 1.1.1.1
[Router] ip route-static 192.168.1.0 24 gigabitethernet0/2 2.2.2.1
[Router] ip route-static 192.168.1.0 24 gigabitethernet0/3 3.3.3.1
3.
Configure the standby interfaces and load balancing on LB:
# Specify interfaces GigabitEthernet 0/1 and GigabitEthernet 0/3 on LB to back up
GigabitEthernet 0/2, and assign them the priorities 30 and 20, respectively.
[LB] interface GigabitEthernet0/2
[LB-GigabitEthernet0/2] standby interface gigabitethernet0/1 30
[LB-GigabitEthernet0/2] standby interface gigabitethernet0/3 20
# Configure the available bandwidth used for setting the thresholds to 10000 kbps.
[LB-GigabitEthernet0/2] standby bandwidth 10000
# Configure the enable-threshold of load balancing to 80 and the disable-threshold to 20.
[LB-GigabitEthernet0/2] standby threshold 80 20
4.
Verify the configuration on LB:
# Display the traffic statistics for the active interface taking part in load balancing.
[LB-GigabitEthernet0/2] display standby flow
Interfacename : GigabitEthernet0/2
Flow-interval(s) : 30
LastInOctets : 139
LastOutOctets : 22033