HP VPN Firewall Appliances System Management and Maintenance Configuration Guide

89
Password:
<Firewall>
# Display the summary of the security log file.
<Firewall> display security-logfile summary
Security-log is enabled.
Security-log file size quota: 1MB
Security-log file directory: cfa0:/seclog
Alarm-threshold: 80%
Current usage: 0%
Writing frequency: 1 hour 0 min 0 sec
The output shows that the directory for saving the security log file is cfa0:/seclog.
# Change the directory where the security log file is saved to cfa0:/securitylog.
<Firewall> mkdir securitylog
.
%Created dir cfa0:/securitylog.
<Firewall> info-center security-logfile switch-directory cfa0:/securitylog/
# Display the contents of the security log file buffer.
<Firewall> display security-logfile buffer
%@175 Nov 2 17:02:53:766 2009 Firewall SHELL/4/LOGOUT:
Trap 1.3.6.1.4.1.25506.2.2.1.1.3.0.2: logout from Console
%@176 Nov 2 17:02:53:766 2009 Firewall SHELL/5/SHELL_LOGOUT:Console logged out from
con0.
The content of other logs is not shown.
The preceding information indicates that there is still new content in the buffer that has not been
saved into the security log file.
# Manually save the contents of the security log file buffer into the security log file.
<Firewall> security-logfile save
Info: Save all the contents in the security log buffer into file
cfa0:/securitylog/seclog.log successfully.
# Display the contents of the security log file.
<Firewall> more securitylog/seclog.log
%@157 Nov 2 16:12:01:750 2009 Firewall SHELL/4/LOGIN:
Trap 1.3.6.1.4.1.25506.2.2.1.1.3.0.1: login from Console
%@158 Nov 2 16:12:01:750 2009 Firewall SHELL/5/SHELL_LOGIN:Console logged in from
con0.
The content of other logs is not shown.