TP-Link TL-SG3216 Switch User Manual


 
124
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 queue 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 —— Strict-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.
sp+wrr —— Strict-Priority + Weight Round Robin Mode. In this mode, the
switch provides two scheduling groups, SP group and WRR group. Queues in
SP group and WRR group are scheduled strictly based on Strict-Priority mode
while the queues inside WRR group follow the WRR mode. In SP + WRR mode,
TC3 is the SP group; TC0, TC1 and TC2 belong to the WRR group and the
weight value ratio of TC0, TC1 and TC2 is 1:2:4. In this way, when scheduling
queues, the switch allows TC3 to occupy the whole bandwidth following the SP
mode and the TC0, TC1 and TC2 in the WRR group will take up the bandwidth
according to their ratio 1:2:4.