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

resequence access-list

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

2 REPLIES
New Member

Re: resequence access-list

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

Re: resequence access-list

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

642
Views
0
Helpful
2
Replies
CreatePlease to create content