Hello Grenzo!
restore startup-configuration
Use restore startup-configuration to download a configuration file from a TFTP server and specify
it as the main next-startup configuration file.
Syntax
restore startup-configuration from tftp-server src-filename
Views
User view
Parameters
tftp-server: Specifies a TFTP server's IPv4 address or host name. The host name is a
case-insensitive string of 1 to 253 characters. Valid characters include letters, digits, hyphens (-),
underscores (_), and dots (.).
src-filename: Specifies the name of the configuration file to be downloaded. The file name must be a
string of 5 to 195 characters suffixed with the .cfg extension, and can include path information.
Usage guidelines
This command is not supported in FIPS mode.
Before restoring the configuration file for the next startup, make sure the following requirements are
met:
• The server is reachable.
• The server is enabled with TFTP service.
• You have read and write permissions to the server.
This command provides an easy method for configuration file restoration by automatically
performing all operations required for restoring the main next-startup configuration file.
The command downloads the configuration file to the root directory of the default storage medium on
each member device and specifies the file as the main next-startup configuration file. If a partitioned
USB disk is used as the default storage medium, the configuration file is saved on the first partition.
Make sure all IRF members use the same type of default storage medium. If a subordinate device
uses a different type of default storage medium than the master, the command cannot propagate the
configuration file to the subordinate device. For example, the subordinate device uses a USB disk,
but the master uses a flash memory. In this situation, you must manually restore the main
next-startup configuration file on the subordinate device.
Examples
# Download config.cfg from the TFTP server at 2.2.2.2 and specify the file as the main next-startup
configuration file.
<Sysname> restore startup-configuration from 2.2.2.2 config.cfg
Restoring the next startup-configuration file from 2.2.2.2. Please wait...finished.
Now restoring the next startup-configuration file from main board to backup board. Please
wait...finished.
More information about this command can be found in Fundamentals Configuration Guide and Fundamentals Command Reference Guide for respective platform.
Hope this helps!