(In standalone mode.) This command cannot survive a reboot or an active/standby switchover.
(In IRF mode.) This command cannot survive an IRF reboot or a global active/standby switchover in
an IRF fabric.
Examples
# Set the security log file directory to flash:/test.
<Sysname> mkdir test
Creating directory flash:/test... Done.
<Sysname> system-view
[Sysname] info-center security-logfile directory flash:/test
info-center security-logfile enable
Use info-center security-logfile enable to enable saving of security logs to the security log file.
Use undo info-center security-logfile enable to restore the default.
Syntax
info-center security-logfile enable
undo info-center security-logfile enable
Default
The saving of security logs to the security log file is disabled.
Views
System view
Predefined user roles
network-admin
mdc-admin
Usage guidelines
This feature enables the system to output security logs to the security log file buffer, and then saves
the buffered logs to the security log file regularly.
Examples
# Enable saving security logs to the security log file.
<Sysname> system-view
[Sysname] info-center security-logfile enable
info-center security-logfile frequency
Use info-center security-logfile frequency to configure the interval for saving security logs to the
security log file.
Use undo info-center security-logfile frequency to restore the default.
Syntax
info-center security-logfile frequency freq-sec
undo info-center security-logfile frequency
Default
The security log file saving interval is 86400 seconds.
397