Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Step-by-Step Configuration and Troubleshooting Best Practices for the NGFW, NGIPS and AMP Technologies A Visual Guide to the Cisco Firepower Threat Defense (FTD)

How to clear ACL count

hi all,

just a basic and quick question.

i'm currently troubleshooting on one of our ASA and would like to see if traffic hits the ACL.

how do you clear the ACL count?

access-list OUTSIDE line 161 extended permit ip host 1.1.1.1 host 2.2.2.2 (hitcnt=796) 0x4f7d9f2c

1 ACCEPTED SOLUTION

Accepted Solutions

Hi John, One small correct

Hi John,

 

One small correct from mahesh's statement..... you have to issue

clear access-list <aclname> counters to clear the counter. This can be issued in priveleaged mode.

clear configure access-list <aclname> - This deletes your acl and which can issued from config terminal mode.

 

Regards

Karthik

 

 

5 REPLIES
Community Member

 Hi John, You can issue the

 

Hi John,

 

You can issue the command

ASA1(config)# clear access-list   ?

exec mode commands/options:
  WORD < 241 char  Access-list identifier

 

it will erase the counters of the ACL.

Regards

Mahesh

 

 

 

hi mahesh,does that command

hi mahesh,

but does that command remvoes the ACL or is it clear configure <ACL>?

just want to make sure before i issue the command.

Community Member

 That command only removes

 

That command only removes ACL counters.

To remove entire ACL you use clear configure access-list followed by name of ACL.

 

Regards

MAhesh

Hi John, One small correct

Hi John,

 

One small correct from mahesh's statement..... you have to issue

clear access-list <aclname> counters to clear the counter. This can be issued in priveleaged mode.

clear configure access-list <aclname> - This deletes your acl and which can issued from config terminal mode.

 

Regards

Karthik

 

 

Thanks guys!

Thanks guys!

675
Views
5
Helpful
5
Replies
CreatePlease to create content