R3102-R3103-HP 6600/HSR6600 Routers Fundamentals Command Reference

110
Parameters
dest-addr: Specifies a TFTP server's IPv4 address or name, a string of 1 to 20 characters.
dest-filename: Specifies the target file name used for saving the file on the server. The file extension must
be .cfg. If you do not specify a target file name, the source file name is used.
Usage guidelines
This command is not supported in FIPS mode, because the device does not support to transfer files by
using TFTP in FIPS mode.
Before performing this task, make sure the server is reachable, the server is enabled with TFTP service,
and you have read and write permissions.
This command backs up only the main next-startup configuration file.
Examples
# Back up the next-startup configuration file to the TFTP server at 2.2.2.2, and set the target file name to
192-168-1-26.cfg.
<Sysname> backup startup-configuration to 2.2.2.2 192-168-1-26.cfg
Backup next startup-configuration file to 2.2.2.2, please wait…finished!
<Sysname>
configuration replace file
Use configuration replace file to perform configuration rollback.
Syntax
configuration replace file filename
Views
System view
Default command level
3: Manage level
Parameters
filename: Specifies the name of the replacement configuration file for configuration rollback.
Usage guidelines
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.
To ensure a successful rollback:
On the 6604/6608/6616 router, do not remove or install a card while the system is executing the
configuration replace file command.
Make sure the replacement configuration file is created by using the configuration archive function
or the save command on the device.
If the configuration file is not created on the device, make sure the configuration file content format
is fully compatible with the device.
The replacement configuration file is not encrypted.