F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices System Management and Maintenance Command Reference-6PW100
66
Use undo configuration encrypt to restore the default.
Syntax
configuration encrypt { private-key | public-key }
undo configuration encrypt
Default
Configuration encryption is disabled. The running configuration is saved to a configuration file without
encryption.
Views
System view
Default command level
3: Manage level
Parameters
private-key: Encrypts configuration with a private key. Only the encrypting device can decrypt the
encrypted configuration file.
public-key: Encrypts configuration with a public key. Any device that supports the configuration
encryption function can decrypt the encrypted configuration file.
Usage guidelines
Configuration encryption enables the device to automatically encrypt a configuration file when saving
the current configuration to it.
To view encrypted configuration, use the display saved-configuration command instead of the more
command. If you use the more command, the system displays a failure message or garbled text.
Examples
# Enable the public-key approach to 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
Default command level
3: Manage level
Parameters
filename: Specifies the name of the replacement configuration file for configuration rollback.