BeginnerPublished 2026-06-26
Troubleshoot a Branch ROAS: VLANs, Trunks & Port Security
Archive lab
Deploy and troubleshoot VLANs, 802.1Q trunks, and port security in a realistic small-branch ROAS design. You will stand up VLANs 10/20/99 with a hardened trunk native VLAN 999, configure sticky port security on access ports, correct a misassigned VLAN, and resolve an err-disabled port caused by a port security violation. Finish by verifying end-to-end host connectivity across VLANs.
Learning objectives
- Create and verify VLANs on Cisco Layer 2 switches and assign access ports
- Configure secure 802.1Q trunks with an explicit allowed VLAN list and a hardened native VLAN
- Implement and verify port security (sticky MAC, max MAC count, violation actions) on access ports
- Detect and remediate common Layer 2 issues including misassigned VLANs and port security errdisable
- Verify inter-VLAN connectivity using router-on-a-stick gateways and host-based testing
Troubleshooting focus
- A host cannot reach its gateway: Confirm its access port is in the correct VLAN and not err-disabled.; Ensure the trunks allow that VLAN end-to-end back to RTR-BR-EDGE.
- A port shows err-disabled: run
show port-security interface <port>to see the violation. Remove incorrect static MACs, thenshutdown/no shutdown. Keep maximum at 1 and use sticky so the real MAC is relearned. - Check for trunk allow-list mismatches or native VLAN mismatch warnings.
- A VLAN 99 SVI stays down: VLAN 99 must exist and be permitted on the trunks, and at least one interface in VLAN 99 must be up before the SVI comes up on an L2 switch.
show port-security interface <interface>reportsPort Security: Disabledwhile violation mode, sticky and maximum all appear in the config: an interface accepts those options with the feature off.
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.