cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1198
Views
0
Helpful
7
Replies

Can't remove Access-List from Running-Config

Dan_17717
Level 1
Level 1

Hi Everyone,

First time posting.  I'm trying to deny traffic to a few vlans in our network but allow connection to a host on a vlan that is being blocked.  It didn't work and I tried removing the access list but it still shows up in the running-config.  I tried no access-list 130 and it didn't work.  Did a show access-list 130 and there's no access-list.  But for some reason, it still shows up in the running-config.  I do not want to restart the switch if I don't need to.  Can someone help with this?

Thanks

1 Accepted Solution

Accepted Solutions

I would try and add a functional ACL entry to the list then try the "no access-list 130" command again first.

View solution in original post

7 Replies 7

Gregory Snipes
Level 4
Level 4

Not sure why it is not being removed but I can tell you why your ACL did not work. Every line in it is a remark.

Edit: To be clear remark lines must be separated from the ACL entries, by putting remark at the front of the line, everything that follows is meaningless to the the switch. I thought this might be your problem so I tried making an ACL of nothing but remarks then issuing a "no access-list XX" and sure enough it was all removed.

Not sure why it didn't get remove either.  I put a remark as a description.  I didn't know that would cause it not to work.  I also tried no access-list 130 remark...and that didn't remove it either.

Yes this is definitely your issue, see my edit above.

So do you think that I might have to reboot the switch to get ACL removed from the running-config?  I understand that you are able to remove it but not sure why it didn't work for me.

I would try and add a functional ACL entry to the list then try the "no access-list 130" command again first.

Thanks, that works. Removing the remark got the access-list to work but now how I want it.  Now, I just have to create an ACL that would work for my case.

Thanks for your help

Glad I could help, please remember to mark the correct solution for our future forum browsers.

Review Cisco Networking for a $25 gift card