H3C S5120-SI Series Command Reference Manual page 756

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

Parameters
reverse: Displays log entries chronologically, with the most recent entry at the top. If this keyword is not
specified, the log entries will be displayed chronologically, with the oldest entry at the top.
level severity: Displays information of the log with specified level, where severity represents information
level, in the range 0 to 7.
Table 1-4 Severity description
Severity
Emergency
Alert
Critical
Error
Warning
Notice
Informational
Debug
size buffersize: Displays 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, in the range 1 to
1,024.
|: Uses a regular expression to filter the output information. For detailed information about regular
expression, refer to section CLI Display in Basic System Configuration.
begin: Displays the line that matches the regular expression and all the subsequent lines.
exclude: Displays the lines that do not match the regular expression.
include: Displays the lines that match the regular expression.
regular-expression: Regular expression, a string of 1 to 256 characters. Note that this argument is
case-sensitive and can have spaces included.
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 of the log buffer and the log information recorded.
<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 : 718
Value
0
1
2
3
4
5
6
7
1-5
Description
The system is unusable.
Action must be taken
immediately
Critical conditions
Error conditions
Warning conditions
Normal but significant condition
Informational messages
Debug-level messages

Advertisement

Table of Contents
loading

Table of Contents