LOGBOOK

HELP

Quiz Entry - updated: 2026.07.05

What is PortFast, and why should it always be paired with BPDU (Bridge Protocol Data Unit) Guard?

PortFast skips the 30-second STP (Spanning Tree Protocol) convergence delay on access ports; BPDU Guard protects against loops if a switch is accidentally connected.

PortFast access port forwards immediately; a BPDU triggers BPDU Guard err-disable.

* Why PortFast needs BPDU Guard. *

The problem PortFast solves: When a device connects to a switch port, it normally goes through listening (15s) + learning (15s) = 30 seconds before forwarding. This causes DHCP (Dynamic Host Configuration Protocol) timeouts — the client can't reach the DHCP server in time and fails to get an IP (Internet Protocol) address.

PortFast:

  • Transitions the port from blocking to forwarding immediately
  • Should only be used on access ports (connecting to end devices like PCs, printers)
  • Never enable PortFast on a port connecting to another switch — it bypasses loop prevention and could create a spanning tree loop

BPDU Guard:

  • If a PortFast-enabled port receives a BPDU, something is wrong (a switch was plugged in)
  • BPDU Guard immediately puts the port in err-disabled state (effectively shuts it down)
  • An administrator must manually re-enable the port after investigating

Tip: Always configure PortFast + BPDU Guard together. PortFast without BPDU Guard is a loop risk. On Cisco: spanning-tree portfast and spanning-tree bpduguard enable.

Go deeper:

From Quiz: NETW2 / STP Concepts | Updated: Jul 05, 2026