Severity
value
7
size buffersize: Specifies the number of latest log messages to be displayed, in the range of 1 to
1024. If you do not specify this keyword, the command displays all log information.
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. The
chassis-number argument represents the member ID of the IRF member device. The slot-number
argument represents the slot number of the card. On an IRF fabric, this command displays
information for all cards if you do not specify a card. (In IRF mode.)
Examples
# (In standalone mode.) Display the state and log information of the log buffer.
<Sysname> display logbuffer slot 1
Log buffer: Enabled
Max buffer size: 1024
Actual buffer size: 512
Dropped messages: 0
Overwritten messages: 0
Current messages: 127
%Jun 19 18:03:24:55 2006 Sysname SYSLOG /7/SYS_RESTART:System restarted
...
# (In IRF mode.) Display the state and log information of the log buffer.
<Sysname> display logbuffer chassis 0 slot 1
Log buffer: Enabled
Max buffer size: 1024
Actual buffer size: 512
Dropped messages: 0
Overwritten messages: 0
Current messages: 127
%Jun 19 18:03:24:55 2006 Sysname SYSLOG/7/SYS_RESTART:System restarted
...
Table 83 Command output
Field
Log buffer
Max buffer size
Actual buffer size
Dropped messages
Overwritten messages
Current messages
Level
Description
Debugging
Debugging message.
Description
•
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.
362
Corresponding
keyword in
commands
debugging