Fortinet white logo
Fortinet white logo

Admin Guide (Standalone)

Configure OSPF interface

Configure OSPF interface

CLI Command Description

config ospf-interface

edit [id]

set status [enable]disable]

set interface <ospf-interface name>

set mtu-ignore [enable|disbale]

set cost <0—65535>

Configure the OSPF interface.

  • id—string

  • status—enable/enable OSPF processing on the said interface.

  • interface —must be the VPN tunnel interface as OSPF is built over IPSEC VPN.

  • mtu-ignore— enable/disable. mtu-ignore prevents OSPF neighbor adjacency failure caused by mismatched MTUs. When mtu-ignore is enabled, OSPF will stop detecting mismatched MTUs before forming OSPF adjacency. When mtu-ignore is disabled, OSPF will detect mismatched MTUs, and OSPF adjacency is not established if MTU is mismatched.

  • cost—Interface cost used to calculate the best path to reach other routers in the same area.

Example configuration:

ForitExtender# config router ospf

config ospf-interface

edit 1

set status enable

set interface opaq

set mtu-ignore enable

set cost 5

end

Configure OSPF interface

Configure OSPF interface

CLI Command Description

config ospf-interface

edit [id]

set status [enable]disable]

set interface <ospf-interface name>

set mtu-ignore [enable|disbale]

set cost <0—65535>

Configure the OSPF interface.

  • id—string

  • status—enable/enable OSPF processing on the said interface.

  • interface —must be the VPN tunnel interface as OSPF is built over IPSEC VPN.

  • mtu-ignore— enable/disable. mtu-ignore prevents OSPF neighbor adjacency failure caused by mismatched MTUs. When mtu-ignore is enabled, OSPF will stop detecting mismatched MTUs before forming OSPF adjacency. When mtu-ignore is disabled, OSPF will detect mismatched MTUs, and OSPF adjacency is not established if MTU is mismatched.

  • cost—Interface cost used to calculate the best path to reach other routers in the same area.

Example configuration:

ForitExtender# config router ospf

config ospf-interface

edit 1

set status enable

set interface opaq

set mtu-ignore enable

set cost 5

end