361
Information timestamp format:
Loghost: Date
Other output destination: Date
display logbuffer
Use
display logbuffer
to display the state of the log buffer and the log information in the log buffer.
Syntax
In standalone mode:
display logbuffer
[
reverse
] [
level
severity
|
size
buffersize
|
slot
slot-number
] *
In IRF mode:
display logbuffer
[
reverse
] [
level
severity
|
size
buffersize
|
chassis
chassis-number
slot
slot-number
] *
Views
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
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 this keyword, the
command displays log information for all levels.
Table 82 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 or a
storage card is unplugged.
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