Information Center Configuration Examples 463
Information Center
Configuration
Examples
Log Output to a UNIX
Log Host
Network requirements
The switch sends the following log information to the Unix log host whose IP
address is 202.38.1.10: the log information of the two modules ARP and IP, with
severity higher than "informational".
Network diagram
Figure 153 Network diagram for log output to a Unix log host
Configuration procedure
1 Configure the 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
Tab le 353 Display and maintain information center
Operation Command Description
Display information on an
information channel
display channel [
channel-number |
channel-name ]
Available in any view
Display the operation status of
information center, the
configuration of information
channels, the format of time
stamp
display info-center [ unit
unit-id ]
Display the status of log
buffer and the information
recorded in the log buffer
display logbuffer [ unit
unit-id ] [ level severity | size
buffersize ]* [ | { begin |
exclude | include }
regular-expression ]
Display the summary
information recorded in the
log buffer
display logbuffer summary
[ level severity ]
Display the status of trap
buffer and the information
recorded in the trap buffer
display trapbuffer [ unit
unit-id ] [ size buffersize ]
Clear information recorded in
the log buffer
reset logbuffer [ unit unit-id
]
Available in user view
Clear information recorded in
the trap buffer
reset trapbuffer [ unit
unit-id ]