SWITCHES ETHERNET Exercícios de STP (Spanning Tree Protocol)
CONFIGURAÇÃO DEFAULT
CENÁRIO 1: CRIE A SEGUINTE REDE 10. 0. 0. 2/24 10. 0. 0. 1/24 10. 0. 0. 3/24
VERIFIQUE Mecanismo de aprendizagem do switch Atualização da tabela MAC em caso de reconfiguração (troca de cabos) Comandos básicos: � show interfaces interface-id � show mac-address-table dynamic
RELATÓRIO: CENÁRIO 1 Em um arquivo texto, anote a tabelas MAC de cada um dos switches Exemplo: Cenário 1: Tabelas MAC sem loop Switch 1 � � � Vlan 1 1 1 Mac Address 0002. 4 a 52. d 8 b 5 0030. a 397. 7703 0060. 702 a. 1407 0090. 2 b 80. ce 01 00 d 0. bce 8. 6293 Type Ports DYNAMIC Fa 0/2 DYNAMIC Fa 0/1 DYNAMIC Gig 1/1 DYNAMIC Fa 0/2
CENÁRIO 2: FORCE UM LOOP NA REDE
COMANDOS DO SPANNING-TREE show spanning-tree summary show spanning-tree detail show spanning-tree active show spanning-tree interface-id
RELATÓRIO: CENÁRIO 2 Identifique: � Quem é switch root � Estado das portas de cada switch Exemplo: Switch 2 � Root ID: 0001. 64 BD. A 9 EC � Bridge ID: 0007. EC 78. 94 A 0 Interface Fa 0/2 Fa 0/1 Gi 1/1 Role Sts Cost Root FWD 19 Desg FWD 4 Prio. Nbr Type 128. 2 P 2 p 128. 1 P 2 p 128. 25 P 2 p
SELEÇÃO DO SWITCH ROOT É possível alterar o switch root com a seguinte sequência de comandos: enable config terminal spanning-tree vlan 1 priority 4096 end
CENÁRIO 4: TORNE O SWITCH 0 ROOT
RELATÓRIO: CENÁRIO 4 Identifique: A topologia de resultante Analisando os pacotes STP obtidos na simulação, identifique o custo do caminho de cada um dos switches até o ROOT. Exemplo: Switch 0 --- Root Switch 1 --- Custo 0 Switch 3 --- Custo 4 etc.