November 6, 2012

Spanning Tree Protocol on Packet Tracer

Let us apply STP on packet tracer. Let us develop a basic topology like the one in the following diagram.
y
As we can see in the above diagram that some light are green while others are orange. Y is it so ? We will see that in a moment. Let us try to communicate between two Hosts. Assign IP addresses to all hosts
uu
As we can see in the figure below, the communication is successful. It is due to the spanning tree protocol applied on the switch by default. It provides us with the loop free environment. It calculates the cost of each path and provides us with the one that has the minimum cost. That is the reason that some links are up while others are down with the orange light.
uiu
So let us see what happens if we remove the spanning tree protocol from this topology.
fff
We will remove STP from all the switches one by one.
gfgf

gg
tt
After removing STP, we have observed by the following diagram, a couple of changes. i.e. all the lights are green. In fact, some are dark green. Some lights are blinking, while some are not. This is due to fact that as there is no protocol to decide that which path to choose as we have removed STP.
d
Now that if we try to communicate between any hosts it will fail and communication is disabled.
lmklkjlk

11 comments:

  1. This comment has been removed by a blog administrator.

    ReplyDelete
    Replies
    1. This comment has been removed by a blog administrator.

      Delete
  2. It is good that you use packet tracer and elaborate it with screenshot just tell me how it will calculate the path cost?

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
  4. communication is not successful after assigning ip-address

    ReplyDelete
    Replies
    1. may be the spanning tree protocol is not configured

      Delete
  5. Itz gud....but how to configure STP????

    ReplyDelete
    Replies
    1. (config)#spanning-tree vlan 1

      Delete
    2. http://thinkingcisco.blogspot.com/2012/12/pt-activity-552-spanning-tree-protocol.html

      check this out

      Delete
  6. great computer support friend

    ReplyDelete

C program to Read From a File

#include <stdio.h> #include <stdlib.h> void main() {     FILE *fptr;     char filename[15];     char ch;   ...