IT lexicon › Networking › CAM table

CAM table

Networking På svenska → Updated: 2026-05-29

Content-Addressable Memory — the specialized hardware memory type that stores the switch's MAC address table and enables lightning-fast lookups. "CAM table" is often used as a synonym for the MAC address table itself.

Why CAM: in regular RAM you look something up via an address and get back data; CAM does the opposite — you feed in the data (a MAC address) and get back where it is (the port), all in parallel in a single clock cycle. That's what lets a switch forward at "wire speed" without searching a table sequentially. Limitation: CAM is expensive and finite → a switch has room for a set number of MAC entries. Attack: MAC flooding fills the CAM table with thousands of fake MAC addresses until it's full; the switch then can't learn new legitimate addresses and starts flooding all traffic on all ports → the attacker can eavesdrop. Defense: port security (limit the number of MACs per port). TCAM (ternary CAM) is a variant for ACLs and routing lookups. Related to MAC address table and port security.

← Back to the lexicon