×

Method and system for programming equal-cost multi-path routes on network devices

  • US 9,787,575 B2
  • Filed: 05/28/2015
  • Issued: 10/10/2017
  • Est. Priority Date: 05/28/2015
  • Status: Active Grant
First Claim
Patent Images

1. A method for configuring a network device, comprising:

  • writing a route for a destination Internet Protocol (IP) prefix to a forwarding information base (FIB);

    after writing the route, obtaining a plurality of routes and writing the plurality of routes to a routing information base (RIB);

    after writing the plurality of routes to the RIB and after an expiration of a timer;

    identifying, in the RIB, a set of equal-cost multi-path (ECMP) routes from the plurality of routes for the destination IP prefix;

    processing the set of ECMP routes for the destination IP prefix to obtain a set of processed ECMP routes, wherein processing the set of ECMP routes comprises;

    selecting one route from the set of ECMP routes for the destination IP prefix as an ECMP head route, anddirecting, using pointers, a set of remaining routes from the set of ECMP routes to the ECMP head route; and

    updating the FIB of the network device based on the set of processed ECMP routes.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×