62
1. Enter system view.
N/A
2.
storage period.
info-center syslog min-age
min-age
By default, the log minimum
storage period is not set.
Displaying and maintaining information center
Execute display commands in any view and reset commands in user view.
Display the diagnostic log file configuration.
display diagnostic-logfile summary
Display the information of each output destination.
display info-center
Display the state and the log information of the log
buffer.
display logbuffer
[
reverse
] [
level
severity |
size
buffersize |
slot
slot-number ] *
Display a summary of the log buffer.
display logbuffer summary
[
level
severity
| slot
slot-number ] *
Display the configuration of the log file.
display logfile summary
Clear the log buffer.
reset logbuffer
Information center configuration examples
Configuration example for outputting logs to the console
Network requirements
Configure the device to output to the console FTP logs that have a severity level of at least warning.
Figure 22 Network diagram
Configuration procedure
# Enable the information center.
<Device> system-view
[Device] info-center enable
# Disable log output to the console.
[Device] info-center source default console deny
To avoid output of unnecessary information, disable all modules from outputting log information to
the specified destination (console in this example) before you configure the output rule.
# Configure an output rule to output to the console FTP logs that have a severity level of at least
warning.
[Device] info-center source ftp console level warning
[Device] quit