H3C S9500 Series Command Manual page 1777

Routing switches
Hide thumbs Also See for S9500 Series:
Table of Contents

Advertisement

Command Manual – Information Center
H3C S9500 Series Routing Switches
directory: Directory under which to save a log file. Now, it is only the path of the
compact flash (CF) card.
number: Specifies the allowed number of log files saved in the system.
logfile-num: Allowed number of log files saved in the system, in the range 1 to 5.
flush: Writes a log file from the buffer to the storage device.
Description
Use the info-center logfile command to configure to output information to the logfile.
Use the undo info-center logfile command to cancel the information output to the
logfile.
Use the undo info-center logfile channel command to restore the default channel
whereby to output information to a log file.
Use the undo info-center logfile size command to restore the default size of a single
log file.
Use the undo info-center logfile directory command to restore the default directory
under which to save a log file.
Use the undo info-center logfile number command to restore the default allowed
number of log files saved in the system.
By default, the Switch outputs information to a log file through Channel 6, the allowed
size of each log file is 2 Mbytes, the system allows you to save a maximum of 5 log files,
and log files are saved under cf:/logfile.
This command takes effect only after the system logging is enabled.
If no CF card is in position in the system, the system cannot output information to a log
file, and the log file function cannot take effect.
Related commands: info-center enable, display info-center.
Examples
# Send log information to logfile.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] info-center logfile
# Save log files under cf:/test.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] info-center logfile dirctory cf:/test
cf:/test does not exist.Do you want to create it?[Y/N]y
1-12
Chapter 1 Information Center

Advertisement

Table of Contents
loading

Table of Contents