38-37
Cisco IE 2000 Switch Software Configuration Guide
OL-25866-01
Chapter 38 Configuring Standard QoS
How to Configure Standard QoS
Creating IP Extended ACLsCreating a Layer 2 MAC ACL for Non-IP Traffic
Command Purpose
Step 1 configure terminal Enters global configuration mode.
Step 2 access-list access-list-number {deny |
permit} protocol source source-wildcard
destination destination-wildcard
Creates an IP extended ACL, repeating the command as many times as
necessary.
access-list-number—Enters the access list number. The range is
100 to 199 and 2000 to 2699.
permit—Permits a certain type of traffic if the conditions are
matched. Use the deny keyword to deny a certain type of traffic if
conditions are matched.
protocol—Enters the name or number of an IP protocol. Use the
question mark (?) to see a list of available protocol keywords.
source—Enters the network or host from which the packet is being
sent. You specify this by using dotted decimal notation, by using
the any keyword as an abbreviation for source 0.0.0.0
source-wildcard 255.255.255.255, or by using the host keyword
for source 0.0.0.0.
source-wildcard—Enters the wildcard bits by placing ones in the
bit positions that you want to ignore. You specify the wildcard by
using dotted decimal notation, by using the any keyword as an
abbreviation for source 0.0.0.0 source-wildcard 255.255.255.255,
or by using the host keyword for source 0.0.0.0.
destination—Enters the network or host to which the packet is
being sent. You have the same options for specifying the
destination and destination-wildcard as those described by source
and source-wildcard.
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 end Returns to privileged EXEC mode.
Command Purpose
Step 1 configure terminal Enters global configuration mode.
Step 2 mac access-list extended name Creates a Layer 2 MAC ACL by specifying the name of the list.
After entering this command, the mode changes to extended MAC
ACL configuration.