Example, Ospf command keywords and variables (continued) – Fortinet 100A User Manual
Page 166
166
01-28007-0068-20041203
Fortinet Inc.
config router ospf
Router
Example
This example shows how to set the OSPF router ID to 1.1.1.1:
config router ospf
set router-id 1.1.1.1
end
This example shows how to display the OSPF settings.
default-metric
Specify the default metric that OSPF
should use for redistributed routes. The
valid range for metric_integer is 1 to
16777214.
10
All models.
distance
Configure the administrative distance for
all OSPF routes. Using administrative
distance you can specify the relative
priorities of different routes to the same
destination. A lower administrative
distance indicates a more preferred route.
The valid range for distance_integer
is 1 to 255.
110
All models.
passive-interface
OSPF routing information is not sent or
received through the specified interface.
No
default.
All models.
rfc1583-compatible
{disable | enable}
Enable or disable RFC 1583 compatibility.
RFC 1583 compatibility should be enabled
only when there is another OSPF router in
the network that only supports RFC 1583.
When RFC 1583 compatibility is enabled,
routers choose the path with the lowest
cost. Otherwise, routers choose the lowest
cost intra-area path through a non-
backbone area.
disable All models.
router-id
Set the router ID. The router ID is a unique
number, in IP address dotted decimal
format, that is used to identify an OSPF
router to other OSPF routers. The router
ID should not be changed while OSPF is
running.
A router ID of 0.0.0.0 is not allowed.
No
default.
All models.
spf-timers
Change the default shortest path first
(SPF) calculation delay time and
frequency.
The delay_integer is the time, in
seconds, between when OSPF receives
information that will require an SPF
calculation and when it starts an SPF
calculation. The valid range for
delay_integer is 0 to 4294967295.
The hold_integer is the minimum time,
in seconds, between consecutive SPF
calculations. The valid range for
hold_integer is 0 to 4294967295.
OSPF updates routes more quickly if the
SPF timers are set low; however, this uses
more CPU. A setting of 0 for spf-timers
can quickly use up all available CPU.
5 10
All models.
ospf command keywords and variables (Continued)
Keywords and
variables
Description
Default
Availability