User's Manual

Table Of Contents
374
Users Manual of CS-6306R
40.1.2 QoS Configuration Task List
In general, ONU will try its best to deliver each packet and when congestion occurs all packets have the same
chance to be discarded. However, in reality different packets have different importance and the comparatively
important packets should get the comparatively good service. QoS is a mechanism to provide different priority
services to packets with different importance, in which the network can have its better performance and be
used efficiently.
This chapter presents how to set QoS on ONU.
The following are QoS configuration tasks:
Setting the Global CoS Priority Queue
Setting the Bandwidth of the CoS Priority Queue
Setting the Schedule Policy of the CoS Priority Queue
Setting the Default CoS Value of a Port
Setting the CoS Priority Queue of a Port
Setting the CoS Priority Queue of a Port
Establishing the QoS Policy Mapping
Setting the Description of the QoS Policy Mapping
Setting the Matchup Data Flow of the QoS Policy Mapping
Setting the Actions of the Matchup Data Flow of the QoS Policy Mapping
Applying the QoS Policy on a Port
Displaying the QoS Policy Mapping Table
40.1.3 QoS Configuration Tasks
40.1.3.1 Setting the Global CoS Priority Queue
The task to set the QoS priority queue is to map 8 CoS values, which are defined by IEEE802.1p, to the
priority queues in a switch. This series of switch has 8 priority queues. According to different queues, the
switch will take different schedule policies to realize QoS.
If a CoS priority queue is set in global mode, the mapping of CoS priority queue on all ports will be affected.
When priority queues are set on a L2 port, the priority queues can only work on this L2 port.
Enter the following privileged mode and run the following commands one by one to set DSCP mapping.
Command Purpose
config
Enters the global configuration mode.
[no] cos map quid cos1..cosn
Sets the CoS priority queue.
quid stands for the ID of a CoS priority queue.
cos1…cosn stands for the
IEEE802.1p-defined CoS value.
exit
Goes back to the EXEC mode.
write
Saves the settings.
40.1.3.2 Setting the Bandwidth of the CoS Priority Queue
The bandwidth of priority queue means the bandwidth distribution ratio of each priority queue, which is set