cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
965
Views
5
Helpful
2
Replies

delete access-list ? not like ios

unicmd
Level 1
Level 1

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 2

unicmd
Level 1
Level 1

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:

ajagadee
Cisco Employee
Cisco Employee

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