47
Quality of Service (QoS) Commands
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.
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
command.
Example
The following assigns WRR values to the queues.
switchxxxxxx(config)#
priority-queue out num-of-queues 0
6 6 6 6 6 6 6 6
switchxxxxxx(config)# wrr-queue bandwidth
47.21 priority-queue out num-of-queues
Use the priority-queue out num-of-queues Global Configuration mode command
to configure the number of expedite queues. Use the no form of this command to
restore the default configuration.
941
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide