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

Desktop switch
Hide thumbs Also See for 2950G 24 - 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 25-3
Table 25-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 for IOS Release 12.1.
Catalyst 2950 Desktop Switch Software Configuration Guide
25-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 25
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-14982-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2950

Table of Contents