< Home

info-center logfile-storage size

Function

The info-center logfile-storage size command configures the size of the log file storage space.

The undo info-center logfile-storage size command restores the size of the log file storage space to the default value.

Format

info-center logfile-storage size size

undo info-center logfile-storage size

Parameters

Parameter Description Value

size size

Specifies the size of the log file storage space. .The log directory is hda1:/log/.

The value is an integer. For the USG6510E/6510E-POE/6530E, the value ranges from 36 to 75 (in MB) and is 50 by default. For other device models, the value ranges from 36 to 300 (in MB) and is 200 by default.

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

Users can run the info-center logfile-storage size size command to configure the size of the log file storage space based on their requirements. When the log file storage space is used up, an alarm is reported.

The actual log file storage space must be smaller than or equal to the value of size size in the info-center logfile-storage size command. If the actual log file storage space is larger than the size size value, delete logs manually or wait for the system to delete logs automatically.

Precautions

The size of the log file storage space configured by using the info-center logfile-storage size size command cannot be greater than the size of the storage space actually allocated by a device.

Example

# Configure the size of the log file storage space to 300M.

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