Traffic Policy
A traffic policy is a QoS policy configured by binding traffic classifiers to traffic behaviors. You
can associate a traffic classifier with a traffic behavior in a traffic policy.
1.3 Configuring Priority Mapping Based on Simple Traffic
Classification
Priority mapping based on simple traffic classification maps packet priorities to PHBs and colors
to provide differentiated services.
1.3.1 Establishing the Configuration Task
Before configuring priority mapping based on simple traffic classification, familiarize yourself
with the applicable environment, complete the pre-configuration tasks, and obtain the data
required for the configuration. This will help you complete the configuration task quickly and
accurately.
Applicable Environment
When packets come from an upstream device, you can classify them according to the precedence
fields in the packets, such as the 802.1p priority or DSCP priority. In a DiffServ domain, you
need to define the mapping from packet priorities to PHBs and colors to classify packets. After
the DiffServ domain is bound to an inbound interface, the QoS mechanism performs congestion
management and congestion avoidance according to packet PHBs and colors on an inbound
interface.
When packets are sent to a downstream device, you can classify them based on packet PHBs
and colors. In a DiffServ domain, define the mapping from packet PHBs and colors to priorities
to classify packets. After the DiffServ domain is bound to an outbound interface, a downstream
device provides QoS services based on packet priorities.
Pre-configuration Tasks
Before configuring priority mapping based on simple traffic classification, complete the
following task:
l
Adding an interface that packets pass to a specified VLAN
Data Preparation
To configure priority mapping based on simple traffic classification, you need the following
data.
No.
Data
1
Name of a DiffServ domain
2
802.1p priorities of incoming or outgoing packets in a VLAN, DSCP priorities, PHBs,
and colors of incoming or outgoing IP packets
3
Type and number of the interface bound to a DiffServ domain
S3700HI Ethernet Switches
Configuration Guide - QoS
1 Class-based QoS Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
5