Restore Startup-Configuration - H3C S5830V2 Command Reference Manual

Switch series fundamentals
Hide thumbs Also See for S5830V2:
Table of Contents

Advertisement

MainBoard:
Configuration file is cleared.
Slot 2:
Erase next configuration file successfully
Related commands
display saved-configuration

restore startup-configuration

Use restore startup-configuration to download a configuration file from a TFTP server and specify
it as the main next-startup configuration file.
Syntax
restore startup-configuration from tftp-server src-filename
Views
User view
Predefined user roles
network-admin
Parameters
tftp-server: Specifies a TFTP server's IPv4 address or host name. The host name is a
case-insensitive string of 1 to 253 characters. Valid characters include letters, digits, hyphens (-),
underscores (_), and dots (.).
src-filename: Specifies the name of the configuration file to be downloaded. The file name must be a
string of 5 to 195 characters suffixed with the .cfg extension, and can include path information.
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 provides an easy method for configuration file restoration by automatically
performing all operations required for restoring the main next-startup configuration file.
The command downloads the configuration file to the root directory of each member device's default
storage medium and specifies the file as the main next-startup configuration file.
If the USB disk is used and partitioned, the configuration file is saved on the first partition.
This command assumes that all IRF members use the same type of storage medium. If a
subordinate device uses a different type of 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 the configuration file config.cfg from the TFTP server at 2.2.2.2 and specify the file as
the main next-startup configuration file.
<Sysname> restore startup-configuration from 2.2.2.2 config.cfg
Restoring the next startup-configuration file from 2.2.2.2. Please wait...finished.
151

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5820v2

Table of Contents