30-32
Cisco ME 3400 EthernetAccess Switch SoftwareConfiguration Guide
78-17058-01
Chapter30 Co nf iguring QoS
Configuring QoS
Beginning in privileged EXEC mode, follow these steps to create a class map and to define the match
criterion to classify traffic:
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 class-map [match-all | match-any]
{class-map-name | class-default} Create a class map, and enter class-map configuration mode. By
default, no class maps are defined.
(Optional) Use the match-all keyword to perform a logical-AND
of all matching statements under this class map. All match cr iteria
in the class map must be matched.
(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.
For class-map-name, specify the name of the class map.
Enter class-default to match all unclassified packets.
If no matching statements are specified, the default is match-all.
Note A match-all class map cannot have more than one
classification criterion (match statement).
Step3 match {access-group acl-index-or-name |
cos cos-list | ip dscp dscp-list | ip
precedence ip-precedence-list | qos-group
value}
Define the match criterion to classify traffic. By default, no match
criterion is defined.
Only one match type per class map is supported, and only one ACL per
class map is supported.
For access-group acl-index-or-name, specify the number or name
of an ACL. Matching access groups is supported only in input
policy maps.
For cos cos-list, enter a list of up to four CoS values in a single lin e
to match against incoming packets. Separate each value with a
space. You can enter multiple cos-list lines to match more than
four CoS values. The range is 0 to 7.
For ip dscp dscp-list, enter a list of up to eight IPv4 DSCP values
to match against incoming packets. Separate each value with a
space. You can enter multiple dscp-list lines to match more than
eight DSCP values. The numerical range is 0 to 63. You can also
configure DSCP values in other forms. See the “Classification
Based on IP DSCP” section on page 30-8.
For ip precedence ip-precedence-list, enter a list of up to four
IPv4 precedence values to match against incoming packets.
Separate each value with a space. You can enter multiple
ip-precedence-list lines to match more than four precedence
values. The range is 0 to 7.
For qos-group value, specify the QoS group number. The range is
0 to15. Matching of QoS groups is supported only in output policy
maps.
Step4 end Return to privileged EXEC mode.