R2511-HP MSR Router Series Fundamentals Command Reference(V5)
127
The configuration file flash:/config.cfg will be automatically backed up as
flash:/_config_bak.cfg for a future version downgrading.
Validating file. Please wait............
Configuration is saved to device successfully.
The output shows that the system backed up the configuration file as _config_bak.cfg and used the
running configuration to overwrite the configuration file.
<Sysname> display startup
Current startup saved-configuration file: flash:/hmr.cfg
Next main startup saved-configuration file: flash:/config.cfg
Next backup startup saved-configuration file: NULL
The output shows that config.cfg is still the main next-startup configuration file.
# After a software upgrade, save the running configuration to the next-startup configuration file
config.cfg for the first time.
<Sysname> save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/config.cfg]
(To leave the existing filename unchanged, press the enter key):
flash:/config.cfg exists, overwrite? [Y/N]:y
The configuration file flash:/config.cfg will be automatically backed up as
flash:/_config_bak.cfg for a future version downgrading.
Failed to back up configuration file.
The system will overwrite the configuration file. Continue?[Y/N]:n
Failed to save the current configuration.
The output shows that the system tried to back up the next-startup configuration file, but its backup attempt
failed. If you enter N or n at the prompt that follows the failure message, the system would give up saving
the running configuration. If you enter Y or y, the system would overwrite the configuration file with the
running configuration without backing up the old configuration file.
# Save the running configuration to the main next-startup configuration file without any confirmation
required.
<Sysname> save force
Validating file. Please wait....
Configuration is saved to device successfully.
Related commands
• display current-configuration
• display saved-configuration
• reset saved-configuration
startup saved-configuration
Use startup saved-configuration to specify the configuration file to be used at the next startup.
Use undo startup saved-configuration to configure the system to start up with factory defaults at the next
startup.
Syntax
startup saved-configuration cfgfile [ backup | main ]
undo startup saved-configuration










