When an OSPF process imports routes, routing loops may occur. Routing loop detection can help prevent such routing loops. When a device detects that it imports a route advertised by itself, it sends this route with a large cost to other devices. After learning the route, these devices preferentially select other paths, thereby preventing routing loops. By default, OSPF routing loop detection is enabled.
OSPF uses Opaque LSAs to implement routing loop detection for imported routes. Therefore, the Opaque LSA capability must be enabled for this function. By default, the Opaque LSA capability is enabled on a device. If the Opaque LSA capability is disabled on the device using the opaque-capability disable command, you need to run the opaque-capability enable command to enable the Opaque LSA capability.
The system view is displayed.
Routing loop detection is disabled for routes imported to OSPF.
To reduce the impact of routing loops on services, you are advised to keep routing loop detection enabled for routes imported to OSPF.
The configuration is committed.