Enabling configuration encryption

Configuration encryption enables the device to encrypt a startup configuration file automatically when it saves the running configuration. All HPE devices running Comware 7 software use the same method to encrypt configuration files.


[NOTE: ]

NOTE:

Any HPE devices running Comware 7 software can decrypt the encrypted configuration files. To prevent an encrypted file from being decoded by unauthorized users, make sure the file is accessible only to authorized users.


To enable configuration encryption:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enable configuration encryption.

configuration encrypt { private-key | public-key }

By default, configuration encryption is disabled. Configuration is saved unencrypted.