The traffic-statistics enable command enables the statistics about the public traffic on all BGP AD VPLS PWs.
The undo traffic-statistics enable command disables the statistics about the public traffic on all BGP AD VPLS PWs.
By default, the statistics function is disabled.
Usage Scenario
After the BGP AD VPLS network is configured, you can run the traffic-statistics enable command to enable statistics about the public traffic on all BGP AD VPLS PWs in the corresponding VSI.
Prerequisites
The VPLS ID has been configured using the vpls-id vpls-id command in the VSI-BGPAD view.
Precautions
The traffic-statistics enable command cannot be used together with the traffic-statistics peer enable (VSI-BGPAD) command in the VSI-BGPAD view.