R3303-HP HSR6800 Routers Network Management and Monitoring Command Reference

207
display logfile summary
Use display logfile summary to display the log file configuration.
Syntax
display logfile summary [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
|: 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.
Examples
# Display the log file configuration.
<Sysname> display logfile summary
Log file is enabled.
Channel number : 9
Log file size quota : 10 MB
Log file directory : flash:/logfile
Writing frequency : 24 hour 0 min 10 sec
Table 48 Command output
Field Descri
p
tion
Log file is State of the log file feature, enabled or disabled.
Channel number Log file channel number, which defaults to 9.
Log file size quota Maximum storage space of a log file.
Log file directory Log file directory.
Writing frequency Log file writing frequency.
display trapbuffer
Use display trapbuffer to display the state and the trap information of the trap buffer. Without the size
buffersize argument, the command displays all trap information.
Syntax
display trapbuffer [ reverse ] [ size buffersize ] [ | { begin | exclude | include } regular-expression ]