CLI Reference Guide-R07

Table Of Contents
Chapter 21
| Class of Service Commands
Priority Commands (Layer 3 and 4)
– 512 –
Command Mode
Privileged Exec
Example
Console#show queue weight
Information of Eth 1/1
Queue ID Weight
-------- ------
0 1
1 2
2 4
3 6
4 8
5 10
6 12
7 14
...
Priority Commands (Layer 3 and 4)
This section describes commands used to configure Layer 3 and 4 traffic priority
mapping on the switch.
qos map cos-queue This command maps CoS/CFI values in incoming packets to per-hop behavior for
priority processing. Use the no form to restore the default settings.
Syntax
qos map cos-queue queue from cos0 cfi0...cos7 cfi7
no qos map cos-dscp cos0 cfi0...cos7 cfi7
Table 106: Priority Commands (Layer 3 and 4)
Command Function Mode
qos map cos-queue Maps CoS/CFI values in incoming packets to per-hop
behavior, or the queue used for this router hop
IC
qos map dscp-queue Maps DSCP values in incoming packets to per-hop
behavior, or the queue used for this router hop
IC
qos map trust-mode Sets QoS mapping to DSCP or CoS IC
show qos map cos-queue Shows ingress CoS to egress queue map PE
show qos map dscp-queue Shows ingress DSCP to eqress queue map PE
show qos map trust-mode Shows the QoS mapping mode PE
* The default settings used for mapping priority values to internal DSCP values and back to the
hardware queues are designed to optimize priority services for the majority of network
applications. It should not be necessary to modify any of the default settings unless a queuing
problem occurs with a particular application.