Creating A Numbered Extended Acl - Cisco 2950 - Catalyst Switch Configuration Manual

Software configuration guide
Hide thumbs Also See for 2950 - Catalyst Switch:
Table of Contents

Advertisement

Configuring ACLs
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 on physical interfaces (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 29-3
Table 29-3 Filtering Parameter ACEs Supported by Different IP Protocols
Filtering Parameter
Layer 3 Parameters:
Layer 4 Parameters
1. X in a protocol column means support for the filtering parameter.
2. No support for type of service (ToS) minimize monetary cost bit.
For more details about the specific keywords relative to each protocol, refer to the Cisco IP and IP
Routing Command Reference, Cisco IOS Release 12.1.
Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide
29-10
deny
171.69.198.102
permit any
TCP
UDP
lists the possible filtering parameters for ACEs for each protocol type.
1
IP type of service (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
Chapter 29
TCP
2
X
X
X
X
X
X
X
X
Configuring Network Security with ACLs
UDP
X
X
X
X
X
X
X
X
78-11380-10

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2955

Table of Contents