< Home

Enabling the VLL Traffic Statistics Collection Function

Context

To collect statistics on VLL traffic, use one of the following methods:
  • Enable traffic statistics collection globally to collect traffic statistics on various AC interfaces.
  • Enable traffic statistics collection on the VLANIF interfaces bound to a specified VLL.

Procedure

  • Enable traffic statistics collection globally to collect traffic statistics on various AC interfaces.

    This method applies to only the VLLs created after traffic statistics collection is enabled. Therefore, to use this method, enable VLL traffic statistics collection on the device before you create the VLL. This method cannot collect traffic statistics on the inbound and outbound interfaces connected to the local VLL.

    1. Run the system-view command to enter the system view.
    2. Run the mpls l2vpn traffic-statistics enable command to enable VLL traffic statistics.
  • Enable traffic statistics collection on the VLANIF interfaces bound to a specified VLL.

    1. Run the system-view command to enter the system view.
    2. Run the interface vlanif vlan-id command to enter the VLANIF interface view bound to the VLL.
    3. Run the statistic enable { both | inbound | outbound } command to enable traffic statistics collection on the VLANIF interface bound to a specified VLL.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >