CLI Reference Guide-R04

Table Of Contents
Chapter 24
| Quality of Service Commands
– 649 –
Command Usage
First enter this command to designate a class map and enter the Class Map
configuration mode. Then use match commands to specify the criteria for
ingress traffic that will be classified under this class map.
One or more class maps can be assigned to a policy map (page 651). The policy
map is then bound by a service policy to an interface (page 662). A service
policy defines packet classification, service tagging, and bandwidth policing.
Once a policy map has been bound to an interface, no additional class maps
may be added to the policy map, nor any changes made to the assigned class
maps with the match or set commands.
Example
This example creates a class map call “rd-class,” and sets it to match packets marked
for DSCP service value 3:
Console(config)#class-map rd-class match-any
Console(config-cmap)#match ip dscp 3
Console(config-cmap)#
Related Commands
show class-map (662)
description This command specifies the description of a class map or policy map.Use the no
form of the command to remove the description.
Syntax
description string
no description
string - Description of the class map or policy map. (Range: 1-64 characters)
Command Mode
Class Map Configuration
Policy Map Configuration
Example
Console(config)#class-map rd-class#1
Console(config-cmap)#description matches packets marked for DSCP service
value 3
Console(config-cmap)#