194
01-28011-0254-20051115
Fortinet Inc.
CLI configuration
Router
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
This example shows how to display the settings for network 2.
config router ospf
config network
edit 2
get
end
This example shows how to display the configuration for network 2.
config router ospf
config network
edit 2
show
end
config ospf-interface
Access the
config ospf-interface
subcommand using the
config router
ospf
command.
Use this command to change interface related OSPF settings.
config ospf-interface command syntax pattern
config ospf-interface
edit <interface-name_str>
set <keyword> <variable>
end
config ospf-interface
edit <interface-name_str>
unset <keyword>
end
Note:
The
<interface-name_str>
variable in the syntax pattern below represents a
descriptive name for this OSPF configuration. To set the FortiGate interface that this
configuration will apply to, use the
interface <name_str>
keyword and variable in the table
below.
Summary of Contents for FortiGate 1000A
Page 80: ...80 01 28011 0254 20051115 Fortinet Inc FortiGate IPv6 support System Network ...
Page 88: ...88 01 28011 0254 20051115 Fortinet Inc Dynamic IP System DHCP ...
Page 122: ...122 01 28011 0254 20051115 Fortinet Inc FortiManager System Config ...
Page 248: ...248 01 28011 0254 20051115 Fortinet Inc Protection profile Firewall ...
Page 260: ...260 01 28011 0254 20051115 Fortinet Inc CLI configuration User ...
Page 380: ...380 01 28011 0254 20051115 Fortinet Inc CLI configuration Log Report ...
Page 392: ...392 01 28011 0254 20051115 Fortinet Inc Glossary ...