Hello,
I had a crazy problem occur in a distribution switch. The switch was alternating between active and standby sups causing STP issues. The distribution is fully redundant. Other distribution switches with forwarding trunks through this problem switch never used another path, since the trunk port was flapping. The problem with the switch was a bad slot 1 and secondary sup.
I know this problem of flapping sups is very rare but I needed to try and come up with a preventative measure for the future. There does not seem to be a way to keep a root port from reastablishing itself as a root port when the port has been flapping. Since the faulty switch was the root bridge, it would always become root.
My ideal solution would be to have a mechanism where the switch could somehow take preference of a blocking port during a situation like this.