IGRP與
IGRP是Cisco專屬路由協定
EIGRP是IGRP的加強版,IGRP目前已不支援了。
EIGRP支援的Hop數量最多到255點,也支援無級別網路,適用於大型網路,也支援VLSM與Auto_summary。
EIGRP更新路由表必須要先收到Hello封包或ACK封包,且AS(Autonomous System)號碼要相同,距離計算係數值-k值要相同。
EIGRP設定方法:
Router-0(config)#router eigrp 10 啟用EIGRP,並宣告AS為10 Router-0(config-router)#network 192.168.1.0 255.255.255.128 /25 Router-0(config-router)#network 10.1.1.0 255.255.255.248 /29 Router-0(config-router)#no auto-summary |
檢查是否ping的到別台電腦
PC>ping 192.168.1.129
Pinging 192.168.1.129 with 32 bytes of data:
Reply from 192.168.1.129: bytes=32 time=1ms TTL=126 Reply from 192.168.1.129: bytes=32 time=0ms TTL=126 Reply from 192.168.1.129: bytes=32 time=0ms TTL=126 Reply from 192.168.1.129: bytes=32 time=0ms TTL=126 |
檢查Routing Table
Router-2#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/29 is subnetted, 1 subnets C 10.1.1.0 is directly connected, FastEthernet0/1 C 192.168.0.0/24 is directly connected, FastEthernet0/0 192.168.1.0/25 is subnetted, 2 subnets D 192.168.1.0 [90/30720] via 10.1.1.1, 00:01:42, FastEthernet0/1 D 192.168.1.128 [90/30720] via 10.1.1.2, 00:01:42, FastEthernet0/1 Router-2# |
只顯示Routing Table中EIGRP的項目
Router-2#show ip route eigrp 192.168.1.0/25 is subnetted, 2 subnets D 192.168.1.0 [90/30720] via 10.1.1.1, 00:05:25, FastEthernet0/1 D 192.168.1.128 [90/30720] via 10.1.1.2, 00:05:25, FastEthernet0/1 |
顯示所有EIGRP的鄰居
Router-2#show ip eigrp neighbors IP-EIGRP neighbors for process 10 H Address Interface Hold Uptime SRTT RTO Q Seq (sec) (ms) Cnt Num 0 10.1.1.1 Fa0/1 10 00:06:15 40 1000 0 6 1 10.1.1.2 Fa0/1 13 00:06:15 40 1000 0 8 |
顯示EIGRP拓樸表的內容
Router-2#show ip eigrp topology IP-EIGRP Topology Table for AS 10
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply, r - Reply status
P 192.168.0.0/24, 1 successors, FD is 28160 via Connected, FastEthernet0/0 P 10.1.1.0/29, 1 successors, FD is 28160 via Connected, FastEthernet0/1 P 192.168.1.128/25, 1 successors, FD is 30720 via 10.1.1.2 (30720/28160), FastEthernet0/1 P 192.168.1.0/25, 1 successors, FD is 30720 via 10.1.1.1 (30720/28160), FastEthernet0/1 |
留言列表