Patent ID: 9571400
Date: 2017-02-14
CPC Classifications: H04L

Claim:
1. A method comprising: generating, by a data switch, a first hash value based on a header of a data packet; performing, by the same data switch, a lookup in a first equal cost multi-path (ECMP) table using the first hash value, the first ECMP table including a weighted listing of at least two secondary ECMP tables, the lookup in the first ECMP table selecting a secondary ECMP table of the at least two secondary ECMP tables; after performing the lookup in the first ECMP table, generating, by the same data switch, a second hash value based on the header of the data packet; performing, by the same data switch, a lookup in the selected secondary ECMP table based on the second hash value to select an egress port of a plurality of egress ports of the data switch, a first secondary ECMP table of the at least two secondary ECMP tables including a listing of a first set of egress ports of the plurality of egress ports, a second secondary ECMP table of the at least two secondary ECMP tables including a listing of a second set of egress ports of the plurality of egress ports, the listing of the first set of egress ports being different than the listing of the second set of egress ports; and forwarding, by the same data switch, the data packet on the selected egress port.