R0106-HP MSR Router Series Network Management and Monitoring Command Reference(V7)

380
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 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.
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.
The command cannot survive a reboot. (MSR2000/MSR3000.)
The command cannot survive a reboot or an active/standby switchover. (MSR4000.)
Examples
# Set the directory to save the security log file as caf0:/test.
<Sysname> mkdir test
Creating directory caf0:/test... Done.
<Sysname> system-view
[Sysname] info-center security-logfile directory caf0:/test
info-center source
Use info-center source to configure a log output rule for a module.
Use undo info-center source to restore the default.