3com WX3000 Manuel D’Utilisation
1-14
Displaying and Maintaining Information Center
To do…
Use the command…
Remarks
Display information on an information
channel
channel
display channel
[ channel-number |
channel-name ]
[ channel-number |
channel-name ]
Display the operation status of
information center, the configuration of
information channels, the format of
time stamp
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
information recorded in the log buffer
display logbuffer [ unit unit-id ]
[ level severity | size buffersize ]*
[ | { begin | exclude | include }
regular-expression ]
[ level severity | size buffersize ]*
[ | { begin | exclude | include }
regular-expression ]
Display the summary information
recorded in the log buffer
recorded in the log buffer
display logbuffer summary
[ level severity ]
[ level severity ]
Display the status of trap buffer and the
information recorded in the trap buffer
information recorded in the trap buffer
display trapbuffer [ unit unit-id ]
[ size buffersize ]
[ size buffersize ]
Available in any view
Clear information recorded in the log
buffer
buffer
reset logbuffer [ unit unit-id ]
Clear information recorded in the trap
buffer
buffer
reset trapbuffer [ unit unit-id ]
Available in user view
Information Center Configuration Examples
Log Output to a UNIX Log Host
Network requirements
As shown in
, 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”.
Figure 1-1 Network diagram for log output to a Unix log host
Internet
PC
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