ZXR105900ESeriesCongurationGuide(IPv4Routing)
WhenaPErouterdetectsthataLSAisalreadymarkedasdownbit,thePEwillnot
participateintheOSPFroutecalculation.WhenOSPFroutesareredistributedtoBGP ,
theLSAswithdownbitarenotredistributedtobeBGProute.
max-metric
Consideringtherequirementsfortrafcmanagementandsoon,someroutersneedtoact
astheterminalratherthantransitpointsoftheroute.Inordertoaddthenodeswithoutthe
capabilityoftraversingtothenetwork,themax-metricfunctionisused.
Forexample,arouterjustrestarts,andBGProutedoesnotconverge,usethemax-metric
router-lsaon-startupwait-for-bgpcommandtoavoidrouteblackhole.
3.2ConguringtheOSPFProtocol
EnablingtheOSPFProtocol
ToenabletheOpenShortestPathFirst(OSPF)protocolonroutersandmakethemlearn
routesbetweeneachotherbyusingtheOSPFprotocol,performthefollowingsteps:
StepCommandFunction
1ZXR10(config)#routerospf<process-id>[vrf<vrf-name>]StartstheOSPFprocessand
entersOSPFconguration
mode.
AftertheOSPFprotocolis
enabled,oneofthecurrent
interfaces(withIPaddresses)
isselectedastheaddressof
theOSPFrouter.
Ifnointerfaceisconguredwith
anIPaddressonarouter,the
interface(withIPaddresses)
cannotbeselectedasthe
addressoftheOSPFrouter.
Toobtainanaddressasthe
routerID,youcancongurean
interfaceaddressorcongure
arouterIDmanually.Afteryou
congurearouterID,clearthe
OSPFprocess.
2ZXR10(config-ospfv2)#network<ip-address><wildcard-
mask>area<area-id>
Setsaninterfacetorunthe
OSPFprotocol,andsetsan
areaIDfortheinterface.
Iftheareadoesnotexist,the
systemcreatesitautomatically.
3-8
SJ-20150114102049-003|2015-01-15(R1.0)ZTEProprietaryandCondential