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.
Default Setting
This switch supports Class of Service by using four 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 according
to recommendations in the IEEE 802.1p standard as shown below.
Queue
Priority
Command Mode
Interface Configuration (Ethernet, Port Channel)
Command Usage
CoS values assigned at the ingress port are also used at the egress port.
Example
The following example shows how to change the CoS assignments:
Console(config)#interface ethernet 1/1
Console(config-if)#queue cos-map 0 0
Console(config-if)#queue cos-map 1 1
Console(config-if)#queue cos-map 2 2
Console(config-if)#exit
Console#show queue cos-map ethernet 1/1
Information of Eth 1/1
Traffic Class : 0 1 2 3 4 5 6 7
Priority Queue: 0 1 2 1 2 2 3 3
Console#
Related Commands
show queue cos-map (4-250)
show queue mode
This command shows the current queue mode.
Default Setting
None
Table 4-68
Default CoS Values to Egress Queues
0
1,2
1
2
0,3
4,5
Priority Commands
3
6,7
4-249
4