




版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、.实训报告实训一 路由基本配置1、实验目的:路由器基本配置及ip设置2、拓扑结构图RFRFZZ3、实验步骤Router1Routeren 用户模式 进入特权模式 Router#conf t 特权模式 进入全局模式 Enter configuration commands, one per line. End with CNTL/Z.Router#host rznn1 改名字为 rznn1rznn1#int fa0/0 进入fa0/0端口 设置ip地址 rznn1#no sh 激活rznn1#int fa0/1rznn1#ip add rznn1#no shrznn1#exitrznn1#exi
2、trznn1#copy running-config startup-config 保存 Destination filename startup-config? startup-configrznn1#conf trznn1#enable secret password 222 设置密文rznn1#show ip interface b 显示Interface IP-Address OK? Method Status ProtocolFastEthernet0/0 YES manual up upFastEthernet0/1 YES manual up upVlan1 unassigned
3、 YES manual administratively down downrouter 2outerenRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router#host rznn2rznn2#int fa0/0rznn2#no shrznn2#int fa0/1rznn2#no shRznn2#copy running-config startup-config 保存 Destination filename startup-config? startup-configrznn2#exit
4、rznn2#exitrznn2#conf trznn2#enable secret 222rznn2#show ip interface b Interface IP-Address OK? Method Status ProtocolFastEthernet0/0 YES manual up upFastEthernet0/1 YES manual up upVlan1 unassigned YES manual administratively down down实训二1、远程登录、密码设置及验证为路由器开设telnet端口,PC机可以远程登陆到Rznn3拓扑结构图RP步骤 rznn3rz
5、nn3enrznn3#conf tEnter configuration commands, one per line. End with CNTL/Z.rznn3#no ip domain lookuprznn3#line cons 0rznn3#password znnrznn3#loginrznn3#no exec-trznn3#logg syncrznn3#exitrznn3#int fa0/0rznn3#no shrznn3#exitrznn3#line vty 0 4 打通五个端口rznn3#password cisco 设置密码rznn3#login 保存 rznn3#exit4
6、、测试:实训三 命令组1、目的:八条命令 no ip domain lookupline cons 0passwordloginno exec-tlogg syncshow versionreloadcopy running-config startup-configshow cdp neighbors2、拓扑结构图RR3、步骤rznn1#conf tEnter configuration commands, one per line. End with CNTL/Z.1、rznn1#no ip domain lookup 取消域名查找转换2、rznn1#line cons 0 打开cons
7、0端口3、rznn1#password znn 设置密码为 znnrznn1#login 保存rznn1#no exec-t 设置永不超时4、rznn1#logg sync 产生日志5、rznn1#show version 显示思科路由系统版本信息Cisco IOS Software, 2800 Software , Version 12.4T1, RELEASE SOFTWARE Copyright 1986-2007 by Cisco Systems, Inc.Compiled Wed 18-Jul-07 06:21 by pt_rel_team6、rznn1#show cdp neigh
8、bors 查看路由器连接的相邻路由器的相关信息Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater, P - PhoneDevice ID Local Intrfce Holdtme Capability Platform Port IDrznn2 Fas 0/0 139 R C2800 Fas 0/07、rznn1#copy running-config startup-config 保存刚才指令Destinati
9、on filename startup-config? startup-configBuilding configuration.OK8、rznn1#reload 重启路由器Proceed with reload? confirmSystem Bootstrap, Version 12.1T2, RELEASE SOFTWARE Copyright 2000 by cisco Systems, Inc.cisco 2811 processor with 60416K/5120K bytes of memorySelf decompressing the image :# OK Restrict
10、ed Rights Legendrznn1#show ip interface bInterface IP-Address OK? Method Status ProtocolFastEthernet0/0 YES manual up upFastEthernet0/1 YES manual up upVlan1 unassigned YES manual administratively down down9、 重置ip地址 rznn1#show ip interface bInterface IP-Address OK? Method Status ProtocolFastEthernet
11、0/0 YES manual up upFastEthernet0/1 YES manual up upVlan1 unassigned YES manual administratively down down实训四 发现协议1、实训目的通过发现协议显示路由器相邻路由的端口信息2、拓扑结构RRFR3、步骤R1路由器RouterenRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router#host r1r1#int fa0/0r1#no sh%LINK-5-CHANGED: Interface
12、 FastEthernet0/0, changed state to upr1#r1#exitr1#exitr1#%SYS-5-CONFIG_I: Configured from console by consoler1#show ip interface bInterface IP-Address OK? Method Status ProtocolFastEthernet0/0 YES manual up downFastEthernet0/1 unassigned YES manual administratively down downVlan1 unassigned YES manu
13、al administratively down downR2 路由器RouterenRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router#host r2r2#int fa0/0r2#ip adr2#no sh%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state
14、to upr2#exitr2#exitr2#%SYS-5-CONFIG_I: Configured from console by consoler2#conf tEnter configuration commands, one per line. End with CNTL/Z.r2#int fa0/0r2#int fa0/1r2#no sh%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to upr2#exitr2#exitr2#%SYS-5-CONFIG_I: Configured from console by co
15、nsoler2#show ip interface bInterface IP-Address OK? Method Status ProtocolFastEthernet0/0 YES manual up upFastEthernet0/1 YES manual up downVlan1 unassigned YES manual administratively down downR3路由器RouterenRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router#host r3r3#int
16、 fa0/0r3#no sh%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upr3#exitr3#exitr3#%SYS-5-CONFIG_I: Configured from console by consoler3#show ip interface bInterface IP-Address OK? Method Status ProtocolFa
17、stEthernet0/0 YES manual up upFastEthernet0/1 unassigned YES manual administratively down downVlan1 unassigned YES manual administratively down downR1发现邻居r1#show cdp neighborsCapability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater, P - Pho
18、neDevice ID Local Intrfce Holdtme Capability Platform Port IDr2 Fas 0/0 165 R C2800 Fas 0/0R2发现邻居r2#show cdp neighborsCapability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater, P - PhoneDevice ID Local Intrfce Holdtme Capability Platform Por
19、t IDr1 Fas 0/0 176 R C1841 Fas 0/0r3 Fas 0/1 130 R C1841 Fas 0/0R3发现邻居r3#show cdp neighborsCapability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater, P - PhoneDevice ID Local Intrfce Holdtme Capability Platform Port IDr2 Fas 0/0 166 R C2800
20、Fas 0/14、总结show 命令1show ip interface b 2show version 显示ios版本信息3show running-config 显示刚才使用的命令配置信息4show cdp neighbors 显示发现邻居直连设备信息5show interface 显示所有端口详细信息实训五 静态路由1、实验目的:将不同网段的网络配通ip routeIp route 语法:ip route 目标地址 子网掩码 相邻路由器接口地址Show ip route2、试验拓扑:RRFR3、实验步骤:Router1RouterenRouter#conf tRouter#host r1
21、r1#int fa0/0r1#no sh%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to upr1#exitr1#exitr1#show ip interface bInterface IP-Address OK? Method Status ProtocolFastEthernet0/0 YES manual up downFastEthernet0/1 unassigned YES manual administratively down downVlan1 unassigned YES manual administ
22、ratively down downr1#%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upType escape sequence to abort.Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds:.Success rate is 0 percent r1#conf tEnter configuration commands, one per line. End with CNTL/Z.r1#exitType
23、escape sequence to abort.Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds:!Success rate is 100 percent , round-trip min/avg/max = 31/31/32 msType escape sequence to abort.Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds:.Success rate is 0 percent Type escape sequence to abort.Sending
24、 5, 100-byte ICMP Echos to , timeout is 2 seconds:!Success rate is 100 percent , round-trip min/avg/max = 47/62/78 msr1#show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1,
25、 N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static routeGateway of last resort is not setC /24
26、is directly connected, FastEthernet0/0Router3Routeren Router#conf tEnter configuration commands, one per line. End with CNTL/Z.Router#host r3r3#int fa0/0r3#no sh%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed sta
27、te to upr3#exit r3#exitr3#%SYS-5-CONFIG_I: Configured from console by consoler3#show ip interface bInterface IP-Address OK? Method Status ProtocolFastEthernet0/0 YES manual up upFastEthernet0/1 unassigned YES manual administratively down downVlan1 unassigned YES manual administratively down downr3#c
28、onf tEnter configuration commands, one per line. End with CNTL/Z.r3#exitType escape sequence to abort.Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds:!Success rate is 100 percent , round-trip min/avg/max = 31/31/32 msType escape sequence to abort.Sending 5, 100-byte ICMP Echos to , timeout
29、is 2 seconds:!Success rate is 100 percent , round-trip min/avg/max = 62/62/63 msr3#show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 -
30、OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static routeGateway of last resort is not setC /24 is directly connected, FastEthernet0/
31、04、默认路由Route 1r1enr1#conf tEnter configuration commands, one per line. End with CNTL/Z.%No matching route to deleter1#exitr1#%SYS-5-CONFIG_I: Configured from console by consoler1#show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O -
32、 OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic dow
33、nloaded static routeGateway of last resort is not setC /24 is directly connected, FastEthernet0/0r1#conf tEnter configuration commands, one per line. End with CNTL/Z.r1#ip route r1#exitr1#%SYS-5-CONFIG_I: Configured from console by consoler1#show ip routeCodes: C - connected, S - static, I - IGRP, R
34、 - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candida
35、te default, U - per-user static route, o - ODR P - periodic downloaded static routeGateway of last resort is to network .0C /24 is directly connected, FastEthernet0/0S* Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds:!Success rate is 100 percent , round-trip mi
36、n/avg/max = 16/28/31 msType escape sequence to abort.Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds:!Success rate is 100 percent , round-trip min/avg/max = 62/62/63 msRoute 3r1enr1#conf tEnter configuration commands, one per line. End with CNTL/Z.%No matching route to deleter1#exitr1#%SYS-
37、5-CONFIG_I: Configured from console by consoler1#show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF ex
38、ternal type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static routeGateway of last resort is not setC /24 is directly connected, FastEthernet0/0r1#conf tEnter configuration comm
39、ands, one per line. End with CNTL/Z.r1#ip route r1#exitr1#%SYS-5-CONFIG_I: Configured from console by consoler1#show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OS
40、PF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static routeGateway of last resort is to network .0C /24 is
41、 directly connected, FastEthernet0/0S* Type escape sequence to abort.Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds:!Success rate is 100 percent , round-trip min/avg/max = 62/62/63 ms实训六 动态路由 RIP 协议1、实验目的使用配置动态路由启动Rip协议使用到的命令router rip/network/show ip protocols/show ip route2、实验拓扑R1 fa0/03
42、、实验步骤R1RouterenRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router#host r1r1#int fa0/0r1#ip add 25r1#no shr1#exitr1#router ripr1#exitr1#exitr1#%SYS-5-CONFIG_I: Configured from console by consoleR2RouterenRouter#conf tEnter configuration commands, one per line. End with CN
43、TL/Z.Router#host r2r2#int fa0/0r2#no shr2#exitr2#int fa0/1r2#no shr2#exitr2#router ripr2#exitr2#exitr2#R3Routeren Router#conf tEnter configuration commands, one per line. End with CNTL/Z.Router#host r3r3#int fa0/0r3#no shr3#exitr3#router ripr3#exitr3#exitr3#%SYS-5-CONFIG_I: Configured from console b
44、y console4、实验测试R1r1#show ip protocolsRouting Protocol is ripSending updates every 30 seconds, next due in 10 secondsInvalid after 180 seconds, hold down 180, flushed after 240Outgoing update filter list for all interfaces is not setIncoming update filter list for all interfaces is not setRedistribut
45、ing: ripDefault version control: send version 1, receive any version Interface Send Recv Triggered RIP Key-chain FastEthernet0/0 1 2 1 Automatic network summarization is in effectMaximum path: 4Routing for Networks:Passive Interface:Routing Information Sources:Gateway Distance Last UpdateDistance: r
46、1#show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS lev
47、el-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static routeGateway of last resort is not setC /24 is directly connected, FastEthernet0/0R /24 120/1 via , 00:00:24, FastEthernet0/0Type escape sequence to abort.Sending 5, 100-byte ICMP Ech
48、os to , timeout is 2 seconds:!Success rate is 100 percent , round-trip min/avg/max = 31/31/32 msR2r2#show ip protocolsRouting Protocol is ripSending updates every 30 seconds, next due in 21 secondsInvalid after 180 seconds, hold down 180, flushed after 240Outgoing update filter list for all interfac
49、es is not setIncoming update filter list for all interfaces is not setRedistributing: ripDefault version control: send version 1, receive any version Interface Send Recv Triggered RIP Key-chain FastEthernet0/0 1 2 1 FastEthernet0/1 1 2 1 Automatic network summarization is in effectMaximum path: 4Rou
50、ting for Networks:Passive Interface:Routing Information Sources:Gateway Distance Last UpdateDistance: r2#show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 -
51、 OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static routeGateway of last resort is not setC /24 is directly connected, FastEthernet0
52、/0C /24 is directly connected, FastEthernet0/1R3r3#show ip protocolsRouting Protocol is ripSending updates every 30 seconds, next due in 15 secondsInvalid after 180 seconds, hold down 180, flushed after 240Outgoing update filter list for all interfaces is not setIncoming update filter list for all i
53、nterfaces is not setRedistributing: ripDefault version control: send version 1, receive any version Interface Send Recv Triggered RIP Key-chain FastEthernet0/0 1 2 1 Automatic network summarization is in effectMaximum path: 4Routing for Networks:Passive Interface:Routing Information Sources:Gateway
54、Distance Last UpdateDistance: r3#show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1
55、- IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static routeGateway of last resort is not setR /24 120/1 via , 00:00:04, FastEthernet0/0C /24 is directly connected, FastEthernet0/0Type escape sequence to abo
56、rt.Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds:!Success rate is 100 percent , round-trip min/avg/max = 31/31/32 ms实训七 负载平衡试训目的实现负载平衡实训拓扑Fa0FFFF实训步骤R1 r1enR1#conf tR1#ip route 1.2R1#exitr1#show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX
57、 - EIGRP external, O - OSPF, N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic do
58、wnloaded static routeGateway of last resort is to network .0C /24 is directly connected, FastEthernet0/0S* r2enr2#ip route r2#ip route r2#exitr2#%SYS-5-CONFIG_I: Configured from console by consoles% Ambiguous command: sr2#show ip routeCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile,
59、B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o
60、- ODR P - periodic downloaded static routeGateway of last resort is to network .0C /24 is directly connected, Ethernet0/0/0C /24 is directly connected, FastEthernet0/0C /24 is directly connected, FastEthernet0/1S* r3enr3#conf tEnter configuration commands, one per line. End with CNTL/Z.r3#ip route r
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 宅基地租地合同协议书
- 生鲜投资协议书
- 红薯收购协议书
- 药品免责协议书
- 财产比例协议书
- 综合利用协议书
- 玩具租赁协议书
- 精图退费协议书
- 酒店充值协议书
- 帮同事代签合同协议书
- 2025+CSCO非小细胞肺癌诊疗指南解读课件
- 纺织设备电气控制技术考核试卷
- 互联网运营思维
- T∕CACM 1085-2018 中医治未病技术操作规范 调神益智针法预防血管性认知障碍
- 案例研究-海洋水产养殖(海洋牧场及渔业综合体)项目投资方案可行性
- 蛛网膜下腔出血介入术后护理
- 2025年临床执业医师考试的院前急救知识试题及答案
- 数据治理架构试题及答案
- 会考地理综合题答题模板+简答题归纳-2025年会考地理知识点梳理
- 广州中小企业招工难问题研究
- 2025年度综合物业管理外包服务专项合同
评论
0/150
提交评论