R3102-R3103-HP 6600/HSR6600 Routers Fundamentals Configuration Guide

106
6604/6608/6616 router
To save the running configuration, perform either of the following tasks in any view:
Task Command
Remarks
Save the running configuration to a
configuration file without
specifying the file as a startup
configuration file for the next
startup.
save file-url [ all |
slot slot-number ]
The save file-url [ slot slot-number ] command saves
the configuration only to the specified path,
regardless of whether the configuration
auto-update function has been enabled.
Save the running configuration to a
configuration file and specify the
file as a startup configuration file
for the next startup.
save [ safely ]
[ backup | main ]
[ force ]
By default, the running configuration is saved to
the current startup configuration file. You can
choose to save the configuration to a different file
as instructed by the system.
If you execute the save [ safely ] command without
specifying any other keyword, the command saves
the configuration to the main startup configuration
file.
If the force keyword is not specified, you may
choose to save the configuration to the current
next-startup configuration file or a new next-startup
configuration file.
If the force keyword is specified, the command
saves the configuration to the current next-startup
configuration file.
If configuration auto-update is enabled, the save file-url all command and the save [ safely ] [ backup |
main ] [ force ] command save the configuration to both MPUs. If the function is disabled, the commands
save the configuration only to the active MPU.
Using automatic configuration backup after a software
upgrade
After a software upgrade, the system by default starts up with the next-startup configuration file created
on the old software version, but the system does not load settings that are incompatible with the new
software version to the current configuration.
In case a future downgrade is needed, the system automatically checks for configuration incompatibility
and backs up the old next-startup configuration file the first time you use the save [ safely ] [ backup |
main ] [ force ] command to save the running configuration to the file.
The backup file is named in the _old-filename_bak.cfg format. For example, if the old configuration file
is named config.cfg, the backup file is named _config_bak.cfg.
6602/HSR6602
If the backup attempt fails on the router, choose one of the following failure handling actions at prompt:
Give up saving the configuration—The system does not save the running configuration on the
router.
Overwrite the configuration file—The system uses the running configuration to overwrite the old
configuration file on the router without backing up the file.