Fortinet black logo

Administration Guide

Resetting and restoring QoS counters

Copy Link
Copy Doc ID 661f0c32-514d-11ec-bdf2-fa163e15d75b:609010
Download PDF

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

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