IntermediatePublished 2026-07-04
Protected Ports for Host Isolation
Bundle lab
Harden the campus access edge by isolating same-switch hosts using protected ports. You will configure switchport protected on both host-facing access interfaces so PC1 and PC2 cannot communicate at Layer 2, while all endpoints still reach the default gateway R1. This is a deterministic Layer-2 security control that mimics lightweight private-VLAN isolation on a single switch. Focus is on SW1 only; R1 and hosts are pre-provisioned.
Learning objectives
- Explain the purpose and behavior of protected ports on Cisco Catalyst switches.
- Configure protected ports on host-facing access interfaces to prevent direct host-to-host switching.
- Verify port protection status using show commands.
- Validate expected forwarding: hosts cannot talk directly to each other but can reach the default gateway.
- Recognize use cases such as guest/DMZ isolation without full private VLANs.
Troubleshooting focus
- If PC1 can still ping PC2, ensure both Ethernet0/1 and Ethernet0/2 are marked protected.
- If any host cannot reach the gateway, verify VLAN 10 access mode is intact and the port is up/up.
- If the uplink to R1 is accidentally protected, un-protect it; the uplink must remain unprotected.
- Confirm you configured the correct interfaces; do not protect the wrong port.
- Use show interfaces Ethernet0/x switchport to check the Protected flag.
Topology
Subscribe to preview this lab's topology.
See plansGrade 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.