EIGRP 增强型内部网关路由选择协议
https://upload-images.jianshu.io/upload_images/24325874-468d36e87227f600.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240AR1: e 0/0 12.1.1.1 24 lo 0 1.1.1.1 24AR2:e 0/1 23.1.1.1.24 lo 0 2.2.2.2 24 e 0/0 12.1.1.2 24AR3:e 0/0 23.1.1.2 24 lo 0 3.3.3.3 24本次实验使用环回口模拟PC。每台路由器配置对应的地址。命令如下图自己配置一下。
https://upload-images.jianshu.io/upload_images/24325874-1ac7cd5d3e035c80.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240
R1启用EIGRPR1(config)#router eigrp 90开启eigrp 进程号90R1(config-router)#eigrp router-id 1.1.1.1给router设置ID 有没有RID,无所谓(同一进程内不要有相同的RID)会造成同一RID的设备,彼此之间获悉不到路由。R1(config-router)#no auto-summary关闭自动汇总R1(config-router)#network 12.1.1.1 0.0.0.0宣告接口加反码R1(config-router)#network 1.1.1.1 0.0.0.0
https://upload-images.jianshu.io/upload_images/24325874-136e5b784a01ec6c.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240
R2起为64位EIGRP(仅为大家演示)注意:64位EIGRP和32位一样可以建立邻居。但是32位的进程号要和64位的AS号一致R2(config)#router eigrp ccie创建进程名为 ccieR2(config-router)#address-family ipv4 unicast autonomous-system 90设置进程AS 90R2(config-router-af)#eigrp router-id 2.2.2.2 R2(config-router-af)#topology base进入baseR2(config-router-af-topology)#no auto-summary关闭自动汇总 R2(config-router-af-topology)#exitR2(config-router-af)#no shutdownR2(config-router-af)#network 2.2.2.20.0.0.0R2(config-router-af)#network 12.1.1.2 0.0.0.0R2(config-router-af)#network 23.1.1.1 0.0.0.0
这个时候在R2提示出了一条日志。有一个邻居连接的e0/0口 地址12.1.1.1 是ipv4 EIGRP进程号90R2(config-router-af)#*Dec 18 03:22:57.342: %DUAL-5-NBRCHANGE: EIGRP-IPv4 90: Neighbor 12.1.1.1 (Ethernet0/0) is up: new adjacency
R3启用EIGRP
https://upload-images.jianshu.io/upload_images/24325874-a3bb0e29f1371dd1.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240
R3#show run | section eigrp查看EIGRP的配置。
https://upload-images.jianshu.io/upload_images/24325874-7bb306dd3dfc6e86.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240
R2#show ip eigrp neighbors 查看EIGRP的邻居
https://upload-images.jianshu.io/upload_images/24325874-791c518b012b42b1.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240
R2#show eigrp address-family ipv4 neighbors查看EIGRP IPv4邻居详细信息
https://upload-images.jianshu.io/upload_images/24325874-aa273ca7b2848937.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240
上图信息:当前关于AS 90我们建立了2个邻居, H 为邻居的序列号从0开始越来越大Address:为直连的邻居的接口地址Interface:指本地连接邻居的接口是那个接口Hold: 3倍的hello时间 Uptime: 指邻居建立多长时间,SRTT: 平滑的往返时间,测试router之间链路的质量,从发送数据到返还ACK所需要的时间RTO:重传超时计时器,多久没有回复ACK 我就要重传。Q: 队列的计数器 0代表OK,不是0就是链路有报文在拥塞排队Seq: 序列号的值,给邻居发送最后一个报文序列号是多少 防止攻击
Show命令补充:R2#show ip eigrp neighbors查看邻居表R2#show ip eigrp topology查看topo表,标记为P的路由代表可用R2#show ip eigrp topology all-links查看topo内所有路由。包含(最优、次有、备份路由)R2#show ip rou查看路由表,标记为D的是Eigrp路由测试:R1 Ping R3环回口,OK完成实验。
https://upload-images.jianshu.io/upload_images/24325874-6ecfb8f7f7144d06.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240
页:
[1]