16- and 36-Port Ethernet Switch Module for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series
class-map
163
Cisco IOS Release 12.2(2)XT, 12.2(8)T, and 12.2(15)ZJ
class-map
To create a class map to be used for matching packets and to enter class-map configuration mode, use
the class-map command in global configuration mode. To delete an existing class map, use the no form
of this command.
class-map class-map-name
no class-map class-map-name
Syntax Description
Defaults
No class maps are defined.
Command Modes
Global configuration
Command History
Usage Guidelines
Use this command to specify the name of the class for which you want to create or modify class-map
match criteria and to enter class-map configuration mode. In this mode, you can enter one match
command to configure the match criteria for this class.
The class-map command and its subcommands are used to define packet classification and marking as
part of a globally named service policy applied on a per-interface basis.
In quality of service (QoS) class-map configuration mode, these configuration commands are available:
•
exit: exits from QoS class-map configuration mode.
•
no: removes a match statement from a class map.
•
match: configures classification criteria. For more information, see the match class-map
configuration command.
Only one match criteria per class map is supported. For example, when defining a class map, only one
match command can be entered.
Only one access control list (ACL) can be configured in a class map. The ACL can have multiple access
control entries (ACEs).
Note
The switch does not support any deny conditions in an ACL configured in a class map.
class-map-name
Name of the class map.
Release
Modification
12.1(6)EA2
This command was introduced.
12.2(15)ZJ
This command was implemented on the following platforms: Cisco 2600
series, Cisco 3600 series, and Cisco 3700 series routers.