Eigrp (1)

 

Eigrp
 
Enhanced Interior Gateway Routing Protocol,增強型內部網絡路由協議,是Cisco公司開發的一個路由協議;
同OSPF也是發送Hello包來建立和維持鄰居關係;
採用組播(224.0.0.10)或單播進行路由更新;
距離矢量爲90或170;
支持Vlsm,默認開啓自動彙總功能;
支持等價,和非等價的負載均衡;
 

Eigrp基本配置:
R1:
>en
#conf t   
#int s1/0
#ip add 10.1.1.1 255.255.255.0
#clock rate 64000       //配置串口速率
#no shu
#int lo 1              //打開回環藉口,此處代替pc
#ip add 192.168.1.1 255.255.255.0
#route eigrp 1          //進入Eigrp
#no auto-summary      //禁止路由彙總
#network 10.1.1.0      //宣告本地網段
#network 192.168.1.0
#end
R2,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, 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
 
     10.0.0.0/24 is subnetted, 1 subnets
C       10.1.1.0 is directly connected, Serial1/0
     20.0.0.0/24 is subnetted, 1 subnets
C       20.1.1.0 is directly connected, Serial1/1
D    192.168.1.0/24 [90/20640000] via 10.1.1.1, 00:25:09, Serial1/0
D    192.168.2.0/24 [90/20640000] via 20.1.1.2, 00:24:25, Serial1/1
 
通過show eigrp neighbors 可以看到鄰居接口信息:
#show ip eigrp neighbors
IP-EIGRP neighbors for process 1
H   Address         Interface      Hold Uptime    SRTT   RTO   Q   Seq
                                   (sec)          (ms)        Cnt Num
0   10.1.1.1        Se1/0          10   00:28:03 40     1000 0   5
1   20.1.1.2        Se1/1          13   00:27:49 40     1000 0   6
還有show ip eigrp interfaces ,可以看到鄰接口,方便了解網絡拓撲
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章