241
Table 12 Save security logs into the security log file
To do… Use the command… Remarks
1. Enter system view.
system-view —
2. Enable the information center.
info-center enable
Optional.
Enabled by default.
3. Enable the saving of the
security logs into the security
log file.
info-center security-logfile enable
Required.
Disabled by default.
4. Set the frequency with which
the system saves the security
log file.
info-center security-logfile
frequency freq-sec
Optional.
The default value is 600 seconds.
5. Set the maximum storage
space reserved for the security
log file.
info-center security-logfile size-
quota size
Optional.
The default value is 1 MB.
6. Set the alarm threshold of the
security log file usage.
info-center security-logfile alarm-
threshold usage
Optional.
80 by default. When the usage of
the security log file reaches 80%,
the system will inform the user.
Managing the security log file
After passing the AAA local authentication, the security log administrator can perform the following
operations:
Table 13 Manage the security log file
To do…
Use the command… Remarks
1. Display the summary of the security log
file.
display security-logfile
summary [ | { begin |
exclude | include } regular-
expression ]
Optional.
2. Change the directory where the
security log file is saved.
info-center security-logfile
switch-directory dir-name
Optional.
By default, the directory to
save the security log file is the
seclog directory under the
root directory of the storage
medium.
Available in user view.
3. Display contents of the security log file
buffer.
display security-logfile buffer
[ | { begin | exclude |
include } regular-expression ]
Optional.