1-10
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enable configuration file
auto-save
slave auto-update config
Optional
Enabled by default.
Modes in saving the configuration
z
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.
z
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.
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
[
all
|
slot
slot-number
]
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 that will be used at
the next system startup
save
[
safely
] [
backup
|
main
]
Required
Use either
command
Available in any
view
z
The configuration file must be with extension
.cfg
.
z
Whether the
save
[
safely
] [
backup
|
main
] 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, refer to
Enabling
configuration file auto-save
. (centralized IRF device)
z
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.
z
During the execution of the
save
[
safely
] [
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 need
to re-specify a startup configuration file for the next system startup (refer to
Specifying a Startup
Configuration File for the Next System Startup
).