API Guide
Usage
Information
If you define a class-map under a policy-map, the qos, queuing, or control-plane type is the same
as the policy-map. You must create this map in advance. The only exception to this rule is when the
policy-map type is trust, where the class type must be qos.
Example
OS10(conf-pmap-qos)# class c1
Supported
Releases
10.2.0E or later
class-map
Creates a QoS class-map that filters traffic to match packets to the corresponding policy created for your network.
Syntax
class-map [type {qos | queuing | control-plane}] [{match-any | match-all}]
class-map-name
Parameters
● type — Enter a class-map type.
● qos — Enter a qos type class-map.
● queuing — Enter a queueing type class-map.
● control-plane — Enter a control-plane type class-map.
● match-all — Determines how packets are evaluated when multiple match criteria exist. Enter the
keyword to determine that all packets must meet the match criteria to be assigned to a class.
● match-any — Determines how packets are evaluated when multiple match criteria exist. Enter the
keyword to determine that packets must meet at least one of the match criteria to be assigned to a
class.
● class-map-name — Enter a class-map name. A maximum of 32 characters.
Defaults
● qos — class-map type
● match-any — class-map filter
Command Mode CLASS-MAP-QOS
Usage
Information
Apply match-any or match-all class-map filters to control-plane, qos, and queuing type class-
maps.
Example
OS10(config)# class-map type qos match-all c1
OS10(conf-cmap-qos)#
Command
History
10.2.0E or later
clear qos statistics
Clears all QoS-related statistics in the system, including PFC counters.
Syntax
clear qos statistics
Parameters None
Default Not configured
Command Mode EXEC
Usage
Information
None
Example
OS10# clear qos statistics
Supported
Releases
10.2.0E or later
Quality of service 1231