EIGRP手工汇总

 

 

 

R1>en
R1#conf  t
R1(config)#int s0/0
R1(config-if)#ip add 172.16.1.1 255.255.255.0
R1(config-if)#no sh

R1(config-if)#exi
R1(config)#router ei 10
R1(config-router)#net 172.16.1.0 0.0.0.255
R1(config-router)#no au
R1(config-router)#no auto-summary

R2>en
R2#conf t

R2(config)#int s0/0
R2(config-if)#ip add 172.16.2.2 255.255.255.0
R2(config-if)#no sh

R2(config-if)#exi
R2(config)#router ei 10
R2(config-router)#no auto-summary
R2(config-router)#net 172.16.2.0 0.0.0.255 

R3>en
R3#conf t
R3(config)#int s0/0
R3(config-if)#ip add 172.16.1.2 255.255.255.0
R3(config-if)#no sh

R3(config)#int s0/0
R3(config-if)#ip add 172.16.2.1 255.255.255.0
R3(config-if)#no sh

R3(config-if)#exi
R3(config)#router ei 10
R3(config-router)#no auto-summary
R3(config-router)#net 172.16.1.0 0.0.0.255
R3(config-router)#net 172.16.2.0 0.0.0.255

R3(config-router)#net 92.168.1.0 0.0.0.255

R3(config)#int s0/2
R3(config-if)#ip su
R3(config-if)#ip summary-address ei
R3(config-if)#ip summary-address eigrp 10 172.16.0.0 255.255.0.0  

R3通往R4方向手工汇总

R4>en
R4#conf t
R4(config)#int s0/0
R4(config-if)#ip add 192.168.1.2 255.255.255.0
R4(config-if)#no sh

 

R3#show ip route
Codes: C - connected, S - static, 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
       i - IS-IS, su - IS-IS summary, 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

     172.16.0.0/16 is variably subnetted, 3 subnets, 2 masks
D       172.16.0.0/16 is a summary, 00:00:10, Null0           手工汇总后的路由
C       172.16.1.0/24 is directly connected, Serial0/0
C       172.16.2.0/24 is directly connected, Serial0/1
C    192.168.1.0/24 is directly connected, Serial0/2

你可能感兴趣的:(net,router,手工)