Severity
value
3
4
5
6
7
size buffersize: Specifies the number of latest log messages to be displayed, in the range of 1 to 1024.
Without this keyword, the command displays all log information.
slot slot-number: Specifies a card by its slot number. (In standalone mode.)
chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number
argument specifies the ID of the member device. The slot-number argument specifies the slot number of
the 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 45 Command output
Field
Log buffer
Level
Description
Error condition. For example, the link state changes or a
Error
storage card is unplugged.
Warning condition. For example, an interface is
Warning
disconnected, or the memory resources are used up.
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
•
Enabled—Logs can be output to the log buffer.
•
Disabled—Logs cannot be output to the buffer.
207
Corresponding
keyword in
commands
error
warning
notification
informational
debugging