configuration encrypt
Use
configuration encrypt
Use
undo configuration encrypt
Syntax
configuration encrypt { private-key | public-key }
undo configuration encrypt
Default
Configuration encryption is disabled.
Views
System view
Predefined user roles
network-admin
Parameters
private-key
use the same private key.
public-key
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.
Any devices running Comware 7 software can decrypt the encrypted configuration file. To prevent an
encrypted file from being decoded by unauthorized users, make sure the file is accessible only to
authorized users.
Examples
# Enable the public-key method for configuration encryption.
<Sysname> system-view
[Sysname] configuration encrypt public-key
configuration replace file
Use
configuration replace file
Syntax
configuration replace file filename
Views
System view
Predefined user roles
network-admin
Parameters
filename
The file must be a .cfg file. The file and file path must be valid and on the local system.
: Encrypts configuration with a private key. All devices running Comware 7 software
: Encrypts configuration with a public key. All devices running Comware 7 software
: Specifies the path of the replacement configuration file, a string of up to 255 characters.
to enable configuration encryption.
to disable configuration encryption.
to perform configuration rollback.
11