< Home

transfer remain-time

Function

The transfer remain-time remain-time command sets the period for reserving a statistics file.

The undo transfer remain-time command restores the default period.

Format

transfer remain-time remain-time

undo transfer remain-time

Parameters

Parameter Description Value
remain-time Specifies the period for reserving a statistics file. The value ranges from 1 to 30, in minutes.

Views

Bulk-file view

Default Level

2: Configuration level

Usage Guidelines

By default, the period for reserving a statistics file is set to five minutes.

To prevent each statistics file from reserving several uploading files simultaneously, you must set remain-time to not be longer than the interval for uploading the statistics file. The period for reserving uploading files indicates the time between when files have been compressed and when the compressed file fails to be uploaded and is then deleted.

Based on the specified re-uploading times, you can calculate the re-uploading interval. If the statistics file fails to be uploaded when the re-uploading times reach the threshold and the period for reserving uploading files expires, the statistics file is deleted.

Example

# Set the period for reserving the statistics file named iftable to 10 minutes.

<sysname> system-view
[sysname] bulk-stat enable
Info:Succeeded in enabling the bulk stat function.
[sysname] bulk-file iftable
[sysname-bulk-file-iftable] transfer remain-time 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >