System information

Command Line Interface
4-186
4
Syntax
queue bandwidth weight1...weight4
no queue bandwidth
weight1...weight4 - The ratio of weights for queues 0-3 determines the
weights used by the WRR scheduler. (Range: 1-31)
Default Setting
Weights 1, 2, 4, 8 are assigned to queues 0-3 respectively.
Command Mode
Global Configuration
Command Usage
WRR controls bandwidth sharing at the egress port by defining scheduling
weights.
Example
This example shows how to assign WRR weights to priority queues 0 - 2:
Related Commands
show queue bandwidth (4-188)
queue cos-map
This command assigns class of service (CoS) values to the priority queues (i.e.,
hardware output queues 0 - 3). Use the no form set the CoS map to the default
values.
Syntax
queue cos-map queue_id [cos1 ... cosn]
no queue cos-map
queue_id - The ID of the priority queue.
Ranges are 0 to 3, where 3 is the highest priority queue.
cos1 .. cosn - The CoS values that are mapped to the queue ID. It is a
space-separated list of numbers. The CoS value is a number from 0 to 7,
where 7 is the highest priority.
Console(config)#queue bandwidth 6 9 12
Console(config)#