03-22-2013 08:13 AM - edited 03-07-2019 12:25 PM
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
Solved! Go to Solution.
03-22-2013 08:40 AM
I would try and add a functional ACL entry to the list then try the "no access-list 130" command again first.
03-22-2013 08:23 AM
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.
03-22-2013 08:29 AM
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.
03-22-2013 08:33 AM
Yes this is definitely your issue, see my edit above.
03-22-2013 08:38 AM
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.
03-22-2013 08:40 AM
I would try and add a functional ACL entry to the list then try the "no access-list 130" command again first.
03-22-2013 09:40 AM
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
03-22-2013 10:18 AM
Glad I could help, please remember to mark the correct solution for our future forum browsers.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide