120
Manually saving the running configuration
Automatic saving of the running configuration occupies system resources, and frequent can saving greatly
affect system performance. If the system configuration does not change frequently, disable the automatic
saving of the running configuration and save it manually.
In addition, automatic saving of the running configuration is performed periodically, while manual saving
can immediately save the running configuration. Before performing complicated configuration, manually
save the running configuration so that the device can revert to the previous state if and when the
configuration fails.
To manually save the running configuration:
Task Command
Remarks
Manually save the running
configuration.
archive configuration
Required
Available in user view.
Specify the path and filename prefix of a save
configuration file before you manually save the
running configuration; otherwise, the operation fails.
Setting configuration rollback
CAUTION:
Do not reboot an IRF member device during configuration rollback. Confi
uration 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):
• The complete undo form of a command is not supported. 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.
• The configuration cannot be removed, such as hardware-related commands
• Commands in different views are dependent on each other
• If the replacement configuration file is not a complete file generated by using save or archive
configuration, 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.
• The configuration file specified with configuration replace file
filename
can only be a confi
uration file
in simple text. Otherwise, errors may occur in configuration rollback.
To set configuration rollback:
Ste
Command
Remarks
1. Enter system view.
system-view —
2. Set configuration rollback. configuration replace file filename Required.