Setting the Scheduling Mode for an Interface Queue
The S2700EI supports the following scheduling modes: WRR, and PQ+WRR.
Context
The S2700EI supports four interface queues that can use different scheduling algorithms. Different queues can use different scheduling modes. The device schedules the queues using PQ scheduling first. If multiple queues using PQ scheduling exist, the device schedules the queues in descending order of priority. After all the PQ scheduling is completed, the device schedules the queues using WRR scheduling.
If you need to set the same scheduling parameters on multiple interfaces, you can perform the configuration on the port group to reduce the workload.
Procedure
- Run:
system-view
The system view is displayed.
- Run:
qos queue queue-index wrr weight weight
The weight of an interface queue in WRR mode is set.
By default, the weight in WRR mode is 1.
When WRR scheduling is applied and the weight of a queue is set to 0, the queue applies PQ scheduling and other queues apply WRR scheduling. That is, the overall scheduling mode is PQ+WRR.