Enabling User Traffic Statistics Collection Based on Inner or Outer VLAN IDs on a Device

This section describes how to enable user traffic statistics collection based on inner or outer VLAN IDs on a device.

Context

If PPPoE users go online through user VLAN sub-interfaces that permit packets carrying undefined VLAN tags, the VLAN users can go online through any interface, making it difficult to collect user traffic statistics. After user traffic statistics collection based on inner or outer VLAN IDs is enabled on the router, the router collects user traffic statistics based on inner or outer VLAN IDs. Perform the following steps on the router.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run access user-flow-statistics enable

    User traffic statistics collection is enabled based on inner or outer VLAN IDs on the device.

  3. Run commit

    The configuration is committed.

Result

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >