cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1145
Views
5
Helpful
5
Replies

How does TCAM differs from CAM

nuggetinu
Level 1
Level 1

Hi,

 

I've searched and read about both, and CAM is easily understandable. TCAM is somewhat complex and not that straight forward. Can someone outline the differences or make a side by side comparison to how TCAM differs from CAM, to make the differences easily understandable?

 

Thanks in advance.

5 Replies 5

Joseph W. Doherty
Hall of Fame
Hall of Fame
Are you familiar with wildcard matching?

If so, CAM support something like find "ABC" while TCAM supports something like find "A?C". The former will only match "ABC", the latter will match where the first letter is "A" and the third letter is "C" and the second letter doesn't matter.

To what part of the process is parallel searching present? I cannot understand where does the parallel searching occur in the process.

Hello,

when the data enter the hardware for a match, this data is compared with all entries in the TCAM in one shot. It's about electronic (so it's not really parallel search, it's more a simultaneous match), you should look for an electronic diagram of a TCAM: the wire for each bit run all along the TCAM memory.

Regards,

Guillaume

Thanks all. One last thing. If the adjacency table corresponds the MAC address to the IP address from the FIB, where is the corresponding egress port that the packet will be forwarded to? As as a last stage of the process it suddenly stops at the adjacency table. Does this also has the corresponding port to that MAC address, like in CAM?

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card