2022年配置Eigrp验证 .pdf

上传人:Q****o 文档编号:30552662 上传时间:2022-08-06 格式:PDF 页数:6 大小:139.84KB
返回 下载 相关 举报
2022年配置Eigrp验证 .pdf_第1页
第1页 / 共6页
2022年配置Eigrp验证 .pdf_第2页
第2页 / 共6页
点击查看更多>>
资源描述

《2022年配置Eigrp验证 .pdf》由会员分享,可在线阅读,更多相关《2022年配置Eigrp验证 .pdf(6页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。

1、配置 Eigrp 验证,汇总环境:三台路由器串口相连,其它接口配置如图要求: 1.配置 EIGRP 关闭自动路由汇总2.在 R1 的三个 LOOP 口进行 EIGRP 手工路由汇总3.R2、R3 配置 EIGRP 接口密文验证4.验证并测试结果步骤一:配置三个路由器接口使其连通。R1 的配置R1(config)#interface Loopback0R1(config-if)#ip address 30.1.1.1 255.255.255.0R1(config)#interface Loopback1R1(config-if)#ip address 30.1.2.1 255.255.255.0

2、R1(config)#interface Loopback2R1(config-if)#ip address 30.1.3.1 255.255.255.0R1(config)#interface s0R1(config-if)#ip address 10.1.1.2 255.255.255.0R1(config-if)#no shutdownR2 的配置R2(config)#interface s0R2(config-if)#ip address 10.1.1.1 255.255.255.0R2(config-if)#clockrate 64000R2(config-if)#no shutdo

3、wnR2(config)#interface s1R2(config-if)#ip address 20.1.1.1 255.255.255.0R12(config-if)#no shutdownR3 的配置R3(config)#interface Loopback0R3(config-if)#ip address 40.1.1.1 255.255.255.0R3(config)#interface s1R3(config-if)#ip address 20.1.1.2 255.255.255.0R3(config-if)#clockrate 64000R3(config-if)#no shu

4、tdown步骤二:配置 Eigrp名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 1 页,共 6 页 - - - - - - - - - R1 的配置R1(config)#router eigrp 100 启用 eigrp,自治号为 100,三台路由器保持一致R1(config-router)#network 10.1.1.0 0.0.0.255 使相关接口参与 eigrpR1(config-router)#network 30.1.1.0 0.0.0.255R1(config-ro

5、uter)#network 30.1.2.0 0.0.0.255R1(config-router)#network 30.1.3.0 0.0.0.255R1(config-router)# no auto-summary 关闭自动汇总R2 的配置R2(config)#router eigrp 100 R2(config-router)#network 10.1.1.0 0.0.0.255R2(config-router)#network 20.1.1.0 0.0.0.255R2(config-router)# no auto-summaryR3 的配置R3(config)#router eig

6、rp 100R3(config-router)#network 20.1.1.0 0.0.0.255R3(config-router)#network 40.1.1.0 0.0.0.255R3(config-router)# no auto-summary步骤三:配置 EIGRP 手工路由汇总R1 的配置R1(config)#interface s0R1(config-if)#ip summary-address eigrp 100 30.1.0.0 255.255.252.0 手工汇总路由步骤四:在 r2 和 r3 上配置 EIGRP 验证R2 的配置R2(config)# key chai

7、n 定义 chain 名称cisco R2(config-keychain)# key key值编号,须一致1 R2(config-keychain-key)# key-string 定义密钥,须一致aaa R2(config)# interface s1 R2(config-if)# ip authentication 启用 eigrp 验证模式 md5mode eigrp 100 md5 R2(config-if)# ip authentication 将 chain 应用到验证key-chain eigrp 100 cisco R3 的配置R3(config)# key chain ci

8、sco 名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 2 页,共 6 页 - - - - - - - - - R3(config-keychain)# key 1 R3(config-keychain-key)# key-string aaa R3(config)# interface s1 R3(config-if)# ip authentication mode eigrp 100 md5 R3(config-if)# ip authentication key-chain e

9、igrp 100 cisco 步骤五:查看路由表R1#show ip 显示路由表,如下图显示证明验证通过D 为 eigrp 路由route Codes: 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 -

10、 OSPF external type 2, E - EGP 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 route Gateway of last resort is not set 20.0.0.0/24 is subnetted, 1 subnets D 20.1.1.0

11、90/2681856 via 10.1.1.1, 00:12:39, Serial0 40.0.0.0/24 is subnetted, 1 subnets D 40.1.1.0 90/2809856 via 10.1.1.1, 00:12:39, Serial0 10.0.0.0/24 is subnetted, 1 subnets C 10.1.1.0 is directly connected, Serial0 30.0.0.0/8 is variably subnetted, 4 subnets, 2 masks C 30.1.3.0/24 is directly connected,

12、 Loopback2 C 30.1.2.0/24 is directly connected, Loopback1 C 30.1.1.0/24 is directly connected, Loopback0 D 汇总产生的空接口30.1.0.0/22 is a summary, 00:12:47, Null0 R2#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF i

13、nter 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, 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 d

14、ownloaded static route Gateway of last resort is not set 20.0.0.0/24 is subnetted, 1 subnets 名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 3 页,共 6 页 - - - - - - - - - C 20.1.1.0 is directly connected, Serial1 40.0.0.0/24 is subnetted, 1 subnets D 40.1.1.0 90/2297856

15、 via 20.1.1.2, 00:13:13, Serial1 10.0.0.0/24 is subnetted, 1 subnets C 10.1.1.0 is directly connected, Serial0 30.0.0.0/22 is subnetted, 1 subnets D 学到了汇总的条目30.1.0.0 90/2297856 via 10.1.1.2, 00:10:02, Serial0 R3#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D

16、 - 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, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate defaul

17、t, U - per-user static route o - ODR, P - periodic downloaded static route Gateway of last resort is not set 20.0.0.0/24 is subnetted, 1 subnets C 20.1.1.0 is directly connected, Serial1 40.0.0.0/24 is subnetted, 1 subnets C 40.1.1.0 is directly connected, Loopback0 10.0.0.0/24 is subnetted, 1 subne

18、ts D 10.1.1.0 90/2681856 via 20.1.1.1, 00:06:33, Serial1 30.0.0.0/22 is subnetted, 1 subnets D 30.1.0.0 90/2809856 via 20.1.1.1, 00:03:22, Serial1 步骤六:查看邻居表R1#show ip 显示邻居eigrp neighbors IP-EIGRP neighbors for process 100 H Address Interface Hold Uptime SRTT RTO Q Seq Type (sec) (ms) Cnt Num 0 10.1.

19、1.1 Se0 11 00:13:11 28 200 0 35 R2#show ip eigrp neighbors IP-EIGRP neighbors for process 100 H Address Interface Hold Uptime SRTT RTO Q Seq Type (sec) (ms) Cnt Num 0 10.1.1.2 Se0 12 00:10:49 670 4020 0 22 1 20.1.1.2 Se1 13 00:14:04 36 216 0 14 R3#sh ip eigrp neighbors 名师资料总结 - - -精品资料欢迎下载 - - - - -

20、 - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 4 页,共 6 页 - - - - - - - - - IP-EIGRP neighbors for process 100 H Address Interface Hold Uptime SRTT RTO Q Seq Type (sec) (ms) Cnt Num 0 20.1.1.1 Se1 13 00:09:18 252 1512 0 36 步骤七:用 ping 命令测试R1#ping 测试连通性,显示已通40.1.1.1 ! R3#ping 30.1.1.1 ! 步骤八:显示当前配置信息

21、R1#sh run hostname R1 ! interface Loopback0 ip address 30.1.1.1 255.255.255.0 ! interface Loopback1 ip address 30.1.2.1 255.255.255.0 ! interface Loopback2 ip address 30.1.3.1 255.255.255.0 ! interface Serial0 ip address 10.1.1.2 255.255.255.0 ip summary-address eigrp 100 30.1.0.0 255.255.252.0 5 !

22、router eigrp 100 network 10.1.1.0 0.0.0.255 network 30.1.1.0 0.0.0.255 network 30.1.2.0 0.0.0.255 network 30.1.3.0 0.0.0.255 no auto-summary end R2#sh run hostname R2 ! key chain cisco key 1 key-string aaa ! 名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 5 页,共 6 页 -

23、- - - - - - - - interface Serial0 ip address 10.1.1.1 255.255.255.0 clockrate 64000 ! interface Serial1 ip address 20.1.1.1 255.255.255.0 ip authentication mode eigrp 100 md5 ip authentication key-chain eigrp 100 cisco ! router eigrp 100 network 10.1.1.0 0.0.0.255 network 20.1.1.0 0.0.0.255 no auto-

24、summary end R3#sh run hostname R3 ! key chain cisco key 1 key-string aaa ! interface Loopback0 ip address 40.1.1.1 255.255.255.0 !interface Serial1 ip address 20.1.1.2 255.255.255.0 ip authentication mode eigrp 100 md5 ip authentication key-chain eigrp 100 cisco clockrate 64000 ! router eigrp 100 network 20.1.1.0 0.0.0.255 network 40.1.1.0 0.0.0.255 no auto-summary end 名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 6 页,共 6 页 - - - - - - - - -

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 技术资料 > 技术总结

本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知淘文阁网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

工信部备案号:黑ICP备15003705号© 2020-2023 www.taowenge.com 淘文阁