Managing The Security Log File; Saving Diagnostic Logs To A Diagnostic Log File - H3C SR6600-X Configuration Manual

Hide thumbs Also See for SR6600-X:
Table of Contents

Advertisement

Step
1.
Enter system view.
2.
Enable the information center.
3.
Enable the saving of the
security logs to the security log
file.
4.
Set the interval at which the
system saves security logs.
5.
(Optional.) Set the maximum
size of the security log file.
6.
(Optional.) Set the alarm
threshold of the security log
file usage.

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
Display a summary of the security
log file.
Change the directory of the security
log file.
Manually save all the contents in
the security log file buffer to the
security log file.

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.
Command
system-view
info-center enable
info-center security-logfile enable
info-center security-logfile
frequency freq-sec
info-center security-logfile
size-quota size
info-center security-logfile
alarm-threshold usage
Command
display security-logfile summary
7.
system-view
8.
info-center security-logfile
directory dir-name
security-logfile save
251
Remarks
N/A
By default, the information center is
enabled.
By default, saving security logs to
the security log file is disabled.
The default saving interval is
86400 seconds.
By default, the maximum size of the
security log file is 10 MB.
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.
Remarks
Available in user view.
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.)
Available in any view.

Advertisement

Table of Contents
loading

This manual is also suitable for:

R6600

Table of Contents