98
Syntax
info-center security-logfile size-quota size
undo info-center security-logfile size-quota
Default
The maximum size of the security log file is 10 MB.
Views
System view
Predefined user roles
network-admin
Parameters
size:
Specifies the maximum size for the security log file, in MB. The value range for this argument
varies by device model.
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 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.
Views
System view
Predefined user roles
security-audit
Parameters
dir-name
: Specifies a directory by its name, a string of 1 to 511 characters.
Usage guidelines
The specified directory must have been created.
The configuration made by this command cannot survive an IRF reboot or a master/subordinate
switchover.
Examples
# Set the security log file directory to
flash:/test
.
<Sysname> mkdir test
Creating directory flash:/test... Done.