33-48
Cisco ME 3400 Ethernet Access Switch Software Configuration Guide
OL-9639-06
Chapter 33 Configuring QoS
Configuring QoS
Creating Child-Policy Class Maps
Beginning in privileged EXEC mode, follow these steps to create one or more child-policy class maps:
Command Purpose
Step 1 configure terminal Enter global configuration mode.
Step 2 class-map [match-all | match-any]
child-class-map-name 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 criteria 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.
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).
Step 3 match {access-group
acl-index-or-name | cos cos-list | ip dscp
dscp-list | ip precedence
ip-precedence-list | qos-group value |
vlan vlan-list}
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 line
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 33-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
to99. Matching of QoS groups is supported only in output policy
maps.
For vlan vlan-list, specify a VLAN ID or a range of VLANs to be
used in a parent policy map for per-port, per-VLAN QoS on a trunk
port. The VLAN ID range is 1 to 4094.
Step 4 end Return to privileged EXEC mode.