0

I came across this excerpt from the Cisco documentation:

"Not all routes can have repair paths. Multipath primary routes might have repair paths for all, some, or no primary paths, depending on network topology, the connectivity of the computing router, and the attributes required of repair paths."

My question is, what actually determines if a path is eligible to become a repair path? I'm unable to find any clear explanation of how OSPF chooses these.

Background: I have OSPF setup on some L3 switches that are in a physical ring topology terminated on the ends by routers (more of a crescent than a fully closed ring). Each switch is receiving routes originating from the routers via both its east and west neighbor. Some of the switches have repair paths for these routes going the other direction, and some do not. The ones that do, however, are in the "middle" of the ring. Based on that, I assumed it has to do with metric, but after checking the OSPF external database the metric of the routes are the same in all the switches (I redistributed these routes into OSPF from a separate process using the max metric of 65535). Can someone explain?

The setting that I'm using is 'fast-reroute per-prefix enable prefix-priority low'

1
  • Did any answer help you? If so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you can post and accept your own answer.
    – Ron Maupin
    Dec 31, 2020 at 19:38

1 Answer 1

2

This is A top link on the search engine I found when searching for this topic so I decided to answer.

Taken from rfc5286

S = Source Node

N = Neighbor Node (on alternative path)

D = Destination Node

A neighbour N can provide a loop-free alternate (LFA) if and only if

    Distance_opt(N, D) < Distance_opt(N, S) + Distance_opt(S, D)

                 Inequality 1: Loop-Free Criterion

A subset of loop-free alternates are downstream paths 
that must meet a more restrictive condition that is applicable
to more complex failure scenarios:

             Distance_opt(N, D) < Distance_opt(S, D)

              Inequality 2: Downstream Path Criterion

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.