Fortinet white logo
Fortinet white logo

CLI Reference

config network

config network

Description: Configure OSPF network settings.

config network

edit <name>

set *prefix {integer}

set *area <name1>

unset

next

show

abort

end

delete <name>

purge

show

end

Sample command:
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
Parameter Description Type Size Default
config network OSPF network configuration. option - none
Option Description
prefix

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

area Attach the network to area.
CLI Command Description

config network

edit [id]

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

set area 0.0.0. Prefix

  • id—string

  • X.X.X.X—Network prefix

  • Y—Netmask

config network

config network

Description: Configure OSPF network settings.

config network

edit <name>

set *prefix {integer}

set *area <name1>

unset

next

show

abort

end

delete <name>

purge

show

end

Sample command:
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
Parameter Description Type Size Default
config network OSPF network configuration. option - none
Option Description
prefix

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

area Attach the network to area.
CLI Command Description

config network

edit [id]

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

set area 0.0.0. Prefix

  • id—string

  • X.X.X.X—Network prefix

  • Y—Netmask