Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Editing ACLs

I've got an ACL that's about 300 lines long. I want to remove the 4th item from the top. I also want to insert 2 entries below line number 7. How do I do this?

3 REPLIES
New Member

Re: Editing ACLs

Copy - Paste the whole access-list to a text editor, edit it, delete the old access-list on the router and copy the new access-list to the device.

Have a look for the "ip access-group" configured on the interface!

New Member

Re: Editing ACLs

I'm sorry I posted this in the wrong forum. This ment to go in the pix forum. Do I have to do this on a PIX too? I know that's the way it's done on a cisco router... that's the way I've alwasy done it at least... but is the PIX the same way? I figured it would be more devoloped them that.

New Member

Re: Editing ACLs

I would do the copy and paste using the text editor as suggested, but what I have done in the past for backup reasons is rename the ACL after you make the changes. This way you can leave the current ACL running until you are ready to switch ACL's. Once both ACL's are on the device, you can change the access-group command to switch to the new ACL. You can leave the old ACL on the device for a few days. If you run into any issues with the new ACL, all you have to do is change access-group command to go back to the old ACL.

I hope that make sense.

100
Views
0
Helpful
3
Replies