2-208
Catalyst 2950 and Catalyst 2955 Switch Command Reference
OL-10102-01
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands
match
match
Use the match class-map configuration command to define the match criteria to classify traffic. Use the
no form of this command to remove the match criteria.
match {access-group acl-index | access-group name acl-name | ip dscp dscp-list}
no match {access-group acl-index | access-group name acl-name | ip dscp}
This command is available only if your switch is running the enhanced software image (EI).
Syntax Description
Defaults No match criteria are defined.
Command Modes Class-map configuration
Command History
Usage Guidelines Use the match command to specify which fields in the incoming packets are examined to classify the
packets. Only IP access groups, MAC access groups, and classification based on DSCP values are
supported.
Only one match command per class map is supported.
Note For more information about configuring ACLs, see the “Configuring Network Security with ACLs”
chapter in the software configuration guide for this release.
access-group acl-index Number of an IP standard or extended access control list (ACL).
For an IP standard ACL, the ACL index range is 1 to 99 and 1300 to 1999.
For an IP extended ACL, the ACL index range is 100 to 199 and 2000 to
2699.
access-group name
acl-name
Name of an IP standard or extended ACL or name of an extended MAC ACL.
The ACL name must begin with an alphabetic character to prevent ambiguity
with numbered ACLs. A name also cannot contain a space or quotation mark.
ip dscp dscp-list List of up to eight IP Differentiated Services Code Point (DSCP) values for
each match statement to match against incoming packets. Separate each
value with a space. The supported DSCP values are 0, 8, 10, 16, 18, 24, 26,
32, 34, 40, 46, 48, and 56.
Release Modification
12.1(6)EA2 This command was introduced.