CCNA學習:EIGRP 彙總配置+排錯

 



EIGRP 彙總配置
實驗目的:學會做 EIGRP 的路由彙總。瞭解 EIGRP 在做手工配置彙總路由前須關閉協議自身的在主網絡邊界自動彙總的功能,否則配置彙總路由不生效,以及 EIGRP 的路由彙總時在接口上進行的。
需求:在 R2 上增加三個環回口地址:11.1.1.1/24 11.1.2.1/24 11.1.3.1/24 並且保證 R3和R1 能與這些網絡進行通信,同時儘量減小路由表的大小。
 
2010-8-31 23:57 上傳

配置步驟: 1. 配置 EIGRP 是路由全通(參照實驗1.9的配置)----注:no auto-summary關閉自動彙總
2. 將這三個換回地址宣告到 EIGRP 協議中去。
3. 在 R2 的 s1/0 口做路由彙總。
配置如下:
R2(config)#int loopback 1
R2(config-if)#ip add 11.1.1.1 255.255.255.0
R2(config-if)#exit
R2(config)#int loopback 2
R2(config-if)#ip add 11.1.2.1 255.255.255.0
R2(config-if)#exit
R2(config)#int loopback 3
R2(config-if)#ip add 11.1.3.1 255.255.255.0
R2(config-if)#exit
R2(config)#router eigrp 10 R2(config-router)#net 11.1.0.0 0.0.3.255
R2(config-router)#exit
R2(config)#int s1/0 R2(config-if)#ip summary-address eigrp 10 11.1.0.0 255.255.252.0
R2(config-if)#end
測試:
<1> 完成今本配置後,查看路由條目應是完整、路由應是能夠全互通的。 R1#sh ip rou Gateway of last resort is not set 1.0.0.0/24 is subnetted, 1 subnets C 1.1.1.0 is directly connected, Loopback0 2.0.0.0/24 is subnetted, 1 subnets D 2.2.2.0 [90/2297856] via 12.1.1.2, 02:00:42, Serial1/0 3.0.0.0/24 is subnetted, 1 subnets D 3.3.3.0 [90/2297856] via 13.1.1.3, 00:34:48, Serial1/1 12.0.0.0/24 is subnetted, 1 subnets C 12.1.1.0 is directly connected, Serial1/0 13.0.0.0/24 is subnetted, 1 subnets C 13.1.1.0 is directly connected, Serial1/1
 
2010-8-31 23:58 上傳

注:連通性沒有問題。
<2> 查看是否在路由表有新加進來的環回口路由。
R1#sh ip rou
Gateway of last resort is not set
1.0.0.0/24 is subnetted, 1 subnets
C 1.1.1.0 is directly connected, Loopback0
2.0.0.0/24 is subnetted, 1 subnets
D 2.2.2.0 [90/2297856] via 12.1.1.2, 02:10:55, Serial1/0
3.0.0.0/24 is subnetted, 1 subnets
D 3.3.3.0 [90/2297856] via 13.1.1.3, 00:45:01, Serial1/1
11.0.0.0/24 is subnetted, 3 subnets D 11.1.2.0 [90/2297856] via 12.1.1.2, 00:00:06, Serial1/0 D 11.1.3.0 [90/2297856] via 12.1.1.2, 00:00:06, Serial1/0 D 11.1.1.0 [90/2297856] via 12.1.1.2, 00:00:06, Serial1/0
12.0.0.0/24 is subnetted, 1 subnets
C 12.1.1.0 is directly connected, Serial1/0
13.0.0.0/24 is subnetted, 1 subnets
C 13.1.1.0 is directly connected, Serial1/1
<3> 驗證彙總配置是否成功:
R1#sh ip route
Gateway of last resort is not set
1.0.0.0/24 is subnetted, 1 subnets
C 1.1.1.0 is directly connected, Loopback0
2.0.0.0/24 is subnetted, 1 subnets
D 2.2.2.0 [90/2297856] via 12.1.1.2, 02:17:18, Serial1/0
3.0.0.0/24 is subnetted, 1 subnets
D 3.3.3.0 [90/2297856] via 13.1.1.3, 00:51:24, Serial1/1
11.0.0.0/22 is subnetted, 1 subnets D 11.1.0.0 [90/2297856] via 12.1.1.2, 00:04:01, Serial1/0----彙總配置生效
12.0.0.0/24 is subnetted, 1 subnets
C 12.1.1.0 is directly connected, Serial1/0
13.0.0.0/24 is subnetted, 1 subnets
C 13.1.1.0 is directly connected, Serial1/1
 
2010-8-31 23:59 上傳

注:EIGRP 的彙總路由的管理距離默認是 5 。
 
2010-8-31 23:59 上傳

注:EIGRP 的內部路由管理距離默認是 90 ,外部 170 (圖)

<4> EIGRP 的排錯命令 Show ip protocols(如上圖所使用的效果) Show ip route eigrp(圖)---僅顯示 EIGRP 自己產生的路由<路由表中由“D“標識>
 
2010-9-1 00:00 上傳

Show eigrp topology(查看 EIGRP 的拓撲表)---圖
 
2010-9-1 00:01 上傳

Show ip eigrp interface 查看當前設備運行 EIGRP 的接口信息的摘要(圖)
 
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章