EIGRP协议手动汇总

 
案例要求:
eigrp协议的手动汇总:
一、基本配置:
 
r1(config)#in se0/0/0
r1(config-if)#no shutdown
r1(config-if)#ip add 192.168.1.1 255.255.255.0
r1(config-if)#clock rate 64000
r1(config-if)#exit
r1(config)#router eigrp 100
r1(config-router)#network 192.168.1.0
r2(config)#int se0/0/0
r2(config-if)#no shutdown
r2(config-if)#ip add 192.168.1.2 255.255.255.0
r2(config-if)#int se0/0/1
r2(config-if)#no shutdown
r2(config-if)#clock rate 64000
r2(config-if)#ip add 192.168.2.1 255.255.255.0
r2(config-if)#exit
r2(config-router)#network 192.168.1.0
r2(config-router)#network 192.168.2.0
r3(config)#int se0/0/0
r3(config-if)#no shutdown
r3(config-if)#ip add 192.168.2.2 255.255.255.0
r3(config-if)#int loo 0
r3(config-if)#ip add 193.1.0.1 255.255.255.0
r3(config-if)#int loo 1
r3(config-if)#ip add 193.1.1.1 255.255.255.0
r3(config-if)#int loo 2
r3(config-if)#ip add 193.1.2.1 255.255.255.0
r3(config-if)#int loo 3
r3(config-if)#ip add 193.1.3.1 255.255.255.0
r3(config-if)#exit
 
二、路由宣告:
r3(config)#router eigrp 100
r3(config-router)#network 192.168.2.0
r3(config-router)#network 193.1.0.0
r3(config-router)#network 193.1.1.0
r3(config-router)#network 193.1.2.0
r3(config-router)#network 193.1.3.0
r3(config-router)#no auto-summary  关闭自动汇总
 三、手动汇总
r3(config)#int se0/0/0
r3(config-if)#ip summary-address eigrp 100 193.1.0.0 255.255.252.0   在接口模式下手动汇总
                                                        193.1.0.1/24
                                                        193.1.1.1/24
                                                        193.1.2.1/24
                                                        193.1.3.1/24  将这四个汇总后:193.1.0.0/22
 
 
四、检测:
 
r2#show ip route         手动汇总后在r2上查看路由表(注意没有汇总前的路由表会是四条路由信息,汇总后下面是一条的)
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
C    192.168.1.0/24 is directly connected, Serial0/0/0
C    192.168.2.0/24 is directly connected, Serial0/0/1
D    193.1.0.0/22 [90/2297856] via 192.168.2.2, 00:00:34, Serial0/0/1
 
 
 
 
 
 
 

本文出自 “swsj1314520” 博客,转载请与作者联系!

你可能感兴趣的:(职场,休闲,EIGRP,手动汇总,eigrp手动汇总)