TP-Link TL-SG2424P Switch User Manual


 
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 0 to 7 (for TL-SG2452)
or ranges from CoS 0 to CoS 7 (for TL-SG2216/TL-SG2424/TL-SG2424P) .
tc-id —— The egress queue the packets with tag are mapped to. It ranges from
0 to 3, which represents TC0, TC1, TC2 and TC3 respectively.
Command Mode
Global Configuration Mode
User Guidelines
1. By default, the mapping relation between tag/cos and the egress queue is:
0/CoS 0-TC1, 1/CoS 1-TC0, 2/CoS 2-TC0, 3/CoS 3-TC1, 4/CoS
4-TC2, 5/CoS 5-TC2, 6/CoS 6-TC3, 7/CoS 7-TC3
2. Among the priority levels TC0-TC3, the bigger value, the higher
priority.
Example
Map CoS 5 to TC 2.:
TL-SG2424(config)# qos queue cos-map 5 2
qos queue dscp-map
For TL-SG2452:
Description
The qos queue dscp-map command is used to configure the mapping relation
between DSCP Priority and the CoS value. To return to the default configuration,
104