Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

how to clear counters in acl log on pix

Dear sir,

I have a pix and set some ACLs on it. the ACL would logging the match times as:

"

show access-list

access-list outside permit tcp any host 211.156.53.18 eq www (hitcnt=1995331)

access-list outside permit icmp any host 211.156.53.18 (hitcnt=409952)

access-list outside permit icmp host 211.156.63.155 any (hitcnt=0)

"

I want to know which command I can use to clear the value in hitcnt. I've tried clear traffic but took no effect.

Please help me! My pix is pix-525, software is 6.0(1).

Thank you so much!

Regards,

Sha

3 REPLIES
Community Member

Re: how to clear counters in acl log on pix

hi,

in config mode do the following;

clear access-list acl-name counters

hope this helps..

Nihal

Community Member

Re: how to clear counters in acl log on pix

Nihal,

Thank you for your help.

But my software is 6.0. It seems there is no parameter 'counters'. What should i do now, can i achieve my goal?

Thanks again!

Regards,

Sha

Community Member

Re: how to clear counters in acl log on pix

I can't see any command like that , either. But when I write it, it works. maybe you can try, too.

433
Views
5
Helpful
3
Replies
CreatePlease to create content