Question: what is tcam used for?
Answer: TCAM (Ternary Content Addressable Memory) TCAM is a specialized CAM designed for rapid table lookups. TCAM provides three results: 0, 1, and "don't care." TCAM is most useful for building tables for searching on longest matches such as IP routing tables organized by IP prefixes.