Command Manual – Information Center
H3C S7500E Series Ethernet Switches
Chapter 1 Information Center Configuration
Commands
1-16
Use the
undo
info-center logfile size-quota
command to restore the default
maximum storage space reserved for a log file.
Examples
# Set the maximum storage space reserved for a log file to 6 MB.
<Sysname> system-view
[Sysname] info-center logfile size-quota 6
1.1.15 info-center logfile switch-directory
Syntax
info-center logfile switch-directory
dir-name
View
System view
Parameters
dir-name
: The name of the directory where a log file is saved, a string of 1 to 64
characters.
Description
Use the
info-center logfile switch-directory
command to configure the directory
where a log file is saved. Ensure that the directory is created first before saving a log file
into it.
By default, the directory to save a log file is the logfile directory under the root directory
of the CF card, that is, cf:/logfile.
Note that this command can be used to configure the directory to which a log file can be
saved. The configuration will lose after system restart or active/standby switchover of
the main control boards.
Examples
# Create a directory with the name
test
under flash root directory.
<Sysname> mkdir test
%Created dir flash:/test.
# Set the directory to save the log file to flash:/test.
<Sysname> system-view
[Sysname] info-center logfile switch-directory flash:/test