cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
976
Views
10
Helpful
5
Replies

clear access list on pix

mahesh18
Level 6
Level 6

Hi everyone,

 

Need to confirm if clear access list will remove the access group command applied on the interface.

 

regards

Mahesh

 

 

2 Accepted Solutions

Accepted Solutions

Francesco Molino
VIP Alumni
VIP Alumni
Hi

The command clear access-list will clear counters.
To delete acl it clear configure access-list.

Which command are you taking about?

Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question

View solution in original post

Just issuing the clear access-list command will clear clear the counters for that access-list (clear access-list MYACL counters).  There is no other option for this command.  So if this is the command that was entered the user did not delete the access-group.

 

Using the clear configure access-list <access-list name> will delete not only the access-list but also any command that references that access-list.  So, for example, if you have a crypto map that references the access-list, then only the command that references the access-list will be deleted, not the whole crypto map.

 

--
Please remember to select a correct answer and rate helpful posts

View solution in original post

5 Replies 5

Francesco Molino
VIP Alumni
VIP Alumni
Hi

The command clear access-list will clear counters.
To delete acl it clear configure access-list.

Which command are you taking about?

Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question

the reason i am saying this is that from our pix 515 somehow access-list interface access group command went missing and i found in syslog last person ran this command.

 

so to fix the issue i need to run the access group interface command on inside and outside interface so that acl can be applied to the interface.

 

 

Ok. If he had entered the clear acl then only the counters were cleared.
What the exact command You're seeing in the log?

Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question

Just issuing the clear access-list command will clear clear the counters for that access-list (clear access-list MYACL counters).  There is no other option for this command.  So if this is the command that was entered the user did not delete the access-group.

 

Using the clear configure access-list <access-list name> will delete not only the access-list but also any command that references that access-list.  So, for example, if you have a crypto map that references the access-list, then only the command that references the access-list will be deleted, not the whole crypto map.

 

--
Please remember to select a correct answer and rate helpful posts

many thanks for answering the question.

Review Cisco Networking for a $25 gift card