hit counts fw rule/policy

Security Gateway Discussions
Post Reply
caso01
Posts: 2
Joined: 10 Apr 2019, 13:12

hit counts fw rule/policy

Post by caso01 » 10 Apr 2019, 13:39

Hi

Is there a way to see hit counts for a specific fw policy? So that i can see it directly in the firewall if the rule is used or not

BR
Carlos

Peter
Posts: 636
Joined: 10 Apr 2008, 14:14
Location: Clavister HQ - Örnsköldsvik

Re: hit counts fw rule/policy

Post by Peter » 11 Apr 2019, 09:18

Hello.

You can use following CLI command to see that:

rules -verbose

So it will look something like this:
w3b:/> rules -verbose 10-12
Contents of main ruleset; default action is DROP
#     Name                                                  Action  Log    Usage
      Details
----- ----------------------------------------------------- ------- --- --------
10    Allow-LabbVlans-To-PreDefined                         Allow   Yes   580638
      SRC: vlan97,vlan98...:0.0.0.0/0
      DST: V0980-PreDefinedServices:15.122.0.0/24
      Service: all_services
And if you have multiple rulesets the command to view usage in another ruleset would be:

rules –verbose –type=IP –ruleset=xxxx

Best regards
/Peter

caso01
Posts: 2
Joined: 10 Apr 2019, 13:12

Re: hit counts fw rule/policy

Post by caso01 » 11 Apr 2019, 11:40

Thanks!

Post Reply