Huawei S9700 Series Configuration Manual page 244

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

Advertisement

S9700 Core Routing Switch
Configuration Guide - SPU
Step 2 Configure links.
# Create and configure the link isp1 connected to ISP1.
[SPU] load-balance member isp1
[SPU-lb-member-isp1] ip address 20.20.20.1
[SPU-lb-member-isp1] weight 30
[SPU-lb-member-isp1] conn-limit max 10000
[SPU-lb-member-isp1] rate-limit connection 1500
[SPU-lb-member-isp1] rate-limit bandwidth inbound 100 threshold 80
[SPU-lb-member-isp1] rate-limit bandwidth outbound 100 threshold 80
[SPU-lb-member-isp1] quit
# Create and configure the link isp2 connected to ISP2.
[SPU] load-balance member isp2
[SPU-lb-member-isp2] ip address 30.30.30.1
[SPU-lb-member-isp2] weight 90
[SPU-lb-member-isp2] conn-limit max 20000
[SPU-lb-member-isp2] rate-limit connection 3000
[SPU-lb-member-isp2] rate-limit bandwidth inbound 300 threshold 80
[SPU-lb-member-isp2] rate-limit bandwidth outbound 300 threshold 80
[SPU-lb-member-isp2] quit
Step 3 Configure link health detection.
# Set the IP address of XGE 0/0/1.2 to 100.100.100.201/24 and use the interface for obtaining
the source IP address of probing packets of a probe.
[SPU] interface xgigabitethernet 0/0/1.2
[SPU-XGigabitEthernet0/0/1.2] control-vid 2 dot1q-termination
[SPU-XGigabitEthernet0/0/1.2] dot1q termination vid 2
[SPU-XGigabitEthernet0/0/1.2] ip address 100.100.100.201 24
[SPU-XGigabitEthernet0/0/1.2] quit
[SPU] load-balance ip interface xgigabitethernet 0/0/1.2
# Create the ICMP probe probe1, and set the timeout interval of the response of probe1 to 10,
the probing interval of probe1 to 20, and the probing interval after the link fails to 20.
[SPU] load-balance probe probe1 icmp
[SPU-lb-probe-probe1] time-out 10
[SPU-lb-probe-probe1] interval 20
[SPU-lb-probe-probe1] fail-interval 20
[SPU-lb-probe-probe1] quit
Step 4 Configure a link group.
# Create the link group named linkgroup1, adopt the WRR algorithm, set the forwarding mode
to redirection, bind isp1 and isp2 to probe1, and bind NAT address pool 2 and NAT address
pool 3 to the link instance.
[SPU] load-balance group linkgroup1
[SPU-lb-group-linkgroup1] forward-mode redirect
[SPU-lb-group-linkgroup1] load-balance method roundrobin
[SPU-lb-group-linkgroup1] probe probe1
[SPU-lb-group-linkgroup1] member isp1
[SPU-lb-group-linkgroup1-member-isp1] nat outbound address-group 2
[SPU-lb-group-linkgroup1-member-isp1] inservice
[SPU-lb-group-linkgroup1-member-isp1] quit
[SPU-lb-group-linkgroup1] member isp2
[SPU-lb-group-linkgroup1-member-isp2] nat outbound address-group 3
[SPU-lb-group-linkgroup1-member-isp2] inservice
[SPU-lb-group-linkgroup1-member-isp2] quit
[SPU-lb-group-linkgroup1] quit
Issue 01 (2012-03-15)
[SPU-XGigabitEthernet0/0/1.14] service load-balance
group
3
[SPU-XGigabitEthernet0/0/1.14] quit
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
6 Load Balancing Configuration
arp-response nat address-
233

Advertisement

Table of Contents
loading

Table of Contents