R2511-HP MSR Router Series Fundamentals Configuration Guide(V5)
108
Manually archiving running configuration
To save system resources, disable automatic configuration archiving and manually archive configuration
if the configuration will not be changed very often. You can also manually archive configuration before
performing complicated configuration tasks so you can use the archive for configuration recovery after
the configuration attempt fails.
Make sure you have set an archive path and file name prefix before performing this task.
Perform the following task in user view:
Task Command
Manually archive the running configuration. archive configuration
Rolling back configuration
To avoid rollback failure, follow these guidelines:
• Make sure the replacement configuration file is created by using the configuration archive function
or the save command on the current device.
• If the configuration file is not created on the current device, make sure the configuration file content
format is fully compatible with the current device.
• The replacement configuration file is not encrypted.
To perform configuration rollback:
Ste
p
Command
1. Enter system view.
system-view
2. Perform configuration rollback.
configuration replace file filename
The configuration rollback function might fail to reconfigure some commands in the running configuration
for one of the following reasons:
• A command cannot be undone because prefixing the undo keyword to the command does not
result in a valid undo command. For example, if the undo form designed for the A [B] C command
is undo A C, the configuration rollback function cannot undo the A B C command, because the
system does not recognize the undo A B C command.
• A command (for example, a hardware-dependent command) cannot be deleted, overwritten, or
undone due to system restrictions.
• The commands in different views are dependent on each other.
• Commands or command settings that the device does not support cannot be added to the running
configuration.
Specifying a configuration file for the next startup
You can specify a .cfg configuration file as the startup configuration file to be used at the next startup
when you use the save command to save the running configuration to it.
Alternatively, perform the following task in user view to specify a startup configuration file for the next
startup:










