R3303-HP 6600/HSR6600 Routers Fundamentals Command Reference
115
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.
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 next-startup configuration file already specified in the system.
Without this keyword, the system asks you to confirm your operation. If you do not confirm your 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
On the 6602/HSR6602 router:
If the file specified for file-url does not exist, the system creates the file before saving the configuration.
If the backup or main keyword is not specified, the main keyword applies.
On the 6604/6608/6616 router:
If the file specified for file-url does not exist, the system creates the file before saving the configuration. If
neither the all keyword nor an MPU slot is specified, the system saves the configuration to the active MPU.
The configuration auto-update function enables the standby MPU to automatically save the running
configuration as the active MPU does when you execute the save [ safely ] [ backup | main ] [ force ]
command or the save file-url all command. If this function is disabled, only the active MPU saves the
configuration.
If the backup or main keyword is not specified, the main keyword applies.
Examples
On the 6602 router:
# Save the running configuration to the configuration file test.cfg, without specifying the file as the
next-startup configuration file.










