
251
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enable the information center.
info-center enable
By default, the information center is
enabled.
3.
Enable the saving of the
security logs to the security log
file.
info-center security-logfile enable
By default, saving security logs to
the security log file is disabled.
4.
Set the interval at which the
system saves security logs.
info-center security-logfile
frequency
freq-sec
The default saving interval is
86400 seconds.
5.
(Optional.) Set the maximum
size of the security log file.
info-center security-logfile
size-quota
size
By default, the maximum size of the
security log file is 10 MB.
6.
(Optional.) Set the alarm
threshold of the security log
file usage.
info-center security-logfile
alarm-threshold
usage
By default, the alarm threshold of
the security log file usage is 80.
When the usage of the security log
file reaches 80%, the system will
inform the user.
Managing the security log file
To manage and maintain the security log file, the security log administrator must pass local AAA
authentication first. For more information about security log administrator, see
Security Configuration
Guide
.
To manage the security log file:
Task Command
Remarks
Display a summary of the security
log file.
display security-logfile summary
Available in user view.
Change the directory of the security
log file.
7.
system-view
8.
info-center security-logfile
directory
dir-name
By default, the security log file is
saved in the
seclog
directory in the
root directory of the storage device.
This command cannot survive a
reboot or an active/standby
switchover. (In standalone mode.)
This command cannot survive an IRF
reboot or a global active/standby
switchover in an IRF fabric. (In IRF
mode.)
Manually save all the contents in
the security log file buffer to the
security log file.
security-logfile save
Available in any view.
Saving diagnostic logs to a diagnostic log file
By default, the device saves diagnostic logs from the diagnostic log file buffer to the diagnostic log file
every 24 hours. You can adjust the saving interval or manually save diagnostic logs to the diagnostic log
file. After saving diagnostic logs to the diagnostic log file, the system clears the diagnostic log file buffer.