CLI Guide

Table Of Contents
Layer 2 Switching Commands 725
console(config-classmap)#match access-group name voice-pass
console(config-classmap)#match access-group name voice-all
console(config- classmap)#exit
console(config)#class-map match-all port-default
console(config-classmap)#match access-group name default
console(config- classmap)#exit
console(config)#policy-map inbound in
console(config-policy-map)#class voice-all
console(config-policy-classmap)#mark ip dscp af41
console(config-policy-classmap)#exit
console(config-policy-map)#class port-default
console(config-policy-classmap)#mark ip dscp af21
console(config-policy-classmap)#exit
console(config-policy-map)#exit
class-map rename
Use the class-map rename command in Global Configuration mode to
change the name of a DiffServ class.
Syntax
class-map rename
classname
newclassname
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.