Goutham_FTNT
Staff
Created on 06-15-2015 07:58 PM Edited on 04-08-2022 11:26 AM By Anonymous
Article Id
198185
Description
This article explains how to reset the packet count option for a firewall policy.
Solution
GUI
a) In FortiOS v5.0
1) Right click on the value of Count field on the firewall policy under Policy > Policy > Policy.
2) Select "Clear Counters" from the list.
B) In FortiOS v5.2 and v5.4
1) Right click on the value of Count field on the firewall policy under Policy & Objects > Policy > IPv4.
2) Select "Clear Counters" from the list.
CLI
Run the following CLI command to reset packet count option for the firewall policy:
In order to reset the count field for all policies simply omit the <Policy ID>:
a) In FortiOS v5.0
1) Right click on the value of Count field on the firewall policy under Policy > Policy > Policy.
2) Select "Clear Counters" from the list.
B) In FortiOS v5.2 and v5.4
1) Right click on the value of Count field on the firewall policy under Policy & Objects > Policy > IPv4.
2) Select "Clear Counters" from the list.
CLI
Run the following CLI command to reset packet count option for the firewall policy:
Example: Resetting the value of count field for the Policy ID 3# diagnose firewall iprope clear 100004 <Policy ID>
The Policy ID number is different from the policy sequence number which is shown on "Seq#" column on the GUI. The Policy ID number which is the index number of the firewall policy can be found under "ID" column on the GUI.# diagnose firewall iprope clear 100004 3
In order to reset the count field for all policies simply omit the <Policy ID>:
# diagnose firewall iprope clear 100004