Enterasys Networks XSR CLI Router User Manual


 
OSPF Commands
5-92 Configuring the Internet Protocol
Syntax
distance ospf {intra | inter | ext} weight
Syntax of the “no” Form
Thenocommandresetstheadministrativedistancetothedefaultvaluefortheparticulartypeof
routes.Ifnotypeofroutesisreferenced,thedistanceforallthreetypesofOSPFroutesareresetto
thedefault.
no distance OSPF {intra | inter | ext}
Mode
Routerconfiguration:XSR(config-router)#
Default
•Distancesbetween241and255arereservedforinternaluse.
•Theconditionofintraareadistanceislessthaninterareadistanceislessthanexternaldistance
isalwayspreserved.Ifyouattempttoconfigureotherwise,theconfigurationwillfailandyou
willreceiveawarningmessage.
•Defaultdistancesmustnotbe
thesameforanytworoutingprotocols.
•Fordefaultdistances,refertoTable52below.
intra
OSPFintraarearoutes.
inter
OSPFinterarearoutes.
ext
OSPFexternalroutes.
weight
Administrativedistanceusedbytheroutingprotocol.Range:1to240.
Table 5-1 Default Administrative Distances
Route Source Default Distance
Connected 0
Static 1
BGPexternal 20
OSPFintra 108
OSPFinter 110
OSPFext 112
RIP 120
BGPinternal 200
Reserved 241255