R2511-HP MSR Router Series Fundamentals Command Reference(V5)

125
Related commands
display saved-configuration
save
restore startup-configuration
Use restore startup-configuration to download a configuration file from a TFTP server and specify it as
the 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 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.
Examples
# Download the configuration file test.cfg from the TFTP server at 2.2.2.2, and specify the file as the
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!
save
Use save file-url 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 ] to save the running configuration to the root directory of
the storage media, and specify the file as a next startup configuration file.
Syntax
save file-url
save [ safely ] [ backup | main ] [ force ]