当前位置:网站首页>Export configuration to FTP or TFTP server

Export configuration to FTP or TFTP server

2022-06-11 15:41:00 51CTO

      Simple file transfer protocol (Trivial File Transfer Protocol,TFTP) yes TCP/IP A protocol used for simple file transfer between client and server , Provide uncomplicated 、 Low cost file transfer service , The port number is 69. This protocol is designed for the transmission of small files . So it doesn't have FTP Many functions of , It can only get or write files from the file server , Can't list the contents , No authentication .

The following operation will demonstrate how to back up the router configuration file to TFTP. Run on a physical machine TFTP, Pictured 1 Shown , single click “ see ”→“ Options ”. Pictured 2 Shown , In the presence of “ Options ” Specify... In the dialog box TFTP root directory , The uploaded file is saved in the root directory .

Make sure R1 The network between the router and the physical machine is smooth . Upload the configuration file to by executing the following command TFTP.

<R1>tftp 192.168.1.11 put vrpcfg.zip vrpcfg.zip -- Upload the configuration file to TFTP

<R1>tftp 192.168.1.11 get vrpcfg.zip backup.zap -- from TFTP Download profile

put and get The command is followed by the source and destination file names .

TFTP The security of the is poor , Any user can access TFTP Upload and download files . While using FTP Authentication is required , Therefore, the ratio of TFTP Security .

 Export configuration to FTP or TFTP The server _ The configuration file  Export configuration to FTP or TFTP The server _ Upload _02

chart 1 single click “ see ”→“ Options ” chart 2 “ Options ” Dialog box

The following is Windows 10 Installation on FTP service .

Open the control panel , single click “ Program ”, Pictured 4-21 Shown , In the presence of “ Program ” Dialog box, click “ Enable or close Windows function ” Options .

 Export configuration to FTP or TFTP The server _ The configuration file _03

chart 2 install FTP service

appear “Windows function ” Dialog box , Pictured 4-22 Shown , Choose “FTP The server ” Under the “FTP service ”, single click “ determine ” Button .

open IIS Manager , Pictured 3 Shown , Right click “ Website ”, single click “ add to FTP Site ”.

Pictured 4-24 Shown , Specify... In the set site information dialog box that appears FTP Site name and physical path , single click “ next step ” Button .

 Export configuration to FTP or TFTP The server _ The configuration file _04

chart 3  Choose FTP service

Pictured 6 Shown , In the presence of “ The binding and SSL Set up ” In the dialog box , by IP Address selection “ All unassigned ”, Choose “ Auto start FTP Site ”, by SSL choice “ nothing ”, single click “ next step ” Button .

Pictured 7 Shown , In the presence of “ Authentication and authorization information ” In the dialog box , Choose “ basic ”, Settings allow all users to read and write , single click “ complete ”. Visit... In the future FTP The account of the site can use the computer account .

open Windows Command prompt , Input wf.msc, After pressing enter , open Windows Advanced firewall setting interface . Pictured 8 Shown , You can see that the public profile is active , single click “Windows Defender Firewall properties ”.

Pictured 8 Shown , In the firewall Properties dialog box that appears , stay “ Public profile ” Under tabs , by “ Firewall status ” choice “ close ”.

 Export configuration to FTP or TFTP The server _ Upload _05 Export configuration to FTP or TFTP The server _ The configuration file _06

chart 4-23 add to FTP Site chart 5-24 Set up FTP Site information

 Export configuration to FTP or TFTP The server _ The configuration file _07 Export configuration to FTP or TFTP The server _ The configuration file _08

chart 6-25 Specify the address to use       chart 7-26 Set authentication and authorization information

 Export configuration to FTP or TFTP The server _ftp The server _09 Export configuration to FTP or TFTP The server _ Upload _10

chart 8-27 Open firewall properties chart 4-28 Turn off firewall

In the router R1 Upload the configuration to FTP The server .

<R1>ftp 192.168.1.11

Trying 192.168.1.11 ...

Press CTRL+K to abort

Connected to 192.168.1.11.

220 Microsoft FTP Service

User(192.168.1.11:(none)):han -- enter one user name

331 Password required -- Input password

Enter password:

230 User logged in.

[R1-ftp]put vrpcfg.zip vrpcfg.zip.bak -- Upload vrpcfg.zip To FTP The server

[R1-ftp]dir -- see ftp Contents of the catalog

200 PORT command successful.

125 Data connection already open; Transfer starting.

05-01-18 11:50PM 872 vrpcfg.zip.bak -- Uploaded files

226 Transfer complete.

FTP: 55 byte(s) received in 0.020 second(s) 2.75Kbyte(s)/sec.

[R1-ftp]get vrpcfg.zip.bak vrpcfg2.zip -- from FTP Server downloads files vrpcfg.zip.bak

This article comes from 《 Huawei HCIA-Datacom authentication (2021 new edition HCIA The teaching material )》

Jingdong buys this book

 ​https://item.jd.com/13706744.html​

Learn computer network Huawei network engineer Contact Mr. Han if you have any questions in the H3C network engineer course

Mr. Han Ligang wx hanligangdongqing

Mr. hanlihui wx 13073172070

Huawei HCIA-Datacom authentication (2021 new edition HCIA The teaching material ) Course link  ​https://edu.51cto.com/course/28956.html

 Export configuration to FTP or TFTP The server _ Upload _11

Mr. Han enrolls formal students 、 Discipleship set meal

 ​https://edu.51cto.com/topic/819.html​

原网站

版权声明
本文为[51CTO]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/162/202206111532373021.html