Specifications
2-372
Catalyst 2950 and Catalyst 2955 Switch Command Reference
78-15304-01
Chapter 2 Cisco IOS Commands
wrr-queue bandwidth
wrr-queue bandwidth
Use the wrr-queue bandwidth global configuration command to assign weighted round-robin (WRR)
weights to the four class of service (CoS) priority queues. Use the no form of this command to disable
the WRR scheduler and enable the strict priority scheduler.
wrr-queue bandwidth weight1...weight4
no wrr-queue bandwidth
Syntax Description
Defaults WRR is disabled. The strict priority is the default scheduler.
Command Modes Global configuration
Command History
Usage Guidelines WRR allows bandwidth sharing at the egress port. This command defines the bandwidths for egress
WRR by scheduling weights.
For weight1, weight2, and weight3, the range is 1 to 255. The range for weight4 is 0 to 255.
You can configure queues 1, 2, and 3 for WRR scheduling and queue 4 for strict priority. To configure
queue 4 as the expedite queue, set weight4 to 0. When queue 4 is empty, packets from queues 1, 2, and 3
are sent according to the assigned WRR weights.
For more information about strict priority and WRR scheduling, refer to the “CoS and WRR” section in
the “Configuring Auto-QoS” chapter of the Catalyst 2950 and Catalyst 2955 Switch Software
Configuration Guide for this release.
Examples This example shows how to assign WRR weights of 10, 20, 30, and 40 to the CoS priority queues 1, 2,
3, and 4:
Switch(config)# wrr-queue bandwidth 10 20 30 40
This example shows how to disable the WRR scheduler and enable the strict priority scheduler:
Switch(config)# no wrr-queue bandwidth
weight1...weight4 The ratio of weight1, weight2, weight3, and weight4 determines
the weights of the WRR scheduler. For more information, see
the “Usage Guidelines” section.
Release Modification
12.0(5.2)WC(1) This command was first introduced.
12.1(12c)EA1 The range for weight4 was modified from 1 to 255 to 0 to 255.