QoS Commands
wrr-queue bandwidth
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
415
28
Example
The following example limits the rate on VLAN 11 to 100000 kbps:
switchxxxxxx(config)#
rate-limit 100000 vlan 11
wrr-queue bandwidth
To assign WRR weights to egress queues, use the wrr-queue bandwidth Global
Configuration command.
Syntax
wrr-queue bandwidth
weight1 weight2... weightN
Parameters
•
weight1 weight1... weightN
—The ratio of bandwidth assigned by the WRR
packet scheduler to the packet queues. Separate each value by a space.
(Range for each weight: 1 to 127)
Default Configuration
WRR is disabled by default. The default WRR weight is 1 for all queues.
Command Mode
Global Configuration mode
User Guidelines
The weight ratio determines the frequency at which the packet scheduler
removes packets from each queue.
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. We do not recommend
that you set the weight of a queue to 0 as it might stop transmission of control-
protocols packets generated by the device.