QoS Commands 391
Default Configuration
This command has no default configuration.
Command Mode
Global Configuration mode
User Guidelines
This command has no user guidelines.
Example
The following example displays how to change the name of a DiffServ class from “DELL” to 
“DELL1.”
console(config)#class-map rename DELL DELL1
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