The traffic-statistics enable command enables the statistics about the public traffic on all Martini VPLS PWs.
The undo traffic-statistics enable command disables the statistics about the public traffic on all Martini VPLS PWs.
By default, the statistics function is disabled.
Usage Scenario
After the Martini VPLS network is configured, you can run the traffic-statistics enable command to enable statistics about the traffic on all PWs.
Prerequisites
The VSI ID has been configured using the vsi-id vsi-id command in the VSI-LDP view.
Precautions
After this command is executed and the statistics reach the upper limit, a peer can still be configured, but the traffic statistics function does not take effect on this peer. When the configuration needs to be restored after the system is restarted, configured the peer first. If the statistics exceed the upper limit after the traffic-statistics enable is executed, the configuration cannot be restored.
The traffic-statistics enable command cannot be used together with the traffic-statistics peer enable (Martini) command in the VSI-LDP view.