Modes in saving the configuration – H3C Technologies H3C SecBlade NetStream Cards User Manual

Page 249

Advertising
background image

234

To do…

Use the command…

Remarks

Enter system view

system-view

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 the power supply is stable. The safe mode is
preferred in environments where a 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

Required
Use either command
Available in any view.

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 ]

NOTE:

The configuration file must include the 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 factory defaults, and after the device reboots, you will 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

”).

Advertising