Configuring a Root Switch on IOS Based Cisco Switches
When you use spanning tree, a root switch is designated for you. However, knowing the location of the root switch makes troubleshooting a switched network much easier. Furthermore, by “manually setting” a root switch, you can use your most powerfull switch to become the root.
Setting the root switch for a particular VLAN is quite an easy task. Use the following global configuration command:
Switch(config)#spanning-tree vlan vlan_id root primary
If you also want to manually set the backup root switch for the network, use the following command on your designated backup switch:
Switch(config)#spanning-tree vlan vlan_id root secondary
The vlan_id has to be the same in both command lines.
Follow the reactions below and share your own thoughts.