Command Line Interface
4-202
4
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.
Example
The following example shows how to map CoS values 0, 1 and 2 to egress queue 0,
value 3 to egress queue 1, values 4 and 5 to egress queue 2, and values 6 and 7 to
egress queue 3:
Related Commands
show queue cos-map (4-203)
show queue mode
This command shows the current queue mode.
Default Setting
None
Command Mode
Privileged Exec
Example
show queue bandwidth
This command displays the weighted round-robin (WRR) bandwidth allocation for
the four priority queues.
Default Setting
None
Command Mode
Privileged Exec
Console(config)#interface ethernet 1/1
Console(config-if)#queue cos-map 0 0 1 2
Console(config-if)#queue cos-map 1 3
Console(config-if)#queue cos-map 2 4 5
Console(config-if)#queue cos-map 3 6 7
Console(config-if)#end
Console#show queue cos-map ethernet 1/1
Information of Eth 1/1
CoS Value : 0 1 2 3 4 5 6 7
Priority Queue: 0 0 0 1 2 2 3 3
Console#
Console#show queue mode
Queue mode: wrr
Console#