R3166-R3206-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101

68
Severit
y
Value
Descri
p
tion
Debug 7 Debug-level messages
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 .
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Getting Started 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, which is 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 of the log buffer and the log information recorded on the device.
<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
Current messages : 512
%Jun 17 15:57:09:578 2006 Sysname IC/7/SYS_RESTART:
System restarted --
The rest is omitted here.
Table 19 Output description
Field Descri
p
tion
Logging buffer configuration and contents
Indicates the current state of the log buffer and its contents,
which could be enabled or disabled.
Allowed max buffer size The maximum buffer size allowed
Actual buffer size The actual buffer size
Channel number The channel number of the log buffer, defaults to 4.
Channel name The channel name of the log buffer, defaults to logbuffer.
Dropped messages The number of dropped messages