HP VPN Firewall Appliances System Management and Maintenance Command Reference

65
Usage guidelines
Before you can set a limit on configuration archives, use the archive configuration location command to
specify a configuration archive directory and archive file name prefix.
After the maximum number of configuration archives is reached, the system deletes the oldest archive for
the new archive.
Changing the limit setting to a lower value does not cause immediate deletion of exceeding archives.
Instead, the configuration archive function deletes the oldest n files when a new archive is manually or
automatically saved, where n = current archive count – new archive limit + 1. Suppose seven
configuration archives have been saved before the archive limit is set to 4. When saving a new
configuration archive, the system first deletes the oldest four (7 – 4 + 1) archives.
If you execute the undo archive configuration location command, the default archive limit is restored.
Examples
# Set the maximum number of configuration archives to 10.
<Sysname> system-view
[Sysname] archive configuration max 10
Related commands
archive configuration location
backup startup-configuration
Use backup startup-configuration to back up the next-startup configuration file to a TFTP server.
Syntax
backup startup-configuration to dest-addr [ dest-filename ]
Views
User view
Default command level
2: System level
Parameters
dest-addr: Specifies a TFTP server's IPv4 address or name, a string of 1 to 20 characters.
dest-filename: Specifies the target file name used for saving the file on the server. The file extension must
be .cfg. If you do not specify a target file name, the source file name is used.
Usage guidelines
Before performing this task, make sure the server is reachable, the server is enabled with TFTP service,
and you have read and write permissions.
FIPS doesn't support TFTP. This command is not available in FIPS mode.
Examples
# Back up the next-startup configuration file to the TFTP server at 2.2.2.2, and set the target file name to
192-168-1-26.cfg.
<Sysname> display startup
Current startup saved-configuration file: cfa0:/config.cfg
Next startup saved-configuration file: cfa0:/test.cfg