QoS Commands
class-map
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
381
28
Example
The following example defines a traffic classification (class map) called class1
containing an ACL called enterprise. The class is in a policy map called policy1.
The policy-map policy1 now contains the ACL enterprise.
switchxxxxxx(config)#
policy-map policy1
switchxxxxxx(config-pmap)#
class class1
class-map
To create or modify a class map and enter the Class-Map Configuration mode, use
the class-map Global Configuration mode command and its subcommands.
To delete a class map, use the no form of this command.
NOTE
All class map commands are available only when the switch is in QoS advanced
mode.
Syntax
class-map
class-map-name
[match-any]
no class-map
class-map-name
Parameters
•
class-map-name
—The class map name.
•
match-any—(Optional) Performs a logical OR of the criteria of ACLs
belonging to this class map. Only a single match criteria in this class map
must be matched.
Default Configuration
N/A
Command Mode
Global Configuration mode
User Guidelines
A class map consists of one or more ACLs. It defines a traffic flow by determining
which packets match some or all of the criteria specified in the ACLs.