Config network, Config network command syntax pattern, Example – Fortinet 100A User Manual
Page 179

Router
config router ospf
FortiGate-100A Administration Guide
01-28007-0068-20041203
179
config network
Access the config network subcommand using the config router ospf
command.
Use this command to identify the interfaces to include in the specified OSPF area. The
prefix keyword can define one or multiple interfaces.
config network command syntax pattern
config network
edit
set
end
config network
edit
unset
end
config network
delete
end
config network
edit
get
end
config network
edit
show
end
Example
Use the following command to enable OSPF for the interfaces attached to networks
specified by the IP address 10.0.0.0 and the netmask 255.255.255.0 and to add these
interfaces to area 10.1.1.1.
config router ospf
config network
edit 2
set area 10.1.1.1
set prefix 10.0.0.0 255.255.255.0
end
end
network command keywords and variables
Keywords and
variables
Description
Default Availability
area
The ID number of the area to be
associated with the prefix.
No
default.
All models.
prefix
Enter the IP address and netmask for the
OSPF network.
No
default.
All models.