Huawei S9700 Series Configuration Manual page 303

Terabit routing switches spu
Hide thumbs Also See for S9700 Series:
Table of Contents

Advertisement

S9700 Core Routing Switch
Configuration Guide - SPU
l
----End
Configuration Files
l
Issue 01 (2012-03-15)
[SPU] load-balance policy lp
[SPU-lb-policy-lp] l3classifier l3
[SPU-lb-policy-lp] quit
10. Apply the load balancing policy and enable MAC address stickiness.
# Apply the load balancing policy to a sub-interface of the SPU and enable MAC
address stickiness.
[SPU] interface Eth-Trunk 0.8
[SPU-Eth-Trunk0.8] service load-balance policy lp
[SPU-Eth-Trunk0.8] mac-sticky enable
[SPU-Eth-Trunk0.8] quit
[SPU] interface Eth-Trunk 0.9
[SPU-Eth-Trunk0.9] service load-balance policy lp
[SPU-Eth-Trunk0.9] mac-sticky enable
[SPU-Eth-Trunk0.9] quit
Verify the configuration.
# Simulate the internal network user at 20.20.20.3 to access the VIP 3.3.3.3/24 and view
information about the firewall instances s11 and s21 on the SPU of SwitchC. You can find
that there are packet statistics on s11 and s21 and the packet ratio is 1:2, indicating that user
packets are load balanced on s11 and s21.
[SPU] display load-balance group name sg11 member name s11 verbose
[SPU] display load-balance group name sg11 member name s21 verbose
# Disable FWA, simulate the internal network user at 20.20.20.3 to access the VIP
3.3.3.3/24 and view information about firewall instances s11 and s21 on the SPU. You can
find that there are only packet statistics on s21, indicating that user packets are switched to
FWB after FWA is faulty.
[SPU] display load-balance group name sg11 member name s11 verbose
[SPU] display load-balance group name sg11 member name s21 verbose
Configuration file of SwitchA
#
vlan batch 1 400 600 700
#
interface Eth-Trunk 0
port link-type trunk
port trunk allow-pass vlan 400 to 600 700
#
interface GigabitEthernet1/0/25
port link-type trunk
undo port trunk allow-pass vlan 1
port trunk allow-pass vlan
400
#
interface GigabitEthernet1/0/26
port link-type trunk
undo port trunk allow-pass vlan 1
port trunk allow-pass vlan
600
#
interface GigabitEthernet1/0/27
port link-type trunk
undo port trunk allow-pass vlan 1
port trunk allow-pass vlan 700
#
interface XGigabitEthernet5/0/0
eth-Trunk 0
#
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
6 Load Balancing Configuration
292

Advertisement

Table of Contents
loading

Table of Contents