Managing configuration files at the cli, Saving the running configuration, Enabling configuration encryption – H3C Technologies H3C SecBlade LB Cards User Manual

Page 174

Advertising
background image

164

3.

Click Browse.

4.

Select the .cfg file to be imported as prompted.

5.

Click Apply.

Managing configuration files at the CLI

Saving the running configuration

To make configuration changes take effect at the next startup, save the running configuration to the

startup configuration file to be used at the next startup before the device reboots.
Complete the following tasks to save the running configuration:

Task Remarks

Enabling configuration encryption

Optional.
Perform this task to make sure a configuration file is
accessible only to trustworthy devices.

Saving running configuration in different approaches

Required.

Enabling configuration encryption

Configuration encryption enables the device to automatically encrypt a startup configuration file when

saving the running configuration to it. This function has the following approaches:

Private key approach—Only the current device can decrypt the encrypted configuration file.

Public key approach—Any device that supports the configuration encryption function can decrypt
the encrypted configuration file.

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.
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.

Saving running configuration in different approaches

When saving the running configuration to a configuration file, you can specify the file as the next-startup

configuration file.
If you are specifying the file as the next-startup configuration file, use one of the following methods to

save the configuration:

Fast mode—Use the save command without the safely keyword. In this mode, the device directly
overwrites the target next-startup configuration file. If a reboot or power failure occurs during this

Advertising
This manual is related to the following products: