R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101

83
Severity Value Description
Corresponding keyword in
commands
Alert 1 Action must be taken immediately. alerts
Critical 2 Critical condition. critical
Error 3 Error condition. errors
Warning 4 Warning condition. warnings
Notice 5 Normal but significant condition. notifications
Informational 6 Informational messages. informational
Debug 7 Debug messages. debugging
size buffersize: Specifies the number of latest log messages to be displayed, in the range of 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, a case-sensitive string of 1 to 256 characters.
Description
Use display logbuffer to display the state of the log buffer and the log information in the log buffer.
Without size buffersize, the command displays all log information in the log buffer.
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 : 50
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 20 Command output
Field Descri
p
tion
Logging buffer configuration and
contents
State of the log buffer, enabled or disabled.
Allowed max buffer size Maximum number of messages that can be stored in the log buffer.
Actual buffer size Actual buffer size.