26-16
Catalyst 2950 Desktop Switch Software Configuration Guide
78-14982-01
Chapt er 26 Conf i gurin g QoS
Configuring QoS

Configuring a QoS Policy

Note Th is fea ture is available o nly i f your sw itch i s r unn ing the EI .
Conf iguring a QoS polic y typical ly requires cla ssifying traf f i c into classes, co nf iguring policies applied
to those traffic classes, and attaching policies to interfaces.
For backgro und inf ormati on, see the Classification section o n page 26-4 an d the Po licing and
Marking section on page 26-6 .
This se ctio n c onta ins thi s configu ratio n inf or mat ion:
Classif ying Traffic by Using ACLs, page 26-16
Classifyi ng Traffic by Using Class Ma ps, page 26- 20
Classifyi ng, Polici ng, and Ma rking Traffic by Using Pol icy Maps, page 26 -21

Classifying Traffic by Using ACLs

You can classify IP traff ic by using IP standard or IP extended A CLs; you can classify Layer 2 traff ic by
using Layer 2 MAC ACLs.
Beginning in privileged EXEC mode, follow these steps to create an IP standard ACL for IP traffic:
Command Purpose
Step 1 configure terminal Enter g lo bal c onfigurat ion m ode.
Step 2 access-list access-list-number { permit |
remark} {source source-wildcard | host
source | any}
Create an IP standard ACL, repeating the command as many times as
necessary.
For access-list-number, enter the A CL number . The range is 1 to 99 and
1300 to 1999 .
Enter permit to specify whether to permit access if conditions are
matched.
Enter remark to specify an ACL entry comment up to 100 characters.
Note Deny statements are not supported for QoS ACLs. See the
Classification Based on QoS ACLs section on page 26-5 for
more details.
The source is the source address of the network or host from which th e
packet is bei ng se nt, sp eci fied in o ne of t hree ways:
The 32-bit quantity in dotted decimal format.
The keyword any as an abbreviation for source and
source-wildcard of 0.0.0.0 255.25 5.255. 255. You do not need to
enter a source wildcard.
The keyword host as an abbreviation for source and
source-wildcard of source 0.0. 0.0.
(Optional) The source-wildcard variable applies wildcard bits to the
source (see first bullet item).