EIGRPautomatic&manualsummarization
Bydefault,EIGRPhasautosummaryfeatureenabled.Becauseofthis,routes
aresummarizedtoclassfuladdressatnetworkboundariesintheroutingupdates.
Tobetterunderstandtheconceptofautosummarization,considerthefollowing
example.
RouterR1andR2arerunningEIGRP.RouterR1hasthelocallyconnected
subnet10.0.1.0/24thatisadvertisedtotherouterR2.Becauseoftheauto
summaryfeature,therouterR1summarizesthenetwork10.0.1.0/24before
sendingtheroutetoR2.Withtheautosummaryfeatureturnedon,R1sendsthe
classfulroute10.0.0.0/8toR2insteadofthemorespecific10.0.1.0/24route.
OnR1,wehaveconfiguredthefollowingnetworkstatement:
ButR2receivestheroutetotheclassfulnetwork10.0.0.0/8:
Theautosummaryfeaturecancauseproblemswithdiscontiguousnetworks.This
iswhythisfeatureisusuallyturnedoff.Thisisdonebyusingthenoauto
summarycommand:
NowR2hastheclasslessroutetoreachthesubnet10.0.1.0/24:
NOTEaftertypingthenoautosummarycommand,aneighborrelationshiphas
tobereestablished.
OneoftheadvantagesofEIGRPoverotherroutingprotocol(likeOSPF)isthat
manualsummarizationcanbedoneonanyrouterwithinanetwork.Asingleroute
canbeusedtorepresentmultipleroutes,whichreducesthesizeofroutingtables
inanetwork.
Manualsummarizationisconfiguredonaperinterfacebasis.Thesyntaxofthe
commandis:
(configif)ipsummaryaddresseigrpASNSUMMARY_ADDRESS
SUBNET_MASK
Anexamplewillhelpyoutounderstandthis.
RouterR1andR2arerunningEIGRP.RouterR1hastwodirectlyconnected
subnets:10.0.0.0/24and10.0.1.0/24.EIGRPadvertisesthesesubnetsastwo
separateroutes.R2nowhastworoutesfortwosubnets,whichcanbeconfirmed
byusingtheshowiproutecommandonR2:
WecouldconfigureR1stoadvertiseonlyonesummaryrouteforbothsubnets,
whichhelpsreduceR2sroutingtable.Todothis,thefollowingcommandcould
beused:
Now,R1issendingonlyoneroutetoreachbothsubnetstoR2.Wecanverify
thatbyusingtheshowiproutecommandonR2:
NowR2hasonlyoneroutetoreachbothsubnetsonR1.
NOTEintheexampleabove,theipsummarycommandincludedtwosubnets
onR1,butalsosomeotheraddressesthatarenotinthesesubnets.Therangeof
thesummarizedaddressesis10.0.0.010.0.255.255,soR2thinksthatR1has
theroutesforalladdressesinsidethatrange.Thatcouldcausesomeproblemsif
theseaddressesexistsomewhereelseinthenetwork.