Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Users might experience few discrepancies in Search results. We are working on this on our side. We apologize for the inconvenience it may have caused.
New Member

delete access-list ? not like ios

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

2 REPLIES
New Member

Re: delete access-list ? not like ios

found it :P

But in PIX Security appliance Version 7.0, the preceding commands are removed by using either the

clear configure access-list command or by the following:

Cisco Employee

Re: delete access-list ? not like ios

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

544
Views
5
Helpful
2
Replies
CreatePlease to create content