Command Mode
Interface Configuration (Ethernet, Port Channel)
Command Usage
CoS values assigned at the ingress port are also used at the e gress port.
This command sets the CoS priorit y for all interface s.
Example
The following example shows how to change the CoS assignments to a one-to-one
mapping:
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 3 4 5 6 7
Console#
Related Commands
show queue cos-map (35-6)
show queue mode
This command shows the current queue mode.
Command Mode
Privileged Exec
Example
Console#show queue mode
Queue Mode: wrr
Console#
35-5
cos1 ... cosn - The CoS values that are mapped to the queue ID. It is a
space-separated list of numbers. The CoS v alue is a num ber from 0 to 7,
where 7 is the highest priority.
Default Setting
This switch supports Class of Service by u sing eight prio rity queues, with
Weighted Round Robin queuing for each port. Eight separate traffic classes
are defined in IEEE 802.1p. The default p riority levels a re assigned acc ording
to recommendations in the IEEE 802.1p standard as sh own below.
Table 35-3 Default CoS Priority Levels
0 1 2 3 4 5 6 7
2 0 1 3 4 5 6 7
Priority
Queue
Priority Commands (Layer 2)
35