R2511-HP MSR Router Series Network Management and Monitoring Command Reference(V5)
270
Examples
# Display the contents of the log file buffer.
<Sysname> display logfile buffer
%@27091414#Aug 7 08:04:02:470 2009 Sysname IFNET/4/INTERFACE UPDOWN:
Trap 1.3.6.1.6.3.1.1.5.4: Interface 983040 is Up, ifAdminStatus is 1, ifOperStatus is
1
…
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.
Usage guidelines
The following . shows the command and router compatibility:
Command MSR900 MSR93X
MSR20-1
X
MSR20 MSR30 MSR50
MSR100
0
display
logfile
summary
Yes. Yes. No. Yes. Yes. Yes. Yes.
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










