Manually saving the running configuration, Setting configuration rollback – H3C Technologies H3C SecPath F1000-E User Manual
Page 62
51
Manually saving the running configuration
Automatic saving of the running configuration occupies system resources, and frequent saving can
greatly affect system performance. Therefore, 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,
you can 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
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
Step Command
1.
Enter system view.
system-view
2.
Set configuration rollback.
configuration replace file filename
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 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.
•
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. Ensure 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.
Specifying a startup configuration file to be used at the next
system startup
To specify a startup configuration file to be used at the next system startup:
- H3C SecPath F5000-A5 Firewall H3C SecPath F1000-A-EI H3C SecPath F1000-E-SI H3C SecPath F1000-S-AI H3C SecPath F5000-S Firewall H3C SecPath F5000-C Firewall H3C SecPath F100-C-SI H3C SecPath F1000-C-SI H3C SecPath F100-A-SI H3C SecBlade FW Cards H3C SecBlade FW Enhanced Cards H3C SecPath U200-A U200-M U200-S H3C SecPath U200-CA U200-CM U200-CS