Command Line Reference Guide
Related
Commands
qos-policy-output – creates a QoS output policy.
class-map
Create/access a class map. Class maps differentiate traffic so that you can apply separate quality of service policies to
each class.
S5000
Syntax
class-map {match-all | match-any} class-map-name [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 considered 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 considered
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).
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
Version 9.0(1.3) Introduced on the S5000.
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.
Related
Commands
ip access-list extended – configures an extended IP ACL.
ip access-list standard – configures a standard IP ACL.
match ip access-group – configures the match criteria based on the access control list (ACL).
match ip precedence – identifies the IP precedence values as match criteria.
match ip dscp – configures the match criteria based on the DSCP value.
match mac access-group – configures a match criterion for a class map based on the contents
of the designated MAC ACL.
match mac dot1p – configures a match criterion for a class map based on a dot1p value.
1042