Router
CLI configuration
FortiGate-60M Administration Guide
01-28007-0144-20041217
181
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 <id_integer>
set <keyword> <variable>
end
config network
edit <id_integer>
unset <keyword>
end
config network
delete <id_integer>
end
config network
edit <id_integer>
get
end
config network
edit <id_integer>
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 <id_ipv4>
The ID number of the area to be
associated with the prefix.
No
default.
All models.
prefix
<address_ipv4mask>
Enter the IP address and netmask for the
OSPF network.
No
default.
All models.
Summary of Contents for FortiGate FortiGate-60M
Page 12: ...Contents 12 01 28007 0144 20041217 Fortinet Inc Index 369 ...
Page 44: ...44 01 28007 0144 20041217 Fortinet Inc Changing the FortiGate firmware System status ...
Page 74: ...74 01 28007 0144 20041217 Fortinet Inc FortiGate IPv6 support System network ...
Page 82: ...82 01 28007 0144 20041217 Fortinet Inc Dynamic IP System DHCP ...
Page 116: ...116 01 28007 0144 20041217 Fortinet Inc Access profiles System administration ...
Page 234: ...234 01 28007 0144 20041217 Fortinet Inc Protection profile Firewall ...
Page 246: ...246 01 28007 0144 20041217 Fortinet Inc CLI configuration Users and authentication ...
Page 278: ...278 01 28007 0144 20041217 Fortinet Inc CLI configuration VPN ...
Page 340: ...340 01 28007 0144 20041217 Fortinet Inc Using Perl regular expressions Spam filter ...
Page 358: ...358 01 28007 0144 20041217 Fortinet Inc CLI configuration Log Report ...
Page 376: ...376 01 28007 0144 20041217 Fortinet Inc Index ...