154
Use
save
[
safely
] [
backup
|
main
] [
force
] to save the running configuration to a file in the root
directory of the default storage medium. This command applies to each MPU in the IRF fabric. It
specifies the file as a next-startup configuration file at the same time.
Syntax
In standalone mode:
save
file-url
[
all
|
slot
slot-number
]
save
[
safely
] [
backup
|
main
] [
force
]
In IRF mode:
save
file-url
[
all
|
chassis
chassis-number
slot
slot-number
]
save
[
safely
] [
backup
|
main
] [
force
]
Views
Any view
Predefined user roles
network-admin
mdc-admin
Parameters
file-url
: Saves the running configuration to the specified file, without specifying the file as a
next-startup configuration file. The file name must use the extension .cfg and can include path
information. If you specify the
all
keyword or an MPU slot, the file path cannot include a chassis or
slot number. If the file path includes a folder name, the folder must already exist.
all
: Saves the running configuration to each MPU. If you do not specify this keyword or the
slot
slot-number
option, the command saves the running configuration only to the active MPU on an HPE
7910/HPE 7910 TAA switch. (In standalone mode.)
all
: Saves the running configuration to all MPUs. If you do not specify this keyword or the
chassis
chassis-number
slot
slot-number
option, the command saves the running configuration only to the
global active MPU in the IRF fabric. (In IRF mode.)
slot
slot-number
: Specifies the MPU by its slot number. The slot number is fixed at 0. (In standalone
mode on an HPE 7904/HPE 7904 TAA switch.)
slot
slot-number
: Specifies the standby MPU by its slot number. If you do not specify the standby
MPU or the
all
keyword, this command saves the running configuration only to the active MPU. (In
standalone mode on an HPE 7910/HPE 7910 TAA switch.)
chassis
chassis-number
slot
slot-number
: Specifies a global standby MPU on an IRF member
device. The
chassis-number
argument represents the member ID of the IRF member device. The
slot-number
argument represents the slot number of the global standby MPU. If you do not specify a
global standby MPU or the
all
keyword, this command saves the running configuration only to the
global active MPU in the IRF fabric. (In IRF mode.)
safely
: Saves the configuration file in safe mode. If you do not specify this keyword, the device saves
the configuration file in fast mode. Safe mode is slower than fast mode, but more secure. As a best
practice, specify the
safely
keyword for the command.
backup
: Saves the running configuration to a configuration file, and specifies the file as the backup
next-startup configuration file. If you do not specify this keyword or the
main
keyword, the command
specifies the saved file as the main next-startup configuration file.
main
: Saves the running configuration to a configuration file, and specifies the file as the main
next-startup configuration file. If you do not specify this keyword or the
backup
keyword, the
command specifies the saved file as the main next-startup configuration file.
force
: Saves the running configuration without prompting for confirmation. Without this keyword, the
system prompts you to confirm the operation. If you do not confirm the operation within 30 seconds,