You are on page 1of 10

Department of Computer Science HITEC University, Taxila

BS Computer Science Program (Batch 2021…..)

Lab report:-05

CS-306: DCCN

Name:
Muhammad Hamza
Muhammad khan ahmed
Hassan sajjad khan
Registration No:
21-cs-068
21-cs-023
21-cs-003

Instructor: Fatima rauf


Explanation:-
In the provided network topology tasks, implementing STP PVST+ allows for the
prevention of network loops and the establishment of an optimal spanning tree topology.
By designating specific switches as the root bridge, such as S3 in Task 2 and S2 in Task
3, the network's stability and efficiency can be enhanced. Visualizing traffic flow from
PC1 to PC4 illustrates the path taken through the network, highlighting the importance of
STP in directing traffic along the most efficient route. Additionally, simulating link
shutdowns and adjusting switch priorities showcases the dynamic nature of STP in
adapting to changes within the network topology, ultimately ensuring reliable
communication and preventing broadcast storms.

Task 1: Simulate a configuration of the network topology which contains two clients
and ten switches find out which one is root among all switches, make one of them as
a root, shut one link, and change priority of one switch. Design the given network

network:-

finding root:-
by using en -> sh spa
Making root:-(s5)
Shut one link:-(s0)
After shut down:-

Implement the network shown below. Implement STP PVST+ and make S3 as root
bridge and visualize the traffic flow from PC1 to PC4.

Network:-
Root :-(s3)
Traffic:-

Implement the network shown below. Implement STP PVST+ and make S3 as root
bridge and visualize the traffic flow from PC1 to PC4.

Network:-
S2 as root:-

Traffic:-
Broadcast storm:-

For this I disabled inbuilt STP in each switch by using en->conf t ->no-spanning tree
vlan 1->ctrl z->wr after this shown below:-
Conclusion:-
In conclusion, the implementation of STP PVST+ in the network topology tasks
demonstrated its crucial role in ensuring network stability and efficient traffic
management. By designating specific switches as root bridges and visualizing traffic flow,
the importance of STP in preventing loops and optimizing data transmission paths was
evident. Additionally, simulating link failures and adjusting switch priorities highlighted
STP's ability to dynamically adapt to changes in the network, ensuring reliable
communication and minimizing the risk of broadcast storms. Overall, STP proved to be
a fundamental protocol for maintaining a resilient and efficient network infrastructure.

You might also like