I had an issue recently where 3 switches were stacked together earlier like below?
1) MS225-48FP (At top)
2) MS210-48 (Middle)
3) MS225-48FP (At bottom)
It was working fine until the bottom switch got dead one day, and I replaced with another switch of same model, the moment I connected the replacement switch the entire network building got flapping and the network went down, when I removed the replacement switch the network became up.
All the above stacked switches are connected to 2 distribution switch (Cisco 9300) which are also stacked.
What is the reason for this network to go down? Is it due to root bridge election? or due to faulty replacement switch (but its a brand new one which was under warranty which was under RMA)?