Data can be effectively stored using the Huawei Switch configuration backup technology. The implementation of Huawei Switch configuration backup is a common problem. How can we implement the Huawei Switch configuration backup technology? Any related password issues will be fully resolved in this article.
The two backup methods of Huawei switches described above are valid, but there are some problems. For example, the TFTP method may cause information to be easily browsed by others on the network due to inherent security defects, and the backup and recovery methods without any verification means are not safe;
However, the Startup menu can only be used to configure backup data for the Huawei switch, and data in the switch cannot be backed up. Next, I will introduce the best way to set the switch as an FTP server and implement the data backup and recovery functions of the switch through user verification.
◆ Step 1: Go to the vswitch user interface and execute the system logon management interface.
◆ Step 2: run the local-user softer command to create an account named softer. This account will be used for FTP verification later.
◆ Step 3: continue to enter the password cipher 111111 command to add an encrypted display password for the softer user. The password is 111111.
◆ Step 4: use the service-type ftp command to configure the account to use FTP permissions.
◆ Step 5: Use the ftp server enable command to enable the FTP service for the switch.
◆ Step 6: When the switch enables the FTP service, it becomes an FTP server, and we can access this FTP server from any computer in the network through the IP address of the switch, enter softer as the account name and 111111 as the password.
◆ After logging on to FTP, you can use common commands to view the name of the configuration file in the vswitch, and upload and download the corresponding file to back up and restore switch data. Common Commands include ls to display the current file list). put uploads a file from the local device to the vswitch, which is often used when the configuration is restored). get downloads a file from the vswitch to the local hard disk, often used in backup configuration) 1 ).
Figure 1
If you do not know the name of the backup file for the Huawei Switch configuration, you can also execute sh flash on the switch or select "3, Display all files in flash" in the Startup menu ", in this way, you can view all the file information stored in the flash of the switch, such as the content shown below.
File NumberFile Size (bytes) File NameSpecify information center config
32211config. def
4 (*) 1234config. cfg
5151private-data.txt
This article introduces three methods for configuring backup for Huawei switches to back up and recover configurations in switches. In general, the final FTP method works best, we recommend that you use this method to save switch data. In addition, because the FTP method uses the FTP protocol, it can traverse multiple network segments, as long as it can provide the route information to the destination. Therefore, remote backup can be easily implemented, making it easier for network administrators to manage vswitches.