Command Manual – File System Management
H3C S7500E Series Ethernet Switches
Chapter 1 File System Management Commands
1-19
safely
: Sets the configuration saving mode to safe. If this argument is not specified, the
configuration file is saved in fast mode.
Description
Use the
save
command to save the current configuration to the specified configuration
file. If no filename is specified, the system saves the configuration file in an interactive
way. In this way, you can use the default path (the configuration file for next startup) or
enter a filename to specify a new path, but the suffix of the filename must be “.cfg” and
the path must be the path of the storage device on the active main board (AMB).
Note that:
z
If you specify the filename, the SMB does not save the current configuration into
its configuration file, even if the configuration file saving synchronization function is
enabled. If no filename is specified, the SMB automatically saves the current
configuration when the AMB is executing the
save
command.
z
If no filename is specified, the system saves the configuration file in an interactive
way. In this way, the system automatically sets the file as the configuration file for
next startup if you use a non-default path (that is, enter a new filename.).
The default filename is startup.cfg.
Related commands:
reset saved-configuration
,
display current-configuration
,
display saved-configuration
.
Examples
# Save the current configuration file to the default directory
<Sysname> save
The current configuration will be written to the device.
Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/testcfg.cfg](To leave the
existing filename unchanged, press the enter key):
flash:/testcfg.cfg exists, overwrite?[Y/N]:y
Validating file. Please wait...
Now saving current configuration to the device.
Saving configuration flash:/testcfg.cfg. Please wait...
.
Configuration is saved to flash successfully.
<Sysname>
1.2.7 slave auto-update config
Syntax
slave
auto-update
config