match (class-map configuration)
To define the match criteria to classify traffic, use the match command in class-map configuration mode. Use
the no form of this command to remove the match criteria.
match {access-group{nameacl-name | acl-index}| class-map class-map-name| cos cos-value| dscp dscp-value|
[ ip ] dscp dscp-list | [ip] precedence ip-precedence-list| precedence precedence-value1...value4| qos-group
qos-group-value| vlan vlan-id}
no match {access-group{nameacl-name | acl-index}| class-map class-map-name| cos cos-value| dscp
dscp-value| [ ip ] dscp dscp-list | [ip] precedence ip-precedence-list| precedence precedence-value1...value4|
qos-group qos-group-value| vlan vlan-id}
Syntax Description
Specifies an access group.access-group
Specifies the name of an IP standard or extended access
control list (ACL) or MAC ACL.
name acl-name
Specifies the number of an IP standard or extended access
control list (ACL) or MAC 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.
acl-index
Uses a traffic class as a classification policy and specifies
a traffic class name to use as the match criterion.
This command is not supported in Cisco IOS XE
Everest 16.5.1a.
Note
class-map class-map-name
Matches a packet on the basis of a Layer 2 class of service
(CoS)/Inter-Switch Link (ISL) marking. The cos-value is
from 0 to 7. You can specify up to four CoS values in one
match cos statement, separated by a space.
cos cos-value
Specifies the parameters for each DSCP value. You can
specify a value in the range 0 to 63 specifying the
differentiated services code point value.
dscp dscp-value
Specifies a list of up to eight IP Differentiated Services
Code Point (DSCP) values to match against incoming
packets. Separate each value with a space. The range is 0
to 63. You also can enter a mnemonic name for a
commonly used value.
ip dscp dscp-list
Specifies a list of up to eight IP-precedence values to match
against incoming packets. Separate each value with a space.
The range is 0 to 7. You also can enter a mnemonic name
for a commonly used value.
ip precedence ip-precedence-list
Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 3650 Switches)
647
match (class-map configuration)