H3C S5120-EI Series Command Reference Manual page 117

Fundamentals
Hide thumbs Also See for S5120-EI Series:
Table of Contents

Advertisement

Default level
2: System level
Parameters
file-url: File path, where the extension of the file name must be .cfg. When used with the keyword all or
slot, this argument cannot include a member ID. If the file path includes a folder name, you must first
create the folder on the member device; otherwise, the operation will fail.
all: Saves the current configuration in the specified filename to all member devices of an IRF virtual
device..
slot slot-number: Saves the current configuration in the specified filename to a slave switch. slot-number
represents the member ID of a member device of an IRF virtual device.
safely: Sets the configuration saving mode to safe. If this argument is not specified, the configuration file
is saved in fast mode.
backup: Saves the current configuration to the startup configuration file specified in the interactive mode,
and specifies the file as the backup startup configuration file for the next system startup.
main: Saves the current configuration to the main startup configuration file specified in the interactive
mode, and specifies the file as the main startup configuration file for the next system startup.
force: Saves the current configuration to the configuration file for the next system startup, and the system
does not output any interaction information. By default, when you execute the save command, the system
asks you to input Y or N to confirm your operation. If you do not confirm your operation within 30
seconds, the system automatically quits the operation. If you provide the force keyword when executing
the save command, the system directly saves the current configuration, not requiring any confirmation.
Description
Use the save file-url [ all | slot slot-number ] command to save the current configuration to the specified
configuration file, but not the startup configuration file for the next system startup.
NOTE:
If the file specified by
to the file.
If the all or slot keyword is not specified, the configuration is saved to the master.
Use the save [ safely ] [ backup | main ] [ force ] command to save the current configuration to the root
directory of the storage media on a member device, and specify the file as the startup configuration file
for the next system startup. If the backup or main keyword is not specified, the main keyword is used by
default.
Whether the save [ safely ] [ backup | main ] [ force ] command or the save
command+Enter takes effect on all the member devices or only on the master depends on whether the
configuration file auto-save function is enabled.
Related commands: slave auto-update config, reset saved-configuration, display current-configuration,
and display saved-configuration.
Examples
# Save the current configuration to the root directory of the storage media on a member device, and
specify the file as the startup configuration file for the next startup.
<Sysname> display startup
MainBoard:
file-url
does not exist, the system will create the file and then save the configuration
107
file-url
all

Advertisement

Table of Contents
loading

Table of Contents