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 security log file is saved in the seclog directory under the root directory of the storage media.
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 configuration made by this command cannot survive an IRF reboot or a master/subordinate
switchover.
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 switch-directory flash:/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.
Syntax
info-center source { module-name | default } { console | logbuffer | logfile | loghost | monitor } { deny
| level severity }
undo info-center source { module-name | default } { console | logbuffer | logfile | loghost | monitor }
Default
The default output rules are listed in
Table
18.
70