S1720, S2700, S5700, and S6720 V200R011C10 Configuration Guide - Basic Configuration
This document describes methods to use command line interface and to log in to the device, file operations, and system startup configurations.
This document describes methods to use command line interface and to log in to the device, file operations, and system startup configurations.
Recovering the Configuration File
Context
- Recover the configuration file backed up in the storage device.
- Recover the configuration file using FTP, TFTP, FTPS, SFTP, or SCP.
After recovering the configuration file, you must restart the device to make the file take effect. Run the startup saved-configuration command to specify the next startup configuration file. If the configuration file name is unchanged, you do not need to run this command. Run the reboot command to restart the device.
Procedure
- Recover the configuration file backed up in the .
This step recovers the backup configuration file stored in the of the device to the current system configuration file. When the device is working properly, run the following command:
<HUAWEI> copy flash:/backup.cfg flash:/config.cfg
- Recover the configuration file using FTP, TFTP, FTPS, SFTP, or SCP.
The device supports configuration file recovery using FTP, TFTP, FTPS, SFTP, or SCP. Configuration file recovery using FTP or TFTP is simple, but there are security risks. In scenarios with high security requirements, configuration file recovery using FTPS, SFTP, or SCP is recommended. The following describes how to recover the configuration file backed up on a PC using FTP. For details about TFTP, FTPS, SFTP, and SCP, see File Management.