Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cisco 3640 ACL Question

Status
Not open for further replies.
Joined
Aug 6, 2003
Messages
83
Location
US
To deny in and out access via ACL on a Cisco 3640...

Suppose this is the ip of the offender or offending one..(Porn spammers)

Query : Offical Name = Aliases =
Addresses = 211.161.159.169


What would teh deny and permit statements look like, I'm haveing a bit of difficluty..

Other than Ciscoworks, is there a software or utility for editing and loading ACL's?
 
access-list 10 deny host 211.161.159.169
access-list 10 permit any

int x/x
ip access-group 10 in

This would block any ip traffic from that source address, then allow any other traffic in.

You could limit to certain ports using an extended list if you wanted.

Another way would be to define a static route to that address with the next hop to null0, this way return traffic is dropped, may be more efficient than an access list.

ip route 211.161.159.169 255.255.255.255 null0
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top