API Guide

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 configured
Command Modes CLASS-MAP
Usage
Information
You cannot have two match statements with the same filter-type. If you enter two match statements
with the same filter-type, the second statement overwrites the first statement.
Example
OS10(conf-cmap-qos)# match cos 3
Supported
Releases
10.2.0E or later
match dscp
Configures 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 configured
Command Mode CLASS-MAP
Usage
Information
You cannot enter two match statements with the same filter-type. If you enter two match statements
with the same filter-type, the second statement overwrites the first statement. The match-all option
in a class-map does not support ip-any. Select either ip or IPv6 for the match-all criteria. If you
select ip-any, you cannot select ip or ipv6 for the same filter type.
Example
OS10(conf-cmap-qos)# match ip-any dscp 17-20
Supported
Releases
10.2.0E or later
match precedence
Configures IP precedence values as a match criteria.
Syntax
match [not] {ip | ipv6 | ip-any} precedence precedence-list
Parameters
not Enter to cancel a previously applied match precedence rule.
ip Enter to use IPv4 as the match precedence rule.
ipv6 Enter to use IPv6 as the match precedence rule.
ip-any Enter to use both IPv4 and IPv6 as the match precedence rule.
precedence precendence-list Enter a precedence-list value, from 0 to 7.
Quality of service 1235