Configuring Complex Traffic Classification - Huawei S3700HI Configuration Manual - Qos

Table of Contents

Advertisement

S3700HI Ethernet Switches
Configuration Guide - QoS
Data Preparation
To create a traffic policy based on complex traffic classification, you need the following data.
No.
1
2
3
4

1.4.2 Configuring Complex Traffic Classification

The S3700 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 S3700 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.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
traffic classifier classifier-name [ operator { and | or } ]
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 AND.
Step 3 Run the following commands as required.
l To define matching rules based on the 802.1p priority in the inner VLAN tag of QinQ packets,
l To define matching rules based on the 802.1p priority of packets in a VLAN, run:
Issue 01 (2012-03-15)
Data
Name of the traffic classifier and matching rules of the traffic classifier
Name of the traffic behavior and related parameters
Name of the traffic policy
Interface that the traffic policy is applied to and ID of the VLAN
run:
if-match cvlan-8021p { 8021p-value } &<1-8>
if-match 8021p { 8021p-value } &<1-8>
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1 Class-based QoS Configuration
11

Advertisement

Table of Contents
loading

Table of Contents