Hands-On Lab 9-10: Configuring BPDU Guard to Protect PortFast Ports
Enable BPDU Guard on PortFast access ports, connect a rogue switch, and verify the port shuts down when a BPDU arrives.
Lab Overview
- Lab Number: 9-10
- Lab Name: Configuring BPDU Guard
- Lab Difficulty: Rated 5/10
- Approximate Time: Complete in under 20 minutes
- Preferred Image: i86bi_linux_l2-adventerprisek9-ms.SSA.high_iron_20190423.bin (Switch L2)
- Chapter: Chapter 9 – STP and RSTP Basics
- Figure: 9-14 Basic Logic of BPDU Guard
Objective
This scenario demonstrates how to configure BPDU Guard on a switch to protect against accidental loops caused by rogue switches connected to PortFast-enabled access ports. BPDU Guard will disable the port if any BPDUs are received.
Scenario Description
In this lab, you’ll configure BPDU Guard on SW3 to protect its access ports. A rogue switch (Rogue-1) will be connected to SW3 to simulate an attack. Upon detecting a BPDU, SW3 will disable the port using BPDU Guard, preventing loops in the network. The lab also verifies the functionality of BPDU Guard and highlights its integration with PortFast.