CLI Reference Guide
instance, 1,4-7,11 indicates choosing 1,4,5,6,7,11. The DSCP value ranges from
0 to 63.
cos-id —— The priority level the packets with tag are mapped to, which ranges
from CoS 0 to CoS 7.
Command Mode
Global Configuration Mode
User Guidelines
By default, the mapping relation between tag and the egress queue is: (0-7)-CoS
0, (8-15)-CoS 1, (16-23)-CoS 2, (24-31)-CoS 3, (32-39)-CoS 4, (40-47)-CoS 5,
(48-55)-CoS 6, (56-63)-CoS 7.
Example
Map DSCP values 10-12 to CoS 2:
TL-SG3424(config)# qos queue dscp-map 10-12 2
qos queue mode
Description
The qos que ue mode command is used to configure the Schedule Mode. To
return to the default configuration, please use no qos queue mode command.
When the network is congested, the program that many packets complete for
resources must be solved, usually in the way of queue scheduling. The switch
will control the forwarding sequence of the packets according to the priority
queues and scheduling algorithms you set. On this switch, the priority levels are
labeled as TC0, TC1… TC3.
Syntax
qos queue mode { sp | wrr | sp+wrr | equ }
no qos queue mode
Parameter
sp —— Str ict-Priority Mode. In this mode, the queue with higher priority will
occupy the whole bandwidth. Packets in the queue with lower priority are sent
only when the queue with higher priority is empty.
wrr —— Weight Round Robin Mode. In this mode, packets in all the queues are
sent in order based on the weight value for each queue. The weight value ratio of
TC0, TC1, TC2 and TC3 is 1:2:4:8.
148