cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7634
Views
10
Helpful
4
Replies

MST Priority 0 and Root commands

prashanma
Level 1
Level 1

Hi Team,

 

I have question for team. Do we need to use both following command in MSTP primary use, or can we use one of them ?

 

spanning tree mst 0 priority 0
spanning tree mst o root

4 Replies 4

luis_cordova
VIP Alumni
VIP Alumni

Hi @prashanma 


spanning tree mst 0 root <primary/secondary>

This command indicates that this switch will have the lowest priority(primary), so it will be chosen as rootbridge

https://www.cisco.com/c/m/en_us/techdoc/dc/reference/cli/n5k/commands/spanning-tree-mst-root.html

spanning tree mst 0 priority <number>
This command indicates that this switch will have the priority you indicate. The priority must be with intervals of 4096.

https://www.cisco.com/c/m/en_us/techdoc/dc/reference/cli/n5k/commands/spanning-tree-mst-priority.html

In summary, the first command dynamically assigns priority and the second command does it manually.

 

Regards

 

 

 

So we can use either both commands or "priority command" for make a switch as root

Yes you can use both commands to change a switchs priority.

With "spanning-tree mst 0 priority 0" - you set the priority of instance 0 to the lowest possible priority of 0, manually.

With "spanning tree mst 0 root" - the switch, by it self, looks at the current roots priority and decrements that value by 4096 and inhert that lower value it self and claims root.
/K.

Deepak Kumar
VIP Alumni
VIP Alumni

Hi,

Both commands having a little different behavior as:

spanning tree mst 0 priority 0: With this command will set Priority 0 to the MST region 0 means it will become root permanently.

spanning tree mst o root: This command will check priority and change self priority lower than others and become root. but a letter on, If you added a new switch with lower priority compare to current root bridge ID  then the newly added switch will become root bridge and this command will not take any action on this event. 

 

 

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!
Review Cisco Networking products for a $25 gift card