Fortinet black logo

Admin Guide (Standalone)

Configure OSPF interface

Copy Link
Copy Doc ID 5d87fec9-ac5b-11ec-9fd1-fa163e15d75b:937642
Download PDF

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

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