TP-Link T1500-28PCT Switch User Manual


 
96
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 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.
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-TC1, 1-TC0, 2-TC0, 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 tag 5 to TC 2.:
T1500-28PCT(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
divide IP datagram into 64 priorities. When DSCP Priority is enabled, IP