beautypg.com

Modes in saving the configuration – H3C Technologies H3C SecPath F1000-E User Manual

Page 178

background image

3

To do…

Use the command…

Remarks

Enable configuration file
encryption

configuration encrypt
{ private-key | public-key }

Optional
Disabled by default, that is, the

current valid configurations are

directly saved to the configuration
file.

NOTE:

You can use the display saved-configuration command instead of the more command to view the
encrypted configuration file, because the latter cannot decrypt the file. Otherwise, you will be prompted

for operation failure or garbled characters.

Modes in Saving the Configuration

Fast saving mode. This is the mode when you use the save command without the safely keyword.

The mode saves the file more quickly but is likely to lose the existing configuration file if the device

reboots or the power fails during the process.

Safe mode. This is the mode when you use the save command with the safely keyword. The

mode saves the file more slowly but can retain the configuration file in the device even if the device

reboots or the power fails during the process.

The fast saving mode is suitable for environments where power supply is stable. The safe mode, however,

is preferred in environments where stable power supply is unavailable or remote maintenance is

involved.
Follow the steps below to save the current configuration:

To do…

Use the command…

Remarks

Save the current configuration to
the specified file, but the
configuration file will not be set as

the file for the next startup

save file-url

Save the current configuration to
the root directory of the storage
medium and specify the file as the

startup configuration file that will

be used at the next system startup

save [ safely ] [ force ]

Required
Use either command
Available in any view.

NOTE:

The configuration file must be with extension .cfg.

During the execution of the save command, the startup configuration file to be used at the next system
startup may be lost if the device reboots or the power supply fails. In this case, the device will boot with

the null configuration, and after the device reboots, you need to re-specify a startup configuration file for

the next system startup (see

Specifying a Startup Configuration File to Be Used at the Next System

Startup

).