381
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 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 to
flash:/test
.
<Sysname> mkdir test
Creating directory flash:/test... Done.
<Sysname> system-view
[Sysname] info-center security-logfile 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
lists the default log output rules.
Table 87 Default output rules
Destination
Source
modules
Common
log
Security log
Diagnostic
log
Hidden log
Console
All supported
debugging Disabled
Disabled
Disabled
Содержание FlexNetwork 7500 Series
Страница 238: ...229 Sysname ...
Страница 420: ...411 Related commands packet capture ...
Страница 430: ...421 U url 78 username 79 user role 249 V version 80 vpn instance 81 W Websites 415 X xml 227 ...