Displaying and Maintaining Information Center 1015
■ In the interaction mode, you are prompted for some information input. If the
input is interrupted by system output, no system prompt will be made, rather
only your input will be displayed in a new line.
Displaying and
Maintaining
Information Center
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 informational will be output to the
log host;
■ The source modules are ARP and IP.
Network diagram
Figure 302 Network diagram for outputting log information to a Unix log host
Configuration procedure
Before the configuration, make sure that there is a route between Device and PC.
1 Configuring the device
# Enable information center.
<Sysname> system-view
[Sysname] info-center enable
To do… Use the command… Remarks
Display channel
information for a specified
channel
display channel [ channel-number |
channel-name ]
Available in any view
Display the configurations
on each output destination
display info-center Available in any view
Display the state of the log
buffer and the log
information recorded
display logbuffer [ level severity |
size buffersize ] * [ | { begin | exclude
| include } text ]
Available in any view
Display a summary of the
log buffer
display logbuffer summary [ level
severity ]
Available in any view
Display the state of the
trap buffer and the trap
information recorded
display trapbuffer [ size buffersize ] Available in any view
Reset the log buffer reset logbuffer Available in user view
Reset the trap buffer reset trapbuffer Available in user view
Internet
Device
PC
1.1.0.1/16 1 .2.0.1/16