Fortinet white logo
Fortinet white logo

Admin Guide (Standalone)

Configure OSPF network

Configure OSPF network

CLI Command Description

config network

edit [id]

set prefix [X.X.X.X/Y]

set area 0.0.0. Prefix

Prefix is used to identify network/subnet address for advertising to the OSPF domain.

  • id—string

  • X.X.X.X—Network prefix

  • Y—Netmask

Example configuration:

ForitExtender# config router ospf

config network

edit 1

set prefix 192.168.100.127/32

set area 0.0.0.0

next

edit 2

set prefix 192.168.100.0/30

set area 0.0.0.0

next

End

Configure OSPF network

Configure OSPF network

CLI Command Description

config network

edit [id]

set prefix [X.X.X.X/Y]

set area 0.0.0. Prefix

Prefix is used to identify network/subnet address for advertising to the OSPF domain.

  • id—string

  • X.X.X.X—Network prefix

  • Y—Netmask

Example configuration:

ForitExtender# config router ospf

config network

edit 1

set prefix 192.168.100.127/32

set area 0.0.0.0

next

edit 2

set prefix 192.168.100.0/30

set area 0.0.0.0

next

End