452 QoS Commands
console(config)#
classofservice dot1p-mapping
Use the classofservice dot1p-mapping command in Global Configuration 
mode to map an  802.1p priority to an internal traffic class. In Interface 
Configuration mode, the mapping is applied only to packets received on that 
interface. Use the no form of the command to remove mapping between an 
802.1p priority and an internal traffic class.
Syntax
classofservice dot1p-mapping 
802.1ppriority
 
trafficclass
no classofservice dot1p-mapping 
•
802.1ppriority
 — Specifies the user priority mapped to the specified traffic 
class for this switch. (Range: 0–7)
•
trafficclass
 — Specifies the traffic class for this switch. (Range: 0–6)
Default Configuration
This command has no default configuration.
Command Mode
Global Configuration or Interface Configuration  (Ethernet, Port-channel)  
mode
User Guidelines
None
Example
The following example configures mapping for user priority 1 and traffic class 
2.
console(config)#classofservice dot1p-mapping 1 2