TL-SL3428/TL-SL3452 JetStream L2 Managed Switch CLI Guide
129
qos queue cos-map
Description
The qos queue cos-map command is used to configure the mapping relation
between IEEE 802.1P priority tag/IEEE 802.1Q tag, CoS value and the TC
egress queue. To return to the default configuration, please use no qos queue
cos-map command. When 802.1P Priority is enabled, the packets with 802.1Q
tag are mapped to different priority levels based on 802.1P priority mode. The
untagged packets are mapped based on port priority mode.
Syntax
qos queue cos-map tag/cos-id tc-id
no qos queue cos-map
Parameter
tag/cos-id —— The 8 priority levels defined by IEEE 802.1P or the priority level
the packets with tag are mapped to, which ranges from CoS 0 to CoS 7.
tc-id —— The egress qu eue the packets with tag are mapped to. It ranges from
0 to 3, which represents TC0, TC1, TC2, TC3 respectively.
Command Mode
Global Configuration Mode
User Guidelines
1. By default, the mapping relation between tag/cos and the egress queue is:
0-TC0, 1-TC0, 2-TC1, 3-TC1, 4-TC2, 5-TC2, 6-TC3, 7-TC3
2. Among the priority levels TC0-TC3, the bigger value, the higher
priority.
Example
Map CoS 5 to TC 2.:
TL-SL3428(config)#qos queue cos-map 5 2
qos queue dscp-map
Description
The qos queue dscp-map command is used to configure the mapping relation
between DSCP Priority and the TC egress queue. To return to the default
configuration, please use no qos queue dscp-map command. DSCP (DiffServ
Code Point) is a new definition to IP ToS field given by IEEE. This field is used to