




已阅读5页,还剩5页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
实训报告实训题目: 网络设备安装与调试设备院 系: 计算机学院 专 业: 计算机网络 班级: ZK33701 学 号: 2007544924 姓 名: 高 建 指导教师: 唐 锡 雷 实训地点: J02 -506 开课时间: 2009 至 2010 学年第 2 学期重庆科创学院计算机学院 制2学生姓名 高 建 实训报告成绩 评语: 指导教师(签名) 年 月 日实验1【实验名称】从TFTP服务器恢复路由器配置【实验目的】 能够从TFTP服务器恢复路由器配置。【实验功能】 使网络管理员可以将已有的路由器配置恢复到路由器上。【背景描述】 假设某台路由器的配置文件由于误操作或其它某种原因被破坏了,现在需要从TFTP服务器上的备份配置文件中恢复。本实验以一台R2624路由器为例,路由器命名为RouterA。一台PC机通过串口(Com)连接到路由器的控制(Console)端口,通过网卡(NIC)连接到路由器的fastethernet0端口。假设PC机的IP地址和网络掩码分别为37,,路由器的fastethernet0端口的IP地址和网络掩码分别为38, 。【实验拓扑】 【实验设备】R2624(1台)【实验步骤】 第一步:在路由器上配置fastethernet0端口的IP地址RouterA(config)# interface fastethernet0 !进入路由器接口配置模式RouterA(config)# ip address 38 !配置路由器管理接口IP地址RouterA(config)# no shutdown !开启路由器fastethernet0接口验证测试:验证路由器接口fastethernet0的IP地址已经配置和开启,PC机与路由器有网络连通性RouterA#show ip interface fastethernet0 !验证接口fastethernet0的IP地址已经配置和开启FastEthernet0 is up, line protocol is up Internet address is 38/24 Broadcast address is 55 Address determined by setup command MTU is 1500 bytes Helper address is not set Directed broadcast forwarding is disabled Outgoing access list is not set Inbound access list is not set Proxy ARP is enabled Security level is default Split horizon is enabled ICMP redirects are always sent ICMP unreachables are always sent ICMP mask replies are never sent IP fast switching is enabled IP fast switching on the same interface is disabled IP multicast fast switching is enabled Router Discovery is disabled IP output packet accounting is disabled IP access violation accounting is disabled TCP/IP header compression is disabled Policy routing is disabled或RouterA#show ip interface briefInterface IP-Address OK? Method Status ProtocolFastEthernet0 38 YES manual up upFastEthernet1 unassigned YES unset administratively down downFastEthernet2 unassigned YES unset administratively down downFastEthernet3 unassigned YES unset administratively down downSerial0 unassigned YES unset administratively down downSerial1 unassigned YES unset administratively down downRouterA#ping 37 !验证路由器与PC机具有网络连通性Type escape sequence to abort.Sending 5, 100-byte ICMP Echoes to 37, timeout is 2 seconds:!Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms第二步:恢复路由器配置RouterA#copy tftp running-config ! 恢复配置到路由器的当前配置文件中Address of remote host 55? 37 !按提示输入TFTP服务器的IP地址Name of configuration file routera-confg? !选择输入配置文件名Configure using routera-confg from 37? confirmLoading routera-confg from 37 (via FastEthernet0): !OK - 608/32727 bytesRouterA#copy running-config startup-config ! 保存路由器的当前配置文件或RouterA#copy tftp startup-config ! 恢复配置到路由器的初始配置文件中Address of remote host 37?Name of configuration file routera-confg?Configure using routera-confg from 37? confirmLoading routera-confg from 37 (via FastEthernet0): !OK - 608/32727 bytesOKRouterA# copy startup-config running-config ! 将初始配置文件拷贝到路由器的当前配置文件中 验证测试:验证路由器已经更改为新的配置RouterA#show running-config ! 验证路由器的当前配置文件为新的文件或RouterA#show startup-config ! 验证路由器的初始配置文件为新的文件!o!einterface FastEthernet0oice-port 2 ip address 38 s line con 0 l!einterface FastEthernet1 line vty 0 4 ip address 38 login end RouterA#show r shutdown !uinterface FastEthernet2 no ip erface Serial1 no ip address shutdownvoice-port 0voice-port 1voice-port 2voice-port 3ip classlessline con 0line 1 8line aux 0line vty 0 4 password star loginend【注意事项】在恢复配置到路由器上之前,须验证路由器与PC机(TFTP Server)具有网络连通性。【参考配置】RouterA #show running-configCurrent configuration: Building configur!iversion 6.14(2) !Khostname RouterA Router!cenable secret 5 $1$J.MN$6eZyYdYsJMhhEUdtT3ZXG0 terminal Enter confenable password starne per line. End wi!T!Zip subnet-zero interface FastEthernet0RouterA(config)#int ip address 38 ce fa Route!(interface FastEthernet1hernet 0 ip address 38 -if)#ip addr shutdownnfig-if)# interface FastEthernet no ip address shutdown interface Serial1 no ip address shutdownvoice-port 0voice-port 1voice-port 2voice-port 3ip classlessline con 0line 1 8line aux 0line vty 0 4 password star loginend8实验2路由选择信息协议(Routing Information Protocol),缩写为RIP,是应用较早的、目前仍普遍使用的内部网关协议(Interior Gateway Protocol,缩写为IGP),该协议是为了运用于小型同类网络而创立的,是一种古典的距离矢量协议。在一个自治系统内部进行路由选择,而外部网关协议(如边缘网关协议)是在两个不同自治系统之间进行路由选择。RIP的最新增强版是RIP V2规范,允许RIP数据包包含更多的信息,RIP V2相对于RIP V1来说,可用于可变长掩码,同时收敛快。文档见RFC1058,RFC1723。RIP使用广播用户数据协议(UDP)包来交换路由信息,当网络拓扑发生变化时,RIP定时发送路由选择更新消息。当路由器收到的路由选择更新消息时,该路由器便修改其路由选择表。路径的计量值以1递增,其发送者即为下一跳。RIP路由器只维持到达目的网段的最佳路由(即计量值最小的路由),修改路由选择表后,路由器立即开始传送路由选择更新消息,以通知网络中的其它路由器。RIP通过限制从原地址到目的地址路径上的跳数,有效地防止了路由选择循环的无限延续。直接连接网络的跳数为零,一个路径的最大跳数是15。如果路由器收到了一个路由选择更新消息,而其计量值为16,那么,该网络的目的地址是不可到达的。小的取值范围使RIP不适用于大型网络。 2.1 相关命令功 能命 令启动RIP协议rip enable指定RIP协议的版本&rip version 1|2指定使用RIP的网络rip network add|del network_address指定RIP转发的路由rip redistribute connected|ospf|static|none显示RIP状态show rip network注:路由器的RIP协议支持路由包的过滤。2.2 举例配置如下:ROUTEA:rip enable e0 ip add quit s0 encapsulate hdlc ip add map add 130.1.
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 5S系列知识介绍
- 山东省济宁市兖州区2025年高三年级模拟考试(一)历史试题含解析
- 山东省招远一中2024-2025学年高三第二次模考历史试题理试题含解析
- 浙江工业大学之江学院《异常心理学》2023-2024学年第二学期期末试卷
- 徽商职业学院《食品质量与安专业全综合实验(实验)》2023-2024学年第一学期期末试卷
- 河南省漯河市重点中学2024-2025学年高考生物试题查漏补缺试题(文理)含解析
- 重庆工信职业学院《定向运动》2023-2024学年第二学期期末试卷
- 贵州装备制造职业学院《卫生管理统计学》2023-2024学年第二学期期末试卷
- 中国民航大学《大学外语四》2023-2024学年第一学期期末试卷
- 湖北省部分高中协作体2025届高三三月联考一模考试语文试题及答案
- 导游人员管理法律制度课件
- 木箱检验作业指导书
- 初中级档案职称《档案事业概论》档案事业题库一
- 美国地图高清中文版
- 《中国特色社会主义理论与实践研究》课程教学大纲
- 金属监督监理实施细则
- DB13T 1606-2012 粮食作物种子 谷子杂交种
- DB33-T1247-2021《城市河道景观设计标准》
- 正确认识汽车太阳膜课件
- 曲线上梁的平分中矢坐标计算方法解读
- DB4201∕T 646-2021 轨道交通工程运营期结构监测技术规程
评论
0/150
提交评论