Huawei ENSP- TFTP simulation experiment

Topology:

image.png

Step 1: Set Cloud1 Configuration, right Cloud1 , associated interfaces, set the associated UDP port and the local computer loopback interface.

image.png

Add related local loopback interfaces

image.png

Step Two: Set a two-way channel, click on the port mapping table.

image.png

Step Three: Configure router interface ip address. And local loop-back card configuration computer on the same network segment, NIC loopback address to 192.168.1.1, ping test, be sure to ping each other.

[AR1]int g0/0/1

[AR1-GigabitEthernet0/0/1]ip add 192.168.1.100 255.255.255.0

Oct 13 2018 17:15:50-08:00 AR1 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IP on the interface GigabitEthernet0/0/1 has entered the UP state.

[AR1] ping 192.168.1.1

  PING 192.168.1.1: 56  data bytes, press CTRL_C to break

    Reply from 192.168.1.1: bytes=56 Sequence=1 ttl=128 time=70 ms

    Reply from 192.168.1.1: bytes=56 Sequence=2 ttl=128 time=40 ms

    Reply from 192.168.1.1: bytes=56 Sequence=3 ttl=128 time=40 ms

    Reply from 192.168.1.1: bytes=56 Sequence=4 ttl=128 time=50 ms

    Reply from 192.168.1.1: bytes=56 Sequence=5 ttl=128 time=20 ms

 

  --- 192.168.1.1 ping statistics ---

    5 packet(s) transmitted

    5 packet(s) received

    0.00% packet loss

round-trip min/avg/max = 20/44/70 ms


第四步:打开华为IPOP软件,设置TFTP服务,端口及文件目录,点击start

设置AR1tftp客户端,本地的电脑为tftp server,从本地电脑下载文件到路由器flash里面。

image.png

<AR1>tftp 192.168.1.1 ?

  get           Download the file from a remote TFTP server   //get 下载

  public-net    Connect in Public Network

  put           Upload the local file to a remote TFTP server   //put 上传

 

 

<AR1>tftp 192.168.1.1 get qytang.txt   //从本地电脑下载文件

Info: Transfer file in binary mode.

Downloading the file from the remote TFTP server. Please wait...

      18 bytes received in 1 second.

TFTP: Downloading the file successfully.


IPOP软件显示如下:

image.png


<AR1>dir

Directory of flash:/

 

  Idx  Attr     Size(Byte)  Date        Time(LMT)  FileName

    0  drw-              -  Oct 13 2018 09:15:12   dhcp

    1  -rw-        121,802  May 26 2014 09:20:58   portalpage.zip

    2  -rw-             18  Oct 13 2018 09:17:40   qytang.txt

    3  -rw-          2,263  Oct 13 2018 09:15:04   statemach.efs

 

1,090,732 KB total (784,460 KB free)

=====================================================

<AR1>tftp 192.168.1.1 put portalpage.zip    //将flash:/目录下portalpage.zip上传到本地电脑 

Info: Transfer file in binary mode.

Uploading the file to the remote TFTP server. Please wait...

\99%    

TFTP: Uploading the file successfully.

  121802 bytes send in 2 seconds.


IPOP软件显示如下:

image.png

image.png

Guess you like

Origin blog.51cto.com/3965485/2448521