Using ternary and binary content addressable memory stages to classify information such as packets
First Claim
1. A system for classifying a set of information for using in processing or forwarding the set of information, the system comprising:
- a ternary content-addressable memory configured to receive the set of information and to perform a lookup operation with a search key based on the set of information to produce a first result; and
a binary content-addressable memory (CAM), coupled to the ternary content-addressable memory, configured to receive the first result and to perform a lookup operation with a search key based on the first result to generate one or more classification indications;
wherein the set of information includes one or more fields extracted from a header of a packet; and
wherein the set of information includes a group address for the packet.
0 Assignments
0 Petitions
Accused Products
Abstract
Methods and apparatus are disclosed herein for classifying packets using ternary and binary content-addressable memory stages to classify packets. One such system uses a stage of one or more TCAMS followed by a second stage one or more CAMS (or alternatively some other binary associative memories such as hash tables or TRIEs) to classify a packet. One exemplary system includes TCAMs for handling input and output classification and a forwarding CAM to classify packets for Internet Protocol (IP) forwarding decisions on a flow label. This input and output classification may include, but is not limited to routing, access control lists (ACLs), quality of service (QoS), network address translation (NAT), encryption, etc. These IP forwarding decisions may include, but are not limited to IP source and destination addresses, protocol type, flags and layer 4 source and destination ports, a virtual local area network (VLAN) id and/or other fields.
-
Citations
14 Claims
-
1. A system for classifying a set of information for using in processing or forwarding the set of information, the system comprising:
-
a ternary content-addressable memory configured to receive the set of information and to perform a lookup operation with a search key based on the set of information to produce a first result; and a binary content-addressable memory (CAM), coupled to the ternary content-addressable memory, configured to receive the first result and to perform a lookup operation with a search key based on the first result to generate one or more classification indications; wherein the set of information includes one or more fields extracted from a header of a packet; and wherein the set of information includes a group address for the packet. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method for classifying a set of information for using in processing or forwarding the set of information, the method comprising:
-
performing a lookup operation in a ternary content-addressable memory with a search key based the set of information to produce a first result; and subsequent to said ternary content-addressable memory lookup operation, performing a lookup operation in a binary content-addressable memory, coupled to the ternary content-addressable memory, with a search key based on the first result to generate one or more classification indications; wherein the set of information includes one or more fields extracted from a header of a packet; and
wherein the set of information includes a group address for the packet. - View Dependent Claims (7)
-
-
8. A system for classifying a set of information for using in processing or forwarding the set of information, the system comprising:
-
a ternary content-addressable memory configured to receive the set of information and to perform a lookup operation with a search key based on the set of information to produce a first result; a memory, coupled to the ternary content-addressable memory, configured to perform a lookup operation based on the first result to retrieve a second result; and a binary content-addressable memory, coupled to the memory, configured to receive the second result and to perform a lookup operation with a search key based on the second result to generate one or more classification indications; where in the set of information includes one or more fields extracted from a header of a packet; wherein the set of information includes a group address for the packet. - View Dependent Claims (9, 10, 11, 12)
-
-
13. A method for classifying a set of information for using in processing or forwarding the set of information, the method comprising:
-
performing a lookup operation in a ternary content-addressable memory with a search key based the set of information to produce a first result; subsequent to said ternary content-addressable memory lookup operation, performing a lookup operation in a memory, coupled to the ternary content-addressable memory, based on the first result to retrieve a second result; and subsequent to said memory lookup operation, performing a lookup operation in a binary content-addressable memory, coupled to the memory, with a search key based on the second result to generate one or more classification indications; where in the set of information includes one or more fields extracted from a header of a packet; and
wherein the set of information includes a group address for the packet. - View Dependent Claims (14)
-
Specification