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 MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

delete access-list entries????

Status
Not open for further replies.

ianbla

IS-IT--Management
Oct 31, 2001
156
GB
Probably a simple answer.

How do I delete an entry within an access list without deleting the whole access-list and having to type it all in again?

cheers
Ian.
 
Simple answer is you can't.

However you could copy the access list part of the config into a text editor on your PC, and delete the entries you nedd to be rid of. Then delete the whole access list (no access-list......)from the router and re-enter the amended access list by copy and paste from your PC.

Sounds like a faff, but it will save some typing with a long list.

 
Damn.

A bit silly of Cisco not to allow you to delete only certain entries.
 
u can actually do that with named extended access lists.. however, the last entry u make will be at the bottom of the list, so be sure to have them in right, as the router reads each line by line, till a match is found, and the list is not read any further..

u should always remember that there's an implicit deny at the end of each access list, so unless u want your interface shutdown, remember to permit any other traffic to/from the internet..

good luck..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top