When try to define the root bridge, i like to set the priority to zero. But in 
this task we need the "spanning-tree vlan x root
primary diameter" macro command to define the STP timers automatically. So my 
preferred solution would be:

Cat1(config)#spanning-tree vlan 541 root primary diameter 5
% This switch is already the root of VLAN541 spanning tree
 VLAN 541 bridge priority set to 8192
 VLAN 541 bridge max aging time set to 16
 VLAN 541 bridge hello time unchanged at 2
 VLAN 541 bridge forward delay set to 12
Cat1(config)#
Cat1(config)#
Cat1(config)#do sh runn | inc spanning-tree vlan 541
spanning-tree vlan 541 forward-time 12
spanning-tree vlan 541 max-age 16
spanning-tree vlan 541 priority 8192
Cat1(config)#
Cat1(config)#
Cat1(config)#spanning-tree vlan 541 priority 0   
Cat1(config)#
Cat1(config)#do sh runn | inc spanning-tree vlan 541
spanning-tree vlan 541 forward-time 12
spanning-tree vlan 541 max-age 16
spanning-tree vlan 541 priority 0
Cat1(config)#

Any comments ?


Regards,

Antonio Soares, CCIE #18473 (R&S)
[email protected]

Reply via email to