Huawei S9700 Series Configuration Manual page 298

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

Advertisement

S9700 Core Routing Switch
Configuration Guide - SPU
l
Issue 01 (2012-03-15)
[SPU] load-balance group sg11
[SPU-lb-group-sg11] forward-mode dmac
[SPU-lb-group-sg11] member s11
[SPU-lb-group-sg11-member-s11] inservice
[SPU-lb-group-sg11-member-s11] quit
[SPU-lb-group-sg11] member s21
[SPU-lb-group-sg11-member-s21] inservice
[SPU-lb-group-sg11-member-s21] quit
[SPU-lb-group-sg11] quit
4.
Configure a Layer 7 classifier.
# 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 and
[SPU-lb-l7classifier-l7cls1] match any
[SPU-lb-l7classifier-l7cls1] quit
5.
Configure a load balancing action profile.
# Create the load balancing action profile act1 and set the action to load balance in
sg11.
[SPU] load-balance action act1
[SPU-lb-action-act1] group sg11
[SPU-lb-action-act1] quit
6.
Configure an ACL.
# Create ACL 3005 to permit the packets with the destination IP address (VIP) being
3.3.3.3/24 to pass through.
[SPU] acl number 3005
[SPU-acl-adv-3005] rule permit ip destination 3.3.3.3 0.0.0.255
[SPU-acl-adv-3005] quit
7.
Configure a Layer 3 classifier.
# Create the Layer 3 classifier l3cls1, set the matching rule to match ACL 3005, and
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 3005
[SPU-lb-l3classifier-l3cls1] quit
8.
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
9.
Apply the load balancing policy.
# Apply the load balancing policy to the sub-interface of the SPU.
[SPU] interface Eth-Trunk0.5
[SPU-Eth-Trunk0.5] service load-balance policy lbp1
[SPU-Eth-Trunk0.5] quit
Configure SwitchB.
1.
Configure traffic importing on SwitchB.
a.
Import traffic from SwitchB to SPUA, that is, FWA. SPUA is installed in slot 8.
<Quidway> system-view
[Quidway] sysname SwitchB
[SwitchB] vlan batch 600 800
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
6 Load Balancing Configuration
287

Advertisement

Table of Contents
loading

Table of Contents