38-39
Cisco IE 2000 Switch Software Configuration Guide
OL-25866-01
Chapter 38 Configuring Standard QoS
How to Configure Standard QoS
Command Purpose
Step 1 configure terminal Enters global configuration mode.
Step 2 access-list access-list-number {deny |
permit} source [source-wildcard]
or
access-list access-list-number {deny |
permit} protocol source [source-wildcard]
destination [destination-wildcard]
or
mac access-list extended name
{permit | deny} {host src-MAC-addr mask
| any | host dst-MAC-addr | dst-MAC-addr
mask} [type mask]
Creates an IP standard or extended ACL for IP traffic or a Layer 2
MAC ACL for non-IP traffic, repeating the command as many times as
necessary.
For more information, see the “Creating IP Standard ACLs” section on
page 38-36.
Note When creating an access list, remember that, by default, the
end of the access list contains an implicit deny statement for
everything if it did not find a match before reaching the end.
Step 3 class-map [match-all | match-any]
class-map-name
Creates a class map, and enters class-map configuration mode.
By default, no class maps are defined.
(Optional) match-all—Performs a logical-AND of all matching
statements under this class map. All match criteria in the class map
must be matched.
(Optional) match-any—Performs a logical-OR of all matching
statements under this class map. One or more match criteria must
be matched.
class-map-name—Specifies the name of the class map.
If neither the match-all or match-any keyword is specified, the default
is match-all.
Note Because only one match command per class map is supported,
the match-all and match-any keywords function the same.
Step 4 match {access-group acl-index-or-name |
ip dscp dscp-list | ip precedence
ip-precedence-list}
Defines the match criterion to classify traffic.
By default, no match criterion is defined.
Only one match criterion per class map is supported, and only one ACL
per class map is supported.
access-group acl-index-or-name—Specifies the number or name
of the ACL created in Step 2.
ip dscp dscp-list—Enters a list of up to eight IP DSCP values to
match against incoming packets. Separate each value with a space.
The range is 0 to 63.
ip precedence ip-precedence-list—Enters a list of up to eight
IP-precedence values to match against incoming packets. Separate
each value with a space. The range is 0 to 7.
Step 5 end Returns to privileged EXEC mode.