BuildTheNet

Opening your workspace

Your learning content and tools are loading.

Port Security lab practice

Limit which MAC addresses an access port accepts, choose a violation action, learn sticky addresses and recover err-disabled ports.

5 labs · 9 lessons · 8 commands · 5 projects

Port security limits which MAC addresses an access port will accept. It stops someone plugging an unmanaged switch or an unknown laptop into a wall port, and it caps the damage of a MAC flooding attack.

The configuration is short; the skill is in the details: it must be enabled with the bare switchport port-security command, sticky addresses must be saved, and you need to know how each violation mode behaves and how to recover an err-disabled port.

Hands-on labs

Lessons, in order

  1. Security Fundamentals & Threat Landscape (5. Security Fundamentals, 11 min)
  2. Layer 2 Port Security (5. Security Fundamentals, 9 min)
  3. Limit secure MAC addresses and verify sticky learning (5. Security Fundamentals, 14 min)
  4. Compare port-security violation modes and recovery (5. Security Fundamentals, 14 min)
  5. Recover err-disabled ports automatically (5. Security Fundamentals, 10 min)
  6. Close the native VLAN and DTP hopping paths (5. Security Fundamentals, 11 min)
  7. Protect an edge port with PortFast and BPDU Guard (5. Security Fundamentals, 11 min)
  8. Dynamic ARP Inspection (DAI) (5. Security Fundamentals, 12 min)
  9. Validate ARP with snooping bindings and bounded trust (5. Security Fundamentals, 14 min)

Commands

Related projects

Related topics

Start the CCNA path · Free Sandbox