Predefined user roles
network-admin
mdc-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 for the security log file to 6 MB.
<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 configure the directory where the security log file is saved.
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. If the
storage device has been partitioned, the security log file is saved in the seclog directory on the second
partition of the storage device.
Views
System view
Predefined user roles
network-admin
mdc-admin
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.
The configuration made by this command cannot survive a reboot or an active/standby switchover. (In
standalone mode.)
The configuration made by this command cannot survive an IRF reboot or a global active/standby
switchover in an IRF fabric. (In IRF mode.)
Examples
# Set the directory to save the security log file as flash:/test.
<Sysname> mkdir test
Creating directory flash:/test... Done.
<Sysname> system-view
[Sysname] info-center security-logfile directory flash:/test
226