Displaying And Maintaining Information Center; Information Center Configuration Examples; Configuration Example For Outputting Logs To The Console - H3C SR6600-X Configuration Manual

Hide thumbs Also See for SR6600-X:
Table of Contents

Advertisement

Displaying and maintaining information center

Execute display commands in any view and reset commands in user view.
Task
Display the information of each output destination.
Display the state and the log information of the log
buffer (in standalone mode).
Display the state and the log information of the log
buffer (in IRF mode).
Display a summary of the log buffer (in standalone
mode).
Display a summary of the log buffer (in IRF mode).
Display the configuration of the log file.
Display the diagnostic log file configuration.
Clear the log buffer.

Information center configuration examples

Configuration example for outputting logs to the console

Network requirements
Configure the device to send the console FTP logs that have a severity level of at least warning.
Figure 75 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
Command
display info-center
display logbuffer [ reverse ] [ level severity | size
buffersize | slot slot-number] *
display logbuffer [ reverse ] [ level severity | size
buffersize | chassis chassis-number slot slot-number ]
*
display logbuffer summary [ level severity | slot
slot-number ] *
display logbuffer summary [ level severity | chassis
chassis-number slot slot-number ] *
display logfile summary
display diagnostic-logfile summary
reset logbuffer
255

Advertisement

Table of Contents
loading

This manual is also suitable for:

R6600

Table of Contents