Fortinet black logo

Admin Guide (Standalone)

Configure OSPF network

Copy Link
Copy Doc ID 015f89e6-2d48-11ec-9c99-00505692583a:553840
Download PDF

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

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