Static routes for ECMP applications

Equal-cost multipath routing (ECMP) is a routing strategy where next-hop packet forwarding to a single destination can occur over multiple "best paths." Each path has the same cost as the other paths, but a different next-hop router. In static routing, load-balancing can be achieved through ECMP. The following figure illustrates static routes applied to an ECMP topology.

Figure 18: Example of static routes in an ECMP application

The no ip load-sharing <2–4> command enables or disables load-sharing for both IPv4 and IPv6 applications and specifies the number of ECMP routes to allow. In the default configuration, load-sharing is enabled with four ECMP routes allowed. For more information, see Equal-cost multipath routing (ECMP).