
38
<Sysname> display logfile buffer
%@27091414#Aug 7 08:04:02:470 2011 Sysname IFNET/4/INTERFACE UPDOWN:
Trap 1.3.6.1.6.3.1.1.5.4<linkUp>: Interface 983040 is Up, ifAdminStatus is 1,
ifOperStatus is 1
The rest is omitted here.
display logfile summary
Syntax
display logfile summary
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
View
Any view
Default 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.
Description
Use the
display logfile summary
command to display the configuration of the log file.
Examples
# Display the configuration of the log file.
<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 13
Output description
Field Description
Log file is
The current state of a log file, which could be enabled or
disabled.
Channel number
The channel number of a log file, defaults to 9.
Log file size quota
The maximum storage space reserved for a log file
Log file directory
Log file directory
Writing frequency
Log file writing frequency