摘要 |
Based on an example, a network apparatus may calculate N equal-cost multi paths to a destination address; sort the N equal-cost multi paths into an order to obtain a sorted result; the sorted result specifying an order from a first ECMP to an Nth ECMP; populate an ECMP table with ECMP entries, each ECMP entry comprising forwarding information associated with a respective ECMP; wherein the ECMP table comprises M entries, wherein M is greater than N, and wherein the ECMP table is populated with ECMP entries according to the order of equal-cost multi paths in the sorted result, and wherein the order is treated in a circular manner such that the N+1th ECMP table entry is populated with forwarding information associated with the first table entry and wherein M=2n, N≧2, N, M and n are natural numbers. |