display security-logfile summary
Use display security-logfile summary to display the summary of the security log file.
Syntax
display security-logfile summary
Views
Any view
Predefined user roles
security-audit
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 security log administrator, see Security Configuration Guide.
Examples
# Display the summary of the security log file.
<Sysname> display security-logfile summary
Security log file: Enabled
Security log file size quota: 10 MB
Security log file directory: flash:/seclog
Alarm threshold: 80%
Current usage: 30%
Writing frequency: 1 hour 0 min 0 sec
Table 17 Command output
Field
Security log file
Security log file size quota
Security log file directory
Alarm-threshold
Current usage
Writing frequency
enable log updown
Use enable log updown to enable a port to generate link up and link down logs upon state changes.
Use undo enable log updown to disable a port from generating link up and link down logs upon state
changes.
Syntax
enable log updown
Description
•
Enabled—Logs can be output to the security log file.
•
Disabled—Logs cannot be output to the security log file.
Maximum storage space reserved for the security log file.
Security log file directory.
Alarm threshold of the security log file usage.
Current usage of the security log file.
Security log file writing frequency.
58