Supposed I have three Cisco switches connected to each other like so:
Switch 1 Switch 2 Switch 3
And I'm running STP on all ports as per default settings. Do STP packets traverse the network or do they only need to go to the next switch? For example, in my diagram, for STP to work from Switch 1 to Switch 3, do STP packets need to go directly from Switch 1 to Switch 3, or do they go from Switch 1 to the STP processor on Switch 2, then from Switch 2 to Switch 3?
What would happen if switch 2 was configured to only forward ethernet packets of types ARP and IPv4 and drop everything else (but could still send/receive all packets to/from itself)? Also what would happen if STP was disabled on Switch 2 and someone also directly connected Switch 1 and Switch 3?
I've looked at STP with a packet sniffer - it looks like they are sent from a mac address unique to the port the packet sniffer is connected to and sent to a special mac address for STP. Is this correct?
I'm simplified my example to try to understand how things work - in reality Switch 1 and Switch 3 would be VLANs and Switch 2 would be a Linux-based firewalling bridge. I had some hardware problems with either one of my switches or a device plugged into it which as far as I can tell caused two of my VLANs to be bridged on that switch as well as on the Linux bridge. I did not have STP enabled on the Linux bridge as I didn't think I need it, but when that happened I had address flaps occur on about half my switches and some of my users lost network connectivity for a couple minutes.
Thanks a lot for any help, Josh