
111
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 these steps to save the current configuration:
To do…
Use the command…
Remarks
Save the current configuration to
the specified file, but the
configuration file is not set as the
file to be used at the next startup
save
file-url
[
all
|
slot
slot-number
]
Required
Use either command
Available in any view.
Save the current configuration to
the root directories of the storage
media of all the member devices
and specify the file as the startup
configuration file to be used at the
next system startup
save
[
safely
] [
backup
|
main
]
[
force
]
NOTE:
•
The configuration file must be with extension
.cfg
.
•
Whether the
save
[
safely
] [
backup
|
main
] [
force
] command or the
save
filename
all
Enter
takes effect on all the member devices or on the master only depends on whether the
configuration file auto-save function is enabled. For the configuration file auto-save function, see
"
Enabling configuration file auto-save
. "
•
The execution of the
save
[
safely
] and
save
[
safely
]
main
commands has the same effect: The system
will save the current configuration and specify the configuration file as the main startup configuration file
to be used at the next system startup.
•
During the execution of the
save
[
backup
|
main
] 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 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
").
Using automatic configuration backup after a software
upgrade
After a software upgrade, the system by default starts up with the next-startup configuration file created
on the old software version, but the system does not load settings that are incompatible with the new
software version to the current configuration.