R3166-R3206-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101

52
restore startup-configuration
Syntax
restore startup-configuration from src-addr src-filename
View
User view
Default level
3: Manage level
Parameters
src-addr: IP address or name of a TFTP server.
src-filename: Filename of the configuration file to be downloaded from the specified server.
Description
Use the restore startup-configuration command 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.
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 ]
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.
Description
Use the save file-url command to save the current 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 the save [ safely ] command to save the current 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.