Enterasys Networks X-Pedition XSR CLI User Manual
Page 168
OSPF Commands
5-92 Configuring the Internet Protocol
Syntax
distance ospf {intra | inter | ext} weight
Syntax of the “no” Form
The no command resets the administrative distance to the default value for the particular type of
routes. If no type of routes is referenced, the distance for all three types of OSPF routes are reset to
the default.
no distance OSPF {intra | inter | ext}
Mode
Router configuration:
XSR(config-router)#
Default
•
Distances between 241 and 255 are reserved for internal use.
•
The condition of intra‐area distance is less than inter‐area distance is less than external distance
is always preserved. If you attempt to configure otherwise, the configuration will fail and you
will receive a warning message.
•
Default distances must not be the same for any two routing protocols.
•
For default distances, refer to
below.
intra
OSPF intra‐area routes.
inter
OSPF inter‐area routes.
ext
OSPF external routes.
weight
Administrative distance used by the routing protocol. Range: 1 to 240.
Table 5-1 Default Administrative Distances
Route Source
Default Distance
Connected
0
Static
1
BGP external
20
OSPF intra
108
OSPF inter
110
OSPF ext
112
RIP
120
BGP internal
200
Reserved
241‐255