Adding / removing access lists

Unanswered Question
Jan 7th, 2007
User Badges:

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?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
network.king Sun, 01/07/2007 - 22:32
User Badges:
  • Silver, 250 points or more

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



jackyoung Sun, 01/07/2007 - 22:34
User Badges:
  • Gold, 750 points or more

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.

Actions

This Discussion