Guidelines for OSPF
Firewall Mode Guidelines
OSPF supports routed firewall mode only. OSPF does not support transparent firewall mode.
High Availability Guidelines
OSPFv2 and OSPFv3 support Stateful High Availability.
IPv6 Guidelines
-
OSPFv2 does not support IPv6.
-
OSPFv3 supports IPv6.
-
OSPFv3 uses IPv6 for authentication.
-
The threat defense device installs OSPFv3 routes into the IPv6 RIB, provided it is the best route.
OSPFv3 Hello Packets and GRE
Typically, OSPF traffic does not pass through GRE tunnel. When OSPFv3 on IPv6 is encapsulated inside GRE, the IPv6 header validation for security check such as Multicast Destination fails. The packet is dropped due to the implicit security check validation, as this packet has destination IPv6 multicast.
You may define a pre-filter rule to bypass GRE traffic. However, with pre-filter rule, inner packets would not be interrogated by the inspection engine.
Clustering Guidelines
-
OSPFv3 encryption is not supported. An error message appears if you try to configure OSPFv3 encryption in a clustering environment.
-
In Spanned interface mode, dynamic routing is not supported on management-only interfaces.
-
In Individual interface mode, make sure that you establish the control and data units as either OSPFv2 or OSPFv3 neighbors.
-
In Individual interface mode, OSPFv2 adjacencies can only be established between two contexts on a shared interface on the control unit. Configuring static neighbors is supported only on point-to point-links; therefore, only one neighbor statement is allowed on an interface.
-
When a control role change occurs in the cluster, the following behavior occurs:
-
In spanned interface mode, the router process is active only on the control unit and is in a suspended state on the data units. Each cluster unit has the same router ID because the configuration has been synchronized from the control unit. As a result, a neighboring router does not notice any change in the router ID of the cluster during a role change.
-
In individual interface mode, the router process is active on all the individual cluster units. Each cluster unit chooses its own distinct router ID from the configured cluster pool. A control role change in the cluster does not change the routing topology in any way.
-
Multiprotocol Label Switching (MPLS) and OSPF Guidelines
When a MPLS-configured router sends Link State (LS) update packets containing opaque Type-10 link-state advertisements (LSAs) that include an MPLS header, authentication fails and the appliance silently drops the update packets, rather than acknowledging them. Eventually the peer router will terminate the neighbor relationship because it has not received any acknowledgments.
Make sure that non-stop forwarding (NSF) is disabled on the appliance to ensure that the neighbor relationship remains stable:
-
Navigate to the Non Stop Forwarding page in management center( ).
Ensure the Non Stop Forwarding Capability boxes are not checked.
Note | The Firepower 4100/9300 models may have high latency when using MPLS because they lack load balancing across multiple receiving queues. |
Bidirectional and Forwarding Detection (BFD) and OSPF Guidelines
-
You can enable BFD on OSPFv2 and OSPFv3 interfaces (Physical Interfaces, Sub-Interfaces, and Port-Channels).
-
BFD is not supported on VTI Tunnels, DVTI Tunnels, Loopback, Switchport, VNI, VTEP, and IRB interfaces.
Route Redistribution Guidelines
-
Redistribution of route maps with IPv4 or IPv6 prefix list on OSPFv2 or OSPFv3 is not supported. Use an access list in the route map on OSPF for redistribution.
-
When OSPF is configured on a device that is a part of EIGRP network or vice versa, ensure that OSPF-router is configured to tag the route (EIGRP does not support route tag yet).
When redistributing OSPF into EIGRP and EIGRP into OSPF, a routing loop occurs when there is an outage on one of the links, interfaces, or even when the route originator is down. To prevent the redistribution of routes from one domain back into the same domain, a router can tag a route that belongs to a domain while it is redistributing, and those routes can be filtered on the remote router based on the same tag. Because the routes will not be installed into the routing table, they will not be redistributed back into the same domain.
Additional Guidelines
-
OSPFv2 and OSPFv3 support multiple instances on an interface.
-
OSPFv3 supports encryption through ESP headers in a non-clustered environment.
-
OSPFv3 supports Non-Payload Encryption.
-
OSPFv2 supports Cisco NSF Graceful Restart and IETF NSF Graceful Restart mechanisms as defined in RFCs 4811, 4812 & 3623 respectively.
-
OSPFv3 supports Graceful Restart mechanism as defined in RFC 5187.
-
There is a limit to the number of intra area (type 1) routes that can be distributed. For these routes, a single type-1 LSA contains all prefixes. Because the system has a limit of 35 KB for packet size, 3000 routes result in a packet that exceeds the limit. Consider 2900 type 1 routes to be the maximum number supported.
-
For a device using virtual routing, you can configure OSPFv2 and OSPFv3 for a global virtual router. However, you can configure only OSPFv2 for a user-defined virtual router.
-
To avoid adjacency flaps due to route updates being dropped if the route update is larger than the minimum MTU on the link, ensure that you configure the same MTU on the interfaces on both sides of the link.