The traffic-statistics enable command enables the function to collect statistics about the VSI-based global traffic in VSI LDP mode.
The undo traffic-statistics enable command disables the function to collect statistics about the VSI-based global traffic in VSI LDP mode.
By default, the function to collect statistics about the VSI-based global traffic in VSI LDP mode is disabled.
Usage Scenario
To enable the function to collect statistics about the VSI-based global traffic in VSI LDP mode, run the traffic-statistics enable command.
Note that:<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] vsi 1 [*HUAWEI-vsi-1] pwsignal ldp [*HUAWEI-vsi-1-ldp] vsi-id 10 [*HUAWEI-vsi-1-ldp] traffic-statistics enable