Multicast and Routing Guide K/KA/KB.15.15

Configuring equal cost multi-path (ECMP) routing for static IP routes
ECMP routing allows multiple entries for routes to the same destination. Each path has the same
cost as the other paths, but a different next-hop router. The ip load-sharing command specifies
the maximum number of equal paths that can be configured. Values range from 2 to 4.
Example 64 Example of an ECMP set with the same destination but different next-hop routers
This example shows configuration of an ECMP set with two different gateways to the same
destination address but through different next-hop routers. For more information, see “OSPF
equal-cost multipath (ECMP) for different subnets available through the same next-hop routes
(page 204)".
HP Switch(config)# ip route 127.10.144.21/24 10.10.10.2 metric 12 distance 10
HP Switch(config)# ip route 127.10.144.21/24 10.10.10.3 metric 12 distance 10
128 Static Routing