Administrator Guide

Layer 2 Switching Commands 684
classname
— The name of an existing DiffServ class. (Range: 1–31
characters)
newclassname
— A case-sensitive alphanumeric string. (Range: 1–31
characters)
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 IEEE 802.1p user 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
ppriority
trafficclass
no classofservice dot1p-mapping
ppriority
— 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)
2CSNXXX_SWUM204.book Page 684 Monday, January 25, 2016 1:25 PM