172
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 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 the default
storage medium is a partitioned USB disk, the configuration file is saved on the first partition.
Make sure all IRF members use the same type of default storage media. 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 test.cfg from the IPv4 TFTP server at 2.2.2.2 in the public network, and specify the file
as the main next-startup configuration file.
<Sysname> restore startup-configuration from 2.2.2.2 test.cfg
Restoring the next startup-configuration file from 2.2.2.2. Please wait...finished.
# Download test.cfg from the IPv4 TFTP server at 2.2.2.2 in MPLS L3VPN instance VPN1, and
specify the file as the main next-startup configuration file.
<Sysname> restore startup-configuration from 2.2.2.2 test.cfg vpn-instance VPN1
Restoring the next startup-configuration file from 2.2.2.2. Please wait...finished.
# Download test.cfg from the IPv6 TFTP server at 2001::2 in the public network, and specify the file
as the main next-startup configuration file.
<Sysname> restore startup-configuration from ipv6 2001::2 test.cfg
Restoring the next startup-configuration file from 2001::2. Please wait...finished.
Related commands
backup startup-configuration
save
Use save file-url [ all | slot slot-number ] to save the running configuration to a configuration file,
without specifying the file as a next-startup configuration file.
Use save [ safely ] [ backup | main ] [ force ] [ changed ] to save the running configuration to a file
in the root directory of the storage medium. This command automatically saves the file on each
member device and specifies the file as a next-startup configuration file.
Syntax
save file-url [ all | slot slot-number ]
save [ safely ] [ backup | main ] [ force ] [ changed ]
Views
Any view
Predefined user roles
network-admin