电子文档交易市场
安卓APP | ios版本
电子文档交易市场
安卓APP | ios版本

利用TFTP服务器备份恢复路由器配置

6页
  • 卖家[上传人]:pu****.1
  • 文档编号:478888844
  • 上传时间:2022-11-16
  • 文档格式:DOC
  • 文档大小:31.01KB
  • / 6 举报 版权申诉 马上下载
  • 文本预览
  • 下载提示
  • 常见问题
    • 1、【官方提供】【实验文档】【实验0015】【利用TFTP服务器备份恢复路由器配置】【实验名称】利用TFTP服务器备份恢复路由器配置。【实验目的】能够从TFTP服务器备份,并恢复路由器配置。【背景描述】假设某台路由器的配置文件由于误操作或其他某种原因被破坏了,现在需要从TFTP服务器上的备份配置文件中恢复。本实验以1台R1762路由器为例,路由器命名为RouterA。1台PC机通过串口(Com)连接到路由器的控制(Console)端口,通过网卡(NIC)连接到路由器的fastethernet0端口。假设PC机的IP地址和网络掩码分别为192.168.0.137,255.255.255.0,路由器的fastethernet1/0端口的IP地址和网络掩码分别为192.168.0.138,255.255.255.0。【实验功能】使网络管理员可以备份配置文件,并且将配置恢复到交换机上。【实验设备】R1762(1台)、PC(1台)、直连线(1条)【实验拓扑】bb.JPG (6.76 KB)2008-11-14 14:46【实验步骤】步骤1. 在路由器上配置fastethernet1/0端口的IP地址

      2、。RouterA(config)# interface fastethernet1/0RouterA(config-if)# ip address 192.168.0.138 255.255.255.0RouterA(config-if)# no shutdown验证测试:验证路由器接口fastethernet1/0的IP地址已经配置并且开启,PC机与路由器已有网络连通性。RouterA#showipinterface fastethernet1/0FastEthernet 1/0 is UP, line protocol is UPHardware is PQ2 FCC FAST ETHERNET CONTROLLER FastEthernet, address is 00d0.f888.2be2 (bia 00d0.f888.2be2)Interface address is: 192.168.0.138/24ARP type: ARPA,ARP Timeout: 3600 secondsMTU 1500 bytes, BW 100000 KbitEncapsulation pro

      3、tocol is Ethernet-II, loopback not setKeepalive interval is 10 sec , setCarrier delay is 2 secRXload is 1 ,Txload is 1Queueing strategy: FIFO Output queue 0/40, 0 drops; Input queue 0/75, 0 drops5 minutes input rate 33 bits/sec, 0 packets/sec5 minutes output rate 1 bits/sec, 0 packets/sec 24 packets input, 1814 bytes, 0 no buffer Received 24 broadcasts, 0 runts, 0 giants 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 abort 1 packets output, 42 bytes, 0 underruns 0 output errors, 0 collisions, 4 in

      4、terface resetsLink Mode: 100M/Full-Duplex或者:RouterA#show ip interface briefInterface IP-Address(Pri) OK? Statusserial 1/2 no address YES DOWNserial 1/3 no address YES DOWNFastEthernet 1/0 192.168.0.138/24 YES UPFastEthernet 1/1 no address YES DOWNNull 0 no address YES UPRouterA#ping 192.168.0.137 !验证路由器与PC机具有网络连通性Type escape sequence to abort.Sending 5, 100-byte ICMP Echoes to 192.168.0.137, timeout is 2 seconds:!Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms步骤2. 备份路由器配置。Ro

      5、uterA#copy running-config tftp ! 备份路由器的当前配置文件到TFTP服务器Address or name of remote host ?192.168.0.137!输入TFTP服务器IPDestination filename ?config.text !输入下载后生成的文件名Building configuration.Accessing tSuccess : Transmission success,file length 1024或者:RouterA#copy startup-config tftp ! 备份路由器的初始配置文件到TFTP服务器Address or name of remote host ?192.168.0.137 !输入TFTP服务器IPDestination filename ?config.text!输入下载后生成的文件名Building configuration.Accessing tSuccess : Transmission success,file length 1024验证测试:验证TFTP服务器上的配置文件。

      6、打开TFTP服务器上的配置文件C: config.text(用Office Word程序即可打开)。C: config.text文件内容如下:!version 8.32(building 5)!interface serial 1/2clock rate 64000!interface serial 1/3clock rate 64000!interface FastEthernet 1/0ip address 192.168.0.138 255.255.255.0duplex autospeed auto!interface FastEthernet 1/1duplex autospeed auto!interface Null 0!line con 0line aux 0line vty 0 4login!end步骤3. 恢复路由器配置。RouterA#delete flash:config.text !删除路由器原有配置信息RouterA#copy tftp startup-config ! 恢复配置到路由器的初始配置文件中Address or name of remote ho

      7、st ?192.168.0.137 !输入TFTP服务器的IPSource filename ?config.text !输入文件名Accessing tWrite file to flash successfully!RouterA# copy startup-config running-config ! 将初始配置文件拷贝到路由器的当前配置文件中验证测试:验证路由器已经更改为新的配置。RouterA#show startup-config ! 验证路由器的初始配置文件为新的文件!Building configuration.(building 53)Current configuration : 406 bytesCopyright (c) 2004 by Re!version 8.32(building 5)!interface serial 1/2clock rate 64000!interface FastEthernet 1/0ip address 192.168.0.138 255.255.255.0duplex autospeed auto!interface Fas

      8、tEthernet 1/1duplex autospeed auto!interface Null 0!line con 0line aux 0line vty 0 4login!end【注意事项】在备份、恢复配置时,须验证路由器与PC机(TFTP Server)具有网络连通性。【参考配置】RouterA #show running-configBuilding configuration.(building 53)Current configuration : 406 bytesCopyright (c) 2004 by Re!version 8.32(building 5)interface serial 1/2clock rate 64000!interface FastEthernet 1/0ip address 192.168.0.138 255.255.255.0duplex autospeed auto!interface FastEthernet 1/1duplex autospeed autointerface Null 0!line con 0line aux 0line vty 0 4login!end

      《利用TFTP服务器备份恢复路由器配置》由会员pu****.1分享,可在线阅读,更多相关《利用TFTP服务器备份恢复路由器配置》请在金锄头文库上搜索。

      点击阅读更多内容
    最新标签
    监控施工 信息化课堂中的合作学习结业作业七年级语文 发车时刻表 长途客运 入党志愿书填写模板精品 庆祝建党101周年多体裁诗歌朗诵素材汇编10篇唯一微庆祝 智能家居系统本科论文 心得感悟 雁楠中学 20230513224122 2022 公安主题党日 部编版四年级第三单元综合性学习课件 机关事务中心2022年全面依法治区工作总结及来年工作安排 入党积极分子自我推荐 世界水日ppt 关于构建更高水平的全民健身公共服务体系的意见 空气单元分析 哈里德课件 2022年乡村振兴驻村工作计划 空气教材分析 五年级下册科学教材分析 退役军人事务局季度工作总结 集装箱房合同 2021年财务报表 2022年继续教育公需课 2022年公需课 2022年日历每月一张 名词性从句在写作中的应用 局域网技术与局域网组建 施工网格 薪资体系 运维实施方案 硫酸安全技术 柔韧训练 既有居住建筑节能改造技术规程 建筑工地疫情防控 大型工程技术风险 磷酸二氢钾 2022年小学三年级语文下册教学总结例文 少儿美术-小花 2022年环保倡议书模板六篇 2022年监理辞职报告精选 2022年畅想未来记叙文精品 企业信息化建设与管理课程实验指导书范本 草房子读后感-第1篇 小数乘整数教学PPT课件人教版五年级数学上册 2022年教师个人工作计划范本-工作计划 国学小名士经典诵读电视大赛观后感诵读经典传承美德 医疗质量管理制度 2
    关于金锄头网 - 版权申诉 - 免责声明 - 诚邀英才 - 联系我们
    手机版 | 川公网安备 51140202000112号 | 经营许可证(蜀ICP备13022795号)
    ©2008-2016 by Sichuan Goldhoe Inc. All Rights Reserved.