F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices System Management and Maintenance Configuration Guide-6PW100
52
• Safe mode—Use the save command with the safely keyword. Safe mode is slower than fast mode,
but more secure. In safe mode, the system saves configuration in a temporary file and starts
overwriting the target next-startup configuration file after the save operation is complete. If a reboot
or power failure occurs during the save operation, the next-startup configuration file is still retained.
Use the safe mode if the power source is not reliable or you are remotely configuring the device.
The configuration file extension must be .cfg.
To save the running configuration, perform either of the following tasks in any view:
Task Command
Remarks
Save the running configuration to a
configuration file without
specifying the file as the
next-startup configuration file.
save file-url N/A
Save the running configuration to a
configuration file and specify the
file as the next-startup
configuration file.
save [ safely ] [ force ]
If the force keyword is specified, the
command saves the configuration to the
next-startup configuration file that has been
specified.
If the force keyword is not specified, you may
choose to re-specify a next-startup
configuration file as instructed by the system.
194BConfiguring configuration rollback
To replace the running configuration with the configuration in a configuration file without rebooting the
device, use the configuration rollback function. This function helps you revert to a previous configuration
state or adapt the running configuration to different network environments.
The configuration rollback function compares the running configuration against the specified
replacement configuration file and handles configuration differences as follows:
• If a command in the running configuration is not in the replacement file, executes its undo form.
• If a command in the replacement file is not in the running configuration, adds it to the running
configuration.
• If a command has different settings in the running configuration and the configuration file, replaces
its running configuration with the setting in the configuration file.
To facilitate configuration rollback, the configuration archive function is developed. This function enables
the system to automatically save the running configuration at regular intervals as checkpoint references.
385BConfiguration task list
Task Remarks
752H
Configuring configuration archive parameters Required.
• 753HEnabling automatic configuration archiving
• 754HManually archiving running configuration
Required.
Use either approach.
755H
Performing configuration rollback Required.