





{"id":1635,"date":"2010-12-23T01:42:17","date_gmt":"2010-12-23T05:42:17","guid":{"rendered":"http:\/\/www.killtest.hk\/?p=1635"},"modified":"2010-12-23T01:42:17","modified_gmt":"2010-12-23T05:42:17","slug":"cisco-tftp","status":"publish","type":"post","link":"https:\/\/www.killtest.hk\/index.php\/cisco\/cisco-tftp\/","title":{"rendered":"Cisco TFTP Server\u7684\u4f7f\u7528"},"content":{"rendered":"<p>\u5be6\u9a57\u76ee\u7684\uff1a<\/p>\n<p>\u3000\u3000\u5b78\u6703\u4f7f\u7528TFTP Server\u3002<\/p>\n<p>\u3000\u30001.2 \u5be6\u9a57\u5167\u5bb9<\/p>\n<p>\u3000\u3000\u4e86\u89e3TFTP Server\u7684\u610f\u7fa9\uff1b<\/p>\n<p>\u3000\u3000\u5b78\u7fd2\u5982\u4f55\u4f7f\u7528TFTP Server\u4f86\u4fdd\u5b58\u8def\u7531\u5668\u4e0aflash\u53castartup-config\u7b49\u914d\u7f6e\u6587\u4ef6\uff1b<\/p>\n<p>\u3000\u3000\u5b78\u7fd2\u5982\u4f55\u901a\u904eTFTP Server\u4f86\u8f09\u5165\u4fdd\u5b58\u5247\u914d\u7f6e\u6587\u4ef6\uff1b<\/p>\n<p>\u3000\u30001.3 \u5be6\u9a57\u6b65\u9a5f\uff1a<\/p>\n<p>\u3000\u3000\u6309\u7167\u4e0b\u9762\u7684\u6307\u793a\uff0c\u9023\u63a5\u7db2\u7d61\u8a2d\u5099<\/p>\n<p>\u3000\u3000<\/p>\n<p>\u3000\u30001\u3001\u9996\u5148\u6211\u5011\u9700\u8981\u6709\u58f9\u500bTFTP Server\u904b\u884c\u5728\u6211\u5011\u7684\u7db2\u7d61\u4e2d\uff1b<\/p>\n<p>\u3000\u30002\u3001\u58f9\u65e6\u6211\u5011\u555f\u7528\u4e86\u58f9\u500bTFTP Server\uff0c\u90a3\u9ebd\u6211\u5011\u5728\u8def\u7531\u5668\u4e0a\u6709\u5fc5\u8981\u7528PING\u547d\u4ee4\u4f86\u78ba\u4fdd\u8a72TFTP Server\u53ef\u4ee5\u5230\u9054\uff0c\u7576\u7136\u9084\u6709\u8a18\u9304\u4e0b\u59b3\u7684TFTP Server\u7684\u5730\u5740\u662f\u591a\u5c11\uff0c\u6bd4\u5982\u5728\u6b64\u6211\u5011\u4f7f\u7528192.168.1.25\u4f5c\u70ba\u6211\u5011\u7684TFTP Server\u7684\u5730\u5740\uff0c\u5982\u679c\u8a72\u5730\u5740\u7684PING\u6c92\u6709\u554f\u984c\u7684\u8a71\uff0c\u5c31\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528copy flash tftp\u4e86\uff0c\u4f46\u5982\u679c\u5b58\u5728\u554f\u984c\u7684\u8a71\uff0c\u5c31\u5fc5\u9808\u5148\u89e3\u6c7a\u8a72\u554f\u984c\u7136\u5f8c\u518d\u4f7f\u7528copy flash tftp\u547d\u4ee4\uff1b<\/p>\n<p>\u3000\u30003\u3001\u6211\u5011\u9084\u61c9\u8a72\u5728\u672c\u5730\u8def\u7531\u5668\u4e0a\u67e5\u770b\u58f9\u4e0b\u6211\u5011\u7684flash\u7684\u5bb9\u91cf\u5927\u5c0f\u53ca\u5176\u4e2dIOS\u64cd\u4f5c\u7cfb\u7d71\u7684\u6587\u4ef6\u540d\uff0c\u53ef\u4ee5\u4f7f\u7528\u547d\u4ee4show flash\u4f86\u67e5\u770b\uff1b<\/p>\n<p>\u3000\u30004\u3001Router#copy flash tftp<\/p>\n<p>\u3000\u3000IP address or name of remote host[255.255.255.255]?<\/p>\n<p>\u3000\u3000\u6b64\u8655\u8a62\u554f\u59b3\u8981\u6c42\u5b58\u653e\u59b3\u7684flash\u7684\u670d\u52d9\u5668\u7684\u5730\u5740\u662f\u4ec0\u9ebd\u9019\u88cf\u6211\u5011\u8f38\u5165192.168.1.25\u7136\u5f8cpress ENTER\uff1b<\/p>\n<p>\u3000\u3000\uff081\uff09filename to write on tftp host?<\/p>\n<p>\u3000\u3000\u6b64\u8655\u8a62\u554f\u5728\u76ee\u7684\u5730\u4fdd\u5b58\u8a72flash\u7684\u6587\u4ef6\u70ba\u4ec0\u9ebd\uff1f\u6211\u5011\u5728\u6b64\u8f38\u5165lab_b.ios\u5c31\u53ef\u4ee5\u4e86\uff1b<\/p>\n<p>\u3000\u3000\uff082\uff09\u96a8\u5f8c\u59b3\u6703\u770b\u5230\uff1a<\/p>\n<p>\u3000\u3000writing lab_b.ios !!!!!!!!!!!! \u2026\u2026 !!!!!!!!!!!!!!!!!!!<\/p>\n<p>\u3000\u30005926652 bytes copied in 82.712 secs(71654 bytes\/sec)<\/p>\n<p>\u3000\u3000\u4ee5\u4e0a\u7684\u4fe1\u606f\u8aaa\u660e\u59b3\u7684\u4fdd\u5b58\u5df2\u7d93\u6210\u529f\u5b8c\u6210\u4e86\uff0ccopy flash tftp\u5df2\u7d93\u6210\u529f\u5b8c\u6210\u4e86\uff0c\u58f9\u65e6\u9019\u500b\u5fa9\u5236\u547d\u4ee4\u5b8c\u6210\u4e86\uff0c\u8def\u7531\u5668\u6703\u544a\u8a34\u6211\u5011\uff0c\u5fa9\u5236\u904e\u53bb\u7684\u6587\u4ef6\u5360\u7528\u4e86TFTP Server\u591a\u5c11\u7a7a\u9593\uff0c\u58f9\u5171\u8017\u6642\u591a\u5c11\uff1b<\/p>\n<p>\u3000\u3000\uff083\uff09\u00a0\u00a0 \u7136\u5f8c\u6211\u5011\u4f86\u5b78\u7fd2\u5982\u4f55\u8f09\u5165\u4fdd\u5b58\u5728TFTP Server\u4e2d\u7684IOS\u5099\u4efd\u6587\u4ef6\uff1a<\/p>\n<p>\u3000\u3000\uff084\uff09\u00a0\u00a0 \u9996\u5148\u58f9\u6a23\u6211\u5011\u5148\u8981\u78ba\u8a8d\u8a72TFTP Server\u670d\u52d9\u5668\u53ef\u4ee5\u5230\u9054\uff0c\u5176\u6b21\u6211\u5011\u8981\u7528show flash\u547d\u4ee4\u4f86\u78ba\u8a8d\u6211\u5011\u7684\u8def\u7531\u5668\u4e2d\u6709\u8db3\u5920\u7684\u7a7a\u9593\u4f86\u8f09\u5165\u65b0\u7684IOS\u8edf\u4ef6\uff0c\u6700\u5f8c\u9084\u8981\u5230\u9060\u7a0b\u670d\u52d9\u5668\u4e0a\u6aa2\u67e5\u6211\u5011\u65b0\u7684IOS\u7684\u6587\u4ef6\u662f\u4ec0\u9ebd\uff0c\u7531\u65bc\u6211\u5011\u662f\u5728\u5be6\u9a57\u74b0\u5883\u4e0b\uff0c\u6240\u4ee5\u6211\u5011\u53ea\u8981\u5728\u7c21\u55ae\u67e5\u770b\u58f9\u4e0b\u5c31\u53ef\u4ee5\uff0c\u6211\u5011\u7684\u6587\u4ef6\u540d\u70balab_b.ios\uff1b<\/p>\n<p>\u3000\u3000\uff085\uff09\u00a0\u00a0 \u5982\u679c\u6c92\u6709\u554f\u984c\u4e86\uff0c\u5c31\u53ef\u4ee5\u8f38\u5165\uff1a<\/p>\n<p>\u3000\u3000Router#copy tftp flash<\/p>\n<p>\u3000\u3000\u5728IP address or name of remote host[255.255.255.255]\u4e0b\u8f38\u5165192.168.1.25\uff1b<\/p>\n<p>\u3000\u3000\u5728Name of tftp filename to copy into flash[]?<\/p>\n<p>\u3000\u3000\u8f38\u5165lab_b.ios<\/p>\n<p>\u3000\u3000\u5728copy lab_b.ios from 192.168.1.25 into flash memory?[confirm]\u5f8c\u9762\u6309\u56de\u8eca\u5c31\u53ef\u4ee5\u4e86\uff1b\u5982\u679c\u6c92\u6709\u554f\u984c\u7684\u8a71\uff0c\u8f09\u5165flash\u7684\u5de5\u4f5c\u4e5f\u5c31\u5b8c\u6210\u4e86\u3002<\/p>\n<p>\u3000\u30001.4\u5be6\u9a57\u53c3\u8003<\/p>\n<p>\u3000\u30001\u3001\u4ee5\u8d85\u7d1a\u7d42\u7aef\u6216\u8005telnet\u65b9\u5f0f\u767b\u9304\u5230\u8def\u7531\u5668\u4e0a\u3002<\/p>\n<p>\u3000\u30002\u3001\u7528 enable \u547d\u4ee4\u9032\u5165\u7279\u6b0a\u6a21\u5f0f\u3002<\/p>\n<p>\u3000\u30003\u3001\u7528 ping xxx.xxx.xxx.xxx \u547d\u4ee4\u6aa2\u67e5\u8def\u7531\u5668\u5230TFTP\u8def\u7531\u5668\u9023\u63a5\u6027\u3002<\/p>\n<p>\u3000\u30004\u3001\u6aa2\u67e5\u8def\u7531\u5668\u7684\u5404\u500b\u7aef\u53e3\u7684ip\u5730\u5740\u548c\u7db2\u7d61\u63a9\u78bc\uff0c\u586b\u5728\u4e0b\u9762\u3002<\/p>\n<p>\u3000\u30005\u3001\u7528 copy flash tftp \u547d\u4ee4\u5c07\u7576\u524d\u914d\u7f6e\u4fdd\u5b58\u5230TFTP\u670d\u52d9\u5668\u4e0a\u3002<\/p>\n<p>\u3000\u3000copy flash tftp<\/p>\n<p>\u3000\u3000Source filename [c2600-ds-mz.121-18.bin]?<\/p>\n<p>\u3000\u3000Address or name of remote host []? 219.17.100.18<\/p>\n<p>\u3000\u3000Destination filename [c2600-ds-mz.121-18.bin]? lab_b<\/p>\n<p>\u3000\u3000!!!!!!!!!!!! \u2026\u2026 !!!!!!!!!!!!!!!!!!!<\/p>\n<p>\u3000\u30008334396 bytes copied in 52.486 secs (160276 bytes\/sec)<\/p>\n<p>\u3000\u30006\u3001\u7528 copy running-config tftp \u547d\u4ee4\u5c07\u7576\u524d\u914d\u7f6e\u4fdd\u5b58\u5230TFTP\u670d\u52d9\u5668\u4e0a\u3002<\/p>\n<p>\u3000\u30007\u3001\u7528 erase startup-config \u547d\u4ee4\u522a\u9664NVRAM\u4e2d\u7684\u914d\u7f6e\u3002\u7136\u5f8c\u7528 show startup-config \u547d\u4ee4\u78ba\u8a8dNVRAM\u4e2d\u7684\u914d\u7f6e\u78ba\u5be6\u5df2\u7d93\u522a\u9664\u3002<\/p>\n<p>\u3000\u30008\u3001\u7528 reload \u547d\u4ee4\u91cd\u555f\u8def\u7531\u5668\u3002\u7576\u7cfb\u7d71\u63d0\u793a\u9032\u5165 the initial configuration dialog\u6642\uff0c\u8f38\u5165 no \u3002\u7576\u7cfb\u7d71\u63d0\u793a terminate autoinstall \u6642\uff0c\u8f38\u5165 yes \u3002<\/p>\n<p>\u3000\u3000\u7528 enable \u547d\u4ee4\u9032\u5165\u7279\u6b0a\u6a21\u5f0f\u3002<\/p>\n<p>\u3000\u30009\u3001\u914d\u7f6e\u5c07\u8981\u7528\u4f86\u50b3\u9001TFTP\u6587\u4ef6\u7aef\u53e3\u7684IP\u5730\u5740\u548c\u7db2\u7d61\u63a9\u78bc\u3002<\/p>\n<p>\u3000\u300010\u3001\u7528 copy tftp running-config \u547d\u4ee4\u5c07TFTP\u4e0a\u7684\u914d\u7f6e\u6587\u4ef6\u62f7\u8c9d\u5230\u8def\u7531\u5668\u4e0a\u3002\u7136\u5f8c\u6839\u64da\u7cfb\u7d71\u63d0\u793a\u5206\u5225\u8f38\u5165\u670d\u52d9\u5668IP\u5730\u5740\u548c\u5c07\u8981\u4fdd\u5b58\u7684\u6587\u4ef6\u540d\u3002<\/p>\n<p>\u3000\u3000copy tftp running-config<\/p>\n<p>\u3000\u3000Address or name of remote host []? 219.17.100.18<\/p>\n<p>\u3000\u3000Source filename []? lab_b-confg<\/p>\n<p>\u3000\u3000Destination filename [running-config]?<\/p>\n<p>\u3000\u3000Accessing tftp:\/\/219.17.100.18\/lab_b-confg&#8230;<\/p>\n<p>\u3000\u3000Loading lab_b-confg from 219.17.100.18 (via FastEthernet0\/0): !<\/p>\n<p>\u3000\u3000[OK &#8211; 835\/1024 bytes]<\/p>\n<p>\u3000\u3000835 bytes copied in 18.783 secs (46 bytes\/sec)<\/p>\n<p>\u3000\u300011\u3001\u7528 show running-config \u547d\u4ee4\u67e5\u770b\u7576\u524d\u914d\u7f6e\u3002\u8207\u539f\u4f86\u58f9\u6a23\u55ce\uff1f\u8acb\u5c07\u7b54\u6848\u586b\u5728\u4e0b\u9762\u3002<\/p>\n<p>\u3000\u300012\u3001\u7528 copy running-config startup-config \u547d\u4ee4\u5c07\u7576\u524d\u914d\u7f6e\u62f7\u8c9d\u5230NVRAM\u4e2d\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5be6\u9a57\u76ee\u7684\uff1a \u3000\u3000\u5b78\u6703\u4f7f\u7528TFTP Server\u3002 \u3000\u30001.2 \u5be6\u9a57\u5167\u5bb9 \u3000\u3000\u4e86\u89e3TFTP Server\u7684\u610f\u7fa9\uff1b [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[2747,672,671],"class_list":["post-1635","post","type-post","status-publish","format-standard","hentry","category-cisco","tag-cisco","tag-server","tag-tftp"],"_links":{"self":[{"href":"https:\/\/www.killtest.hk\/index.php\/wp-json\/wp\/v2\/posts\/1635","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.killtest.hk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.killtest.hk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.killtest.hk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.killtest.hk\/index.php\/wp-json\/wp\/v2\/comments?post=1635"}],"version-history":[{"count":0,"href":"https:\/\/www.killtest.hk\/index.php\/wp-json\/wp\/v2\/posts\/1635\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.killtest.hk\/index.php\/wp-json\/wp\/v2\/media?parent=1635"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.killtest.hk\/index.php\/wp-json\/wp\/v2\/categories?post=1635"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.killtest.hk\/index.php\/wp-json\/wp\/v2\/tags?post=1635"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}