Creating A Numbered Extended Acl - Cisco Catalyst 2950 Software Manual

Desktop switch software configuration guide
Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

Chapter 12
Configuring Network Security with ACLs
When creating an ACL, remember that, by default, the end of the ACL contains an implicit deny
Note
statement for all packets that it did not find a match for before reaching the end. With standard access
lists, if you omit the ask from an associated IP host address ACL specification, 0.0.0.0 is assumed to be
the mask.
This example shows how to create a standard ACL to deny access to IP host 171.69.198.102, permit
access to any others, and display the results.
Switch (config)# access-list 2 deny host 171.69.198.102
Switch (config)# access-list 2 permit any
Switch(config)# end
Switch# show access-lists
Standard IP access list 2

Creating a Numbered Extended ACL

Although standard ACLs use only source addresses for matching, you can use an extended ACL source
and destination addresses for matching operations and optional protocol type information for finer
granularity of control. Some protocols also have specific parameters and keywords that apply to that
protocol.
These IP protocols are supported (protocol keywords are in parentheses in bold): Internet Protocol (ip),
Transmission Control Protocol (tcp), or User Datagram Protocol (udp).
Supported parameters can be grouped into these categories:
Table 12-3
Table 12-3 Filtering Parameter ACEs Supported by Different IP Protocols
Filtering Parameter
Layer 3 Parameters:
Layer 4 Parameters
78-11380-03
deny
171.69.198.102
permit any
TCP
UDP
lists the possible filtering parameters for ACEs for each protocol type.
1
2
IP ToS byte
Differentiated Services Code Point (DSCP)
IP source address
IP destination address
Fragments
TCP or UDP
Source port operator
Source port
Destination port operator
Destination port
TCP flag
TCP
X
X
X
X
X
X
X
Catalyst 2950 Desktop Switch Software Configuration Guide
Configuring ACLs
UDP
X
X
X
X
X
X
X
12-9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents