area default cost
17-22 IPv4 Routing Protocol Configuration
Example
Thefollowingexampleshowshowtodef ineOSPFarea10asastubarea:
C2(su)->router(Config)#router ospf 1
C2(su)->router(Config-router)#area 10 stub
area default cost
UsethiscommandtosetthecostvalueforthedefaultroutethatissentintoastubareaandNSSA
byanAreaBorderRouter(ABR).Thenoformofthiscommandremovesthecostvaluefromthe
summaryroutethatissentintothestubarea.
Syntax
area area-id default-cost cost
no area area-id default-cost
Parameters
Defaults
None.
Mode
Routerconfiguration:C2(su)‐>router(Config‐router)#
Usage
TheuseofthiscommandisrestrictedtoABRsattached tostubandNSSAareas.
Example
Thisexampleshowshowtosetthecostvalueforstubarea10to99:
C2(su)->router(Config)#router ospf 1
C2(su)->router(Config-router)#area 10 default-cost 99
area nssa
UsethiscommandtoconfigureanareaasaNotSoStubbyArea(NSSA).The noformofthis
commandchangestheNSSAbacktoaplainarea.
Syntax
area area-id nssa [default-information-originate]
no area area-id nssa [default-information-originate]
Parameters
area‐id Specifiesthestubarea.ValidvaluesaredecimalvaluesorIPaddresses.
cost Specifiesacostvalueforthesummaryroutethatissentintoastubareaby
default.Validvaluesare24‐bitnumbers,from0to16777215.
area‐id SpecifiestheNSSAarea.ValidvaluesaredecimalvaluesorIPaddresses.