The traffic-statistics enable command enables SRv6 TE Policy-based traffic statistics collection.
The traffic-statistics disable command disables SRv6 TE Policy-based traffic statistics collection.
The undo traffic-statistics enable command disables SRv6 TE Policy-based traffic statistics collection.
The undo traffic-statistics disable command enables SRv6 TE Policy-based traffic statistics collection.
By default, the SRv6 TE policy traffic statistics function is disabled.
Usage Scenario
After the traffic-statistics enable command is run for an SRv6 TE Policy, traffic statistics collection is enabled. To disable this function, run the traffic-statistics disable command. No default configuration is available.
The undo traffic-statistics command deletes SRv6 TE Policy traffic statistics so that the srv6-te-policy traffic-statistics configuration in the segment routing IPv6 view can be inherited.