Disable Forwarding of Spanning Tree Protocol (STP) Bridge Protocol Data Units (BDPUs)

You can disable forwarding of STP Bridge Protocol Data Units (BPDUs) when STP is disabled on a switch. When STP is disabled globally, BPDUs received on a port are forwarded to other ports that are part of same VLAN causing the switch to transparently forward STP/RSTP/MSTP BPDUs. This transparent forwarding causes one-to-many peer in the network trouble where STP disabled. To avoid this transparent forwarding of BPDUs, you can opt to discard the BDPUs when there is no STP configuration enabled on the switch.

To disable STP BDPUs, use the command:

configure stpd bpdu-forwarding [on | off]