This section describes how to enable user traffic statistics collection based on inner or outer VLAN IDs on a device.
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.
The system view is displayed.
User traffic statistics collection is enabled based on inner or outer VLAN IDs on the device.
The configuration is committed.