OSPF Commands
XSR CLI Reference Guide 5-87
Mode
Routerconfiguration:XSR(config-router)#
Examples
Thisexamplesetstheaddressrangeusedbythisrouterforsummarizedrouteslearnedatthe
boundaryofarea0.0.0.0,as172.16.0.0/16:
XSR(config)#interface fastethernet 1
XSR(config-if<F1>)#ip address 172.16.16.1 255.255.240.0
XSR(config)#router ospf 1
XSR(config-router)#network 172.16.16.1 0.0.0.0 area 0.0.0.0
XSR(config-router)#area range 0.0.0.0 172.16.0.0 255.255.0.0
Thefollowingexampleaggregates64.64.64.0/24inarea1intosummaryroute64.0.0.0/8andmakes
thesummaryavailableforcreationofinterarearoutes:
XSR(config)#router ospf 1
XSR(config-router)#area 1 range 64.0.0.0 255.0.0.0

area stub

Thiscommanddefinesanareaasastubarea.
Syntax
area area-id stub [no-summary]
Syntax of the “no” Form
Thenoformofthiscommandchangesthestubbacktoaplainarea:
no area area-id stub [no-summary]
Mode
Routerconfiguration:XSR(config-router)#
Defaults
Disabled
Example
Thefollowingexampledefinesarea10asastubarea:
XSR(config)#interface fastethernet 1
XSR(config-if<F1>)#ip address 172.16.152.1 255.255.255.0
XSR(config-if<F1>)#exit
area-id StubareaexpressedindecimalsorIPaddresses.
no-summary BarsanABRfromsendingLSAsintothestubarea.Whenused,thisvalue
meansalldestinationsoutsidethestubareaarerepresentedviaadefault
route.