The multi-homed-prefix command enables the feature but its applicability depends on the LFA flavor enabled in the OSPF instance. The following scenarios are possible.
loopfree-alternate and multi-homed-prefix commands are enabled
The IP next-hop based MHP LFA feature enhances base LFA only; it applies to IP FRR (when ip-fast-reroute is also enabled) and to SR-OSPF tunnels.
loopfree-alternate remote-lfa, loopfree-alternate ti-lfa, or both and multi-homed-prefix commands are enabled
The enabling of RLFA, TI-LFA, or both on top of the MHP LFA automatically enables the SRĀ OS specific extensions to the IP next-hop backup algorithm in RFC 8515. This enhancement improves coverage because it computes SR-TE backup repair tunnel to an alternate ASBR as a means to force the packet to go to the alternate ASBR because the RFC 8518 MHP LFA may not find a loop-free path to this alternate ASBR.