did the root change occur randomly, or after you connected the second to the first switch ? In order to make sure that the root switch doesn't change, use the global command 'spanning-tree vlan 5 priority 0' or 'spanning-tree vlan 5 root primary' command.
The ' show spanning-tree vlan 5' command you are already using should give you the necessary information needed to determine your STP topology. In addition, the 'debug spanning-tree' command has numerous options to debug spanning tree problems, check this link to the command reference for details:
What do you mean by "topology isa changed from g0/1."? Was this switch seeing the root bridge on this interface earlier?
Right now, g0/1 is designated, which is consistent with the fact that this bridge Sw18 is currently the root for vlan 5. There is nothing much more anyone will be able to tell you on this forum with the information you provide. If order to know if there is a problem or not, we would need to know what you would expect this switch to be and why.
We are pleased to announce availability of Beta software for 16.6.3.
16.6.3 will be the second rebuild on the 16.6 release train targeted
towards Catalyst 9500/9400/9300/3850/3650 switching platforms. We are
looking for early feedback from customers befor...
Introduction Featured Speakers Luis Espejel is the Telecommunications
Manager of IENova, an Oil & Gas company. Currently he works with Cisco
IOS® and Cisco IOS XE platforms, and NX to some extent. He has also
worked as a Senior Engineer with the Routing P...
In this session you can learn more about Layer 3 multicast and the best
practices to identify possible threats and take security measures. It
provides an overview of basic multicast, the best security practices for
use of this technology, and recommendati...