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

120
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 src-addr src-filename
Views
User view
Default command level
3: Manage level
Parameters
src-addr: Specifies a TFTP server's IPv4 address or name. The name can comprise 1 to 20 characters.
src-filename: Specifies the file name of the configuration file to be downloaded.
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 restoring the configuration file for the next startup, make sure the server is reachable, the server is
enabled with TFTP service, and you have read and write permissions.
This command restores only the main next-startup configuration file.
This command provides an easy method for configuration file restoration by automatically performing all
operations required for restoring the next-startup configuration file.
On the 6602 router, this command downloads the configuration file to cfa0:/.
On the HSR6602 router, this command downloads the configuration file to flash:/.
On the 6604/6608/6616 router, this command downloads the configuration file to cfa0:/ on each
MPU.
If the directory has a configuration file with the same name as the restored configuration file, the restored
configuration file will overwrite that configuration file.
Examples
# On the 6602/HSR6602 router, download the configuration file test.cfg from the TFTP server at 2.2.2.2,
and specify the file as the main startup configuration file for the next startup.
<Sysname> restore startup-configuration from 2.2.2.2 test.cfg
Restore next startup-configuration file from 2.2.2.2. Please wait..............
finished!
# On the 6604/6608/6616 router, download the configuration file 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
Restore next startup-configuration file from 2.2.2.2. Please wait...finished!
Now restore next startup-configuration file from main to slave board. Please
wait...finished!