实验、配置Eigrp 验证,汇总
 环境:三台路由器串口相连,其它接口配置如图
 要求:1.配置EIGRP关闭自动路由汇总
2.在R1的三个LOOP口进行EIGRP手工路由汇总
3.R2、R3配置EIGRP接口密文验证
4.验证并测试结果
  
 
 
 
步骤一: 配置三个路由器接口使其连通。
 
R1的配置
R1(config)# interface Loopback0
R1(config-if)# ip address 30.1.1.1 255.255.255.0
R1(config)# interface Loopback1
R1(config-if)# ip address 30.1.2.1 255.255.255.0
R1(config)# interface Loopback2
R1(config-if)# ip address 30.1.3.1 255.255.255.0
R1(config)# interface s0
R1(config-if)# ip address 10.1.1.2 255.255.255.0
R1(config-if)#no shutdown
 
R2的配置
R2(config)# interface s0
R2(config-if)# ip address 10.1.1.1 255.255.255.0
R2(config-if)#clockrate 64000
R2(config-if)#no shutdown
 
R2(config)# interface s1
R2(config-if)# ip address 20.1.1.1 255.255.255.0
R12(config-if)#no shutdown
 
R3的配置
R3(config)# interface Loopback0
R3(config-if)# ip address 40.1.1.1 255.255.255.0
R3(config)# interface s1
R3(config-if)# ip address 20.1.1.2 255.255.255.0
R3(config-if)#clockrate 64000
R3(config-if)#no shutdown
 
步骤二: 配置Eigrp
 
R1的配置
R1(config)# router eigrp 100 à启用eigrp,自治号为100,三台路由器保持一致
R1(config-router)# network 10.1.1.0 0.0.0.255 à使相关接口参与eigrp
R1(config-router)# network 30.1.1.0 0.0.0.255
R1(config-router)# network 30.1.2.0 0.0.0.255
R1(config-router)# network 30.1.3.0 0.0.0.255
R1(config-router)# no auto-summary       à关闭自动汇总
 
R2的配置
R2(config)# router eigrp 100 
R2(config-router)# network 10.1.1.0 0.0.0.255
R2(config-router)# network 20.1.1.0 0.0.0.255
R2(config-router)# no auto-summary
R3的配置
R3(config)# router eigrp 100
R3(config-router)# network 20.1.1.0 0.0.0.255
R3(config-router)# network 40.1.1.0 0.0.0.255
R3(config-router)# no auto-summary
 
 
步骤三:配置EIGRP手工路由汇总
 
R1的配置
R1(config)# interface s0
R1(config-if)# ip summary-address eigrp 100 30.1.0.0 255.255.252.0 à手工汇总路由
 
 
步骤四:在r2r3配置EIGRP 验证
 
R2的配置
R2(config)# key chain cisco à定义chain名称
R2(config-keychain)# key 1  àkey值编号,须一致
R2(config-keychain-key)# key-string aaa à定义密钥,须一致
R2(config)# interface s1
R2(config-if)# ip authentication mode eigrp 100 md5 à启用eigrp验证模式md5
R2(config-if)# ip authentication key-chain eigrp 100 cisco à将chain应用到验证
 
R3的配置
R3(config)# key chain cisco
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 eigrp 100 cisco
 
 
步骤五:查看路由表
 
R1#show ip route à显示路由表,如下图显示证明验证通过D为eigrp路由
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 - 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 [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, 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 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 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
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] 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 - 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 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
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 subnets
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.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
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
!!!!!
 
步骤八:显示当前配置信息
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
!
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
!
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-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
 

转载于:https://blog.51cto.com/11579/601402

实验、配置Eigrp 验证,汇总相关推荐

  1. CCNP之BSCI实验6:EIGRP验证

    CCNP之BSCI实验6:EIGRP验证 实验的目的: 1.       掌握EIGRP验证的配置. 实验拓扑: 实验步骤: 1.  按给出的拓扑图配置路由器的IP 2.  配置好EIGRP,自治号为 ...

  2. 远程访问VPN配置与验证实验:构建安全的远程连接

    远程访问VPN配置与验证实验:构建安全的远程连接 [实验目的] 理解远程访问 VPN的含义. 掌握远程访问 VPN的含义. 掌握VPN Client软件的使用. 验证配置. [实验拓扑] 实验拓扑如下 ...

  3. 实验十 配置EIGRP协议

    实验十 配置EIGRP协议 实验目的:1.了解混合路由选择协议的工作原理,使用的度量值, 2.了解EIGRP协议的优点,掌握eigrp路由协议的配置方法. 实验设备:三台cisco路由器,三台pc,三 ...

  4. EIGRP路由汇总与安全性配置

    R1的loop1 ip和R3的loop1 ip这样设置是为了验证EIGRP协议支持不连续子网. Ok,试验开始: 一.首先在路由器间配置EIGRP协议. 相信这个基本的步骤大家都熟记于心了.如有不会者 ...

  5. 网络工程师学习笔记——RIP路由汇总实验配置精讲

    一.RIP路由汇总功能介绍 rip的路由汇总功能,能够对rip 学习/自己产生 的明细路由做汇总后传递给rip邻居,减少路由器的路由条目 需要更多网工学习资料,HCIA/HCIP/HCIE学习视频,可 ...

  6. 虚拟机dhcp服务器怎么检验,实验十二虚拟机上DHCP服务器的配置和验证.doc

    实验十二 虚拟机上DHCP服务器的配置与验证 一.实验目的 了解DHCP的基本概念和服务器的新特性 掌握DHCP服务器的安装与配置 掌握DHCP的运行方式 掌握DHCP客户机的设置 掌握ipconfi ...

  7. linux中关于ssh实验,操作系统实验三linux的telnetftpssh的相关配置及验证

    操作系统实验三linux的telnetftpssh的相关配置及验证 -1-昆明理工大学信息工程与自动化学院学生实验报告( 2010 -2011 学年第 二 学期 )课程名称:操作系统 开课实验室:信自 ...

  8. CCNP实验---EIGRP自动汇总

    拓扑: R1: interface FastEthernet0/0  ip address 172.16.1.254 255.255.255.0  duplex auto  speed auto in ...

  9. 华为网络实验--动态路由器+RIP路由协议配置及验证

    华为网络实验–动态路由器+RIP路由协议配置及验证 文章目录 华为网络实验--动态路由器+RIP路由协议配置及验证 前言 一.动态路由 1.1动态路由协议基础 1.1.1动态路由 1.1.2动态路由特 ...

  10. ENSP实验十二——USG5500策略配置命令验证

    一.设备清单及目标 1,设备 3台PC,1台USG5500. 2,目标 配置并验证USG5500一些策略配置命令. 二.拓扑图 三.配置 1,PC PC1作为trust区域 IP/掩码 1.1.1.1 ...

最新文章

  1. windows redis sentinel install
  2. js事件之神奇的onclick
  3. 【职场】清华同学在鹅厂五星绩效,还是失业了!
  4. java list clear 垃圾回收_list.clear()vs list = new ArrayList Integer(); [重复]
  5. Windows学习总结(5)——【IIS建站】Windows10怎么打开站点服务?
  6. 斯诺登NFT作品拍得者PleasrDAO将继续收藏NFT艺术品
  7. linux环境下启动git,linux系统安装git及git常用命令
  8. 贪心法—— LeetCode45 跳跃游戏II(跳跃游戏进阶版)
  9. leetcode -- Search Insert Position
  10. 《DirectX 游戏开发终极指南》游戏项目编译成功的方法
  11. 常用 Git 命令清单(阮一峰)
  12. java storedmap_SCJP模拟题
  13. java里的哈希值。
  14. 什么是公有云、私有云、混合云? 1
  15. 涉及欧拉常数的一道数学题
  16. 键盘上打出省略号的方法
  17. 备忘录吕吕没有备忘录十新建_前往地图备忘单
  18. GlobalSign是什么,其中的ssl证书类型有哪些
  19. C#事务处理(三)之Transactions事务
  20. C语言,详解二进制位运算

热门文章

  1. dataframe 根据条件查找_python – 在pandas DataFrame中查找(仅)满足给定条件的第一行...
  2. 如何成为python高手(转)
  3. iOS 程序打包,安装流程
  4. 学习Linux的决心书
  5. 【静态化平台】☞( 一)网页静态化服务
  6. 如何让textarea不可拖拽变化大小
  7. 二元最近的共同祖先问题(O(n) time 而且,只有一次遍历,O(1) Space (它不考虑函数调用栈空间))...
  8. 查看最大的10个文件
  9. iptables的备份
  10. WF4.0 RC 对比 Beta2 的变化