01 – Spanning Tree Protocol

Mo7sin 16/02/2012 9 7,330 views

Understanding Spanning-Tree Protocol

Spanning-Tree Protocol is a link management protocol that provides path redundancy while preventing undesirable loops in the network. For an Ethernet network to function properly, only one active path can exist between two stations.

Multiple active paths between stations cause loops in the network. If a loop exists in the network topology, the potential exists for duplication of messages. When loops occur, some switches see stations appear on both sides of the switch. This condition confuses the forwarding algorithm and allows duplicate frames to be forwarded.

To provide path redundancy, Spanning-Tree Protocol defines a tree that spans all switches in an extended network. Spanning-Tree Protocol forces certain redundant data paths into a standby (blocked) state. If one network segment in the Spanning-Tree Protocol becomes unreachable, or if Spanning-Tree Protocol costs change, the spanning-tree algorithm reconfigures the spanning-tree topology and reestablishes the link by activating the standby path.

Spanning-Tree Protocol operation is transparent to end stations, which are unaware whether they are connected to a single LAN segment or a switched LAN of multiple segments.

Election of the Root Switch

All switches in an extended LAN participating in Spanning-Tree Protocol gather information on other switches in the network through an exchange of data messages. These messages are bridge protocol data units (BPDUs). This exchange of messages results in the following:

  • The election of a unique root switch for the stable spanning-tree network topology.
  • The election of a designated switch for every switched LAN segment.
  • The removal of loops in the switched network by placing redundant switch ports in a backup state.

The Spanning-Tree Protocol root switch is the logical center of the spanning-tree topology in a switched network. All paths that are not needed to reach the root switch from anywhere in the switched network are placed in Spanning-Tree Protocol backup mode. Table C-1 describes the root switch variables, that affect the entire spanning-tree performance.


Share this lesson on Facebook!

Share this lesson on twitter!

Share this lesson on Google plus!

Pin this lesson on Pinterest!


  1. moaz 27/10/2013 at 11:53 AM -

    السلام عليكم ..
    جزاك الله خير … هى اول محاضرة مش موجوده ؟؟ واضح من كلام البشمهندس احمد انه كان فيه محاضرة قبل اول محاضرة مرفوعه عنا على الموقع

  2. Khaled Gamal 30/04/2013 at 11:38 PM -

    جزاك الله خيرا.

  3. mahmoud 04/02/2013 at 12:53 PM -

    جزاكم الله خيرا علي هذا المجهود ويجعله في ميزان حسناتك

    ولو سمحتم تقولولي ازاي اذاكر المنهج صح

  4. خالد 16/01/2013 at 9:46 AM -

    أين الفيديو ، وشكراً جزيلا

    • Muhammad Mohsen 17/01/2013 at 8:01 PM -

      هتلاقى فوق كلمة ”
      Click to watch”
      دوس عليها هيظهر الفليديو

  5. عابر سبيل 23/04/2012 at 6:08 AM -

    ربنا يجزيك كل خير ويكرمك فى الدنيا والأخره ويجعل لك خلفا صالح يرفعك الى أعلى درجات الجنات ….. اللهم أمين ولكل من مثلك

Leave A Response »

You must be logged in to post a comment. ( Don't have one? Click here to get it ).