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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

How do I remove a single ACL line in a 2811 router?

I need to remove one line of code in a Cisco 2811 router, without removing the entire ACL. I'm used to making these changes in firewalls, but have figured out it's a little different in the router. Can someone provide me with some instruction? I heard I need to go into a sub-interface of the acl, but how do I do that?

Also, will making this change affect any traffic routing through this router?

Thanks for the help, I'm going to need to make this change within the next hour or so.

7 REPLIES
New Member

Re: How do I remove a single ACL line in a 2811 router?

If it is a extended CAL(100-199), you can go to extended mode to delete/add items without affecting live traffic.

for example:

ip access-list extended 120

no .....

New Member

Re: How do I remove a single ACL line in a 2811 router?

It is, 101. So if I use that command,

"ip access-list extended 101", that will put me into the sub-interface, allowing me to remove individual lines of code?

New Member

Re: How do I remove a single ACL line in a 2811 router?

ip access-list extended 101 then press 'enter'

you will get into 'sub-interface' of ACL

New Member

Re: How do I remove a single ACL line in a 2811 router?

same story for the standard ACL, hope it helps!

Re: How do I remove a single ACL line in a 2811 router?

The process is as follows

show access-list (NAME )

It will show you the access list with the line number

10 Line 1

20 Line 2

30 Line 3

40 Line 4

Suppose you want to remove Line 3,

conf t

ip accesss-list extended (name )

>no 30

That should remove your Line.

HTH Pls rate if it helps

New Member

Re: How do I remove a single ACL line in a 2811 router?

This is resolved, thanks for the help! :o)

New Member

Thank You :) Best Regards

Thank You :)

 

Best Regards,

Didier

46171
Views
35
Helpful
7
Replies