Learn how to configure a switch as the secondary root by modifying its priority, ensuring it becomes the root switch if the primary fails and other switches use the default priority.
You can configure a switch as the secondary root by modifying the switch priority from the default value (32768) to 28672.
This task ensures that the switch is likely to become the root switch for the specified VLAN if the primary root switch fails. This is based on the assumption that other network switches use the default switch priority of 32768.
Before you begin
When you configure a switch as the secondary root, the switch priority changes from the default value (32768) to 28672. With this priority, the switch is likely to become the root switch for the specified VLAN if the primary root switch fails. This is based on the assumption that the other network switches use the default switch priority of 32768 and are, therefore, unlikely to become the root switch.
Procedure
| 1. | Use the enable command to enter privileged EXEC mode. Example:
Enter your password if prompted. |
|
| 2. | Use the configure terminal command to enter global configuration mode. Example:
|
|
| 3. | Use the spanning-tree vlan root secondary command to configure a switch to become the secondary root for the specified VLAN. Example:
For (Optional) For Use the same network diameter value as that configured for the primary root switch. |
|
| 4. | Use the end command to return to privileged EXEC mode. Example:
|