HP 6125XLG Command Reference Manual page 143

Blade switch fundamentals command reference
Table of Contents

Advertisement

Use save [ safely ] [ backup | main ] [ force ] to save the running configuration to the root directory of
the storage medium on each member device, and specify the file as a next-startup configuration file.
Syntax
save file-url
save [ safely ] [ backup | main ] [ force ]
Views
Any view
Predefined user roles
network-admin
Parameters
file-url: Specifies a file path, where the file extension must be .cfg. If the keyword all is specified, the file
path cannot include a member ID. If the file path includes a folder name, you must first create the folder
on the member device.
safely: Saves the configuration file in safe mode. If this keyword is not specified, the device saves the
configuration file in fast mode. Safe mode is slower than fast mode, but more secure. In safe mode, the
system saves configuration in a temporary file and starts overwriting the target next-startup configuration
file after the save operation is complete. If a reboot or power failure occurs during the save operation, the
next-startup configuration file is retained. In fast mode, the device directly overwrites the target
next-startup configuration file. If a reboot or power failure occurs during this process, the next-startup
configuration file is lost.
backup: Saves the running configuration to a configuration file, and specifies the file as the backup
next-startup configuration file.
main: Saves the running configuration to a configuration file, and specifies the file as the main
next-startup configuration file.
force: Saves the running configuration to the main next-startup configuration file that has been specified
in the system. Without this keyword, the system asks you to confirm the operation. If you do not confirm
the operation within 30 seconds, the system automatically aborts the operation. If you enter Y within the
time limit, you can continue the save process and change the next-startup configuration file during this
process.
Usage guidelines
If the base file name specified for the file-url argument does not exist, the system creates the file before
saving the configuration. If the file already exists, the system asks you to confirm whether to overwrite the
file. If you choose to not overwrite the file, the system cancels the save operation.
If neither the main keyword nor the backup keyword is specified, the save command saves configuration
to the main next-startup configuration file.
Examples
# Save the running configuration to the configuration file backup.cfg, without specifying the file as the
next-startup configuration file.
<Sysname> save backup.cfg
The current configuration will be saved to flash:/backup.cfg. Continue? [Y/N]:y
Now saving current configuration to the device.
Saving configuration
flash:/backup.cfg. Please wait...
136

Advertisement

Table of Contents
loading

Table of Contents