cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
238
Views
0
Helpful
1
Replies

STP loops.

ilnaiduccna
Level 1
Level 1

Hi Experts,

I have just small question on STP.

Actually STP is a layer 2 link management protocol and it will prevent the loops, here how STP will work? how it will prevent loops?

Regards,

Naidu

1 Reply 1

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Naidu,

ethernet LAN switches are transparent bridges this means they are not allowed to modify even a single bit of user traffic frames.

STP manages topology redundancy at OSI layer2 by making the lan switches aware of the presence of each other.

This is done by sending and receiving STP messages : BPDUs.

First the root bridge is elected then after this the role of each switch port is decided: any redundant link is made not usable for end user traffic by setting one side as STP blocked port.

A loop free topology is so built.

If anything changes a recalculation is performed and at least one switch port will change its STP state going through different intermediate states in order to avoid the forming of loops in transition.

I would suggest you to read the following, because there are different type of STPs: the more common on Cisco switches is PVST+

http://www.cisco.com/en/US/docs/switches/lan/catalyst6500/ios/12.2SX/configuration/guide/spantree.html

Hope to help

Giuseppe

Review Cisco Networking products for a $25 gift card