The traffic-statistics peer enable command enables traffic statistics collection for a PW in VPLS multi-homing scenarios.
The undo traffic-statistics peer enable command disables traffic statistics collection of a PW in VPLS multi-homing scenarios.
By default, traffic statistics collection is disabled from PWs in VPLS multi-homing scenarios.
Usage Scenario
Before checking PW traffic statistics in VPLS multi-homing scenarios, run the traffic-statistics peer enable command to enable traffic statistics collection. These statistics help you learn network operating status.
Prerequisites
VPLS multi-homing has been enabled using the pwsignal bgp multi-homing command.
Follow-up Procedure
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] vsi company1 [*HUAWEI-vsi-company1] pwsignal bgp multi-homing [*HUAWEI-vsi-company1-bgp] traffic-statistics peer 1.1.1.9 enable