
29-44
Catalyst 3550 Multilayer Switch Software Configuration Guide
78-11194-09
Chapter 29 Configuring QoS
Configuring Standard QoS
Step 3
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 access-list name
{permit | deny} {source-MAC-addr mask |
any | host} {destination-MAC-addr mask |
any | host} [ethertype]
Create 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
“Classifying Traffic by Using ACLs”
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 4
class-map [match-all | match-any]
class-map-name
Create a class map to classify traffic as necessary. For more
information, see the
“Classifying Traffic on a Physical-Port Basis by
Using Class Maps” section on page 29-39
and the
on a Per-Port Per-VLAN Basis by Using Class Maps” section on
page 29-41
.
Step 5
mls qos cos policy-map
(Optional) Define the CoS value of a port in a policy map. When you
enter this command, you must also enter the trust dscp policy-map
configuration command in Step 8 and the set cos new-cos policy-map
configuration command in Step 9.
Step 6
policy-map policy-map-name
Create a policy map by entering the policy map name, and enter
policy-map configuration mode.
By default, no policy maps are defined.
The default behavior of a policy map is to set the DSCP to 0 if the
packet is an IP packet and to set the CoS to 0 if the packet is tagged. No
policing is performed.
Step 7
class class-map-name
Define a traffic classification, and enter policy-map class configuration
mode.
By default, no policy map class-maps are defined.
If a traffic class has already been defined by using the class-map global
configuration command, specify its name for class-map-name in this
command.
Command
Purpose