CCNA标准实验20——RIP自动汇总和手工汇总.docx_第1页
CCNA标准实验20——RIP自动汇总和手工汇总.docx_第2页
CCNA标准实验20——RIP自动汇总和手工汇总.docx_第3页
CCNA标准实验20——RIP自动汇总和手工汇总.docx_第4页
CCNA标准实验20——RIP自动汇总和手工汇总.docx_第5页
已阅读5页,还剩3页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

CCNA标准实验20RIP自动汇总和手动汇总配置路由器R1R1#conf tEnter configuration commands, one per line. End with CNTL/Z.R1(config)#line console 0R1(config-line)#logging synchronousR1(config-line)#exec-timeout 0 0R1(config-line)#exitR1(config)#int fa0/0R1(config-if)#ip address 12.1.1.1 255.255.255.0R1(config-if)#no shutdownR1(config-if)#exitR1(config)#配置路由器R2R2#conf tEnter configuration commands, one per line. End with CNTL/Z.R2(config)#line console 0R2(config-line)#logging synchronousR2(config-line)#exec-timeout 0 0R2(config-line)#exitR2(config)#int fa0/0R2(config-if)#ip address 12.1.1.2 255.255.255.0R2(config-if)#no shutdownR2(config-if)#exitR2(config)#int fa1/0R2(config-if)#ip address 23.1.1.2 255.255.255.0R2(config-if)#no shutdownR2(config-if)#*Mar 1 00:03:01.475: %LINK-3-UPDOWN: Interface FastEthernet1/0, changed state to up*Mar 1 00:03:02.475: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to upR2(config-if)#exitR2(config)#配置路由器R3R3#conf tEnter configuration commands, one per line. End with CNTL/Z.R3(config)#int fa0/0R3(config-if)#ip address 23.1.1.3 255.255.255.0R3(config-if)#no shutdownR3(config-if)#exit*Mar 1 00:05:13.731: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up*Mar 1 00:05:14.731: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upR3(config-if)#exitR3(config)#int loopback 0R3(config-if)#ip ad*Mar 1 00:05:22.347: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to upR3(config-if)#ip address 10.10.10.1 255.255.255.0R3(config-if)#exitR3(config)#int loopback 1R3(config-if)#ip add*Mar 1 00:05:45.419: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback1, changed state to upR3(config-if)#ip address 10.10.20.1 255.255.255.0R3(config-if)#exitR3(config)#int loopback 2R3(config-if)#ip a*Mar 1 00:06:11.747: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback2, changed state to upR3(config-if)#ip address 10.10.30.1 255.255.255.0R3(config-if)#exitR3(config)#启动RIP协议,默认RIP是开启自动汇总R1(config)#router ripR1(config-router)#version 2R1(config-router)#network 12.1.1.0R1(config-router)#exitR1(config)#R2(config)#router ripR2(config-router)#version 2R2(config-router)#network 12.1.1.0R2(config-router)#network 23.1.1.0R2(config-router)#exitR2(config)#R3(config)#router ripR3(config-router)#version 2R3(config-router)#network 23.1.1.0R3(config-router)#network 10.10.10.0R3(config-router)#network 10.10.20.0R3(config-router)#network 10.10.30.0R3(config-router)#exitR3(config)#查看路由器R1路由表验证配置R1#show ip routeCodes: C - connected, S - static, 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 external type 2 i - IS-IS, su - IS-IS summary, 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 setR 23.0.0.0/8 120/1 via 12.1.1.2, 00:00:12, FastEthernet0/0R 10.0.0.0/8 120/1 via 12.1.1.2, 00:00:12, FastEthernet0/0 /三个网段汇总的结果主类网段 12.0.0.0/24 is subnetted, 1 subnetsC 12.1.1.0 is directly connected, FastEthernet0/0R1#下面关闭所有路由器的自动汇总R1(config-router)#no auto-summaryR2(config-router)#no auto-summaryR3(config-router)#no auto-summary再次查看路由表验证配置R1#sh ip routeCodes: C - connected, S - static, 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 external type 2 i - IS-IS, su - IS-IS summary, 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 set 23.0.0.0/8 is variably subnetted, 2 subnets, 2 masksR 23.1.1.0/24 120/1 via 12.1.1.2, 00:00:08, FastEthernet0/0R 23.0.0.0/8 120/1 via 12.1.1.2, 00:00:35, FastEthernet0/0 10.0.0.0/8 is variably subnetted, 4 subnets, 2 masksR 10.10.10.0/24 120/2 via 12.1.1.2, 00:00:08, FastEthernet0/0R 10.0.0.0/8 120/2 via 12.1.1.2, 00:00:08, FastEthernet0/0R 10.10.20.0/24 120/2 via 12.1.1.2, 00:00:08, FastEthernet0/0R 10.10.30.0/24 120/2 via 12.1.1.2, 00:00:10, FastEthernet0/0 12.0.0.0/24 is subnetted, 1 subnetsC 12.1.1.0 is directly connected, FastEthernet0/0R1#启用手工汇总进入R3的接口Fa0/0.R3(config-if)#ip summary-address ? eigrp Enhanced Interior Gateway Routing Protocol (EIGRP) rip Routing Information Protocol (RIP)R3(config-if)#ip summary-address rip ? A.B.C.D IP addressR3(config-if)#ip summary-address rip 10.10.0.0 ? A.B.C.D IP network maskR3(config-if)#ip summary-address rip 10.10.0.0 255.255.224.0 ? R3(config-if)#ip summary-address rip 10.10.0.0 255.255.224.0R3(config-if)#exitR3(config)#查看路由表验证配置R1#clear ip route *R1#show ip routeCodes: C - connected, S - static, 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 external type 2 i - IS-IS, su - IS-IS summary, 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 set 23

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论