Info-Center Logfile Size-Quota; Info-Center Logfile Switch-Directory - H3C SR6600 Command Reference Manual

Network management and monitoring command reference
Hide thumbs Also See for SR6600:
Table of Contents

Advertisement

<Sysname> system-view
[Sysname] info-center logfile overwrite-protection

info-center logfile size-quota

Use info-center logfile size-quota to set the maximum storage space reserved for a log file.
Use undo info-center logfile size-quota to restore the default maximum storage space reserved for a log
file.
Syntax
info-center logfile size-quota size
undo info-center logfile size-quota
Default
The default storage space reserved for a log file is 2 MB.
Views
System view
Default command level
2: System level
Parameters
size: Specifies the maximum storage space reserved for a log file, in the range of 1 to 10 MB.
Examples
# Set the maximum storage space reserved for a log file to 6 MB.
<Sysname> system-view
[Sysname] info-center logfile size-quota 6

info-center logfile switch-directory

Use info-center logfile switch-directory to configure the directory where a log file is saved.
Syntax
info-center logfile switch-directory dir-name
Default
A log file is saved in the logfile directory under the root directory of the storage device.
Views
System view
Default command level
2: System level
Parameters
dir-name: Specifies a directory by its name, a string of 1 to 64 characters.
Usage guidelines
The specified directory must have been created.
217

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sr6600-x

Table of Contents