qos class-map
To create and define a traffic class with match criteria that will be used to identify traffic, use the qos class-map command in configuration mode. To remove a previously-configured class, use the no form of the command.
qos class-map class [match-all | match-any]
no qos class-map class
Syntax Description
class-name |
Specifies a class map name. Maximum length is 63 alphanumeric characters. |
match-all |
(Optional) Specifies a logical AND operator for all matching statements in this class. (default). |
match-any |
(Optional) Specifies a logical OR operator for all matching statements in this class. |
Command Default
match-all
Command Modes
Configuration mode.
Command History
Release |
Modification |
---|---|
1.0(2) |
This command was introduced. |
Usage Guidelines
You can access this command only if you enable the QoS data traffic feature using the qos enable command.
Examples
The following example shows how to create a QoS class map and enter class map configuration mode:
switch# config terminal
switch(config)# qos class-map MyClass1
switch(config-cmap)#