Displaying and Maintaining Information Center
Display information on an information
channel
Display the operation status of
information center, the configuration of
information channels, the format of
time stamp
Display the status of log buffer and the
information recorded in the log buffer
Display the summary information
recorded in the log buffer
Display the status of trap buffer and the
information recorded in the trap buffer
Clear information recorded in the log
buffer
Clear information recorded in the trap
buffer
Information Center Configuration Examples
Log Output to a UNIX Log Host
Network requirements
As shown in
Figure
address is 202.38.1.10: the log information of the two modules ARP and IP, with severity higher than
"informational".
Figure 1-1 Network diagram for log output to a Unix log host
Switch
Configuration procedure
1)
Configure Switch:
# Enable the information center.
<Switch> system-view
[Switch] info-center enable
# Disable the function of outputting information to log host channels.
[Switch] undo info-center source default channel loghost
To do...
1-1, Switch sends the following log information to the Unix log host whose IP
Internet
Use the command...
display channel
[ channel-number |
channel-name ]
display info-center [ unit unit-id ]
display logbuffer [ unit unit-id ]
[ level severity | size buffersize ]*
[ | { begin | exclude | include }
regular-expression ]
display logbuffer summary
[ level severity ]
display trapbuffer [ unit unit-id ]
[ size buffersize ]
reset logbuffer [ unit unit-id ]
reset trapbuffer [ unit unit-id ]
PC
1-14
Remarks
Available in any view
Available in user view