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.
info-center logfile-storage threshold threshold-value
undo info-center logfile-storage threshold
| 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. |
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.