Fortinet black logo

Administration Guide

Resetting and restoring QoS counters

Copy Link
Copy Doc ID d887c3dd-ee67-11ec-bb32-fa163e15d75b:609010
Download PDF

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

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