166
01-28006-0012-20041105
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-4000
Page 46: ...46 01 28006 0012 20041105 Fortinet Inc Changing the FortiGate firmware System status...
Page 72: ...72 01 28006 0012 20041105 Fortinet Inc FortiGate IPv6 support System network...
Page 80: ...80 01 28006 0012 20041105 Fortinet Inc Dynamic IP System DHCP...
Page 114: ...114 01 28006 0012 20041105 Fortinet Inc Access profiles System administration...
Page 232: ...232 01 28006 0012 20041105 Fortinet Inc Protection profile Firewall...
Page 244: ...244 01 28006 0012 20041105 Fortinet Inc CLI configuration Users and authentication...
Page 382: ...382 01 28006 0012 20041105 Fortinet Inc Glossary...
Page 390: ...390 01 28006 0012 20041105 Fortinet Inc Index...