03-23-2012 06:41 PM - edited 03-11-2019 03:46 PM
I am unable to remove an access list. Currently this this access list contains 4 lines of remarks. I was unsure if I was entering the command correctly and now I have 4 lines of "trash" that needs to be removed.
Symptoms:
The "sh run" command shows that I have access-list 100 defined.
The "sh access-list" returns nothing.
Process I have tried:
config t
no access-list 100
...
no access-list remark Test (just trying anything at this point)
...
clear configure access-list 100 (This returns "Invalid input detected at '^' marker" and the '^' is under the 'e' in clear.)
So the "clear configure" command is not working. The "no access-list" commands does not return an error but does not remove anything.
What step am I missing? Let me know if I can provide any more information.
...
03-24-2012 02:06 PM
Hi
gues you are using IOS ?
no access-list 100 should be sufficent.
What says the startup-config ??
Try a search in the BugDatabase maybe you hit a bug.
HTH
Patrick
03-26-2012 04:09 PM
Ended up opening a TAC. Seems that if you have an Access-list that contains only remarks then you can not remove it. I had to first add 'permit any any' to the access-list. Then I was able to remove it with 'no access-list 100'.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: