Displaying And Maintaining Information Center; Configuration Example For Outputting Logs To The Console - HP 5920 Configuration Manual

Table of Contents

Advertisement

Step
3.
Disable the interface from
generating link up or link
down logs.

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.
Display a summary of the log buffer.
Display the configuration of the log file.
Clear the log buffer.
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 28 Network diagram
Configuration procedure
# Enable the information center.
<Sysname> system-view
[Sysname] info-center enable
# Disable log output to the console.
[Sysname] 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.
[Sysname] info-center source ftp console level warning
[Sysname] quit
# Enable the display of logs on the console. (This function is enabled by default.)
Command
undo enable log updown
Command
display info-center
display logbuffer [ reverse ] [ level severity | size
buffersize | slot slot-number ] *
display logbuffer summary [ level severity | slot
slot-number ] *
display logfile summary
reset logbuffer
90
Remarks
By default, all interfaces generate
link up and link down logs when
the interface state changes.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5900

Table of Contents