The statistic enable command enables traffic statistics collection for domain users.
The undo statistic enable command disables traffic statistics collection for domain users.
By default, traffic statistics collection is disabled for domain users.
After the statistic enable command is executed, statistics about both IPv4 and IPv6 upstream and downstream traffic will be collected. After the accounting dual-stack separate command is executed, IPv4 and IPv6 traffic statistics will be collected separately. The following describes the traffic statistics function.
Usage Scenario
To implement traffic-based accounting, you can use this command to enable traffic statistics collection for a domain. Then the device collects traffic statistics for the users in the domain. If an accounting server is configured, the device sends traffic statistics to the accounting server through accounting packets so that the server performs accounting for the users based on traffic statistics.
Follow-up Procedure
Run the display access-user command to view traffic statistics of users.
Precautions
This command collects service statistics for domain users. The device sends the statistics to the accounting server.
On the S5720-LI, S5735-L, S5735S-L, S5735S-L-M and S5720S-LI: