Switch – If you turn on spanning tree, how do you know there is an issue with your network

spanning treeswitch

I have been learning about spanning tree protocol (STP/RSTP/MSTP) and was wondering, once I turn it on and it's protecting against for example network loops, how do I know there is a network loop?

I suppose in most cases it would be obvious, because the room the loop is in would be down, but what if there is no complaint?

It seems like I would still want a way to know, that there is a network issue such as this. Maybe the device sending some kind of alert, or maybe someone has to check a log or something else occasionally?

Best Answer

You watch your switch logs for spanning tree events, or configure your switches to send SNMP traps when STP shuts down a port.