Huawei quidway s7700 Configuration Manual page 304

Smart routing switch
Hide thumbs Also See for quidway s7700:
Table of Contents

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - SPU
# Create the Layer 7 classifier named l7cls1 and set the matching rule to any. That is, any packet
is matched.
[SPU] load-balance l7classifier l7cls1 or
[SPU-lb-l7classifier-l7cls1] match any
[SPU-lb-l7classifier-l7cls1] quit
Step 6 Configure a load balancing action profile.
# Create the load balancing action profile named act1 and set the action to load balance in
servergroup1.
[SPU] load-balance action act1
[SPU-lb-action-act1] group servergroup1 backup servergroup2
[SPU-lb-action-act1] quit
Step 7 Configure an ACL.
# Create ACL 3000 to permit the packets with the destination IP address being 20.20.20.1/24 to
pass through.
[SPU] acl number 3000
[SPU-acl-adv-3000] rule permit ip destination 20.20.20.1 0.0.0.255
[SPU-acl-adv-3000] quit
Step 8 Configure a Layer 3 classifier.
# Create the Layer 3 classifier l3cls1, set the matching rule to match ACL 3000, bind l3cls1 to
l7cls1 and act1.
[SPU] load-balance l3classifier l3cls1
[SPU-lb-l3classifier-l3cls1] l7classifier l7cls1 action act1
[SPU-lb-l3classifier-l3cls1] if-match acl 3000
[SPU-lb-l3classifier-l3cls1] nat outbound address-group 2
[SPU-lb-l3classifier-l3cls1] quit
Step 9 Configure a load balancing policy.
# Create the load balancing policy named lbp1, and bind l3cls1 to lbp1.
[SPU] load-balance policy lbp1
[SPU-lb-policy-lbp1] l3classifier l3cls1
[SPU-lb-policy-lbp1] quit
Step 10 Apply the load balancing policy.
# Apply the load balancing policy to Eth-Trunk 0.12 of the SPU.
[SPU] interface eth-trunk 0.12
[SPU-Eth-Trunk0.12] service load-balance policy lbp1
[SPU-Eth-Trunk0.12] quit
Step 11 Verify the configuration.
# View the configurations of servers.
[SPU] display load-balance member name servera
Member name
Description
IP
Max connection
Max connection rate
Inbound max bandwidth rate
Inbound threshold
Outbound max bandwidth rate
Outbound threshold
Weight
Priority
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
6 Load Balancing Configuration
: servera
: -
: 10.10.50.2
: 8000
: 800
: 800(kbps)
: 80%
: 800(kbps)
: 80%
: 80
: 8
293

Advertisement

Table of Contents
loading

Table of Contents