1-5
Field Description
Channel number
The channel number of the log buffer, defaults to
4.
Channel name
The channel name of the log buffer, defaults to
logbuffer.
Dropped messages The number of dropped messages
Overwritten messages
The number of overwritten messages (when the
buffer size is not big enough to hold all
messages, the latest messages overwrite the old
ones).
Current messages The number of the current messages
display logbuffer summary
Syntax
display logbuffer summary [ level severity ]
View
Any view
Parameters
level severity: Specifies an information severity level. The severity argument ranges from 1 to 8.
Description
Use the display logbuffer summary command to display the statistics of the log buffer.
Examples
# Display the summary of the log buffer.
<Sysname> display logbuffer summary
EMERG ALERT CRIT ERROR WARN NOTIF INFO DEBUG
0 0 0 0 94 0 1 0
The above information indicates that there are 94 warnings and one informational information in the
log buffer.
display trapbuffer
Syntax
display trapbuffer [ unit unit-id ] [ size buffersize ]
View
Any view
Parameters
unit-id: Unit ID of the device.