Specifications
2-367
Catalyst 4500 Se ries S wit ch C is co IO S C om mand R efer ence —Re lease I OS XE 3 .3.0 XO(1 5.1 (1)XO)
OL_28738 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
match (class-map configuration)
match (class- map configura tion)
To define the match criteria for a class map, use the match class-map configuration command. To
remove the match criteria, use the no form of this command.
match {access-group acl-index-or-name | cos cos-list | [lp] dscp dscp-list | [lp] precedence
ip-precedence-list | qos-group value | protocol [ip | ipv6 | arp]
no match {access-group acl-index-or-name | cos cos-list | [lp] dscp dscp-list | [ lp] precedence
ip-precedence-list | qos-group value | protocol [ip | ipv6 | arp]
Syntax Description
Defaults No match criteria are defined.
Command Modes Class-map c onfiguration mode
access-group
acl-index-or-name
Number or name of an IP standard or extende d access control list (ACL) or
MAC ACL. For an IP standard ACL, t he ACL index range is 1 to 99 an d 1300
to 1999. For an IP extended ACL, the ACL index range is 100 to 199 and
2000 to 2699.
cos cos-list Lists up to four Layer 2 class of service (CoS) values to match against a
packet. Separate each value with a space. The range is 0 to 7.
[lp] dscp dscp-list (Optional) IP keyword. It specifies that the match is for IPv4 packets only. If
not used, the match is for both IPv4 and IPv6 packets.
Lists up to eight IP Differentiated Services Code Point (DSCP) values to
match against a packet. Separate each value with a space. The range is 0 to
63. You also can enter a mnemonic name for a commonly us ed value.
[lp] precedence
ip-precedence-list
(Optional) IP keyword. It specifies that the match is for IPv4 packets only. If
not used, the match is for both IPv4 and IPv6 packets.
Lists up to eight IP-precedence values to match against a packet. Separate
each value with a space. The range is 0 to 7. You also can enter a mnemonic
name for a commonly used value.
qos-group value Specifies the internally generated qos-group value assigned to a packet on
the input qos classification.
protocol ip Specifies IP in the Ethernet header. Tho ugh visi ble in the comma nd-line help
strings, the only protocol types su pported are IP, IPv6, and A RP.
protocol ipv6 Specifies IPv6 in the Ethernet header. Though visible in the command-line
help strings the only pr otocol types su pported are IP, I Pv6, and ARP.
protocol arp Specifies ARP in the Ethernet header. Though visible in the command-line
help strings the only pr otocol types su pported are IP, I Pv6, and ARP.