liveBook · Manning

BPDU Guard

As explained in Acing the CCNA Exam: Volume 1 Fundamentals and Protocols

BPDU Guard is a switch-port protection feature that places a port into an error-disabled state when the port receives a Bridge Protocol Data Unit.

BPDU Guard protects end-host switch ports from unexpected Spanning Tree Protocol (STP) messages. When a protected port receives a Bridge Protocol Data Unit (BPDU), the switch places the port into an error-disabled state. section 14.5 section 14.5.2

Use BPDU Guard with PortFast on ports intended only for end hosts:

  • Configure a specific interface with spanning-tree bpduguard enable. section 14.5.2
  • Use spanning-tree portfast bpduguard default globally to enable it on all PortFast-enabled ports. section 14.5.2
  • If someone connects another switch, the received BPDU triggers protection before that switch can affect the STP topology, such as becoming the root bridge. section 14.5.2

Unexpected switch connection

A PortFast-enabled access port is accidentally connected to another switch. BPDU Guard detects the other switch's BPDU and disables the port. The port becomes nonoperational and appears as down/down in show ip interface brief. After disconnecting the offending switch, reset the port with shutdown followed by no shutdown. section 14.5.2

How Acing the CCNA Exam: Volume 1 Fundamentals and Protocols covers it

How deep it goes
Explains triggering, error-disabled consequences, verification, and manual recovery, but does not detail automatic recovery.
Examples
Uses an accidental switch connection, Cisco interface commands, error messages, and show ip interface brief output.
What it assumes
Assumes basic Spanning Tree Protocol and PortFast knowledge while identifying their proper end-host-port use.
What you can do after
Operate and recover Cisco switch ports using interface or global BPDU Guard configuration and shutdown/no shutdown.
How it connects
Connects BPDU Guard to Spanning Tree Protocol, PortFast, BPDUs, root bridge selection, and error-disabled state.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Acing the CCNA Exam: Volume 1 Fundamentals and Protocols. The section links point to the parts of the book it draws on.