Examples For Compiling Acls - Cisco Catalyst 2950 Software Configuration Manual

Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

Chapter 28
Configuring Network Security with ACLs

Examples for Compiling ACLs

For detailed information about compiling ACLs, see the Security Configuration Guide and the "IP
Services" chapter of the Cisco IOS IP and IP Routing Configuration Guide, Cisco IOS Release 12.1.
Figure 28-2
router. A host is connected to the network through the Internet using a WAN link.
Use switch ACLs to do these:
Figure 28-2
workstations
This example uses a standard ACL to allow access to a specific Internet host with the address
172.20.128.64.
Switch(config)# access-list 6 permit 172.20.128.64 0.0.0.0
Switch(config)# end
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# ip access-group 6 in
78-11380-12
shows a small networked office with a number of switches that are connected to a Cisco
Create a standard ACL, and filter traffic from a specific Internet host with an address 172.20.128.64.
Create an extended ACL, and filter traffic to deny HTTP access to all Internet hosts but allow all
other types of access.
Using Switch ACLs to Control Traffic
Internet
Cisco router
End
Workstation
Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide
Examples for Compiling ACLs
28-23

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2955

Table of Contents