The traffic-policy bandwidth force statistic enable command enables the default traffic policy statistics function.
The undo traffic-policy bandwidth force statistic enable command disables the default traffic policy statistics function.
traffic-policy bandwidth force statistic enable
undo traffic-policy bandwidth force statistic enable
This function is enabled by default.
After the default traffic policy statistics function is enabled, if traffic matches the traffic policy and the action qos profile profile-name command has been configured, the traffic statistics are collected regardless of whether the maximum bandwidth, guaranteed bandwidth, and forwarding priority are configured in the traffic profile. This function facilitates users in displaying device traffic in real time.
If you do not need to collect statistics on all traffic matching the traffic policy and you need to reduce the CPU usage, disable the function. After this function is disabled, traffic statistics are collected only when the maximum bandwidth, guaranteed bandwidth, or forwarding priority is configured in the traffic profile.