< Home

vlan statistics interval

Function

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.

Format

vlan statistics interval interval-time

undo vlan statistics interval

Parameters

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.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

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.

Example

# Set the interval for collecting VLAN traffic statistics to 500 seconds.

<HUAWEI> system-view
[HUAWEI] vlan statistics interval 500
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >