Displaying and maintaining information center
To do… Use the command… Remarks
Display the information about
information channels
display channel [ channel-number
| channel-name ] [ | { begin |
exclude | include }
regular-expression ]
Available in any view
Display the information about each
output destination
display info-center Available in any view
Display the state of the log buffer
and the log information recorded
display logbuffer [ reverse ] [ level
severity | size buffersize | slot
slot-number ] * [ | { begin |
exclude | include }
regular-expression ]
Available in any view
Display a summary of the log
buffer
display logbuffer summary [ level
severity | slot slot-number ] * [ |
{ begin | exclude | include }
regular-expression ]
Available in any view
Display the state of the trap buffer
and the trap information recorded
display trapbuffer [ reverse ] [ size
buffersize ] [ | { begin | exclude |
include } regular-expression ]
Available in any view
Reset the log buffer reset logbuffer Available in user view
Reset the trap buffer reset trapbuffer Available in user view
Information center configuration examples
Outputting log information to a UNIX log host
Network requirements
• Send log information to a UNIX log host with an IP address of 1.2.0.1/16;
• Log information with severity higher than or equal to informational will be output to the log host;
• The source modules are ARP and IP.
Figure 54 Network diagram for outputting log information to a UNIX log host
Configuration procedure
Before the configuration, make sure that Device and PC are reachable to each other.
1. Configure the device
# Enable information center.
<Sysname> system-view
[Sysname] info-center enable
170