No momento em que se realiza cada um destes comandos, define-se a prioridade nos switches:

Switch_A(config)# spanning-tree vlan 1 priority 0
Switch_B(config)# spanning-tree vlan 1 priority 4096
Switch_C(config)# spanning-tree vlan 1 priority 8192

Observe os relatórios a seguir:

SWITCH_A#SHOW SPANNING-TREE
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 1
Address 0003.E4C3.6DB3
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 1 (priority 0 sys-id-ext 1)
Address 0003.E4C3.6DB3
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 20
Interface Role Sts Cost Prio.Nbr Type
--------------------------------------------------------------------
Fa1/1 Desg FWD 19 128.2 P2p
Fa0/1 Desg FWD 19 128.1 P2p
SWITCH_A#

O SwitchA acabou tornando-se o switch raiz desta rede.

Copyright © 2014 AIEC.