Restore Startup-Configuration - H3C S5120-SI Series Command Reference Manual

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

not delete the configuration file but only set the corresponding startup configuration file (main or
backup, according to which one you specified in the command) to NULL.
For a device that supports the main and backup keywords, the execution of the reset
saved-configuration command and that of the reset saved-configuration main command have
the same effect, that is, they will delete the main startup configuration file.
Related commands: save, display saved-configuration.
Examples
# Delete the configuration file for the next startup from the storage medium of the device.
<Sysname> reset saved-configuration
The saved configuration file will be erased. Are you sure? [Y/N]:y
Configuration file in flash is being cleared.
Please wait ...........
Configuration file is cleared.

restore startup-configuration

Syntax
restore startup-configuration from src-addr src-filename
View
User view
Default Level
2: System 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 the configuration file as the startup configuration file to be used at
the next startup of the device.
The file downloaded is set as the main startup configuration file to be used at 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!
2-10

Advertisement

Table of Contents
loading

Table of Contents