The traffic-statistics peer enable command enables the function to collect statistics about the public traffic on a LDP VPLS PW.
The traffic-statistics peer disable command disables the function to collect statistics about the public traffic on a LDP VPLS PW.
By default, the function to collect statistics about the public traffic on the LDP VPLS PW is disabled.
Usage Scenario
In the VSI-LDP view, you can enable or disable the function to collect statistics about the public traffic of the LDP VPLS PW. The PW is uniquely identified by the VSI name, the next-hop IP address, and the peer PW ID.
Note that:<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] vsi newvsi static [*HUAWEI-vsi-newvs] pwsignal ldp [*HUAWEI-vsi-newvsi-ldp] vsi-id 1 [*HUAWEI-vsi-newvsi-ldp] traffic-statistics peer 1.1.1.9 negotiation-vc-id 2 enable