Severity
value
5
6
7
size buffersize: Specifies the number of latest logs to be displayed. The value range is 1 to 1024. If
you do not specify this option, the command displays all logs in the log buffer.
slot slot-number: Specifies a card by its slot number. If you do not specify a card, this command
displays information for all cards. (In standalone mode.)
chassis chassis-number slot slot-number: Specifies a card on an IRF member device or specifies a
PEX. The chassis-number argument represents the member ID of the IRF member device or the
virtual chassis number of the PEX. The slot-number argument represents the slot number of the card
or PEX. On an IRF fabric, this command displays information for all cards if you do not specify a card.
On an eIRF system, this command displays information for all cards and PEXs if you do not specify
a card or PEX. (In IRF mode.)
Examples
# Display the state and log information of the log buffer.
<Sysname> display logbuffer
Log buffer: Enabled
Max buffer size: 1024
Actual buffer size: 512
Dropped messages: 0
Overwritten messages: 718
Current messages: 512
%Jun 17 15:57:09:578 2006 Sysname SYSLOG/7/SYS_RESTART:System restarted --
...
Table 77 Command output
Field
Log buffer
Max buffer size
Actual buffer size
Dropped messages
Overwritten messages
Current messages
Related commands
info-center logbuffer
reset logbuffer
Level
Description
Normal but significant condition. For example, a terminal
Notification
logs in to the device, or the device reboots.
Informational message. For example, a command or a
Informational
ping operation is executed.
Debugging
Debugging message.
Description
Status of the log buffer:
•
Enabled—Logs can be output to the log buffer.
•
Disabled—Logs cannot be output to the buffer.
Maximum buffer size supported by the device.
Maximum buffer size configured by using the
info-center logbuffer size command.
Number of dropped messages.
Number of overwritten messages.
Number of current messages.
350
Keyword in
commands
notification
informational
debugging