StudyToCert

All certifications / CCNA / Lessons

Cisco CCNA 200-301 v2.0 · Domain 4: Network services & security

Layer 2 security: port security (maximum, sticky, violation modes), DHCP snooping, dynamic ARP inspection

▶ Watch the overview video

Last reviewed October 6, 2026 · Leer en español

Explain it simpler

An access switch port is like a wall outlet that anyone can plug into. Three switch features act like rules for those outlets. Port security limits how many devices, and which ones, may use a port, so a stranger cannot plug in a pile of extra gear. DHCP snooping makes sure only the real address-handing server can give out network settings, so a fake one plugged into a desk cannot send people the wrong way. Dynamic ARP inspection checks that devices are honest when they announce who they are, so one computer cannot pretend to be the gateway and secretly read everyone's traffic. Together they stop common tricks from someone standing at a desk.

It is 2:15 p.m. at Meridian Health's admin building when Sam on the help desk gets the third call in ten minutes. Users on the second floor have addresses starting with 192.168.0, they cannot reach the intranet, and one says her browser keeps warning about certificates. Sam walks the floor and finds a small consumer wireless router plugged into a wall jack under a desk, brought in by someone who wanted better Wi-Fi. Nobody meant harm, but the same jack could have been used by someone who did. What should the access switch have done the moment that device was plugged in?

Many attacks on a LAN happen at Layer 2, from a device plugged into an access port: flooding the switch's MAC (media access control) address table, running a rogue DHCP (Dynamic Host Configuration Protocol) server, or poisoning ARP (Address Resolution Protocol) caches to intercept traffic. Cisco switches, which group ports into VLANs (virtual LANs), offer three features that work together to detect and prevent these attacks at the edge. The CCNA tests how each works, its defaults, and how they depend on one another.

Free account

Keep reading for free

Create a free StudyToCert account to read the rest of this lesson: 8 more sections, 7 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.

Sign up free Log in

Study CCNA for free
A week-by-week plan with every lesson, quizzes, checkpoint tests, a practice exam and hands-on labs.
Open the CCNA study plan