Observe a figura a seguir.


Spanning-Tree
Fonte: O Autor, 2015

Os números 0, 4096 e 8192 são as prioridades que estão definidas nos equipamentos. Desta forma o Switch A torna-se o switch raiz da rede (root bridge), mesmo que este possua um endereço MAC maior que o Switch B e Switch C.

Observe as configurações dos switches:

Configuração do Switch A
…. (relatório omitido)…..
spanning-tree extend system-id
spanning-tree vlan 1 priority 0
interface FastEthernet0/1
no ip address
interface FastEthernet1/1
no ip address
interface Vlan1
……………………………………
end

Configuração do Switch B
spanning-tree extend system-id
spanning-tree vlan 1 priority 4096
……………………………………………………………
interface FastEthernet0/1
no ip address
interface FastEthernet1/1
no ip address
interface Vlan1

Configuração do Switch C
spanning-tree extend system-id
spanning-tree vlan 1 priority 8192
interface FastEthernet1/1
switchport mode access
no ip address
interface FastEthernet0/1
switchport mode access
no ip address

Copyright © 2014 AIEC.