
473
Parameters
reverse
: Displays log entries chronologically, with the most recent entry at the top. If you do not
specify this keyword, the command displays log entries chronologically, with the oldest entry at the
top.
level severity
: Specifies a severity level in the range of 0 to 7. If you do not specify a severity level,
this command displays log information for all levels.
Table 90 Log levels
Severity
value
Level Description
Corresponding
keyword in
commands
0 Emergency
The system is unusable. For example, the system
authorization has expired.
emergency
1 Alert
Action must be taken immediately. For example, traffic
on an interface exceeds the upper limit.
alert
2 Critical
Critical condition. For example, the device temperature
exceeds the upper limit, the power module fails, or the
fan tray fails.
critical
3
Error
Error condition. For example, the link state changes.
error
4 Warning
Warning condition. For example, an interface is
disconnected, or the memory resources are used up.
warning
5 Notification
Normal but significant condition. For example, a
terminal logs in to the device, or the device reboots.
notification
6 Informational
Informational message. For example, a command or a
ping
operation is executed.
informational
7 Debugging
Debugging
message.
debugging
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. (Distributed devices in standalone mode.)
slot slot-number
: Specifies an IRF member device by its member ID. If you do not specify a member
device, this command displays information for all member devices. (Centralized devices in IRF
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. If you do not specify a card, this command displays
information for all cards. (Distributed devices in IRF mode.)
Examples
# (Centralized devices in standalone mode.) Display the state and log information of the log buffer.
<Sysname> display logbuffer
Log buffer: Enabled
Max buffer size: 1024