Configuring A Layer 3 Classifier - Huawei quidway s7700 Configuration Manual

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

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - SPU
rebalance per-request
Each HTTP request is rebalanced.
By default, the SPU does not rebalance newly received HTTP requests.
----End

6.4.12 Configuring a Layer 3 Classifier

This section describes how to create a Layer 3 classifier and configure a matching rule.
Context
To classify packets according to the quintuple, you need to create and configure a Layer 3
classifier.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
load-balance l3classifier l3classifier-name
A Layer 3 classifier is created and the Layer 3 classifier view is displayed.
By default, no Layer 3 classifier is created.
Step 3 Run:
if-match acl acl-number
An ACL is bound to the Layer 3 classifier.
A Layer 3 classifier can be bound to only one ACL. If the if-match acl acl-number command
is run for multiple times in the same Layer 3 classifier view, the latest one takes effect.
By default, no ACL is bound to a Layer 3 classifier.
Step 4 Run:
l7classifier l7classifier-name action action-name
The Layer 7 classifier and action are bound to the Layer 3 classifier.
The SPU first matches packets with the ACL in a Layer 3 classifier, and then matches packets
with the rule in a Layer 7 classifier.
By default, a Layer 3 classifier is not bound to the Layer 7 classifier and action.
Step 5 (Optional) Run:
icmp-reply
The SPU is configured to respond to ping requests of users.
The SPU provides services through a virtual IP address. Users send service requests to the virtual
IP address, but the SPU does not respond to ICMP packets. If the SPU is required to respond to
ping requests, you need to use the icmp-reply command in the Layer 7 classifier view.
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
6 Load Balancing Configuration
263

Advertisement

Table of Contents
loading

Table of Contents