BeginnerPublished 2026-06-30
CCNA Port Security 1: Enable & Verify on Access Ports
Free preview — the first lab of Switchport Port Security
Hands-on fundamentals with Cisco port security on host-facing access ports. Build a small two-switch campus with a trunk, place two Linux hosts in the same user VLAN, then enable port security with the explicit defaults (maximum 1, violation shutdown) on both host ports. Verify secure-up state and baseline host connectivity.
Learning objectives
- Configure access ports and a basic inter-switch 802.1Q trunk for a user VLAN
- Enable port security on host-facing access ports
- Explicitly configure and verify the feature's default enforcement policy so a port allows exactly one learned MAC address and disables itself on any violation
- Validate host connectivity and interpret show port-security outputs
Troubleshooting focus
- Confirm ports are in access mode with the correct VLAN before enabling port security
- Check that port-security is not applied to the trunk uplink
- Use show port-security and show port-security interface to confirm secure state
Topology
Grade your work
How this lab is graded
- Build it your way. Where a lab lets you choose a value — a VLAN name, an interface description — grading checks that you configured it, not which name you picked. Names that another line has to reference, like an ACL applied with
access-class, are stated in the guide and do have to match. - Addresses, modes and protocol keywords are exact. An IP address, a subnet mask,
switchport mode trunk, an encapsulation — these carry the meaning of the lab, so they are graded as written in the guide. - Grading reads your saved configuration. Export the lab from CML after you have configured it, and make sure anything you set is in the running-config — a change that only exists in a terminal session never reaches the grader.
- You can submit as many times as you like. Your best score stands, and each attempt tells you which checks passed so you can work the gaps.
- Scored something you believe is correct? Use Report an issue on this page — that is exactly how the grading fixes in the changelog got found.
Create a free account to submit your lab for grading.
Create a free accountFound a problem with this lab?
Please sign in to report a problem — tying it to your attempts lets us reproduce and fix it faster.