×

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

  • US 10,122,620 B2
  • Filed: 09/06/2017
  • Issued: 11/06/2018
  • Est. Priority Date: 05/28/2015
  • Status: Active Grant
First Claim
Patent Images

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

  • setting a defer equal-cost multi-path (ECMP) variable to a first value;

    setting a first timer to a user-configurable time value;

    setting a routes received variable to zero;

    starting the first timer;

    receiving a plurality of routes while the first timer performs a countdown of the user-configurable time value to obtain an increased routes received variable;

    determining a number of received routes using the increased routes received variable;

    determining that the number of received routes exceeds a user-configurable minimum number of routes in order to discover that an active session exists;

    determining that the first timer has reached zero;

    determining, based on the first timer reaching completing the countdown and the existence of the active session, that a user-configurable minimum number of active sessions is not exceeded;

    setting, based on the user-configurable minimum number of active sessions not being exceeded, the defer ECMP variable to a second value;

    after setting the defer ECMP variable to the second value, identifying, in a routing information base (RIB) of the network device, a set of ECMP routes from a plurality of routes for a destination IP prefix; and

    updating a forwarding information base (FIB) of the network device based on the set of ECMP routes.

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