This section describes how to enable the statistics collecting function for a traffic policy for statistics query.
The system view is displayed.
The view of the traffic policy is displayed.
The statistics collecting function is enabled for the traffic policy.
The shared mode is specified for the traffic policy.
To reduce memory resource consumption, the statistics collecting function is disabled for a traffic policy by default. Before querying statistics about a traffic policy, run the statistics enable command to enable the statistics collecting function for the traffic policy.The default attribute of a policy is shared.
The configuration is committed.