Switch – STP not preventing switching loop

loopbackspanning treeswitch

I have a TP Link managed switch that I have enabled STP in, but it's not detecting a loop in the network, and brings the entire lan down. I plug two ends of an Ethernet cable into the switch, which creates a broadcast storm and essentially DoSes the whole network.

enter image description here

I have STP enabled, along with loop protect, root protect, TC protect, and others:

enter image description here

As well as storm control, but nothing seems to stop the broadcast storm once it's created:

enter image description here

I don't understand why that's not stopping the loop from happening? Anyone can just plug a cable into itself and bring down the network if I don't get this STP thing to work

Best Answer

If you enable 'BPDU filtering' on the ports you're discarding the STP packets, thus breaking spanning tree. Either use STP or filter the BPDU's, don't do both.