Switching: Difference between revisions

Content added Content deleted
Line 164:
Source: [https://community.cisco.com/t5/networking-documents/cam-content-addressable-memory-vs-tcam-ternary-content/ta-p/3107938 community.cisco.com]
 
;CAM
*CAM tables provide only two results: 0 (true) or 1 (false).
*CAM is most useful for building tables that search on exact matches such as MAC address tables.
Line 169 ⟶ 170:
*In the case of Layer 2 switching tables, the switch must find an exact match to a destination MAC address or the switch floods the packet out all ports in the VLAN.
 
;TCAM
*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.