362
Severity
value
Level Description
Corresponding
keyword in
commands
7 Debugging
Debugging
message.
debugging
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 Description
Log buffer
•
Enabled
—Logs can be output to the log buffer.
•
Disabled
—Logs cannot be output to the buffer.
Max buffer size
Maximum buffer size supported by the device.
Actual buffer size
Maximum buffer size configured by using the
info-center logbuffer size
command.
Dropped messages
Number of dropped messages.
Overwritten messages
Number of overwritten messages.
Current messages
Number of current messages.