The mpls l2vpn pw traffic-statistics enable command enables the function to collect traffic statistics about VPWS PWs.
The undo mpls l2vpn pw traffic-statistics enable command disables the function to collect traffic statistics about VPWS PWs.
By default, the function to collect traffic statistics about VPWS PWs is disabled.
100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE sub-interface view, 25GE interface view, 400GE Layer 2 sub-interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE Layer 2 sub-interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk Layer 2 sub-interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, GE Layer 2 sub-interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, Global VE sub-interface view, PW-VE interface view, VE sub-interface view, XGE sub-interface view, XGE interface view, Layer 2 sub-interface view
Usage Scenario
To view VPWS traffic statistics about a VPWS PW, run the mpls l2vpn pw traffic-statistics enable command. These statistics help you learn network operating status.
Prerequisites
The primary VPWS PW and secondary or bypass VPWS PW have been established.
Precautions
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] interface GigabitEthernet 0/1/8 [*HUAWEI-GigabitEthernet0/1/8] mpls l2vpn pw traffic-statistics enable secondary
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] interface GigabitEthernet 0/1/0 [*HUAWEI-GigabitEthernet0/1/0] mpls l2vpn pw traffic-statistics enable
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] interface GigabitEthernet 0/1/16 [*HUAWEI-GigabitEthernet0/1/16] mpls l2vpn pw traffic-statistics enable bypass