Справочное Руководство для TP-LINK TL-SG2008

Скачать
Страница из 169
 
91
 
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. 
equ —— Equal-Mode. In this mode, all the queues occupy the bandwidth 
equally. The weight value ratio of all the queues is 1:1:1:1. 
Command Mode 
Global Configuration Mode 
Example 
Specify the Schedule Mode as Weight Round Robin Mode: 
TL-SG2008(config)# qos queue mode wrr