HP VPN Firewall Appliances System Management and Maintenance Command Reference

67
Default command level
3: Manage level
Parameters
filename: Specifies the name of the replacement configuration file for configuration rollback.
Usage guidelines
To replace the running configuration with the configuration in a configuration file without rebooting the
device, use the configuration rollback function. This function helps you revert to a previous configuration
state or adapt the running configuration to different network environments.
To ensure a successful rollback:
Make sure the replacement configuration file is created by using the configuration archive function
or the save command on the device.
If the configuration file is not created on the device, make sure the configuration file content format
is fully compatible with the device.
The replacement configuration file is not encrypted.
Examples
# Replace the running configuration with the configuration in the my_archive_1.cfg configuration file.
<Sysname> system-view
[Sysname] configuration replace file my_archive_1.cfg
Current configuration will be lost, save current configuration? [Y/N]:n
Info: Now replacing the current configuration. Please wait...
Info: Succeeded in replacing current configuration with the file my_archive_1.cfg.
display archive configuration
Use display archive configuration to display configuration archive information, including the archive
directory, archive prefix, archive interval, maximum number of archives, and saved archives.
Syntax
display archive configuration [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Getting Started Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.