27-26
Cisco ME 3800X and 3600X Switch Software Configuration Guide
OL-23400-01
Chapter 27 Configuring QoS
Configuring QoS
Configuring Input Class Maps
You use the class-map command to name and to isolate a specific traffic flow (or class) from all other
traffic. A class map defines the criteria to use to match against a specific traffic flow to further classify
it. You define match criteria with one or more match statements entered in the class-map configuration
mode. Match statements can include criteria such as an ACL, inner or outer CoS value, DSCP value, IP
precedence values, MPLS experimental labels, or inner or outer VLAN IDs.
In an input policy, the match criteria acts on the packet on the wire before any VLAN-mapping rewrite
operations on ingress.
Beginning in privileged EXEC mode, follow these steps to create a class map and to define the match
criterion to classify traffic:
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
class-map [match-all | match-any]
class-map-name
Create a class map, and enter class-map configuration mode. By default, no
class maps are defined.
•
For class-map-name, specify the name of the class map.
•
(Optional) Use the match-all keyword to perform a logical AND of all
matching statements under this class map. All match criteria in the class
map must be matched.
Note
The match-all keyword is supported only for outer VLAN and inner
VLAN or outer CoS and inner CoS matches for QinQ packets. The
match-all keyword is rejected for all other mutually exclusive match
criteria.
•
(Optional) Use the match-any keyword to perform a logical OR of all
matching statements under this class map. One or more match criteria
must be matched.