Users Guide

Table Of Contents
Default Not congured
Command Mode CLASS-MAP
Usage Information In a match-any class, you can enter multiple match criteria. In a match-all class, if the match case is
access-group, no other match criteria is allowed. If you attach the access-list to class-map type
control—plane
or qos, the access-list (IPv4, IPv6) ignores the permit and deny keywords.
Example
OS10(conf-cmap-qos)# match ip access-group name ag1
OS10(config-cmap-qos)# match ipv6 access-group name ACLv6
Supported Releases 10.2.0E or later
match cos
Matches a cost of service (CoS) value to L2 dot1p packets.
Syntax
match [not] cos cos-value
Parameters
cos-value — Enter a CoS value, from 0 to 7.
not — Enter not to cancel the match criteria.
Default Not congured
Command Modes CLASS-MAP
Usage Information You cannot have two match statements with the same lter-type. If you enter two match statements with the
same lter-type, the second statement overwrites the rst statement.
Example
OS10(conf-cmap-qos)# match cos 3
Supported Releases 10.2.0E or later
match dscp
Congures a DSCP value as a match criteria for a class-map.
Syntax
match [not] {ip | ipv6 | ip-any } dscp [dscp-value] [ecn ecn-value]
Parameters
not — (Optional) Enter to cancel a previously applied match criteria.
ip — Enter to use IPv4 as the match protocol.
ipv6 — Enter to use IPv6 as the match protocol.
ip-any — Enter to use both IPv4 and IPv6 as the match protocol.
dscp dscp-value — Enter a DSCP value in single numbers, comma separated, or a hyphenated range,
from 0 to 63.
ecn ecn-value — (Optional) Enter a ECN value for ECN bit match criteria, from 0 to 3.
Default Not congured
Command Mode CLASS-MAP
Usage Information You cannot enter two match statements with the same lter-type. If you enter two match statements with the
same lter-type, the second statement overwrites the rst statement. The match-all option in a class-map
1158 Quality of service