Pcornel
Security · Common Attacks

MAC Flooding

Cheat sheet · https://pcornel.dk/topic.php?topic=4954

Back to the Topic

Answer

MAC flooding fills a switch's MAC address table with fake addresses so it floods traffic out of all ports, letting an attacker sniff it. Port security limiting MACs per port prevents it.

Remember

  • A full CAM table makes the switch flood frames.
  • Port security limits MACs per port.
  • Monitor MAC table size.

First checks

  • show port-security — violations
  • show mac address-table count — table usage
  • Storm control settings — mitigation

Commands

show port-security interface <if>

Verify in this order

many fake MACs → CAM full → flooding (blocked by port security)

Where it usually breaks

First mismatch in signal/report → evidence preservation → scoping/analysis → containment → eradication → recovery → validation/lessons learned; preserve identity/policy/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4954

Confirmation

Confirm action

Continue?