The statistic enable command enables VLAN packet statistics collection.
The undo statistic enable command disables VLAN packet statistics collection.
By default, VLAN packet statistics collection is disabled.
Usage Scenario
By default, VLAN packet statistics collection is disabled. Before viewing VLAN packet statistics of a specified interface for fault location, run the statistics enable command to enable VLAN packet statistics collection.
Prerequisites
The VLAN has been created using the vlan command in the system view.
A Layer 2 Ethernet interface has been added to the VLAN.If the interface is a Layer 3 Ethernet interface , run the portswitch command in the interface view to switch the interface to a Layer 2 interface.Configuration Impact
After running the statistic enable command, you can run the display vlan statistics command to view VLAN packet statistics, which help locate faults.