Fortinet FortiGate FortiGate-5001 Administration Manual page 190

Fortigate 5000 series
Hide thumbs Also See for FortiGate FortiGate-5001:
Table of Contents

Advertisement

CLI configuration
190
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
end
This example shows how to display the settings for network 2.
config router ospf
config network
get
end
This example shows how to display the configuration for network 2.
config router ospf
config network
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
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.
config ospf-interface
edit <interface-name_str>
set <keyword> <variable>
end
config ospf-interface
edit <interface-name_str>
unset <keyword>
end
01-28008-0013-20050204
edit 2
set area 10.1.1.1
set prefix 10.0.0.0 255.255.255.0
end
edit 2
edit 2
Router
Fortinet Inc.

Advertisement

Table of Contents
loading

Table of Contents