QoS Commands
class-map
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide 270
23
The class-map Global Configuration mode command creates or modifies a class
map and enters the Class-map Configuration mode. Use the no form of t his
command to delete a class map.
Syntax
class-map
class-map-name
[match-all | match-any]
no class-map
class-map-name
Parameters
•
class-map-name
— Specifies the name of the class map (Range: 0-32
characters).
•match-all — Checks that the packet matches all classification criteria in the
class map match statement.
•match-any — Checks that the packet matches one or more classification
criteria in the class map match statement.
Default Configuration
By default, the match-all parameter is selected.
Command Mode
Global Configuration mode
User Guidelines
The class-map Global Configuration mode command is used to define packet
classification, marking and aggregate policing as part of a globally named service
policy applied on a per-interface basis.