1-14
Displaying and Maintaining Information Center
To do…
Use the command…
Remarks
Display information on an information
channel
display channel
[
channel
-
number |
channel
-
name
]
Display the operation status of
information center, the configuration of
information channels, the format of time
stamp and the information output in
case of fabric
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
]
Available in any
view
Clear information recorded in the log
buffer
reset logbuffer
[
unit unit-id
]
Clear information recorded in the trap
buffer
reset trapbuffer
[
unit unit-id
]
Available in user
view
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 1-1
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