gbudd12345 Fri, 03/28/2008 - 14:16
User Badges:

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

sundar.palaniappan Fri, 03/28/2008 - 15:18
User Badges:
  • Green, 3000 points or more

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

Actions

This Discussion