Creating A Traffic Classifier Based On Layer 2 Information - Huawei Quidway S9300 Configuration Manual

Terabit routing switch
Table of Contents

Advertisement

Quidway S9300 Terabit Routing Switch
Configuration Guide - QoS
Pre-configuration Tasks
None
Data Preparation
To configure complex traffic classification, you need the following data.
No.
1
2

1.4.2 Creating a Traffic Classifier Based on Layer 2 Information

Context
Do as follows on the S9300 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 ]
A traffic classifier based on Layer 2 information is created and the traffic classifier view is
displayed.
The and parameter indicates that the relation 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 relation 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 relation between rules in a traffic classifier is "OR".
Step 3 Run the following command as required.
l
l
Issue 03 (2009-08-20)
Data
Name of the traffic classifier
Data in a traffic classifier, including the ACL number, 802.1p priority in the inner or
outer VLAN tag, VLAN ID in the inner or outer VLAN tag, source or destination
MAC address, DSCP priority, incoming or outgoing interface, IP priority, MPLS
EXP priority, SYN Flag field in TCP packet, Double tags in QinQ packet, and Layer
2 or Layer 3 protocol type
To define matching rules based on the 802.1p priority in the inner VLAN tag of QinQ packets,
run:
if-match cvlan-id cvlan-id
To define matching rules based on the 802.1p priority of packets in a VLAN or VLAN IDs
of inner and outer tags of QinQ packets, run:
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1 Class-based QoS Configuration
1-11

Advertisement

Table of Contents
loading

Table of Contents