User's Manual

Table Of Contents
375
Users Manual of CS-6306R
when the schedule policy of the CoS priority queue is set to WRR/DRR. This series of switches has 8 priority
queues in total.
If this command is run, the bandwidth of all priority queues on all interfaces are affected. This command
validates only when the queue schedule policy is set to WRR or DRR. This command decides the bandwidth
weight of the CoS priority queue when the WRR/DRR schedule policy is used.
Run the following commands one by one to set the bandwidth of the CoS priority queue.
Command Purpose
config
Enters the global configuration mode.
[no] scheduler weight
bandwidthweight1...weightn
Sets the bandwidth of the CoS priority queue..
weight1…weightn stand for the weights of 8
CoS priority queues of WRR/DRR.
exit
Goes back to the EXEC mode.
write
Saves the settings.
40.1.3.3 Setting the Schedule Policy of the CoS Priority Queue
A switch has many output queues on each of its port. This series of switches has 8 priority queues. The output
queues can adopt the following three schedule modes:
SP (Sheer Priority): In this algorithm, only when the high-priority queue is null can the packets in the
low-priority queue be forwarded, and if there are packets in the high-priority queue these packets will be
unconditionally forwarded.
In this mode, the bandwidth of each queue is distributed with a certain weight and then bandwidth
distribution is conducted according to the weight of each queue. The bandwidth in this mode takes byte
as its unit.
The First-Come-First-Served queue algorithm, which is shortened as FCFS, provides service to those
packets according to their sequence of arriving at a switch, and the packet that first arrives at the switch
will be served first.
Enter the following configuration mode and set the schedule policy of CoS priority queue.
Command Purpose
config
Enters the global configuration mode.
[no] scheduler policy { sp |
wrr|wfq|fcfs }
Sets the schedule policy of the CoS priority
queue.
sp means to use the SP schedule policy.
Wrr means to use the WRR schedule policy.
Fcfs to use the FCFS schedule policy.
drr means to use the DRR schedule policy.
exit
Goes back to the EXEC mode.
write
Saves the settings.
40.1.3.4 Configuring the Minimum and Maximum Bandwidths of CoS Priority Queue
The minimum and maximum bandwidths of CoS priority queue can be modified through configuration. All the
flows with a bandwidth less than the configured minimum bandwidth shall not be dropped, but the flows with a