Huawei S9700 Series Configuration Manual page 245

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

Advertisement

S9700 Core Routing Switch
Configuration Guide - SPU
Step 5 Configure a Layer 7 classifier.
# Create the Layer 7 classifier named l7cls1 and set the matching rule to any.
[SPU] load-balance l7classifier l7cls1
[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, set the action to load balance, and
configure the load balancing group linkgroup1.
[SPU] load-balance action act1
[SPU-lb-action-act1] group linkgroup1
[SPU-lb-action-act1] quit
Step 7 Configure an ACL.
# Create ACL 3000 to permit the packets from 60.60.60.1/24 to pass through.
[SPU] acl number 3000
[SPU-acl-adv-3000] rule permit ip destination 60.60.60.1 0.0.0.255
[SPU-acl-adv-3000] quit
Step 8 Configure a Layer 3 classifier.
# Create the Layer 3 classifier named l3cls1, bind the Layer 7 classifier l7cls1 to the load
balancing action profile act1, and configure the matching rule to match ACL 3000.
[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] quit
Step 9 Configure a load balancing policy.
# Create the load balancing policy named lbp1, and bind the Layer 3 classifier l3cls1 to the load
balancing policy named 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 lbp1 to XGigabitEthernet 0/0/1.12.
[SPU] interface xgigabitethernet0/0/1.12
[SPU-XGigabitEthernet0/0/1.12] service load-balance policy lbp1
[SPU-XGigabitEthernet0/0/1.12] quit
Step 11 Verify the configuration.
# View the configuration of links.
[SPU] display load-balance member name isp1
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 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
6 Load Balancing Configuration
: isp1
: -
: 20.20.20.1
: 10000
: 1500
: 100(kbps)
: 80%
: 100(kbps)
: 80%
: 30
: 8
234

Advertisement

Table of Contents
loading

Table of Contents