Data Preparation
To create a traffic policy based on complex traffic classification, you need the following data.
No. Data
1 Name of the traffic classifier and matching rules of the traffic classifier
2 Name of the traffic behavior and related parameters
3 Name of the traffic policy
4 Interface that the traffic policy is applied to and ID of the VLAN
1.4.2 Configuring Complex Traffic Classification
The S7700 can classify traffic according to the ACL, and the Layer 2 information and Layer 3
information in packets.
Creating a Traffic Classifier Based on Layer 2 Information
After traffic classification based on Layer 2 information is configured, the S7700 classifies
packets based on the Layer 2 information including the 802.1p priority, VLAN ID, source/
destination MAC address, incoming/outgoing interface, and Layer 2 protocol type.
Context
Do as follows on the S7700 where a traffic classifier based on Layer 2 information needs to be
created.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
traffic classifier classifier-name [ operator { and | or } ] [ precedence
precedence-value ]
A traffic classifier based on Layer 2 information is created and the traffic classifier view is
displayed.
The and parameter indicates that the relationship between rules in a traffic classifier is "AND".
That is, the packets match a traffic classifier only when the packets match all non-ACL rules
and an ACL rule in the traffic classifier. The or parameter indicates that the relationship between
rules in a traffic classifier is "OR". That is, the packets match a traffic classifier when the packets
match a rule in the traffic classifier.
By default, the relationship between rules in a traffic classifier is OR.
Step 3 Run the following commands as required.
Quidway S7700 Smart Routing Switch
Configuration Guide - QoS 1 Class-based QoS Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
13