The statistics enable command enables traffic statistics of a traffic policy.
The undo statistics enable command disables traffic statistics of a traffic policy.
By default, the traffic statistics function of a traffic policy is disabled.
Usage Scenario
To view the statistics about a traffic policy, you can run this command to enable statistics for the traffic policy.
Prerequisites
The traffic policy is configured and applied to interfaces.
Configuration Impact
Enabling the traffic statistics function consumes the memory resources of the device.
Follow-up Procedure
You can run the display traffic policy statistics command to view the statistics of a traffic policy.
Precautions
To save memory, the statistics function of a traffic policy is disabled by default.