113
View
Any view
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 slot number. If the file path includes a folder name, you must first
create the folder on the specified MPU; otherwise, the operation will fail. (In standalone mode)
all
: Saves the configuration with the specified filename to all the MPUs. (In standalone mode).
all
: Saves the configuration with the specified filename to all member switches of an IRF fabric. (In IRF
mode).
slot
slot-number
: Saves the configuration with the specified filename to the standby MPU.
slot-number
represents the slot number of a card. (In standalone mode)
chassis
chassis-number
slot
slot-number
: Saves the configuration with the specified filename to a
specified MPU.
chassis-number
represents the member ID of a member switch of the current IRF fabric. (In
IRF mode)
safely
: Sets the configuration saving mode to safe. If this argument is not specified, the configuration file
is saved in fast mode.
force
: Saves the configuration to the startup configuration file of the device, 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 no 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
•
In standalone mode
Use the
save
file-url
[
all
|
slot
slot-number
] command to save the configuration to the specified
configuration file, but the system does not specify the file as the startup configuration file. If the file
specified by
file-url
does not exist, the system creates the file and then saves the configuration to the file;
if the
all
or
slot
keyword is not specified, the configuration is saved to the active MPU.
Use the
save
[
safely
] [
force
] command to save the configuration to the root directory of the storage
media on both the active MPU and the standby MPU, and specify the file as the startup configuration file.
Whether the
save
[
safely
] [
force
] command or the
save
file-url
all
Enter
takes effect on both
the active MPU and standby MPU or only on the active MPU depends on whether the configuration file
auto-save function is enabled.
Related commands:
display current-configuration
,
display saved-configuration
,
reset
saved-configuration
, and
slave
auto-update
config
.
•
In IRF mode
Use the
save
file-url
[
all
|
chassis
chassis-number
slot
slot-number
] command to save the configuration
to the specified configuration file, but the system does not specify the file as the startup configuration file.