The vlan statistics interval command sets the interval for collecting VLAN traffic statistics.
The undo vlan statistics interval command restores the default interval for collecting VLAN traffic statistics.
By default, VLAN traffic statistics are collected at an interval of 300 seconds.
Parameter |
Description |
Value |
---|---|---|
interval-time |
Specifies the interval for collecting VLAN traffic statistics. |
The value is an integer that ranges from 60 to 600, in seconds. |
Usage Scenario
To check the network status or locate network faults, you can use the statistic enable (VLAN view) command to enable traffic statistics collection in VLANs.
After traffic statistics collection is enabled in a VLAN, the switch collects statistics on unicast packets, broadcast packets, and broadcast packets transmitted in the VLAN.
You can use the vlan statistics interval command to specify the interval at which traffic statistics are collected.