R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101
76
Parameters
src-addr: IP address or name of a TFTP server. The address cannot be an IPv6 address.
src-filename: Filename of the configuration file to be downloaded from the specified server.
Description
Use restore startup-configuration to download a configuration file from the specified TFTP server to the
device and specify it as the startup configuration file for the next system startup.
This command is not supported in FIPS mode because the FIPS mode does not support TFTP.
Examples
# Download configuration file test.cfg from the TFTP server whose IP address is 2.2.2.2, and the
configuration file is to be used at the next startup of the device.
<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
Syntax
save file-url
save [ safely ] [ force ]
View
Any view
Default level
2: System level
Parameters
file-url: File path, where the extension of the file name must be .cfg.
safely: Sets the configuration saving mode to safe. If this argument is not specified, the configuration file
is saved in fast mode.
force: Saves the running configuration to the configuration file for the next startup of the device, and the
system does not output any interaction information. By default, when you execute the save command, the
system asks you to enter Y or N to confirm your operation. If you do no confirm your operation within 30
seconds, the system automatically quits the operation. If you provide the force keyword when executing
the save command, the system directly saves the running configuration, not requiring any confirmation.
Description
Use save file-url to save the running configuration to the specified configuration file, but the system does
not specify the file as the startup configuration file to be used at the next system startup. If the file specified
by file-url does not exist, the system creates the file and then saves the configuration to the file.
Use save [ safely ] [ force ] to save the running configuration to the root directory of the storage media,
and specify the file as the startup configuration file to be used at the next system startup.
Related commands: display current-configuration, display saved-configuration, and reset
saved-configuration.