shaping-stats {disable | enable}
You can use the following command to record traffic shaper statistics for sessions offloaded to NP7 processors:
config system npu
set shaping-stats {disable | enable}
end
With this option enabled, FortiOS records traffic shaping statistics including the number of packets dropped and the number of bytes dropped by traffic shaping for sessions offloaded to NP7 processors.
To record traffic shaping statistics for offloaded NP7 sessions, the NP7 processors must be operating in policing traffic shaping mode. Enter the following command to enable policing mode:
config system npu
set default-qos-type policing
end
The FortiGate restarts after entering this command.