Switch User Manual

Chapter 4 Command-Line Reference 4-153
Command Mode
Global Configuration
Command Usage
WRR allows bandwidth sharing at the egress port by defining scheduling
weights.
Example
The following example shows how to assign WRR weights of 1, 3, 5 and 7 to the
COS priority queues 0, 1, 2 and 3:
Related Commands
show queue bandwidth (4-155)
4.3.15.3 queue cos-map
Use this command to assign class-of-service (COS) values to the COS priority
queues. Use the no form to set the COS map to the default values.
Syntax
queue cos-map queue_id [cos1 ... cosn]
no queue cos-map
queue_id The queue id of the CoS priority queue.
Ranges are 0 to 3, where 3 is the highest CoS 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 1 3 5 7
Console(config)#