F3215-HP Load Balancing Module System Maintenance Configuration Guide-6PW101

20
Ste
p
Command
Remarks
2. Enable the information center. info-center enable
Optional.
Enabled by default.
3. Name the channel with a
specified channel number.
info-center channel
channel-number name
channel-name
Optional.
See Table 2 for default channel
names.
4. Configure an output channel
for the Web interface.
info-center syslog channel
{ channel-number |
channel-name }
Optional.
By default, system information is
output to the Web interface
through channel 6.
5. Configure an output rule for
the Web interface.
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 }* ]*
Optional.
See "Default output rules of system
informati
o
n."
6. Configure the timestamp
format.
info-center timestamp { debugging
| log | trap } { boot | date | none }
Optional.
The timestamp format for log, trap
and debug information is date by
default.
Saving system information to a log file
This feature enables the device to save generated log information to a log file. You can specify how often
the log file is saved, or you can manually save the log file.
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 (24 hours by default). You can also manually save the logs while the device is not
busy. After saving logs from the log file buffer to the log file, the system clears the log file buffer.
The log file has a specific capacity. When the capacity is reached, the system deletes the earliest
messages and writes new messages into the log file. The log file is saved in the directory
/logfile/logfile.log.
To save system information to a log file:
Ste
p
Command
Remarks
1. Enter system view. system-view N/A
2. Enable the information center.
info-center enable
Optional.
Enabled by default.
3. Enable the log file feature.
info-center logfile enable
Optional.
Enabled by default.
4. Configure the interval at which
the system saves logs in the
logfile buffer to the log file.
info-center logfile frequency
freq-sec
Optional.
The default saving interval is
86400 seconds.