T2700G-28TQ
JetStream 28-Port Gigabit Stackable L2+ Managed Switch CLI Guide
187
qos dscp
Description
The
qos dscp
command is used to enable the mapping relation between DSCP
Priority and TC egress queue. To disable the mapping relation, please use
no
qos dscp
command.
Syntax
qos dscp
no qos dscp
Command Mode
Global Configuration Mode
User Guidelines
DSCP (DiffServ Code Point) is a new definition to IP ToS field given by IEEE.
DSCP priorities are mapped to the corresponding 802.1p priorities. IP datagram
will be classified into the egress queue based on the mapping relation between
DSCP priority and TC egress queue.
Example
Enable the mapping relation between DSCP Priority and egress queue:
T2700G-28TQ(config)#qos dscp
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.