The sr-te-policy traffic-statistics enable command enables traffic statistics collection for all SR-MPLS TE Policies.
The undo sr-te-policy traffic-statistics enable command disables traffic statistics collection for all SR-MPLS TE Policies.
By default, SR-MPLS TE Policy traffic statistics collection is disabled.
Usage Scenario
To collect traffic statistics about all SR-MPLS TE Policies for traffic monitoring or charging, run the sr-te-policy traffic-statistics enable command to enable traffic statistics collection for the SR-MPLS TE Policies.
After you enable the function, collected SR-MPLS TE Policy traffic statistics can be queried using the display sr-te policy traffic-statistics command. To clear existing SR-MPLS TE Policy traffic statistics, run the reset sr-te policy traffic-statistics command.Precautions
The sr-te-policy traffic-statistics enable command enables traffic statistics collection for all SR-MPLS TE Policies, whereas the traffic-statistics (SR-MPLS TE Policy) command configures whether to enable or disable traffic statistics collection for a specified SR-MPLS TE Policy. If both commands are run, the traffic-statistics (SR-MPLS TE Policy) command configuration takes effect.