Spanning Tree Protocol Exercise: Network Configuration Analysis
130 likes | 233 Vues
Practice exercises to configure and analyze Spanning Tree Protocol in a network scenario. Includes learning switch mechanisms, MAC table updates, and STP commands. Analyze network topologies and identify switch roots. Perform root switch configuration and analyze STP path costs.
Spanning Tree Protocol Exercise: Network Configuration Analysis
E N D
Presentation Transcript
Switches Ethernet Exercícios de STP(SpanningTreeProtocol)
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 • 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 Mac Address Type Ports • 1 0002.4a52.d8b5 DYNAMIC Fa0/2 • 1 0030.a397.7703 DYNAMIC Fa0/2 • 1 0060.702a.1407 DYNAMIC Fa0/1 • 1 0090.2b80.ce01 DYNAMIC Gig1/1 • 1 00d0.bce8.6293 DYNAMIC Fa0/2
Comandos do Spanning-Tree • show spanning-tree summary • show spanning-tree detail • show spanning-tree active • show spanning-tree interface interface-id
Relatório: Cenário 2 • Identifique: • Quem é switch root • Estado das portas de cada switch • Exemplo: Switch 2 • Root ID: 0001.64BD.A9EC • Bridge ID: 0007.EC78.94A0 • Interface Role Sts Cost Prio.Nbr Type • Fa0/2 Root FWD 19 128.2 P2p • Fa0/1 Desg FWD 19 128.1 P2p • Gi1/1 Desg FWD 4 128.25 P2p
Relatório: Cenário 3 • Identifique: • O switch root • A topologia de rede resultante • Exemplo • 4 - 2* - 0 - 1 - 3
Seleção do Switch Root • É possível alterar o switch root com a seguinte sequência de comandos: • enable • config terminal • spanning-treevlan 1 priority 4096 • end
Relatório: Cenário 4 • Identifique: A topologia de rede 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.