R2511-HP MSR Router Series Network Management and Monitoring Command Reference(V5)
272
Examples
# Display the contents of the security log file buffer.
<Sysname> display security-logfile buffer
%@1 Sep 17 11:13:16:609 2009 Sysname SHELL/5/SHELL_LOGIN: Console logged in from con0.
…
Related commands
• info-center security-logfile frequency
• security-logfile save
display security-logfile summary
Use display security-logfile summary to display the summary of the security log file.
Syntax
display security-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
A local user can use this command only after being authorized as the security log administrator by the
system administrator through the authorization-attribute user-role security-audit command. For more
information about the authorization-attribute command, see Security Command Reference.
The following matrix shows the command and router compatibility:
Command MSR900 MSR93X
MSR20-1
X
MSR20
MSR30 MSR50 MSR1000
display
security-logfil
e summary
Yes. Yes. No. Yes. Yes.
Yes. No.
Examples
# Display the summary of the security log file.
<Sysname> display security-logfile summary
Security log file is enabled
Security log file size quota: 6MB










