04-17-2003 10:28 AM - edited 03-09-2019 02:57 AM
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?
04-17-2003 10:55 AM
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!
04-17-2003 11:05 AM
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.
04-22-2003 07:36 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide