QoS Commands
wrr-queue cos-map
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide 286
23

User Guidelines
The ratio for each queue is defined by the queue weight divided by the sum of all
queue weights (also referred to as the normalized weight). This command sets the
ratio of the frequency in which the WRR packet scheduler de-queues packets, and
not the bandwidth. In other words, the ratio is of the number of packets and not the
bytes sent from each queue.
A weight of 0 means no bandwidth is allocated for the same queue, and the share
bandwidth is divided among the remaining queues.
All queues participate in the WRR queue scheme.
Example
The following example assigns a weight of 6 to each of the 8 WRR queues.
Console(config-if)# wrr-queue bandwidth 6 6 6 6
wrr-queue cos-map
The wrr-queue cos-map Global Configuration mode command maps Class of
Service (CoS) values to a specific egress queue. Use the no form of this c ommand
to restore the default configuration.
Syntax
wrr-queue cos-map

queue-id cos1...cos8

no wrr-queue cos-map [
queue-id
]
Parameters
queue-id
— Specifies the queue number to which the CoS values are
mapped.

cos1...cos8

— Specifies CoS values to be mapped to a specific queue.
(Range: 0-7)