Templates for Switching Best Practices
Guidelines and Limitations
1. STP bridge priority cannot be changed on switch stacks using templates. In a network template, switch templates can be assigned STP bridge priority values from Switching > Configure > Switch settings > STP configuration. A value assigned to a switch template, however, will only propagate to the standalone switches bound to that template; switch stacks will retain the default STP priority of 32768.
If an MS switch stack must be the root bridge of an STP domain that has at least one other MS switch stack, it should be placed in a Dashboard network that is not bound to a network template for the STP priority value configured on it to take effect.
The following diagram shows the relationship between network templates and switch templates:

If you found this post helpful, please give it Kudos. If my answer solves your problem please click Accept as Solution so others can benefit from it.