Routing Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Release

PDF

Flexible Algorithm in IP Networks

Explains how IGP flexible algorithm computes constraint-based IPv4 and IPv6 paths so different traffic types can follow customized routes instead of the default least-cost path.


IGP flexible algorithm is a routing capability that

  • lets routers calculate paths by using a defined combination of calculation type, metric type, and constraints instead of the default shortest-path calculation

  • enables computation of constraint-based paths that meet specific network requirements, and

  • supports path computation for both IPv4 and IPv6 destination addresses.

Operational behavior of IGP flexible algorithm

When a packet is sent to an IP address associated with a flexible algorithm, the packet follows the constraint-based path computed for that algorithm. If the destination IP address is not associated with a flexible algorithm, the packet follows the regular IGP least-cost path to the egress node.

Flexible algorithm supports various traffic management scenarios:

  • Traffic segregation: Different traffic types can be forwarded over different paths.

  • Performance optimization: Voice traffic can be routed over a low-latency path while other traffic uses the regular IGP path.

In IS-IS, protocol extensions support the use of flexible algorithm for IP networks.