438
Predefined user roles
network-admin
Parameters
size: Specifies the maximum size for the security log file, in MB. The value range is 1 to 10.
Examples
# Set the maximum size to 6 MB for the security log file.
<Sysname> system-view
[Sysname] info-center security-logfile size-quota 6
Related commands
info-center security-logfile alarm-threshold
info-center security-logfile directory
Use info-center security-logfile directory to specify the security log file directory.
Syntax
info-center security-logfile directory dir-name
Default
The security log file is saved in the seclog directory under the root directory of the storage device.
Views
System view
Predefined user roles
security-audit
Parameters
dir-name: Specifies a directory by its name, a string of 1 to 64 characters.
Usage guidelines
The specified directory must have been created.
This command cannot survive a reboot. (Centralized devices in standalone mode.)
This command cannot survive a reboot or an active/standby switchover. (Distributed devices in
standalone mode.)
This command cannot survive an IRF reboot or a master/subordinate switchover. (Centralized devices in
IRF mode.)
This command cannot survive an IRF reboot or a global active/standby switchover in an IRF fabric.
(Distributed devices in IRF mode.)
Examples
# Set the security log file directory to cfa0:/test.
<Sysname> mkdir test
Creating directory cfa0:/test... Done.
<Sysname> system-view
[Sysname] info-center security-logfile directory cfa0:/test