Saving System Information To A Log File - H3C S3100V2-52TP Configuration Manual

Network management and monitoring
Hide thumbs Also See for S3100V2-52TP:
Table of Contents

Advertisement

To do...
Name the channel with
a specified channel
number
Configure the channel
through which system
information can be
output to the web
interface
Configure the output
rules of the system
information
Configure the format of
the time stamp
NOTE:
You can configure to output log, trap and debugging information to a channel. However, when this
channel is bound with the output destination web interface, after logging in through the web interface, you
can view log information of specific types only, and other types of information will be filtered out.

Saving system information to a log file

This feature enables the device to save generated log information to a specified directory at a specified
interval.
Logs are saved into the log file buffer. The system writes the logs from the log file buffer to the log file at
the specified interval, which is usually set to 24 hours. You can also manually save the logs when the
device is not busy. After the logs in the log file buffer are saved into the log file successfully, the system
clears the log file buffer.
The log file has a specific capacity. When the capacity is reached, the system will delete the earliest
messages and write new messages into the log file.
Follow these steps to set to save system information to a log file:
To do...
Enter system view
Enable information center
Enable the log file feature
Configure the frequency with
which the log file is saved
Use the command...
info-center channel channel-number
name channel-name
info-center syslog channel
{ channel-number | channel-name }
info-center source { module-name |
default } channel { channel-number |
channel-name } [ debug { level severity |
state state }* | log { level severity | state
state }* | trap { level severity | state
state }* ]*
info-center timestamp { debugging | log |
trap } { boot | date | none }
Use the command...
system-view
info-center enable
info-center logfile enable
info-center logfile frequency
freq-sec
46
Remarks
Optional
See
Table 2
for default channel names.
Optional
By default, system information is output
to the web interface through channel 6.
Optional
See
"Default output rules of system
information."
Optional
The time stamp format for log, trap and
debugging information is date by
default.
Remarks
Optional
Enabled by default
Optional
Enabled by default
Optional
The default value is 86,400 seconds.

Advertisement

Table of Contents
loading

Table of Contents