
58
* no decompiling or reverse-engineering shall be allowed. *
******************************************************************************
Login authentication
Username:seclog
Password:
<Sysname>
# Display the summary of the security log file.
<Sysname> display security-logfile summary
Security-log is enabled.
Security-log file size quota: 1MB
Security-log file directory: flash:/seclog
Alarm-threshold: 80%
Current usage: 0%
Writing frequency: 1 hour 0 min 0 sec
The above information indicates that the directory for saving the security log file is
flash:/seclog
.
# Change the directory where the security log file is saved to
Flash:/securitylog
.
<Sysname> mkdir securitylog
.
%Created dir flash:/securitylog.
<Sysname> info-center security-logfile switch-directory flash:/securitylog/
# Display contents of the security log file buffer.
<Sysname> display security-logfile buffer
%@175 Nov 2 17:02:53:766 2011 Sysname SHELL/4/LOGOUT:
Trap 1.3.6.1.4.1.25506.2.2.1.1.3.0.2<hh3cLogOut>: logout from Console
%@176 Nov 2 17:02:53:766 2011 Sysname SHELL/5/SHELL_LOGOUT:Console logged out from aux0.
Contents of other logs are not shown.
The above information indicates that there is still new content in the buffer that has not been saved into
the security log file yet.
# Save the contents of the security log file buffer into the security log file manually.
<Sysname> security-logfile save
Info: Save all the contents in the security log buffer into file
flash:/securitylog/seclog.log successfully.
# Display the contents of the security log file.
<Sysname> more securitylog/seclog.log
%@157 Nov 2 16:12:01:750 2011 Sysname SHELL/4/LOGIN:
Trap 1.3.6.1.4.1.25506.2.2.1.1.3.0.1<hh3cLogIn>: login from Console
%@158 Nov 2 16:12:01:750 2011 Sysname SHELL/5/SHELL_LOGIN:Console logged in from aux0.
Contents of other logs are not shown.