Diameter routing loop avoidance

Routing loop prevention in an SR node relies on the evaluation of a set of candidate next hop peers that are returned by each forwarding lookup (which is a realm routing lookup based on destination DI in the request message). The following peers are excluded from this set as next-hop candidates:

The remaining peers are evaluated and the one with the numerically lowest preference value is selected as the next-hop peer.