![H3C S5500-HI Switch Series Fundamentals Configuration Manual Download Page 123](http://html1.mh-extra.com/html/h3c/s5500-hi-switch-series/s5500-hi-switch-series_fundamentals-configuration-manual_3750974123.webp)
112
Manually saving the running configuration
Automatic saving the running configuration consumes system resources. Frequent save operations can
hamper system performance. Therefore, if the system configuration does not change frequently, disable
the automatic saving of the running configuration and save it manually.
While automatic saving of the running configuration is performed periodically, while manual saving can
be used to immediately save the running configuration. Before performing any complicated
configuration, manually save the running configuration so that the device can revert to the previous state
if the configuration fails.
Follow the step below to manually save the running configuration:
To do…
Use the command…
Remarks
Manually save the running
configuration
archive configuration
Required
Available in user view
NOTE:
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
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
CAUTION:
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):
•
The actual undo form of a command differs from the complete undo form of the command. When the
configuration is rolled back, the system automatically performs the complete undo form of the command,
which cannot be recognized, and the configuration rollback fails. For example, a command is
A
[
B
]
C
,
and the actual undo form of the command is
undo
A
C
. When the system executes the complete undo
form command
undo
A B C
, the command cannot be recognized and rollback of the
A
B
C
command
fails.
•
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 the
save
or
archive
configuration
command, or the file is copied from a different type of device, the configuration cannot be
rolled back. Make sure that the replacement configuration file is correct and compatible with the current
device.
•
The configuration file specified with the
configuration replace file
filename command can only be a
configuration file in simple text. Otherwise, errors may occur in configuration rollback.