OSPF Commands
5-102 Configuring the Internet Protocol
Next Mode
Routerconfiguration:XSR(config-router)#
Default
OSPFdisabled
Example
ThefollowingexampleenablesOSPFrouting:
XSR(config)#router ospf 2
XSR(config-router)#

summary address

Thiscommandsummarizeslocallysourced(Type5)routesontheXSRwhichareredistributed
fromotherprotocolsintoOSPF.Type7translationsarenotsummarized.Otheractions
implementedinclude:
•Asummaryrangebecomesactiveifitincludesatleastonelocallysourcedroutebeing
redistributedintoOSPF.Ifanactivesummaryrangeisadvertised,thenadiscardroutewillbe
installedforthesummaryrange.Conversely,whenitbecomesinactive,thediscardrouteis
removed.
•ActivatedsummaryrangestobeadvertisedwillresultinaType5LinkeStateAnnouncement
(LSA).IftheyincludeaNSSAarea,thentheywillalsoproduceaType7LSAforeachNSSA
area.
•Thetype/costofthesummaryrangeisthehighesttype/costamongallincludedlocally
sourcedroutes.Theforwardingaddressis0.
• Summaryrangesmayoverlap.So,foralocallysourcedroute,themostspecificrangebecomes
active.
•AppendixEprocessingprovidesauniquelinkstateIDforallType5LSAsadvertised,bethey
theresultofType7toType5translations,summarizationorlocallysourcedrouteswhichare
notsummarized.
•AType5LSAgeneratedbytranslationmaysupplantaType5LSAoriginatingfromalocal
source.ThiswillnotaffectwhatisbeinggeneratedintoaNSSAbecausetranslationsarenot
advertisedintoNSSAareas.
•Ifforagivenprefix,bothasummaryandalocallysourcedrouteexist,thesummarywillbe
consideredsuperiorevenifthesummaryincludesonlythislocallysourcedroute.
• NeedlessreoriginationofType5LSAswillbeavoided.Forexample.importinglocally
sourcedrouteswhichdonotchangethetype/costofasummarywillnotresultin
reoriginationofthesummaryLSA.
•Type7translationsarenotaffectedbythiscommand.Ifanoverflowconditionoccursthen
bothsummaryrangesandnonsummarizedrouteswillbeflushedfromtheAS.
Syntax
summary-address <ip-address><ip-mask>[not-advertise][tag <tag>]