Fortinet white logo
Fortinet white logo

Administration Guide

Resetting and restoring QoS counters

Resetting and restoring QoS counters

To reset the QoS counters to zero (applies to all applications except SNMP) for the specified ports:

diagnose switch physical-ports qos-stats set-qos-counter-zero [<port_list>]

To restore the QoS counters to the hardware values for the specified ports:

diagnose switch physical-ports qos-stats set-qos-counter-revert [<port_list>]

For example:

diagnose switch physical-ports qos-stats set-qos-counter-zero 2,4,7-9

diagnose switch physical-ports qos-stats set-qos-counter-revert 1,3-5,7

Resetting and restoring QoS counters

Resetting and restoring QoS counters

To reset the QoS counters to zero (applies to all applications except SNMP) for the specified ports:

diagnose switch physical-ports qos-stats set-qos-counter-zero [<port_list>]

To restore the QoS counters to the hardware values for the specified ports:

diagnose switch physical-ports qos-stats set-qos-counter-revert [<port_list>]

For example:

diagnose switch physical-ports qos-stats set-qos-counter-zero 2,4,7-9

diagnose switch physical-ports qos-stats set-qos-counter-revert 1,3-5,7