Priority Commands
4-209
4
Example
This example shows how to assign WRR weights to each of the priority queues:
Related Commands
show queue bandwidth (4-210)
queue cos-map
This command assigns class of service (CoS) values to the priority queues (i.e.,
hardware output queues 0 - 7). 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 7, where 7 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.
Default Setting
This switch supports Class of Service by using eight priority queues, with
Weighted Round Robin queuing for each port. Eight separate traffic classes
are defined in IEEE 802.1p. The default priority levels are assigned accor ding
to recommendations in the IEEE 802.1p standard as shown below.
Command Mode
Interface Configuration (Ethernet, Port Channel)
Command Usage
CoS values assigned at the ingress port are also used at the egress port.
This command sets the CoS priority for all interfaces.
Console#configure
Console(config)#int eth 1/5
Console(config-if)#queue bandwidth13579111315
Console(config-if)#
Table4-68 Default CoS Priority Levels
Queue 01234567
Priority 20134567