The traffic-statistics enable command enables the traffic statistics collection function.
The undo traffic-statistics enable command disables the traffic statistics collection function.
By default, the traffic statistics collection function is disabled.
Usage Scenario
If you want to collect statistics about the traffic received or sent as a basis for VPN traffic monitoring or accounting, run the traffic-statistics enable command to enable the traffic statistics collection function.
After running the traffic-statistics enable command, you can use the display traffic-statistics vpn-instance command to view statistics about the traffic. The reset traffic-statistics vpn-instance command can be used to clear the collected traffic statistics.