Chapter3OSPFConguration
S3(config)#interfaceloopback1
S3(config-if-loopback1)#ipadderss1.1.1.4255.255.255.255
S3(config-if-loopback1)#exit
S3(config)#interfacevlan10
S3(config-if-vlan10)#ipaddress30.0.1.2255.255.255.252
S3(config-if-vlan10)#exit
S3(config)#routerospf10
S3(config-ospf-10)#router-id1.1.1.4
S3(config-ospf-10)#network30.0.1.00.0.0.3area1
S3(config-ospf-10)#area1stub
S3(config-ospf-10)#exit
Tocongurearea1asatotallystubbyarea,runthefollowingcommandstomodifythe
congurationsonS2:
S2(config)#routerospf10
S2(config-ospf-10)#area1stubno-summary
S2(config-ospf-10)#exit
RunthefollowingcommandstomodifythecongurationsonS3:
S3(config)#routerospf10
S3(config-ospf-10)#area1stubno-summary
S3(config-ospf-10)#exit
ConguringanNSSAArea
TocongureanNSSAarea,thefollowingconditionsarerequired:TheOSPFprotocolis
runonrouters,andtheareatobeconguredisastubareaoranon-backbonearea.
CreateastubareawithanASBR.Routersinthisareareceiveroutingmessagesfroman
externalASthroughtheASBR.Externalroutingmessagesfromotherareasareblocked.
BecausesomeroutersdonotsupporttheNSSAcongurationandcannotrecognizeType
7LSAs,theprotocoldenesthattheABRontheNSSAconvertsType7LSAsgenerated
withintheNSSAtoType5LSAs,andthenadvertisestheLSAs.Atthistime,theadvertiser
oftheLSAsischangedtotheABR.Thisiscalledroutingtranslation.Usingthismethod,
routersoutsidetheNSSAareaarenotrequiredtosupporttheNSSAconguration.
TocongureanNSSAareaontheZXR105900E,performthefollowingsteps:
StepCommandFunction
1ZXR10(config)#routerospf<process-id>[vrf<vrf-name>]EntersOSPFroutingmode.
3-19
SJ-20150114102049-003|2015-01-15(R1.0)ZTEProprietaryandCondential