< Home

collect interval

Function

The collect interval command sets the statistics collection interval.

The undo collect interval command restores the default statistics collection interval.

Format

collect interval interval

undo collect interval

Parameters

Parameter Description Value
interval Specifies the statistics collection interval. The value can be 5, 10, 15, or 30, in minutes.

Views

Bulk-file view

Default Level

2: Configuration level

Usage Guidelines

By default, the statistics collection interval is set to 5 minutes.

The statistics uploading interval configured through the transfer interval command must be an integer multiple of the statistics collection interval.

You can modify the statistics collection interval only after a statistics file is disabled through the undo collect enable command.

Example

# Set the statistics collection interval in the statistics file named iftable to 10 minutes.

<sysname> system-view
[sysname] bulk-stat enable
[sysname] bulk-file iftable
[sysname-bulk-file-iftable] collect interval 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >