Huawei quidway s7700 Configuration Manual page 285

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

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - SPU
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
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.
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
6 Load Balancing Configuration
274

Advertisement

Table of Contents
loading

Table of Contents