EIGRP(Enhanced Interior Gateway Routing Protocol ) 加強型內部網關路由協議
EIGRP路由協議特點:
1、 它是擴展計算,而不是單獨計算(即整個網絡一起更新),路由器使用多播地址224.0.0.10通過EIGRP接口向外發送hello分組,EIGRP路由從屬於同一個自治系統(AS)的其他路由器那裏收到hello分組後,將與該路由器建立鄰接關係。
2、 EIGRP所能支持的最大跳數是224跳,默認 100跳。
3、 它可爲多種網絡層協議提供路由支持
4、 EIGRP收斂佔帶寬的50%;內部管理距離(AD)爲90,外部EIGRP路由AD爲170
5、 默認EIGRP可以支持最多4條鏈路的不等代價的負載均衡
6、 EIGRP 是非週期的部分有邊界的更新 (即有新信息時才更新,通過組播增量更新,有一個虛擬的DR,把更新傳送給虛擬的DR,由它負責擴散)
7、 維護着三張表鄰居表、拓撲表、路由表。支持IPV6、支持可變長子網掩碼、路由彙總
EIGRP配置:
- Router(config)#router eigrp autonomous-system
配置運行EIGRP路由協議,網絡的自治系統號 - Router(config-router)#network network-number
宣告的網絡爲本路由自己直連的網路號 - Router(config-router)# passive-interface E1/2
在指定的接口上(E1/2)停止EIGRP的運行 - EIGRP中發佈RIP
Router(config)#router eigrp 10
Router(config-router)#redistribute rip metric 100 100 100 1 1500
(帶寬、延遲、可靠性、負載、最大傳輸單元) - RIP中發佈EIGRP
Router(config)#router rip
Router(config-router)# redistribute eigrp 10 metric 1 - 在OSPF中發佈RIP、發佈直連
Router(config-router)# redistribute rip metric 200 subnets
Router(config-router)#redistribute connected subnets metric-type 1(可修改類型爲1) - Router(config-router)#no auto-summary
在EIGRP中關閉路由自動彙總
8.幀中繼配置:
封裝幀中繼
encapsulation frame-relay { cisco | ietf } (默認爲cisco類型)
配置地址映射到DLCI
frame-relay map ip 192.168.1.2 101 broadcast (對端IP地址,本機的DLCI號)
show frame-relay rou查看地址映射表
no frame-relay inverse-arp關閉反向ARP
Router(config)#frame-relay switching配置成幀中繼交換機
frame-relay intf-type dce配置幀中繼交換機接口爲DCE(此命令在幀中繼交換機上配置)
frame-relay route 101 interface Serial1/2 102 (本接口--直連DLCI號--FR上的對點接口號—DLCI號。注:此命令在幀中繼交換機上配置) - 配置EIGRP認證
r1(config)#key chain ccc //定義鑰匙鏈eigrp(名字任意取)
r1(config-keychain)#key 1 //KEY ID爲1
r1(config-keychain-key)#key-string cisco //密碼爲cisco
r1(config-if)#ip authentication key-chain eigrp(協議) 1 (AS號)ccc (鑰匙鏈名字) //啓用EIGRP認證
r1(config-if)#ip authentication mode eigrp 1 (AS號)md5 //認證模式MD5