路由器TFTP配置的四个步骤

网络 网络管理
文章摘要:文中,主要讲解了路由器TFTP配置的内容。四个步骤就可以完成配置,具体过程如下……

TFTP服务器的使用也是非常广泛的,那么对于路由器TFTP配置的具体操作,我们在文中进行一下具体讲解。在局域网环境中,如果有Cisco 路由器和Linux服务器。也许你需要利用Linux的TFTP服务去下载Cisco router配置文件 startup-config,在服务器上编辑后再上载到路由器,在实现中有一些特别注意的地方。

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

路由器TFTP配置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启动它。

路由器TFTP配置2. 设定/tmp权限,让其他人有写权限(chmod 777 /tmp)。

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

路由器TFTP配置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  

路由器TFTP配置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]  

注释:你必须正确地设置权限,而且必须在下载前创建一个空文件,否则会提示出错。

责任编辑:佟健 来源: hi.baidu.com
相关推荐

2009-12-02 17:21:06

路由器安装指南

2010-07-28 11:17:01

路由器安装

2010-09-09 17:49:27

TFTP路由器

2009-12-01 15:32:15

无线路由器安装方法

2018-04-10 15:10:18

路由器错误摆放

2009-12-11 15:21:15

华为路由器CISCO路由器

2009-03-04 10:30:00

2011-04-19 10:17:25

2009-12-22 16:56:42

Cisco备份路由器配

2009-12-17 15:03:49

路由器配置DNS服务器

2010-09-17 15:17:20

TFTP服务器路由设置

2009-12-22 09:48:30

Cisco路由器配置

2010-08-23 10:40:59

DHCP服务器

2018-05-03 14:12:57

部署环境步骤

2009-12-02 11:24:11

无线路由器配置

2009-12-14 15:20:06

路由器配置

2009-12-17 10:08:06

Cisco路由器配置信

2010-01-07 15:19:07

Ubuntu tftp

2018-04-18 21:55:59

多云架构云计算数据

2022-03-21 08:00:00

网络安全影子IT数据泄露
点赞
收藏

51CTO技术栈公众号