< Home

mpls l2vpn traffic-statistics enable

Function

The mpls l2vpn traffic-statistics enable command enables the system to collect VLL traffic statistics.

The undo mpls l2vpn traffic-statistics enable command disables the system from collecting VLL traffic statistics.

By default, the system is disabled from collecting VLL traffic statistics.

Format

mpls l2vpn traffic-statistics enable

undo mpls l2vpn traffic-statistics enable

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To collect traffic statistics in a VLL networking, use this command to the system to collect VLL traffic statistics.

Precautions

The system collects traffic statistics only for VLLs that are created after this command is executed.

You can view traffic statistics by running the display traffic-statistics l2vpn interface command.

Example

# Enable the function that collects L2VPN traffic statistics.

<HUAWEI>system-view
[HUAWEI] mpls l2vpn traffic-statistics enable
Info: The modification can only take effect for newly created VC.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >