Switch security
Port security
A limit on how many MAC addresses one switch port accepts; one more is a violation that drops the frame or shuts the port.
Port security limits how many MAC addresses one switch port accepts, often one. A frame from one address too many is a violation: shutdown (the default) puts the port in err-disabled, down until an administrator brings it back; restrict drops and logs; protect drops silently. Sticky addresses are saved in the configuration as they are learned. It stops [[mac-flooding]] and a second device plugged in behind a desk.
Read next
- MAC flooding Filling a switch's MAC table with made-up addresses so that it floods everyone's frames to every port.
- MAC address table A switch's record of which port each MAC address was last seen on, learned from source addresses.
- DHCP snooping and ARP inspection Switch features that learn which device holds which address, and drop answers that do not match.
- DHCP starvation Claiming every address in a DHCP pool under forged MAC addresses so no real device can get one.
- MAC filtering Letting in only listed MAC addresses at an access point or switch port: easy to set up, and easy to get past.