Channel number
Channel name
Dropped messages
Overwritten messages
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
0
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.
Field
WARN NOTIF
0
0
94
0
The channel number of the log buffer, defaults to
4.
The channel name of the log buffer, defaults to
logbuffer.
The number of dropped 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).
The number of the current messages
INFO DEBUG
1
0
1-5
Description