HP VPN Firewall Appliances System Management and Maintenance Configuration Guide
77
Hardware Out
p
uttin
g
s
y
stem information to the lo
g
file
20-Gbps VPN firewall modules Yes
Perform this task to save system information from the log buffer to a log file. You can specify the interval
to save system information, or you can manually save system information.
After saving log information from the log buffer to a log file, the system clears the log buffer.
The device supports only one log file. The log file has a specific capacity. When the capacity is reached,
the system deletes the earliest messages and writes new messages into the log file. Typically, the log file
is saved in the /logfile/logfile.log directory
To save system information to a log file:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enable the information center.
info-center enable
Optional.
Enabled by default.
3. Enable the log file feature.
info-center logfile enable
Optional.
Enabled by default.
4. Configure the interval at
which the system saves logs in
the logfile buffer to the log file.
info-center logfile frequency
freq-sec
Optional.
The default saving interval is
86400 seconds.
5. Enable the log file
overwrite-protection function.
info-center logfile
overwrite-protection
Optional
By default, log file
overwrite-protection is disabled.
6. Configure the maximum size
of the log file.
info-center logfile size-quota size
Optional.
The default setting is 10 MB.
To ensure normal operation of the
device, set the size argument to a
value between 1 MB and 10 MB.
7. Configure the directory to
save the log file.
info-center logfile switch-directory
dir-name
Optional.
By default, the log file is saved in
the logfile directory under the root
directory of the storage device (the
root directory of a storage device
varies by device model).
The configuration made by this
command cannot survive a reboot.
8. Manually save the log file
buffer content to the log file.
logfile save
Optional.
Available in any view.
By default, the system saves logs in
the log file buffer to the log file at
the interval configured by the
info-center logfile frequency
command.