Panorama firewall policies hit-count bulk clear 8.1
cancel
Showing results for 
Search instead for 
Did you mean: 

Panorama firewall policies hit-count bulk clear 8.1

L0 Member

Hello!

Is it possible to do bulk reset of firewall policies hit-counters? I want to clear hit counters for like 100 rules, does anyone knows how to do that?

 

Thank you.

 

Kind regards,

Mateusz.

1 ACCEPTED SOLUTION

Accepted Solutions

L0 Member

I've just found it.

You've to go to policies -> Preview rules -> Reset Rule Hit Counter -> All Rules

 

Kind regards,

Mateusz.

View solution in original post

2 REPLIES 2

L0 Member

I've just found it.

You've to go to policies -> Preview rules -> Reset Rule Hit Counter -> All Rules

 

Kind regards,

Mateusz.

View solution in original post

Cyber Elite
Cyber Elite

I don't have anything running PAN-OS 8.1 anymore, but the syntax likely hasn't changed much. You can do this directly in the CLI by the following command to reset all rule hit counts in your security rulebase.

clear rule-hit-count vsys vsys-name vsys1 rule-base security rules all

Or you can create a lit of entries to clear

clear rule-hit-count vsys vsys-name vsys1 rule-base security rules list [ "My Test Rule" "My Other Test Rule" "My lonely test rule" "My Bad Test Rule" ]
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!