Step
1.
Enter system view.
2.
Enable configuration
encryption.
Saving the running configuration
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 specify a new startup configuration file
after the device reboots (see
Safe mode—Use 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.
To save the running configuration, perform either of the following tasks in any view:
Task
Save the running configuration to
a configuration file without
specifying the file as the
next-startup configuration file.
Command
system-view
configuration encrypt { private-key |
public-key }
"Specifying a next-startup configuration
Command
•
In standalone mode:
save file-url [ all | slot
slot-number ]
•
In IRF mode:
save file-url [ all | chassis
chassis-number slot
slot-number ]
103
Remarks
N/A
By default, configuration
encryption is disabled.
Configuration is saved
unencrypted.
file").
Remarks
N/A