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.Ifanactivesummary
rangeisadvertised,thenadiscardroutewillbe
installedforthesumm aryrange.Conversely,whenitbecomesinactive,thediscardrouteis
removed.
•ActivatedsummaryrangestobeadvertisedwillresultinaType‐5Linke‐StateAnnouncement
(LSA).IftheyincludeaNSSAarea,thentheywillalsoproduce
aType‐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.Thiswillnotaffectwhat
isbeinggeneratedintoaNSSAbecausetranslationsarenot
advertisedintoNSSAareas.
•Ifforagivenprefix,bothasummaryandalocally‐sourcedrouteexist,thesummarywillbe
consideredsuperiorevenifthesummaryincludesonlythislocally‐sourcedroute.
• NeedlessreoriginationofType‐5LSAswillbe
avoided.Forexample.importinglocally‐
sourcedrouteswhichdonotchangethetype/costofasummarywillnotresultin
reoriginationofthesummaryLSA.
•Type‐7translationsarenotaffectedbythiscommand.Ifanoverflowconditionoccursthen
bothsummaryrangesandnon‐summarizedrouteswillbeflushedfrom
theAS.
Syntax
summary-address <ip-address><ip-mask>[not-advertise][tag <tag>]