F3215-HP Load Balancing Module System Management Configuration Guide-6PW101

150
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:
Ste
p
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
process, the next-startup configuration file is lost. You must re-specify a new startup configuration file
after the device reboots (see "Specifying the next-startup configuration file")
.
Safe mode—U
se the save command with the safely keyword. Safe mode is slower than fast mode,
but more secure. In safe mode, the system saves configuration in a temporary file and starts
overwriting the target next-startup configuration file after the save operation is complete. If a reboot
or power failure occurs during the save operation, the next-startup configuration file is still retained.
Use the safe mode if the power source is not reliable or you are remotely configuring the device.
The configuration file extension must be .cfg.
To save the running configuration, perform either of the following tasks in any view: