Cisco Systems SPS2024 Switch User Manual


 
QoS Commands
wrr-queue bandwidth
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide 285
23
To return to the Policy-map Configuration mode, use the exit command. To return
to the Privileged EXEC mode, use the end command.
Example
The following example applies the aggregate policer called ‘policer’1 to a class
called ‘class1’ in policy map called ‘policy1’.
Console(config)# policy-map policy1
Console(config-pmap)# class class1
Console(config-pmap-c)# police aggregate policer1
wrr-queue bandwidth
The wrr-queue bandwidth Global Configuration mode command assigns
Weighted Round Robin (WRR) weights to egress queues. The weights ratio
determines the frequency used by the packet scheduler to dequeue packets from
each queue. Use the no form of this command to restore the default values.
Syntax
wrr-queue bandwidth
weight1
weight2
...
weight_n
no wrr-queue bandwidth
Parameters
weight1
weight2
...
weight_n
— Sets the ratio of the frequency in which the WRR
packet scheduler de-queues packets. Separate each value by a space. The range
is 0–65535.
Default Configuration
The default WRR weight is 1/4 the ratio for all queues (each weight set to 1).
Command Mode
Global Configuration mode