Lab6

Broadcast domains - STP

Last modified: 12/15/2024 6:15:00 PM

 

 

The Spanning Tree protocol

Use Packet Tracer to open the following architecture file.

A diagram of a computer network 

Open a command prompt on 192.168.0.2 (or any other host) and ping 192.168.0.1 (or any other host). (do not ping yourself). What is happening?

Observe anything particular about the links? Try to figure out in Simulation mode by filtering only ICMP and ARP packets.

 

Enable STP or RSTP on all three switches and observe what happens with the links?

enable

conf t

spanning-tree vlan 1

 

Check how – in the above figure – one of the links is automatically disconnected when STP is enabled. This is to avoid loops into the layer 2 network architecture.

 

When multiple paths are present inside a network, loops are potentially created leading to broadcast storms – i.e. any packet and especially broadcast injected into the network loops indefinitely in the network – freezing all network activity.

The Spanning Tree Protocol – avoids this by creating a spanning tree over the interconnecting switches disabling some of the branches (the network ports are disabled/shutdown). Check the details of STP !