拓扑:
第一步:设置Cloud1配置,右键cloud1,关联接口,设置关联UDP接口及本地电脑环回接口。
关联本地添加的环回接口
第二步:设置双向通道,点击端口映射表。
第三步:配置路由器接口ip地址。和本地电脑环回网卡配置在同一个网段,环回网卡地址设置为192.168.1.1,进行ping测试,一定要ping通。
[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。
设置AR1为tftp客户端,本地的电脑为tftp server,从本地电脑下载文件到路由器flash里面。
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 上传
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软件显示如下:
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)
=====================================================
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软件显示如下: