Command Manual – Configuration File Management
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 Configuration File Management
Commands
Huawei Technologies Proprietary
1-13
Unit1 reset saved-configuration successfully.
1.1.6 save
Syntax
save
[
cfgfile
| [
safely
] [
backup
|
main
] ]
View
Any view
Parameter
cfgfile
: Path name or file name of a configuration file in the Flash, a string comprising 5
to 56 characters.
safely
: Saves the current configuration in the safe mode. Although the saving process
in the safe mode is slow, the configuration can be saved to the Flash even if the device
restarts or is powered off when the saving operation is being processed.
backup
: Saves the configuration to the secondary configuration file.
main
: Saves the configuration to the primary configuration file.
Description
Use the
save
command to save the current configuration to a configuration file in the
Flash.
If you execute this command with neither the
backup
nor the
main
keyword specified,
the current configuration is saved in the primary configuration file.
The
safely
keyword determines the way to save the current configuration, as described
in the following.
z
If you execute this command with the
safely
keyword not specified, the system
saves the current configuration in the fast mode. In this mode, the configuration
gets lost if the device restarts or is powered off when the saving operation is being
processed.
z
If you execute this command with the
safely
keyword specified, the system saves
the current configuration in the safe mode. Although this mode takes more time
than the fast mode, the configuration can be saved to the Flash even if the device
restarts or is powered off when the saving operation is being processed.
The fast mode is recommended under the circumstances where the power systems are
reliable, while the safe mode is recommended when power system is unreliable or you
are performing a remote maintenance operation.