180 01-28007-0068-20041203 Fortinet Inc.
config router ospf Router
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
config ospf-interface
delete <interface-name_str>
end
config ospf-interface
edit <interface-name_str>
get
end
config ospf-interface
edit <interface-name_str>
show
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.
Note: The interface and ip keywords are required. All other keywords are optional.