Got it

Understanding of STP - Background

Latest reply: May 1, 2021 02:54:32 746 26 23 0 3

OBJECTIVE


The purpose of this post is to present an introduction to the STP protocol.


Background


STP is used to prevent loops in the LAN. The switching devices running STP discover loops on the network by exchanging information with one another, and block certain interfaces to cut off loops. Along with the growth of the LAN scale, STP has become an important protocol for the LAN.


01

Figure - Networking diagram for a typical LAN


On the network shown in Figure, the following situations may occur: 


  • Broadcast storms render the network unavailable.

    

It is known that loops lead to broadcast storms. In Figure, assume that STP is not enabled on the switching devices. If Host A broadcasts a request, the request is received by PORT 1 and forwarded by PORT 2 on S1 and S2


Then, again on S1 and S2, PORT 2 receives the request broadcast by the other and PORT 1 forwards the request. As such transmission repeats, resources on the entire network are exhausted, causing the network unable to work.


  • Flapping of MAC address tables damages MAC address entries.


As shown in Figure, even update of MAC address entries upon the receipt of unicast packets damages the MAC address table.


Assume that no broadcast storm occurs on the network. Host A unicasts a packet to Host B. If Host B is temporarily removed from the network at this time, the MAC address entries of Host B on S1 and S2 are deleted. 


The packet unicast by Host A to Host B is received by PORT 1 on S1. S1, however, does not have associated MAC address entries. Therefore, the unicast packet is forwarded to PORT 2


Then, PORT 2 on S2 receives the unicast packet from PORT 2 on S1 and sends it out through PORT 1. As such transmission repeats, PORT 1 and PORT 2 on S1 and S2 continuously receive unicast packets from Host A

Therefore, S1 and S2 modify the MAC address entries continuously, causing the MAC address table to flap. As a result, MAC address entries are damaged.



--- End

IndianKid
Moderator Author Created Apr 30, 2021 05:56:41

Wow. What a clear explanation of stp protocol. Thanks
View more
  • x
  • convention:

zaheernew
MVE Author Created Apr 30, 2021 09:38:46

Understanding of STP - Background-3913181-1
View more
  • x
  • convention:

Thanks for sharing
View more
  • x
  • convention:

Thanks for sharing
View more
  • x
  • convention:

Thanks for sharing
View more
  • x
  • convention:

Thanks. Well done
View more
  • x
  • convention:

Thanks for sharing
View more
  • x
  • convention:

Good to know
View more
  • x
  • convention:

Thanks
View more
  • x
  • convention:

12
Back to list

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.