DXS-1210 Series Smart Managed Switch CLI Reference Guide
275
This example shows how to configure the queue quantum of the WDRR scheduling mode, queue
quantum of queue 0, queue 1, queue 2, queue 3, queue 4, queue 5, queue 6, queue 7 are 1, 2, 3, 4, 5,
6, 7, 8 respectively on interface eth1/0/1.
Switch# configure terminal
Switch(config)#interface eth 1/0/1
Switch(config-if)# mls qos scheduler wdrr
Switch(config-if)# wdrr-queue bandwidth 1 2 3 4 5 6 7 8
Switch(config-if)#
34-11
wrr-queue bandwidth
This command is used to set the queue weight in the WRR scheduling mode. Use the no form of this
command to revert to the default setting.
wrr-queue bandwidth WEIGHT1…WEIGHT127
no wrr-queue bandwidth
Parameters
WEIGHT1 …WEIGHT127
Specifies the weight (frame count) value of every queue for weighted
round-robin scheduling.
Default
None.
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
The configuration of this command takes effect when the scheduling mode is in the WRR mode. Use
the mls qos scheduler wrr command to change the scheduling mode to WRR mode. To satisfy the
behavior requirements of Expedited Forwarding (EF), the highest queue is always selected by the
Per-hop Behavior (PHB) EF and the schedule mode of this queue should be strict priority scheduling.
So the weight of the last queue should be zero while the Differentiate Service is supported.
Example
This example shows how to configure the queue weight of the WRR scheduling mode, queue weight
of queue 0, queue 1, queue 2, queue 3, queue 4, queue 5, queue 6, queue 7 are 1, 2, 3, 4, 5, 6, 7, 8
respectively on interface eth1/0/1.
Switch# configure terminal
Switch(config)#interface eth 1/0/1
Switch(config-if)# mls qos scheduler wrr
Switch(config-if)# wrr-queue bandwidth 1 2 3 4 5 6 7 8
Switch(config-if)#