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

Adding / removing access lists

Hi,

I need to amend an access list on a 2811 router. Would adding one line into the access list negaite the rest of the list or do I copy/paste the entire list?

2 REPLIES

Re: Adding / removing access lists

Hi

Adding a ACL would add up in your present ACL and would not overwrite it.

If you are going to add a deny statement , make sure it is present before the " permit ip any any " statement .The present IOS supports numbered ACL where you can insert a ACL or Delete a ACL in between.

Hope this helps

regards

vanesh k

Silver

Re: Adding / removing access lists

When you add an access-list which no. is already in the router, the newer ACL will be placed at the bottom, i.e.lowest order.

Therefore, if you want to change the middle of the specify ACL, I suggest to copy the whole specify ACL (w/ no.) to your PC (e.g. notepad), edit it, delete the specify ACL you in the router then paste the whole new one.

I mean not the whole and only the specify ACL,e.g. if there are 20 lines of ACL 10 then copy these 20 lines in ACL 10 then edit it in the PC, remove the ACL 10 ONLY in router then paste from the notepad to the router.

Hope this helps.

105
Views
0
Helpful
2
Replies
CreatePlease to create content