Developers Guide

Table Of Contents
class-map
Create/access a class map. Class maps differentiate traffic so that you can apply separate quality-of-service policies to each
class.
Syntax
class-map {match-all | match-any} class-map-name [cpu-qos] [layer2]
Parameters
match-all Determines how packets are evaluated when multiple match criteria exist. Enter
the keywords match-all to determine that the packets must meet all the match
criteria in order to be a member of the class.
match-any Determines how packets are evaluated when multiple match criteria exist. Enter
the keywords match-any to determine that the packets must meet at least one of
the match criteria in order to be a member of the class.
class-map-name Enter a name of the class for the class map in a character format (32 character
maximum).
cpu-qos Enter the keyword cpu-qos to assign this Class Map to control plane traffic only
(CoPP).
layer2 Enter the keyword layer2 to specify a Layer 2 Class Map. The default is Layer 3.
Defaults Layer 3
Command Modes CONFIGURATION
Command
History
This guide is platform-specific. For command information about other platforms, see the relevant Dell
EMC Networking OS Command Line Reference Guide.
Version Description
9.10(0.1) Introduced on the S6010-ON and S4048T-ON.
9.10(0.0) Introduced on the S3148.
9.10(0.0) Introduced on the S6100-ON.
9.8(2.0) Introduced on the S3100 series.
9.8(1.0) Introduced on the Z9100-ON.
9.8(0.0P5) Introduced on the S4048-ON.
9.8(0.0P2) Introduced on the S3048-ON.
9.7(0.0) Introduced on the S6000-ON.
9.2(1.0) Introduced on the Z9500.
9.0.2.0 Introduced on the S6000.
8.3.19.0 Introduced on the S4820T.
8.3.11.1 Introduced on the Z9000.
8.3.7.0 Introduced on the S4810.
8.2.1.0 Class-map names can be 32 characters. Layer2 available on the C-Series and S-
Series.
7.6.1.0 Introduced on the S-Series.
7.5.1.0 Introduced on the C-Series.
7.4.1.0 E-Series Only: Expanded to add support for Layer 2.
Usage
Information
Packets arriving at the input interface are checked against the match criteria and configured using this
command to determine if the packet belongs to that class. This command accesses CLASS-MAP mode,
where the configuration commands include thematch ip and match mac options.
When you create a class map to filter protocol traffic for CoPP, you must enter the keyword cpu-qos .
Quality of Service (QoS) 1221