【正文】
EIGRP IP路由表 示例 : EIGRP Tables Router C Tables: EIGRP 包 ? Hello: Establish neighbor relationships. ? Update: Send routing updates. ? Query: Ask neighbors about routing information. ? Reply: Respond to query about routing information. ? ACK: Acknowledge a reliable packet. 初始路由發(fā)現(xiàn) EIGRP 度量值 ? Same metric ponents as IGRP: – Bandwidth – Delay – Reliability – Loading – MTU ? EIGRP metric is IGRP metric multiplied by 256. EIGRP 度量值的計算 ? By default, EIGRP metric: Metric = bandwidth (slowest link) + delay (sum of delays) ? Delay = sum of the delays in the path, in tens of microseconds, multiplied by 256 ? Bandwidth = [107 / (minimum bandwidth link along the path, in kilobits per second)] * 256 ? Formula with default K values (K1 = 1, K2 = 0, K3 = 1, K4 = 0, K5 = 0): Metric = [K1 * BW + ((K2 * BW) / (256 – load)) + K3 * delay] ? If K5 not equal to 0: Metric = metric * [K5 / (reliability + K4)]: A ? B ? C ? D Least bandwidth 64 kbps Total delay 6,000 A ? X ? Y ? Z ? D Least bandwidth 256 kbps Total delay 8,000 ? Delay is the sum of all the delays of the links along the paths: Delay = [delay in tens of microseconds] x 256 ? Bandwidth is the lowest bandwidth of the links along the paths: Bandwidth = [10,000,000 / (bandwidth in kbps)] x 256 EIGRP 度量值計算示例 Configuring EIGRP 2 部署和驗證 EIGRP router eigrp autonomoussystemnumber ? Defines EIGRP as the IP routing protocol. ? All routers in the interwork that must exchange EIGRP routing updates must have the same autonomous system number. 配置 EIGRP work worknumber [wildcardmask] ? Identifies attached works participating in EIGRP. ? The wildcardmask is an inverse mask used to determine how to interpret the address. The mask has wildcard bits, where 0 is a match and 1 is “ don’ t care.” Router(config) Router(configrouter) bandwidth kilobits ? Defines the interface’ s bandwidth for the purposes of sending routing update traffic. 配置 EIGRP (續(xù) ) Router(configif) Network is not configured on router A, because it is not directly connected to router A. 配置 EIGRP for IP 使用反掩碼 使用和配置 ip defaultwork 命令 EIGRP 配置示例 R2 EIGRP 配置 output omitted interface FastEther0/0 ip address output omitted interface Serial0/0/1 bandwidth 64 ip address output omitted router eigrp 100 work work 驗證 EIGRP: show ip eigrp neighbors R1show ip eigrp neighbors IPEIGRP neighbors for process 100 H Address Interface Hold Uptime SRTT RTO Q Seq (sec) (ms) Cnt Num 0 Se0/0/1 10 00:07:22 10 2280 0 5 R1 驗證 EIGRP: show ip route eigrp R1show ip route eigrp D [90/40514560] via , 00:07:01, Serial0/0/1 , 2 subs, 2 masks D , 00:05:13, Null0 , 2 subs, 2 masks D , 00:05:13, Null0 R1show ip route output omitted Gateway of last resort is not set D [90/40514560] via , 00:06:55, Serial0/0/1 , 2 subs, 2 masks D , 00:05:07, Null0 C , FastEther0/0 , 2 subs, 2 masks C , Serial0/0/1 D , 00:05:07, Null0 驗證 EIGRP: show ip protocols R1show ip protocols Routing Protocol is eigrp 100 Outgoing update filter list for all interfaces is not set Ining update filter list for all interfaces is not set Default works flagged in outgoing updates Default works accepted from ining updates EIGRP metric weight K1=1, K2=0, K3=1, K4=0, K5=0 EIGRP maximum hopcount 100 EIGRP maximum metric variance 1 Redistributing: eigrp 100 EIGRP NSFaware route hold timer is 240s output omitted Maximum path: 4 Routing for Networks: Routing Information Sources: Gateway Distance Last Update (this router) 90 0