Configuration Replace File - HP 6125XLG Command Reference Manual

Blade
Table of Contents

Advertisement

Predefined user roles
network-admin
Parameters
private-key: Encrypts configuration with a private key. All HP devices running Comware V7 software use
the same private key.
public-key: Encrypts configuration with a public key. All HP devices running Comware V7 software use
the same public key.
Usage guidelines
Configuration encryption enables the device to automatically encrypt a configuration file when saving
the running configuration to the file.
Only HP devices running Comware V7 software can decrypt the encrypted configuration file.
Examples
# Enable the public-key method for configuration encryption.
<Sysname> system-view
[Sysname] configuration encrypt public-key

configuration replace file

Use configuration replace file to perform configuration rollback.
Syntax
configuration replace file filename
Views
System view
Predefined user roles
network-admin
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 command lines in the
configuration file are fully compatible with the device.
Make sure 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
143

Advertisement

Table of Contents
loading

Table of Contents