You can specify basic OSPF settings in a network template or on the NGFW device. Basic OSPF settings specified in the network template are automatically propagated to all NGFW devices that use this network template.
To modify the basic OSPF settings:
Specify basic OSPF settings in one of the following ways:
If you want to manage OSPF settings in a network template, in the menu, select the Network templates tab, click the network template, and select the Routing → OSPF section.
If you want to edit OSPF settings on a device, select the Devices tab, click the device, select the Routing → OSPF section, and select the Override check box.
By default, the General tab is selected, which displays the basic OSPF settings.
Set the Status toggle switch to On. This toggle switch is disabled by default.
In the Router ID field, enter the IPv4 address that you want to assign to the router ID of the NGFW device.
In the Maximum paths field, enter the maximum number of entries in the routing and forwarding table of the NGFW device. Range of values: 1 to 64.
If you want to use the NGFW device as an Area Border Router (ABR), in the ABR type, select an ABR implementation:
Standard
IBM
Cisco
Shortcut
In the Auto cost reference bandwidth field, enter the reference bandwidth for calculating link cost on the NGFW device. Range of values: 1 to 4 294 967.
If you want to switch OSPF interfaces of an NGFW device to passive mode, enable the Passive interface default toggle switch. In passive mode, OSPF interfaces do not exchange traffic packets. This toggle switch is disabled by default.
If you want to keep a log of OSPF adjacency changes, enable the Log adjacency changes toggle switch. You can also enable the Detail toggle switch to keep a more detailed OSPF log. These toggle switches are disabled by default.
If you want to configure route redistribution in OSPF, under Route redistribution, do the following:
Select a tab corresponding to the type of routes that you want to redistribute:
The BGP tab if you want to redistribute BGP routes.
The Connected if you want to redistribute routes directly connected to network interfaces of the NGFW device.
The Static tab to redistribute static routes.
The Kernel tab to redistribute Kernel routes generated by the operating system of the NGFW device.
Enable route redistribution using the Status toggle switch. This toggle switch is disabled by default.
In the Route map drop-down list, select a previously created route map for redistributed routes.
In the Metric field, enter a metric of redistributed routes. Range of values: 0 to 16 777 214.
In the Metric type drop-down list, select the type of the metric:
Type 1 ("internal metric").
Type 2 ("external metric").
If you want to configure the NGFW device to advertise the default route 0.0.0.0/0 to OSPF neighbors:
Enable the Default originate toggle switch. This toggle switch is disabled by default.
Enable the Always toggle switch to always advertise the default 0.0.0.0/0 route, even if it is not present in the route table of the NGFW device. This toggle switch is disabled by default.
In the Metric type drop-down list, select the type of metric for the 0.0.0.0/0 default route:
Type 1 ("internal metric").
Type 2 ("external metric").
In the Metric field, enter a metric for the 0.0.0.0/0 default route. Range of values: 0 to 16 777 214.
In the Route map drop-down list, select a created route map for the 0.0.0.0/0 default route.
If you want to configure administrative distances for individual OSPF routes:
Enable the Distance OSPF toggle switch. This toggle switch is disabled by default.
In the External field, enter the administrative distance for routes from external OSPF domains or routing protocols. Range of values: 1 to 255.
In the Inter-area field, enter the administrative distance for routes from different OSPF areas of the same OSPF domain. Range of values: 1 to 255.
In the Intra-area field, enter the administrative distance for routes from the same OSPF area. Range of values: 1 to 255.
If you want to enable Graceful restart on the NGFW device:
Enable the Graceful restart toggle switch. This toggle switch is disabled by default.
In the Grace period (s) field, enter the length of time, in seconds, during which the NGFW device announces its intention to restart to OSPF neighbors. Range of values: 1 to 1800.
If you want to configure timers for the Shortest Path First (SPF) algorithm calculations:
Enable the Timers throttle SPF toggle switch. This toggle switch is disabled by default.
In the Delay (s) field, enter the length in milliseconds of the delay before starting the calculations of the SPF algorithm. Range of values: 0 to 600,000.
In the Initial hold-time (ms) field, enter the minimum retention time in milliseconds between two calculations of the SPF algorithm. Range of values: 0 to 600,000.
In the Maximum hold-time (ms) field, enter the maximum retention time in milliseconds between two calculations of the SPF algorithm. Range of values: 0 to 600,000.
If you want to configure Link State Advertisement (LSA) to OSPF neighbors on the NGFW device, make the following changes in the Maximum metric router LSA:
Enable the Administrative toggle switch to have the NGFW device use the maximum metric in link state advertisements to OSPF neighbors.
If you want to specify the time during which the NGFW device must use the maximum metric in link state advertisement to OSPF neighbors when the OSPF protocol is started or restarted:
Enable the On startup toggle switch. This toggle switch is disabled by default.
In the Timer (s) field, enter the time in seconds. Range of values: 5 to 86,400.
If you want to specify the time during which the NGFW device must use the maximum metric in link state advertisement to OSPF neighbors when the OSPF protocol is disabled:
Enable the On shutdown toggle switch. This toggle switch is disabled by default.
In the Timer (s) field, enter the time in seconds. Range of values: 5 to 100.
In the lower part of the settings area, click Save.