< Home

info-center logfile-storage threshold

Function

The info-center logfile-storage threshold command sets a storage space threshold for the syslog file and diagnostic log file in the log directory.

The undo info-center logfile-storage threshold command cancels the storage space threshold settings for the syslog file and diagnostic log file in the log directory.

Format

info-center logfile-storage threshold threshold-value

undo info-center logfile-storage threshold

Parameters

Parameter Description Value

threshold-value

Specifies the storage space threshold for the syslog file and diagnostic log file in the log directory.

The value is an integer ranging from 50 to 100, in percentage. The default value is 80.

Views

System view

Default Level

3: Management level

Usage Guidelines

This function is available only when the information center function is enabled.

After a storage space threshold is set, if the size of the syslog file and diagnostic log file in the log directory reaches the threshold, the FW generates an alarm INFO_1.3.6.1.4.1.2011.5.25.212.2.7 hwICLogFileStorageThreshold to ask the user to clear logs or expand the storage space. Otherwise, the syslogs and diagnostic logs will be overwritten by new ones.

Example

# Set the storage space threshold to 85% for the syslog file and diagnostic log file.

<sysname> system-view
[sysname] info-center logfile-storage threshold 85
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >