09-28-2006 12:13 AM - edited 02-20-2020 09:37 PM
Hi,
quick question and probably an easy one :
How come i cant delete my ACL ? i can delete an ACE but not the ACL
---
ciscoasa(config)# access-list 110 permit ip any any
ciscoasa(config)# access-list 110 permit tcp any any eq 25
ciscoasa(config)# access-list 110 permit tcp any any eq 26
ciscoasa(config)# access-list 110 permit tcp any any eq 27
ciscoasa(config)# no access-list 110
ERROR: % Incomplete command
ciscoasa(config)# no access-list 110 permit tcp any any eq 26
ciscoasa(config)# exit
ciscoasa# sh access-list 110
access-list 110; 3 elements
access-list 110 line 1 extended permit ip any any (hitcnt=0)
access-list 110 line 2 extended permit tcp any any eq smtp (hitcnt=0)
access-list 110 line 3 extended permit tcp any any eq 27 (hitcnt=0)
ciscoasa#
---
Martin
09-28-2006 12:25 AM
found it :P
But in PIX Security appliance Version 7.0, the preceding commands are removed by using either the
clear configure access-list
09-28-2006 12:27 AM
Martin,
Please use "clear configure access-list [id]" to remove the entries.
Please refer the below URL for details
http://www.cisco.com/univercd/cc/td/doc/product/multisec/asa_sw/v_70/cref_txt/c.htm#wp1953057
And, take care while using this command. If you enter "clear configure access-list" without any ID or Name, all the access-list entries on the pix will be erased.
Let me know if it helps.
Regards,
Arul
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