exerciciosSPT
Download
Report
Transcript exerciciosSPT
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
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
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 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
Fa0/2
Fa0/1
Gi1/1
Role Sts Cost
Root FWD 19
Desg FWD 19
Desg FWD 4
Prio.Nbr Type
128.2 P2p
128.1 P2p
128.25 P2p
CENÁRIO 3: CRIE A SEGUINTE REDE
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-tree vlan 1 priority 4096
end
CENÁRIO 4: TORNE O SWITCH 0 ROOT
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.