Quality of Service (QoS) Commands
78-21075-01 Command Line Interface Reference Guide
49.18 wrr-queue bandwidth
Use the wrr-queue bandwidth global Configuration command to assign Weighted
Round Robin (WRR) weights to egress queues. The weight ratio determines the
frequency at which the packet scheduler removes packets from each queue. Use
the no form of this command to restore the default configuration.
Syntax
wrr-queue bandwidth
no wrr-queue bandwidth
Parameters
weight1 weight1... weighting the ratio of bandwidth assigned by the WRR packet
scheduler to the packet queues. See explanation in the User Guidelines. Separate
each value by a space. (Range for each weight: 0–255)
Default Configuration
wrr is disabled by default. The default wrr weight is ' 1 ' for all queues.
Command Mode
Global Configuration mode
User Guidelines
The ratio for each queue is defined as the queue weight divided by the sum of all
queue weights (the normalized weight). This sets the bandwidth allocation of each
queue.
A weight of 0 indicates that no bandwidth is allocated for the same queue, and the
shared bandwidth is divided among the remaining queues. It is not recommended
to set the weight of a queue to a 0 as it might stop transmission of
control-protocols packets generated by the device.
All queues participate in the WRR, excluding the expedite queues, whose
corresponding weight is not used in the ratio calculation.
An expedite queue is a priority queue, which is serviced until empty before the
other queues are serviced. The expedite queues are designated by the
priority-queue out num-of-queues
weight1 weight2
...
weighting
command.
49
813