Configuring A Layer 7 Classifier - Huawei S9700 Series Configuration Manual

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

Advertisement

S9700 Core Routing Switch
Configuration Guide - SPU
By default, no static sticky entry is configured for a sticky group.
----End

6.4.7 Configuring a Layer 7 Classifier

This section describes how to create a Layer 7 classifier and configure a matching rule.
Context
On the SPU, Layer 7 classification indicates that packets are classified based on URLs of Layer
7 services. The SPU first matches packets with the ACL in a Layer 3 classifier to match packets,
and then the matching rule in a Layer 7 classifier bound to the Layer 3 classifier no matter
whether Layer 3 or Layer 7 load balancing is used. Therefore, you must configure the Layer 7
classifier for Layer 3 or Layer 7 load balancing. In Layer 3 load balancing, the matching rule of
a Layer 7 classifier must be set to any.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
load-balance l7classifier l7classifier-name [
A Layer 7 classifier is created and the Layer 7 classifier view is displayed.
By default, no Layer 7 classifier is configured.
When you create a Layer 7 classifier, if the matching mode is set to and, the matching is
successful only when all the rules are matched; if the matching mode is set to or, the matching
is successful in the case that any rule is matched; if the matching mode is set to and or or, the
default matching mode is and.
Step 3 Run the following command as required:
l Run:
l Run:
Issue 01 (2012-03-15)
address specified by dest-ip-address match the static sticky entry, the packets are sent to the
server specified by member-name.
NOTE
When configuring static sticky entries, pay attention to the following points:
l Only one static sticky entry of a sticky group can be created on a network segment.
l Before configuring stickiness, you need to use the load-balance group command to create the
corresponding server group and bind the server group to the sticky group. In addition, the server group
must contain servers.
NOTE
When you enter the Layer 7 classifier view, you can specify and or or. The specified matching mode must
be the same as the one used when the Layer 7 classifier is created.
match any
The matching rule of the Layer 7 classifier is set to any, that is, any packet is matched.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
6 Load Balancing Configuration
and |
or ]
218

Advertisement

Table of Contents
loading

Table of Contents