Reference Guide
Quality of Service (QoS) | 1221
Parameters
Defaults
Layer 3
Command Modes
CONFIGURATION
Command
History
Usage
Information
Packets arriving at the input interface are checked against the match criteria, configured using 
this command, to determine if the packet belongs to that class. This command accesses the 
CLASS-MAP mode, where the configuration commands include 
match ip and match mac 
options.
Related
Commands
match-all 
Determines how packets are evaluated when multiple match criteria 
exist. Enter the keyword 
match-all to determine that the packets 
must meet all the match criteria in order to be considered a member 
of the class. 
match-any 
Determines how packets are evaluated when multiple match criteria 
exist. Enter the keyword 
match-any to determine that the packets 
must meet at least one of the match criteria in order to be considered 
a member of the class.
class-map-name
Enter a name of the class for the class map in a character format (32 
character maximum).
layer2
Enter the keyword layer2 to specify a Layer 2 Class Map. 
Default: Layer 3
Version 8.3.19.0 Introduced on S4820T
Version 8.3.7.0 Introduced on S4810 
Version 8.2.1.0 Class-map names can be 32 characters. 
layer2 available on C-Series and 
S-Series.
Version 7.6.1.0 Introduced on S-Series
Version 7.5.1.0 Introduced on C-Series
Version 7.4.1.0 E-Series Only: Expanded to add support for Layer 2
ip access-list extended Configure an extended IP ACL.
ip access-list standard Configure a standard IP ACL.
match ip access-group Configure the match criteria based on the access control list (ACL)
match ip precedence Identify IP precedence values as match criteria
match ip dscp Configure the match criteria based on the DSCP value
match mac access-group Configure a match criterion for a class map, based on the contents of 
the designated MAC ACL.
match mac dot1p Configure a match criterion for a class map, based on a dot1p value.
match mac vlan Configure a match criterion for a class map based on VLAN ID.
service-queue Assign a class map and QoS policy to different queues.
show qos class-map View the current class map information.










