1-14
Saving the current running configuration manually
Automatic saving of the current running configuration occupies system resources, and frequent saving
greatly affects system performance. Therefore, if the system configuration does not change frequently,
you are recommended to disable the automatic saving of the current running configuration and save it
manually.
If the modification to the configuration fails, or is complicated, you can save the current running
configuration manually before you modify it. Therefore, if it really fails, the device can revert to the
configuration state before the modification.
Follow the step below to save the current running configuration manually:
To do…
Use the command…
Remarks
Save the current running
configuration manually
archive configuration
Required
Available in user view
The path and filename prefix of a saved configuration file must be specified before you save the current
running configuration manually; otherwise, the operation fails.
Setting configuration rollback
Follow these steps to set configuration rollback:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Set configuration rollback
configuration replace file
filename
Required
Configuration rollback may fail if one of the following situations is present (if a command cannot be
rolled back, the system skips it and processes the next one):
z
The complete undo form of a command is not supported, namely, you cannot get the actual undo
form of the command by simply putting the keyword
undo
in front of the command, so the complete
undo form of the command cannot be recognized by the device.
z
The configuration cannot be removed, such as hardware-related commands
z
Commands in different views are dependent on each other
z
If the replacement configuration file is not a complete file generated by using the
save
or
archive
configuration
command, or the file is copied from a different type of device, the configuration
cannot be rolled back. Ensure that the replacement configuration file is correct and compatible with
the current device.