168
01-28007-0144-20041217
Fortinet Inc.
CLI configuration
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
<metric_integer>
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
<distance_integer>
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
<name_str>
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
<address_ipv4>
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
<delay_integer>
<hold_integer>
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
Summary of Contents for FortiGate FortiGate-60M
Page 12: ...Contents 12 01 28007 0144 20041217 Fortinet Inc Index 369 ...
Page 44: ...44 01 28007 0144 20041217 Fortinet Inc Changing the FortiGate firmware System status ...
Page 74: ...74 01 28007 0144 20041217 Fortinet Inc FortiGate IPv6 support System network ...
Page 82: ...82 01 28007 0144 20041217 Fortinet Inc Dynamic IP System DHCP ...
Page 116: ...116 01 28007 0144 20041217 Fortinet Inc Access profiles System administration ...
Page 234: ...234 01 28007 0144 20041217 Fortinet Inc Protection profile Firewall ...
Page 246: ...246 01 28007 0144 20041217 Fortinet Inc CLI configuration Users and authentication ...
Page 278: ...278 01 28007 0144 20041217 Fortinet Inc CLI configuration VPN ...
Page 340: ...340 01 28007 0144 20041217 Fortinet Inc Using Perl regular expressions Spam filter ...
Page 358: ...358 01 28007 0144 20041217 Fortinet Inc CLI configuration Log Report ...
Page 376: ...376 01 28007 0144 20041217 Fortinet Inc Index ...