Chapter3OSPFConguration
ForadescriptionoftheparametersinStep2,refertothefollowingtable:
ParameterDescription
<area-id>AreaID.
<router-id1>IDofthelocalrouterinsham-link.
<router-id2>IDofthepeerrouterinsham-link.
<cost>CostvalueoftheShamlink.Range:1-65535.
Conguringmax-metric
Toconguremax-metricontheZXR105900E,performthefollowingsteps:
StepCommandFunction
1ZXR10(config)#routerospf<process-id>[vrf<vrf-name>]EntersOSPFroutingmode.
2ZXR10(config-ospfv2)#max-metricrouter-lsaConguresarouternottolearn
OSPFroutes.Transit-linkof
localrouter-lsaissetto65535.
Onlyroutesgeneratedby
thisroutercanbelearntby
otherrouters.Therouteris
accessibleintopology,butother
routerscannotaccessthrough
it.
3ZXR10(config-ospfv2)#max-metricrouter-lsaon-startup
wait-for-bgp
lIfaBGPneighborisup,
afteroneminute,itcanbe
accessedbyotherdevices.
lIfaBGPneighborisdown,
after10minutes,itcanbe
accessedbyotherdevices.
4ZXR10(config-ospfv2)#max-metricrouter-lsaon-startup
timeout<seconds>
Conguresthewaitingtime
(second)afterrestartingto
avoidaroutingblackhole.
Therouterneedstowaita
periodandthenitcanbe
accessedbyotherdevices.
Range:5-86400.
ConguringtheOSPFGracefulRestart
ToconguretheOSPFgracefulrestart,performtheowingsteps:
StepCommandFunction
1ZXR10(config)#routerospf<process-id>[vrf<vrf-name>]EntersOSPFconguration
mode.
3-37
SJ-20150114102049-003|2015-01-15(R1.0)ZTEProprietaryandCondential