3Com Switch 8800 Advanced Software V5 Configuration Guide

1128 CHAPTER 88: INFORMATION CENTER CONFIGURATION
Setting to Save System
Information to a Log File
With the log file feature enabled, the log information generated by system can be
saved to a specified directory with a predefined frequency. This allows you to
check the operation history at any time to ensure that the device functions
properly.
Follow these steps to set to save system information to a log file:
n
To ensure the device to work normally, use the info-center logfile size-quota
command to set a logfile to be no smaller than 1 MB and no larger than 10
MB.
Use the info-center logfile switch-directory command to manually
configure the directory to which a log file can be saved. The configuration will
be invalid after system reboot or the primary/backup switchover.
Configuring
Synchronous
Information Output
Synchronous information output refers to the feature that if the user’s input is
interrupted by system output such as log, trap, or debug information, then after
the completion of system output the system will display a command line prompt
(in command editing mode a prompt, or a [Y/N] string in interaction mode) and
your input so far.
This command is used in the case that your input is interrupted by a large amount
of system output. With this feature enabled, you can continue your operations
from where you were stopped.
Follow these steps to enable synchronous information output:
To do... Use the command... Remarks
Enter system view system-view -
Enable the log file feature info-center logfile enable Optional
Enabled by default
Configure the frequency with
which the log file is saved
info-center logfile
frequency freq-sec
Optional
The default value varies with
devices.
Configure the language mode
of the log file
info-center logfile
language { chinese | english
}
English by default
Configure the maximum
storage space reserved for a
log file
info-center logfile
size-quota size
Optional
Configure the directory to
save the log file
info-center logfile
switch-directory dir-name
Optional
By default, the logfile
directory under the root
directory of the memory
device, which varies with
devices.
Manually save the log buffer
content to the log file
logfile save Optional
Available in any view
By default, the system saves
the log file with the frequency
defined by the info-center
logfile frequency command.