LAB1:EIGRP基本試驗
拓撲圖:
試驗需求:
全網運作EIGRP路由協定,能夠實作全網的互通,并且掌握主要幾種show 指令的使用。
主要配置指令:
R1(config)#router eigrp 1 R1(config-route)#network 12.1.1.0 0.0.0.255 R1(config-route)#network 1.1.1.0 0.0.0.255 R2(config)#router eigrp 1 R2config-route)#network 12.1.1.0 0.0.0.255 R2config-route)#network 23.1.1.0 0.0.0.255 R3config)#router eigrp 1 R3onfig-route)#network 3.3.3.0 0.0.0.255 R3onfig-route)#network 23.1.1.0 0.0.0.255檢視路由表是否學習到路由
R1#show ip route
Gateway of last resort is not set
1.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 1.1.1.0/24 is directly connected, Loopback0
D 1.0.0.0/8 is a summary, 00:00:29, Null0
D 3.0.0.0/8 [90/2809856] via 12.1.1.2, 00:00:06, Serial1/2
D 23.0.0.0/8 [90/2681856] via 12.1.1.2, 00:00:16, Serial1/2
12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C 12.1.1.0/24 is directly connected, Serial1/2
D 12.0.0.0/8 is a summary, 00:00:29, Null0
EIGRP是無類路由協定,但是路由表中發現是
/8位的主類路由,為什麼呢?
答:EIGRP預設在網絡邊界進行自動彙總,我們需要關閉此特性。
R1/R2/R3
R1(config)#router eigrp 1
R1(config-route)#no auto-summary
Note:EIGRP配置注意事項
1.自治系統号要比對
2.E IGRP可以直接宣告主類網絡,但是最好我們通過通配符掩碼進行精确比對。使用通配符掩碼,可以很好的控制哪些接口加入到EIGRP 的程序中工作。
3.關閉自動彙總。
EIGRP主要檢視指令: