User's Manual
352
8. Setting Global Cos to Local Priority Mapping
9. Setting the Bandwidth of the CoS Priority Queue
10. Setting the Schedule Policy of the CoS Priority Queue
11. Setting the Default CoS Value of a Port
12. Setting the CoS Priority Queue of a Port
13. Setting the CoS Priority Queue of a Port
14. Establishing the QoS Policy Mapping
15. Setting the Description of the QoS Policy Mapping
16. Setting the Matchup Data Flow of the QoS Policy Mapping
17. Setting the Actions of the Matchup Data Flow of the QoS Policy Mapping
18. Applying the QoS Policy on a Port
19. Configuring the Trust Mode
20. Displaying the QoS Policy Mapping Table
46.3 QoS Configuration Tasks
46.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.
46.3.2 Setting Global Cos to Local Priority Mapping
The command is used to set map inner CoS priority to the congestion bit.
Enter the following privileged mode and configure global CoS to local priority mapping.
Command Purpose
config
Enters the global configuration mode.
[
no
]
cos map-local-priority
cos-value1 {
cos
cos-value2 |
cng
cng-bit }
Sets the local priority mapping of cos.
cos-value1 is cos value defined IEEE802.1p, 0-
7.
cos-value2 is remapping inner priority cos, 0-7.