CLI Reference Guide-R02

Table Of Contents
Chapter 20
| Class of Service Commands
Priority Commands (Layer 3 and 4)
– 614 –
Command Usage
If the QoS mapping mode is set to DSCP with this command, and the ingress
packet type is IPv4, then priority processing will be based on the DSCP value in
the ingress packet.
If the QoS mapping mode is set to DSCP, and a non-IP packet is received, the
packet's CoS and CFI (Canonical Format Indicator) values are used for priority
processing if the packet is tagged. For an untagged packet, the default port
priority (see page 606) is used for priority processing.
If the QoS mapping mode is set to CoS with this command, and the ingress
packet type is IPv4, then priority processing will be based on the CoS and CFI
values in the ingress packet.
For an untagged packet, the default port priority (see page 606) is used for
priority processing.
Example
This example sets the QoS priority mapping mode to use DSCP based on the
conditions described in the Command Usage section.
Console(config)#interface ge1/1
Console(config-if)#qos map trust-mode dscp
Console(config-if)#
show qos map
cos-dscp
This command shows ingress CoS/CFI to internal DSCP map.
Syntax
show qos map cos-dscp interface interface
interface
ethernet unit/port
unit - Unit identifier. (Range: 1)
port - Port number. (Range: 1-18)
port-channel channel-id (Range: 1-12)
Command Mode
Privileged Exec
Example
Console#show qos map cos-dscp interface ethernet 1/5
CoS Information of Eth 1/5