
Routing Protocol Configuration Command Set
Configuring OSPF
13-46
Matrix NSA Series Configuration Guide
13.2.3.13 distance ospf
Use this command to configure the administrative distance for OSPF routes. If several routes
(coming from different protocols) are presented to the Matrix Series Route Table Manager (RTM),
the protocol with the lowest administrative distance will be chosen for route installation. By default,
OSPF administrative distance is set to 110. The
distance ospf
command can be used to change this
value, resetting OSPF’s route preference in relation to other routes as shown in the table below.
distance ospf
{
external
|
inter-area
|
intra-area
}
weight
Syntax Description
Command Syntax of the “no” Form
The “no” form of this
command resets OSPF administrative distance to the default
value of 110:
no distance ospf
{
external
|
inter-area
|
intra-area
}
Command Type
Router command.
Command Mode
Router configuration:
Matrix>Router1(config-router)#
Route Source
Default Distance
Connected
0
Static
1
OSPF
110
RIP
120
external
|
inter-area
|
intra-area
Applies the distance value to external (type 5 and type 7), to
inter-area, or to intra-area routes.
NOTE:
The value for intra-area distance must be
less than the value for inter-area distance, which
must be less than the value for external distance.
weight
Specifies an administrative distance for OSPF routes. Valid
values are
1
-
255
.