Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Equipment Support » Hardware By Brand » Cisco » Question regarding named extended ACL lists
Search Topic:
Uniqs:
89
Share Topic:
RSS topic:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
[HELP] 2501 and 1900 with Fiber »
« 831 and SDM 2.2A  
AuthorAll Replies

irotas

join:2005-12-30
Arlington, MA


edit:
January 6th, @11:08PM

Question regarding named extended ACL lists

I have a Catalyst 2950 running IOS 12.1. Basically what I want to accomplish is the following:

By default, everyone is allowed to use the switch. However, occasionally I may determine that a particular host (defined by source address and source port) is malicious, and shall be denied access to the switch.

I am currently using a named ACL list because it's easier to maintain the list (e.g., I can remove entries without recreating the entire list).

Also, I am using the extended format, because I want to also specify the source port when blocking a host.

Since there is an implicit 'deny all' at the bottom of the list, I always end the list with 'permit any'

The trouble is that when inserting new rules, the new rule goes in *after* the 'permit any'. Therefore, what I am doing to correct that is to remove the 'permit any' and re-insert it, which puts it at the end of the list.

The problem is, when I remove the 'permit any', *all* traffic is denied until I re-insert the 'permit any' at the end. This side-effect is unacceptable in the environment where the switch is to be deployed.

What's strange is that standard ACL lists actually keep the 'permit any' at the bottom of the list when new rules are inserted. I don't understand why standard and extended behave differently here.

Anyhow, I'm sure there's some clever way to do what I need without this nasty side-effect. Anyone have any ideas?

Another constraint is that there are tight constraints on the latency of inserting the rule. The environment requires the rule become active very quickly, which probably rules out any solutions using tftp.

Thanks again,
Adam

thebajaguy
Premium
join:2006-01-06
Oaklyn, NJ
·Verizon BroadbandA..

I have the same issue when I mess with ACL's on routers. I use ACL's 100 and 101 normally, but my updates get done to 110, 111, 112, etc. You have to negate them first, then refeed the entire list back in the order you want. Then just tell the port (or interface) in question to switch to that ACL name/number. I haven't tried it on a switch, but it may do what you want.

csalazarv
Premium
join:2004-01-21
Costa Rica

edit:
January 7th, @06:33AM

reply to irotas
Take a look at this thread and specifically the fourth post and on

»Cisco 12000 ISO - access-list deny , its about ACLs on routers but it might work too on switches

vipergg

join:2003-12-17

reply to irotas
I know on newer codes , think it is 12.2 and above the ACE's have numbers in front of the entrys and you can put any new entry basically where you want but that doesn't help you because I don't think 2950's have code in the 12.2 train at this point only 12.1 . You can check though by doing a "show access-lists" and see if they display numbers in front of the entrys .

irotas

join:2005-12-30
Arlington, MA

reply to irotas
The version of IOS currently on the 2950 does not have the sequence number in front of the ACL entries.

So the obvious next question is, how hard/risky is it to upgrade the switch to a newer version of IOS that supports these sequence numbers?

The switch is in a development lab at the moment, so downtime is not an issue.

Thanks again,
Adam

Phraxos
Premium
join:2004-06-12
UK

It's no harder than upgrading a router really and there are similar mechanisms for recovering the situation if you really screw up and have a bad flash

If you have access to the images you should also be able to find instructions on the cisco site but there are also instrucitons in the FAQ here »Cisco Forum FAQ »How do I upgrade an IOS tar file on a 2950 Catalyst switch?


sporkme
drop the crantini and move it, sister
Premium,MVM
join:2000-07-01
Morristown, NJ
·Optimum Online

reply to irotas
Have you looked at any of the nifty scripts out there that do this?

»easynews.dl.sourceforge.net/sour···1.03.txt

Ed, the guy that wrote this, uses this all the time at Panix on live stuff.
--
enjoy zesty ranch man-flavored baby tacos responsibly
Forums » Equipment Support » Hardware By Brand » Cisco[HELP] 2501 and 1900 with Fiber »
« 831 and SDM 2.2A  


Thursday, 08-Jan 01:43:56 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 9 years online! © 1999-2009 dslreports.com.
page compression OFF
Most commented news this week
· [160] New Comcast Throttling System 100% Online
· [111] After 10 Years Of Service, Charter Declares Home 'Unserviceable'
· [105] iTunes Dumps The DRM
· [71] AT&T, Verizon Stocks Tumble
· [54] Feds Start Wait List For DTV Converter Coupons
· [52] Cable To Grab 75% Of New Subs In 2009
· [47] DOCSIS 3.0 Gets Faster
· [39] Verizon Again Tweaks DSL Bundles
· [38] Netflix Via LG HDTVs
· [36] New Zealand's 'One Strike' Piracy Law
Most people now reading
· [ Professions] Northrend Herbalism and Mining Tracks [World of Warcraft]
· cashing a check for my child [General Questions]
· Can't order UVerse and then cancel TV later [AT&T U-verse]
· What the heck is going on in SoCal? [Road Runner]
· Powering AC worklights off of DC batteries [Home Repair & Improvement]
· MLPPP: Fail - ERX06 [TekSavvy]
· Bandwidth Limits - All discussion here [Comcast HSI]
· What's the issue with shipping to a PO Box? [General Questions]
· [Vista] Vista Media Center - DVR-MS vs. WTV [Microsoft help]