自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

簡談路由器TFTP的配置

網(wǎng)絡 網(wǎng)絡管理
在路由器上如何設置TFTP服務呢?這里我們就來簡單看看具體的操作吧。具體的步驟和代碼我們都在文章中進行了講解,希望對大家能夠有所幫助。

這次我們來講解一下路由器TFTP的內容。在局域網(wǎng)環(huán)境中,如果有Cisco 路由器和Linux服務器。也許你需要利用Linux的TFTP服務去下載Cisco router配置文件 startup-config,在服務器上編輯后再上載到路由器,在實現(xiàn)中有一些特別注意的地方。

所用軟硬件:Redhat Linux 5.2 ,Cisco 2501 路由器

1. 開啟 Redhat Linux 服務器上的tftp服務,并指明下載目錄/tmp。

  1. [jephe@sh89 /etc]$ more inetd.conf | grep tftp  
  2. tftp dgram udp wait root /usr/sbin/tcpd in.tftpd /tmp 

然后用命令killall -HUP inetd啟動它。

2. 設定/tmp權限,讓其他人有寫權限(chmod 777 /tmp)。

  1. [jephe@sh89 /]$ ls -l | grep tmp  
  2. drwxrwxrwx 5 root root 2048 Jun 16 07:44 tmp  

3。 在/tmp目錄建立一個空文件(如isdn),并設定權限(chmod 777 /tmp/isdn)

  1. [root@shopu /tmp]# touch isdn  
  2. [root@shopu /tmp]# chmod 777 isdn  
  3. [root@shopu /tmp]# ls -l isdn  
  4. -rwxrwxrwx 1 root root 0 Jun 16 11:24 isdn  

4. 進入路由器,下載配置文件。

  1. Shanghai-ISDN#copy run tftp  
  2. Remote host [192.168.13.2]?  
  3. Name of configuration file to write [shanghai-isdn-confg]? isdn  
  4. Write file isdn on host 192.168.13.2? [confirm]  
  5. Building configuration...  
  6. Writing isdn !! [OK]  

注釋:你必須正確地設置權限,而且必須在下載前創(chuàng)建一個空文件,否則會提示出錯。

責任編輯:佟健 來源: 互聯(lián)網(wǎng)
相關推薦

2010-09-17 15:21:17

路由器TFTP配置

2009-12-22 16:56:42

Cisco備份路由器配

2011-02-22 08:57:28

路由器基礎

2009-12-11 15:21:15

華為路由器CISCO路由器

2013-06-07 11:06:20

路由技術靜態(tài)路由配置路由器

2010-09-01 15:22:13

路由器DHCP

2009-11-10 10:10:01

華為路由器

2010-04-06 17:46:48

2010-08-16 10:06:21

2011-04-01 16:03:18

IOS路由器

2010-08-19 13:42:08

路由器備份

2011-03-14 16:36:28

靜態(tài)路由

2009-03-02 09:56:00

交換機集線器路由器

2010-07-30 14:53:35

路由器設置

2017-05-12 15:23:25

路由器網(wǎng)絡交換機

2010-07-30 15:23:34

路由器配置

2009-04-14 09:48:00

cisco路由器配置

2010-08-05 08:43:40

2009-12-16 16:25:14

路由器配置

2009-12-23 15:00:15

正確配置路由協(xié)議
點贊
收藏

51CTO技術棧公眾號