Chapter 21
| Class of Service Commands
Priority Commands (Layer 3 and 4)
– 529 –
Example
This example changes the priority for all packets entering port 1 which contain a
DSCP value of 1 to a per-hop behavior of 3.
Console(config)#interface ethernet 1/2
Console(config-if)#qos map dscp-queue 3 from 1
Console(config-if)#
qos map trust-mode
This command sets QoS mapping to DSCP or CoS. Use the
no
form to restore the
default setting.
Syntax
qos map trust-mode
{
dscp
|
cos
}
no qos map trust-mode
dscp
- Sets the QoS mapping mode to DSCP.
cos
- Sets the QoS mapping mode to CoS.
Default Setting
CoS
Command Mode
Interface Configuration (Ethernet, Port Channel)
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 524) 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 524) is used for
priority processing.