F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices System Management and Maintenance Command Reference-6PW100

102
Examples
# Set the maximum storage space reserved 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 switch-directory
Use info-center security-logfile switch-directory to configure the directory where the security log file is
saved.
Syntax
info-center security-logfile switch-directory dir-name
Default
The directory to save the security log file is the seclog directory under the root directory of the storage
medium.
Views
System view for security log management
Default command level
2: System level
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 system restart.
For a device that has been partitioned, the directory to save a log file varies with devices and is usually
the seclog directory in the second partition of the storage medium.
A local user can use this command only after being authorized as the security log administrator by the
system administrator through the authorization-attribute user-role security-audit command. For more
information about the authorization-attribute command, see Access Control Command Reference.
Examples
# Set the directory to save the security log file to cfa0:/test.
<Sysname> mkdir test
%Created dir cfa0:/test.
<Sysname> info-center security-logfile switch-directory cfa0:/test
info-center snmp channel
Use info-center snmp channel to configure the SNMP output channel. The system uses this channel to
output information to the SNMP module.
Use undo info-center snmp channel to restore the default SNMP output channel.