Switching (VLAN/STP)

spanning-tree bpduguard enable

Shut the port down if it receives a BPDU — protects PortFast ports.

Works on: SwitchMode: iface
Run this command live

Don't just read it — type spanning-tree bpduguard enable in a real network simulator in your browser and watch it take effect. No install, no account needed to start.

Open the lab

Frequently asked

What does the "spanning-tree bpduguard enable" command do?

Shut the port down if it receives a BPDU — protects PortFast ports.

More Switching (VLAN/STP) commands

← Back to the full command reference

spanning-tree bpduguard enable — network CLI command reference · NetForge-AI