27-7
Catalyst 3560 Switch Software Configuration Guide
78-16156-01
Chapter 27 Configuring Network Security with ACLs
Configuring IP ACLs
Creating Standard and Extended IP ACLs
This section describes IP ACLs. An ACL is a sequential collection of permit and deny conditions. The
switch tests packets against the conditions in an access list one by one. The first match determines
whether the switch accepts or rejects the packet. Because the switch stops testing conditions after the
first match, the order of the conditions is critical. If no conditions match, the switch denies the packet.
The software supports these types of ACLs or access lists for IP:
• Standard IP access lists use source addresses for matching operations.
• Extended IP access lists use source and destination addresses for matching operations and optional
protocol-type information for finer granularity of control.
These sections describe access lists and how to create them:
• Access List Numbers, page 27-7
• Creating a Numbered Standard ACL, page 27-8
• Creating a Numbered Extended ACL, page 27-10
• Creating Named Standard and Extended ACLs, page 27-14
• Using Time Ranges with ACLs, page 27-16
• Including Comments in ACLs, page 27-18
Access List Numbers
The number you use to denote your ACL shows the type of access list that you are creating. Table 27-1
lists the access-list number and corresponding access list type and shows whether or not they are
supported in the switch. The switch supports IP standard and IP extended access lists, numbers 1 to 199
and 1300 to 2699.
Table 27-1 Access List Numbers
Access List Number Type Supported
1–99 IP standard access list Yes
100–199 IP extended access list Yes
200–299 Protocol type-code access list No
300–399 DECnet access list No
400–499 XNS standard access list No
500–599 XNS extended access list No
600–699 AppleTalk access list No
700–799 48-bit MAC address access list No
800–899 IPX standard access list No
900–999 IPX extended access list No
1000–1099 IPX SAP access list No
1100–1199 Extended 48-bit MAC address access list No
1200–1299 IPX summary address access list No