TFTP服务器端-------------------Router
192.168.1.1 192.168.1.2 F0/0
(1)首先设置TFTP服务器端的IP地址喂192.168.1.1
(2)路由配置
Router〉enable
Router #
Router #configure terminal
Router (config)#
Router (config)#interface f0/0
Router (config-if)#ip address 192.168.1.2 255.255.255.0 !设置该接口IP地址
Router (config-if)#no shutdown !开启接口
Router (config-if)#
00:01:54: %LINK-3-UPDOWN: Interface FastEthernet0/0,changed state to up
00:01:56: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/
0,chang
ed state to up
Router (config-if)#^Z !使用Ctrl+Z键退出到特权模式
Router #write memory
Router #ping 192.168.1.1 !ping计算机的IP地址进行单段测试
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max =1/1/4 ms! 如果Ping测试
正常,就可以在特权下输入命令进行配置文件的下载。
Router #copy running-config tftp
Address or name of remote host []?192.168.1.1
Destination filename [router-confg]? !敲回车保持默认的文件名
!!
536 bytes copied in 1.138 secs (536 bytes/sec)
查看TFTP的界面,如果有信息显示出来,说明配置文件传输成功。
原文地址:http://9983746.blog.51cto.com/9973746/1622308