
35
Table 10
Severity description
Severity Value
Description
Corresponding
keyword in
commands
Emergency
0
The system is unusable.
emergencies
Alert 1
Action must be taken
immediately
alerts
Critical 2
Critical
conditions
critical
Error 3
Error
conditions
errors
Warning 4 Warning
conditions
warnings
Notice 5
Normal but significant
condition
notifications
Informational 6
Informational
messages
informational
Debug 7
Debug-level
messages
debugging
size
buffersize
: Displays the specified number of the latest log messages in the log buffer, where
buffersize
represents the number of the latest log messages to be displayed in the log buffer.
slot
slot-number
: ID of the IRF member switch.
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see
Fundamentals Configuration Guide
.
begin
: Displays the first line that matches the specified regular expression and all lines that follow.
exclude
: Displays all lines that do not match the specified regular expression.
include
: Displays all lines that match the specified regular expression.
regular-expression
: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use the
display logbuffer
command to display the state of the log buffer and the log information
recorded. Absence of the
size
buffersize
argument indicates that all log information recorded in the log
buffer is displayed.
Examples
# Display the state and log information about the log buffer.
<Sysname> display logbuffer
Logging buffer configuration and contents:enabled
Allowed max buffer size : 1024
Actual buffer size : 512
Channel number : 4 , Channel name : logbuffer
Dropped messages : 0
Overwritten messages : 0
Current messages : 127
%Jun 19 18:03:24:55 2011 Sysname IC/7/SYS_RESTART:
System restarted --
The rest is omitted here.