13
SWITCHES ETHERNET Exercícios de STP (Spanning Tree Protocol)

Switches Ethernet

  • Upload
    moses

  • View
    29

  • Download
    0

Embed Size (px)

DESCRIPTION

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) - PowerPoint PPT Presentation

Citation preview

Page 1: Switches Ethernet

SWITCHES ETHERNET

Exercícios de STP

(Spanning Tree Protocol)

Page 2: Switches Ethernet

CONFIGURAÇÃO DEFAULT

Page 3: Switches Ethernet

CENÁRIO 1: CRIE A SEGUINTE REDE

10.0.0.1/24

10.0.0.2/24

10.0.0.3/24

Page 4: Switches Ethernet

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

Page 5: Switches Ethernet

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

Page 6: Switches Ethernet

CENÁRIO 2: FORCE UM LOOP NA REDE

Page 7: Switches Ethernet

COMANDOS DO SPANNING-TREE show spanning-tree summary show spanning-tree detail show spanning-tree active show spanning-tree interface interface-id

Page 8: Switches Ethernet

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

Page 9: Switches Ethernet

CENÁRIO 3: CRIE A SEGUINTE REDE

Page 10: Switches Ethernet

RELATÓRIO: CENÁRIO 3 Identifique:

O switch root A topologia de rede resultante

Exemplo

4 - 2* - 0 - 1 - 3

Page 11: Switches Ethernet

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

Page 12: Switches Ethernet

CENÁRIO 4: TORNE O SWITCH 0 ROOT

Page 13: Switches Ethernet

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.