cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1445
Views
0
Helpful
2
Replies

resequence access-list

peter.williams
Level 1
Level 1

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 2

gbudd12345
Level 1
Level 1

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

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

Review Cisco Networking products for a $25 gift card