R3102-R3103-HP 6600/HSR6600 Routers Fundamentals Command Reference

121
save
6602/HSR6602:
Use save file-url to save the running configuration to a configuration file, without specifying the file as a
next-startup configuration file.
Use save [ safely ] [ backup | main ] [ force ] to save the running configuration to the root directory of
a storage medium, and specify the file as a next startup configuration file.
6604/6608/6616:
Use save file-url [ all | slot slot-number ] to save the running configuration to a configuration file, without
specifying the file as a next startup configuration file.
Use save [ safely ] [ backup | main ] [ force ] to save the running configuration to the root directory of
a storage medium on both active MPU and standby MPU, and specify the file as a next startup
configuration file.
Syntax
save file-url [ all | slot slot-number ]
save [ safely ] [ backup | main ] [ force ]
Views
Any view
Default command level
2: System level
Parameters
file-url: Specifies a file path, where the file extension must be .cfg. If the file path includes a folder name,
you must first create the folder on the device or on the specified MPU. For the 6604/6608/6616 router,
if the keyword all or an MPU slot is specified, the file path cannot include a slot number.
all: Saves the running configuration with the specified file name to both active and standby MPUs.
slot slot-number: Saves the running configuration with the specified file name to the standby MPU. The
slot-number represents the standby MPU's slot number.
The following matrix shows the option and router compatibility:
Option 6602 HSR6602 6604/6608/6616
[ all | slot slot-number ] No No Yes
safely: Saves the configuration file in safe mode. If this keyword is not specified, the system saves the
configuration file in fast mode. Safe mode is less fast 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 still 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.