03-28-2008 06:26 AM - edited 03-11-2019 05:23 AM
I want to resequence an access-list on my pix, what is the command for this, it is not the same as resequenceing on a router.
Thank you
03-28-2008 02:16 PM
You can either, using the ASDM/PDM, cut and paste the ACLs back in, or in the CLI, no the ACE, then put it back in with the line number. If you do a show access-list in the CLI, you will see the lines are numbered. Or, you can copy everything out in notepad, re-order it there, then paste in a bit "no access-list" for every line (simple search and replace) and then paste in the new ACL in the correct order.
--Gavin Budd
03-28-2008 03:18 PM
If you want to do it from the CLI use the keyword 'line <#>' in the access-list to resequence your existing ACL. Let's say if you enter the following command it will push down the existing ACE line # 5 and the subsequent entries by one line #.
access-list test line 5 permit tcp any any eq telnet
HTH
Sundar
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