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

Thiscommandsummarizeslocally‐sourced(Type‐5)routesontheXSRwhichareredistributed
fromotherprotocolsintoOSPF.Type‐7translationsarenotsummarized.Otheractions
implementedinclude:
•Asummaryrangebecomesactiveifitincludesatleastonelocallysourcedroutebeing
redistributedintoOSPF.Ifanactivesummaryrangeisadvertised,thenadiscardroutewillbe
installedforthesummaryrange.Conversely,whenitbecomesinactive,thediscardrouteis
removed.
•ActivatedsummaryrangestobeadvertisedwillresultinaType‐5Linke‐StateAnnouncement
(LSA).IftheyincludeaNSSAarea,thentheywillalsoproduceaType‐7LSAforeachNSSA
area.
•Thetype/costofthesummaryrangeisthehighesttype/costamongallincludedlocally‐
sourcedroutes.Theforwardingaddressis0.
• Summaryrangesmayoverlap.So,foralocally‐sourcedroute,themostspecificrangebecomes
active.
•AppendixEprocessingprovidesauniquelink‐stateIDforallType‐5LSAsadvertised,bethey
theresultofType‐7toType‐5translations,summarizationorlocally‐sourcedrouteswhichare
notsummarized.
•AType‐5LSAgeneratedbytranslationmaysupplantaType‐5LSAoriginatingfromalocal
source.ThiswillnotaffectwhatisbeinggeneratedintoaNSSAbecausetranslationsarenot
advertisedintoNSSAareas.
•Ifforagivenprefix,bothasummaryandalocally‐sourcedrouteexist,thesummarywillbe
consideredsuperiorevenifthesummaryincludesonlythislocally‐sourcedroute.
• NeedlessreoriginationofType‐5LSAswillbeavoided.Forexample.importinglocally‐
sourcedrouteswhichdonotchangethetype/costofasummarywillnotresultin
reoriginationofthesummaryLSA.
•Type‐7translationsarenotaffectedbythiscommand.Ifanoverflowconditionoccursthen
bothsummaryrangesandnon‐summarizedrouteswillbeflushedfromtheAS.
Syntax
summary-address <ip-address><ip-mask>[not-advertise][tag <tag>]