Huawei eNSP configuration FTP setup and resource backup

FTP setup and resource backup

image-20210615195643604

Let the router communicate with windows

R1:
int gi0/0/0
ip address 192.168.0.1 255.255.255.0
Windows turns off the firewall, the vm3 network card is in the 192.168.0 segment, configure the IP address
IP address 192.168.0.11
Subnet mask 255.255.255.0
Gateway 192.168.0.1

Configure FTP server

R1:
ftp server enable
set default ftp-directory flash:/
aaa
local-user huawei password cipher huawei123
local-user huawei service-type ftp
local-user huawei privilege level 15
local-user huawei ftp-directory flash:

Back up the electronic label, change the backup file to zip, and output the diagnostic information to txt

backup elabel R1_elabel_bak
save R1_elabel_bak.zip
display diagnostic_information diagnostic.txt

image-20210616101515308

windows operation

Create a backup folder on drive C and share it with everyone user

image-20210616101712760

2. Open the cmd control line and enter cd c:\backup
ftp 192.168.0.1 #Log in to the router to download files
binary #Switch the transmission mode to binary
get R1_elabel_bak #Download electronic label file
get R1_elabel_bak.zip #Backup file
get diagnostic.txt #Text file of diagnostic information

Install the ftp service. Go to Control Panel - Programs and Features - Enable and turn off Windows functions. The FTP server installation is displayed as √. All web management tools are installed except for IIS 6 management compatibility. Choose to install one.

Control Panel - Administrative Tools - Services View Microsoft ftp service service

Open the IIS console and add an FTP site. The name of the FTP site is FTP1. The path is in the backup under the C drive. The authentication is anonymous and basic authentication. All users are allowed to read and write.

Switch to the R1 router and log in with ftp

ftp 192.168.0.11 #Log in to windows
anonymous #Select anonymous user login
huawei #Password is huawei
binary #Switch to binary mode
put R1_bak.zip #Download backup file
quit #Exit ftp mode
backup elabel ftp 192.168.0.11 R1_elabel_bak anonymous 1
The configuration file was imported successfully

Guess you like

Origin blog.csdn.net/qq_54100121/article/details/133862301