Command
Spanning-Tree Vlan Priority
Use
This command is used to change the VLAN priority for spanning-tree.
Syntax
Switch(config)#spanning-tree vlan priority <#>
Example
In the below example we will configure SW2’s priority of Vlan 1 to be 4096.
SW1(config)#spanning vlan 1 priority 4096 |
Notice the priority is now 4096 and the switch is now is root.
SW1(config)#do sh spanning vlan 1 VLAN0001 Bridge ID Priority 4097 (priority 4096 sys-id-ext 1) Interface Role Sts Cost Prio.Nbr Type |