
QoS Commands
class-map
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide
270
23
class-map
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 this
command to delete a class map.
Syntax
class-map
class-map-name
[match-all |
m
atch-any]
no class-map
class-map-name
Parameters
•
class-map-name
— Specifies the name of the class map (Range: 0-32
characters).
•
m
atch-all — Checks that the packet matches all classification criteria in the
class map match statement.
•
m
atch-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.