Reference Guide

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. The
default is Layer 3.
Defaults Layer 3
Command Modes CONFIGURATION
Command History
Version 8.3.11.1 Introduced on the Z9000.
Version 8.3.7.0 Introduced on the S4810.
Version 8.2.1.0 Class-map names can be 32 characters. Layer2 available on the C-
Series and S-Series.
Version 7.6.1.0 Introduced on the S-Series.
Version 7.5.1.0 Introduced on the C-Series.
Version 7.4.1.0 E-Series Only: Expanded to add support for Layer 2.
Usage
Information
Packets arriving at the input interface are checked against the match criteria and configured
using this command to determine if the packet belongs to that class. This command accesses
CLASS-MAP mode, where the configuration commands include thematch ip and match
mac
options.
Related
Commands
ip access-list extended – configures an extended IP ACL.
ip access-list standard – configures a standard IP ACL.
match ip access-group – configures the match criteria based on the access control list (ACL).
match ip precedence – identifies the IP precedence values as match criteria.
match ip dscp – configures the match criteria based on the DSCP value.
match mac access-group – configures a match criterion for a class map based on the contents
of the designated MAC ACL.
match mac dot1p – configures a match criterion for a class map based on a dot1p value.
match mac vlan – configures a match criterion for a class map based on VLAN ID.
service-queue – assigns a class map and QoS policy to different queues.
show qos class-map – views the current class map information.
clear qos statistics
Clears Matched Packets, Matched Bytes, and Dropped Packets. For TeraScale, clears Matched Packets, Matched
Bytes, Queued Packets, Queued Bytes, and Dropped Packets.
C-Series, E-Series, S-Series, Z-Series, S4810
Syntax
clear qos statistics interface-name
1330