IGRP路由协议

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

IGRP的验证:
Router#show run(查看配置文件) Router#show ip protocols(IP路由协议) Router#show ip route(IP路由表) Router#show ip route C - connected, 直接相连的网络; S - static, 静态路由 I - IGRP, R - RIP, B - BGP , D - EIGRP, O - OSPF,
路由协议
Autonomous System
AS1 Global Internet AS2
ຫໍສະໝຸດ Baidu
CerNet
ChinaNet AS=100 RIP
OSPF
自治系统: 古典定义:由同一机构管理,使用同一选录策略的路由器的集合; 现代定义:由同一机构管理,共同拥有相同的AS号的路由器的集合。
IGP和EGP
IGP:在自治系统内部运行的路由协议;
E0 172.16.1.0 S2 S2 10.1.1.2 S3 S3 E0 192.168.1.0 A 172.16.1.1 10.1.1.1
B
C 10.2.2.2 10.2.2.3 192.168.1.1
RouterA#sh ip protocols Routing Protocol is "igrp 100" Sending updates every 90 seconds, next due in 21 seconds Invalid after 270 seconds, hold down 280, flushed after 630 Outgoing update filter list for all interfaces is Incoming update filter list for all interfaces is Default networks flagged in outgoing updates Default networks accepted from incoming updates IGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0 IGRP maximum hopcount 100 IGRP maximum metric variance 1 Redistributing: igrp 100 Routing for Networks: 10.0.0.0 172.16.0.0 Routing Information Sources: Gateway Distance Last Update 10.1.1.2 100 00:01:01 Distance: (default is 100)
EIGRP 自动汇总
配置EIGRP手工汇总 (Manual Summarization with EIGRP)
EIGRP基于接口来用“summary address”命令手工 配置汇总
配置汇总(Configure Summary)
RTC(config)#router eigrp 2446 RTC(config-router)#no auto-summary RTC(config-router)#exit RTC(config)#interface serial 0/0 RTC(config-if)#ip summary-address eigrp 2446 2.1.0.0 255.255.0.0
IGRP的配置:
Router(config)#router igrp autonomomous-system
-激活IGRP协议
Router(config-router)#network network- number
-选择直接连接的网络
IGRP的配置:
Router(config)#router igrp 100 Router(config-router)#network 192.168.2.0 Router(config-router)#exit 注意: 1)编号的有效范围为1-65535,编号用确定 一组区域编号相同的路由器和接口 2)不同的编号的路由器不参与路由更新
RIP和IGRP路由协议比较表
相关特性
衡量尺度 更新计时器 挂起计时器
RIP
跳数 30秒 180秒
IGRP
在默认情况下为带宽和 延时 90秒 280秒
无穷大尺度值
配置命令
16 Route rip Network 网络号
256 Route igrp 自治系统号 Network 网络号
EIGRP关键特征
Displaying the IP Routing Table
E0 172.16.1.0 S2 S2 10.1.1.2 B S3 S3 E0 192.168.1.0 A 172.16.1.1 10.1.1.1 C 10.2.2.2 10.2.2.3 192.168.1.1
RouterA#sh 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, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route, o - ODR T - traffic engineered route Gateway of last resort is not set 172.16.0.0/24 is subnetted, 1 subnets 172.16.1.0 is directly connected, Ethernet0 10.0.0.0/24 is subnetted, 2 subnets 10.2.2.0 [100/90956] via 10.1.1.2, 00:00:23, Serial2 10.1.1.0 is directly connected, Serial2 192.168.1.0/24 [100/91056] via 10.1.1.2, 00:00:23, Serial2
router igrp 100 network 172.16.0.0 network 10.0.0.0 router igrp 100 network 10.0.0.0
router igrp 100 network 192.168.1.0 network 10.0.0.0
Verifying the Routing Protocol—IGRP
IGRP协议
IGRP由于突破了15跳的限制,成为了大型 CISCO网络的首选协议。(100->大型网络) RIP与IGRP的工作机制,均是从所有配置接口 上定期发出路由更新。 但是,RIP是以跳数为度量单位;IGRP以多种 因素来建立路由最佳路径;带宽,延迟,可靠 性,最大传输单元,LOAD等因素。
EGP:在自治系统之间运行的路由协议;
BGP等 EGP AS1 IGP AS2 IGP RIP、OSPF、IGRP、EIGRP、
按寻径算法对路由分类
距离矢量(Distance-Vector,DV)算法
RIP IGRP EIGRP BGP
链路状态(Link State,LS)算法
OSPF IS-IS
C I C I

SHOW IP ROUTE I 192.168.1.0/24 [100/91056] via 10.1.1.2, 00:00:23, Serial2
I:表示由IGRP所引入的路由, 100:表示IGRP的管理距离; 91056:表示组合度量值;组合度量值越低,说 明路由越好;组合度量是通过带宽和线路延迟 计算出来的。
(1)是高级距离向量路由协议,CISCO私有协议 (2)用带宽、延迟、负载、可靠性作为度量值 (3)支持非等价负载均衡 (4)最大跳数为225 (5)采用DUAL算法计算到目的地的最短路径 (6)合并了距离向量路由协议和链路状态路由协议优点 (7)是无类路由协议
配置EIGRP(Configuring EIGRP)
IGRP Configuration Example
Autonomous System = 100
E0 172.16.1.0 S2 S2 10.1.1.2 B S3 S3 E0 192.168.1.0 A 172.16.1.1 10.1.1.1 C 10.2.2.2 10.2.2.3 192.168.1.1
路由配置修改:
1,路由删除: Router(config)#no router igrp 100 Router(config)# 2,IP地址的删除 Router(config)#int s0 Router(config-if)#no ip add Router(config-if)#no ip address Router(config-if)#
相关文档
最新文档