System and method of loading an exact match table and longest prefix match table

US10887233B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10887233-B2
Application numberUS-202016797221-A
CountryUS
Kind codeB2
Filing dateFeb 21, 2020
Priority dateFeb 27, 2015
Publication dateJan 5, 2021
Grant dateJan 5, 2021

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A method and apparatus of a device that determines a match for a destination address using an exact match table and a longest prefix match table of a network element is described. In an exemplary embodiment, the network element receives a data packet that includes a destination address. The network element generates a key for the destination address, wherein the key represents more addresses than the destination address. The network element further performs an address lookup using the key in an exact match table. Furthermore, a match in the address lookup indicates a first transmitting interface of the network element. The network element additionally performs an address lookup using the destination address with a longest prefix match table, wherein a match in the address lookup indicates a second transmitting interface of the network element. In addition, the network element determines a resulting transmitting interface based on results from the exact match table address lookup and the longest prefix match address lookup. The network element forwards the data packet using the transmitting interface.

First claim

Opening claim text (preview).

What is claimed is: 1. A non-transitory machine-readable medium having executable instructions to cause one or more processing units to perform a method comprising: receiving, with a network element, a data packet that includes a destination address; generating a key for the destination address, wherein the key represents more addresses than the destination address; performing an exact match table address lookup using the key with an exact match table, wherein a match in the exact match table address lookup provides a first result; performing a longest prefix match address lookup using the destination address with a longest prefix match table, wherein a match in the longest prefix match address lookup provides a second result comprising an encoded length of the longest prefix match; selecting the first or second result based on a presence of the match in the exact match table address lookup and the encoded length of the longest prefix match; determining a resulting transmitting interface from the selected first or second result; and forwarding the data packet using the transmitting interface. 2. The medium of claim 1 , wherein the generating the key comprises: determining a type of key; and masking a plurality of lower bits of the destination address based on the type of key. 3. The medium of claim 1 , wherein the first result comprises a transmitting interface. 4. The medium of claim 3 , wherein the performing the exact match address lookup comprises: matching the key to an exact match table key, wherein the exact match key is associated with a plurality of prefixes; determining which of the plurality of prefixes matches the destination address; and returning a first transmitting interface associated with the matching prefix as the transmitting interface of the first result. 5. The medium of claim 4 , wherein the plurality of prefixes corresponds to adjacent ranges of addresses. 6. The medium of claim 3 , wherein generating the key comprises generating a plurality of keys with different prefix lengths. 7. The medium of claim 6 , wherein the performing the exact match address lookup comprises: matching the plurality of keys to a plurality of keys stored in the exact match table, wherein each of the plurality of keys stored in the exact match table is associated with a different prefix; determining which of a plurality of prefixes matches the destination address; and returning a first transmitting interface associated with the matching prefix as the transmitting interface of the first result. 8. A method to determine a match for a destination address using an exact match table and longest prefix match table, the method comprising: receiving, with a network element, a data packet that includes a destination address; generating a key for the destination address, wherein the key represents more addresses than the destination address; performing an exact match table address lookup using the key with an exact match table, wherein a match in the exact match table address lookup provides a first result; performing a longest prefix match address lookup using the destination address with a longest prefix match table, wherein a match in the longest prefix match address lookup provides a second result comprising an encoded length of the longest prefix match; selecting the first or second result based on a presence of the match in the exact match table address lookup and the encoded length of the longest prefix match; determining a resulting transmitting interface from the selected first or second result; and forwarding the data packet using the transmitting interface. 9. The method of claim 8 , wherein the generating the key comprises: determining a type of key; and masking a plurality of lower bits of the destination address based on the key type of key. 10. The method of claim 8 , wherein the first result comprises a transmitting interface. 11. The method of claim 10 , wherein the performing the exact match address lookup comprises: matching the key to an exact match table key, wherein the exact match key is associated with a plurality of prefixes; determining which of the plurality of prefixes matches the destination address; and returning a first transmitting interface associated with the matching prefix as the transmitting interface of the first result. 12. The method of claim 11 , wherein the plurality of prefixes corresponds to adjacent ranges of addresses. 13. The method of claim 10 , wherein generating the key comprises generating a plurality of keys with different prefix lengths. 14. The method of claim 13 , wherein the performing the exact match address lookup comprises: matching the plurality of keys to a plurality of keys stored in the exact match table, wherein each of the plurality of keys stored in the exact match table is associated with a different prefix; determining which of a plurality of prefixes matches the destination address; and returning a first transmitting interface associated with the matching prefix as the transmitting interface of the first result.

Assignees

Inventors

Classifications

  • using masks or ranges of addresses · CPC title

  • using dual-stack hosts, e.g. in Internet protocol version 4 [IPv4]/Internet protocol version 6 [IPv6] networks · CPC title

  • of virtual routers · CPC title

  • Interaction among intermediate nodes, e.g. hop by hop · CPC title

  • H04L45/748Primary

    using longest matching prefix · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US10887233B2 cover?
A method and apparatus of a device that determines a match for a destination address using an exact match table and a longest prefix match table of a network element is described. In an exemplary embodiment, the network element receives a data packet that includes a destination address. The network element generates a key for the destination address, wherein the key represents more addresses th…
Who is the assignee on this patent?
Arista Networks Inc
What technology area does this patent fall under?
Primary CPC classification H04L45/748. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Jan 05 2021 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 12 related publications on this page (citations in our corpus or others sharing the same primary CPC).