{"id":633,"date":"2017-12-13T13:04:31","date_gmt":"2017-12-13T11:04:31","guid":{"rendered":"https:\/\/www.moving-it.net\/how-to-avoid-a-network-loop-with-spanning-tree-protocol-stp\/"},"modified":"2018-01-20T11:15:31","modified_gmt":"2018-01-20T09:15:31","slug":"how-to-avoid-a-network-loop-with-spanning-tree-protocol-stp","status":"publish","type":"post","link":"https:\/\/www.moving-it.net\/en\/how-to-avoid-a-network-loop-with-spanning-tree-protocol-stp\/","title":{"rendered":"How to avoid a network loop with Spanning Tree Protocol (STP)"},"content":{"rendered":"<p>Anyone who knows the <strong protocol> Spanning Tree <\/strong> raise your hand! Or you can go look for it in the <a href=\"https:\/\/es.wikipedia.org\/wiki\/Spanning_Tree_Protocol\"> wiquipedia <\/a>&#8230; then come back and I will explain to you with flatter words that means this from the STP and because it can cause problems in your network.<\/p>\n<p>The <strong>Spanning Tree<\/strong> is a protocol to avoid loops in computer networks, thus avoiding that traffic (basically the Broadcast, which is broadcast all over the world) floods the network and causes a collapse and all the workers of the company including the boss turn you upside down!<\/p>\n<p>Normally they are used in network networks where for security reasons two paths are defined to reach the same destination. This gives a ring topology or more complicated as mesh or mesh sheet&#8230; we will talk about a day of network topologies and do an in-depth analysis.<\/p>\n<p>We will look at a practical case, because then you say that it is very abstract&#8230;<\/p>\n<p>a. We have 3 interconnected switches between them, forming a ring topology.<\/p>\n<p>b. All of them have STP activated and of the same version (in the article differences between versions of STP you will find the answer)<\/p>\n<p>c. A main or core switch is usually defined. (switch A)<\/p>\n<p>d. After performing the STP calculations for all switches, switch C disables the port linking it to swithc B.<\/p>\n<p>e. This way we no longer have a loop problem.<\/p>\n<p><img decoding=\"async\" class=\" aligncenter wp-image-172 size-full\" title=\"Exemple Topologia Spanning Tree\" src=\"https:\/\/www.moving-it.net\/wp-content\/uploads\/2016\/03\/Topologia-STP.png\" alt=\"Exemple Topologia Spanning Tree\" width=\"456\" height=\"288\" srcset=\"https:\/\/www.moving-it.net\/wp-content\/uploads\/2016\/03\/Topologia-STP-300x189.png 300w, https:\/\/www.moving-it.net\/wp-content\/uploads\/2016\/03\/Topologia-STP-320x202.png 320w, https:\/\/www.moving-it.net\/wp-content\/uploads\/2016\/03\/Topologia-STP.png 456w\" sizes=\"(max-width: 456px) 100vw, 456px\" \/>.<\/p>\n<p>Let&#8217;s imagine now that the cable going from A to C is cut, because of an excavator or a little rat&#8230; how does the STP work?<\/p>\n<p>a. At this point the C switch would be isolated, losing the connection to the entire network.<\/p>\n<p>b. Through the exchange of information, the cut between A and C is detected.<\/p>\n<p>c. The bridge connection between B and C is activated by activating the switch C port.<\/p>\n<p>d. Switch C is reconnected and communication is restored.<\/p>\n<p>This cut usually lasts a few seconds with new protocols.<\/p>\n<p>Easy, huh? If you want to know how STP is configured in a switch<strong>Cisco<\/strong>, you must follow me in the following article.<\/p>\n<p>Thank you for your attention and remember to see us by the nets!!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Anyone who knows the Spanning Tree raise your hand! Or you can go look for it in the wiquipedia &#8230; then come back and I will explain to you with flatter words that means this from the STP and because it can cause problems in your network. The Spanning Tree [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1016,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rating_form_position":"","rating_results_position":"","mr_structured_data_type":"","footnotes":""},"categories":[27,28,29],"tags":[],"class_list":["post-633","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cisco-networks","category-networking-nets","category-networking-security"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Avoids network loops with Spanning Tree Protocol. Cisco and HP Switch<\/title>\n<meta name=\"description\" content=\"Want to know how to avoid network loops? Discover the Spanning Tree (STP) protocol, enable it to your network and avoid computer network problems.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.moving-it.net\/en\/how-to-avoid-a-network-loop-with-spanning-tree-protocol-stp\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Avoids network loops with Spanning Tree Protocol. Cisco and HP Switch\" \/>\n<meta property=\"og:description\" content=\"Want to know how to avoid network loops? Discover the Spanning Tree (STP) protocol, enable it to your network and avoid computer network problems.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.moving-it.net\/en\/how-to-avoid-a-network-loop-with-spanning-tree-protocol-stp\/\" \/>\n<meta property=\"og:site_name\" content=\"Moving-IT\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/movingit.net\/\" \/>\n<meta property=\"article:published_time\" content=\"2017-12-13T11:04:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-01-20T09:15:31+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.moving-it.net\/wp-content\/uploads\/2016\/03\/Topologia-STP.png\" \/>\n\t<meta property=\"og:image:width\" content=\"456\" \/>\n\t<meta property=\"og:image:height\" content=\"288\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"movingitadm\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@movingitnet\" \/>\n<meta name=\"twitter:site\" content=\"@movingitnet\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"movingitadm\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.moving-it.net\/en\/how-to-avoid-a-network-loop-with-spanning-tree-protocol-stp\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.moving-it.net\/en\/how-to-avoid-a-network-loop-with-spanning-tree-protocol-stp\/\"},\"author\":{\"name\":\"movingitadm\",\"@id\":\"https:\/\/www.moving-it.net\/en\/#\/schema\/person\/3839560932bba6035804db55523327fd\"},\"headline\":\"How to avoid a network loop with Spanning Tree Protocol (STP)\",\"datePublished\":\"2017-12-13T11:04:31+00:00\",\"dateModified\":\"2018-01-20T09:15:31+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.moving-it.net\/en\/how-to-avoid-a-network-loop-with-spanning-tree-protocol-stp\/\"},\"wordCount\":370,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.moving-it.net\/en\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.moving-it.net\/en\/how-to-avoid-a-network-loop-with-spanning-tree-protocol-stp\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.moving-it.net\/wp-content\/uploads\/2016\/03\/Topologia-STP.png\",\"articleSection\":[\"Cisco\",\"Networking\",\"Security\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.moving-it.net\/en\/how-to-avoid-a-network-loop-with-spanning-tree-protocol-stp\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.moving-it.net\/en\/how-to-avoid-a-network-loop-with-spanning-tree-protocol-stp\/\",\"url\":\"https:\/\/www.moving-it.net\/en\/how-to-avoid-a-network-loop-with-spanning-tree-protocol-stp\/\",\"name\":\"Avoids network loops with Spanning Tree Protocol. Cisco and HP Switch\",\"isPartOf\":{\"@id\":\"https:\/\/www.moving-it.net\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.moving-it.net\/en\/how-to-avoid-a-network-loop-with-spanning-tree-protocol-stp\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.moving-it.net\/en\/how-to-avoid-a-network-loop-with-spanning-tree-protocol-stp\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.moving-it.net\/wp-content\/uploads\/2016\/03\/Topologia-STP.png\",\"datePublished\":\"2017-12-13T11:04:31+00:00\",\"dateModified\":\"2018-01-20T09:15:31+00:00\",\"description\":\"Want to know how to avoid network loops? Discover the Spanning Tree (STP) protocol, enable it to your network and avoid computer network problems.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.moving-it.net\/en\/how-to-avoid-a-network-loop-with-spanning-tree-protocol-stp\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.moving-it.net\/en\/how-to-avoid-a-network-loop-with-spanning-tree-protocol-stp\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.moving-it.net\/en\/how-to-avoid-a-network-loop-with-spanning-tree-protocol-stp\/#primaryimage\",\"url\":\"https:\/\/www.moving-it.net\/wp-content\/uploads\/2016\/03\/Topologia-STP.png\",\"contentUrl\":\"https:\/\/www.moving-it.net\/wp-content\/uploads\/2016\/03\/Topologia-STP.png\",\"width\":456,\"height\":288},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.moving-it.net\/en\/how-to-avoid-a-network-loop-with-spanning-tree-protocol-stp\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Inici\",\"item\":\"https:\/\/www.moving-it.net\/en\/it-consulting-erp-and-crm-management-for-companies-and-self-employed\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to avoid a network loop with Spanning Tree Protocol (STP)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.moving-it.net\/en\/#website\",\"url\":\"https:\/\/www.moving-it.net\/en\/\",\"name\":\"Moving-IT\",\"description\":\"Consultoria IT y Gesti\u00f3n ERP\/CRM\",\"publisher\":{\"@id\":\"https:\/\/www.moving-it.net\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.moving-it.net\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.moving-it.net\/en\/#organization\",\"name\":\"Moving-IT\",\"url\":\"https:\/\/www.moving-it.net\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.moving-it.net\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.moving-it.net\/wp-content\/uploads\/2016\/03\/moving-it-new-1.png\",\"contentUrl\":\"https:\/\/www.moving-it.net\/wp-content\/uploads\/2016\/03\/moving-it-new-1.png\",\"width\":300,\"height\":60,\"caption\":\"Moving-IT\"},\"image\":{\"@id\":\"https:\/\/www.moving-it.net\/en\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/movingit.net\/\",\"https:\/\/x.com\/movingitnet\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.moving-it.net\/en\/#\/schema\/person\/3839560932bba6035804db55523327fd\",\"name\":\"movingitadm\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.moving-it.net\/en\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/7ed72a19e1e597cc5a168acdef5341e2?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/7ed72a19e1e597cc5a168acdef5341e2?s=96&d=mm&r=g\",\"caption\":\"movingitadm\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Avoids network loops with Spanning Tree Protocol. Cisco and HP Switch","description":"Want to know how to avoid network loops? Discover the Spanning Tree (STP) protocol, enable it to your network and avoid computer network problems.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.moving-it.net\/en\/how-to-avoid-a-network-loop-with-spanning-tree-protocol-stp\/","og_locale":"en_US","og_type":"article","og_title":"Avoids network loops with Spanning Tree Protocol. Cisco and HP Switch","og_description":"Want to know how to avoid network loops? Discover the Spanning Tree (STP) protocol, enable it to your network and avoid computer network problems.","og_url":"https:\/\/www.moving-it.net\/en\/how-to-avoid-a-network-loop-with-spanning-tree-protocol-stp\/","og_site_name":"Moving-IT","article_publisher":"https:\/\/www.facebook.com\/movingit.net\/","article_published_time":"2017-12-13T11:04:31+00:00","article_modified_time":"2018-01-20T09:15:31+00:00","og_image":[{"width":456,"height":288,"url":"https:\/\/www.moving-it.net\/wp-content\/uploads\/2016\/03\/Topologia-STP.png","type":"image\/png"}],"author":"movingitadm","twitter_card":"summary_large_image","twitter_creator":"@movingitnet","twitter_site":"@movingitnet","twitter_misc":{"Written by":"movingitadm","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.moving-it.net\/en\/how-to-avoid-a-network-loop-with-spanning-tree-protocol-stp\/#article","isPartOf":{"@id":"https:\/\/www.moving-it.net\/en\/how-to-avoid-a-network-loop-with-spanning-tree-protocol-stp\/"},"author":{"name":"movingitadm","@id":"https:\/\/www.moving-it.net\/en\/#\/schema\/person\/3839560932bba6035804db55523327fd"},"headline":"How to avoid a network loop with Spanning Tree Protocol (STP)","datePublished":"2017-12-13T11:04:31+00:00","dateModified":"2018-01-20T09:15:31+00:00","mainEntityOfPage":{"@id":"https:\/\/www.moving-it.net\/en\/how-to-avoid-a-network-loop-with-spanning-tree-protocol-stp\/"},"wordCount":370,"commentCount":0,"publisher":{"@id":"https:\/\/www.moving-it.net\/en\/#organization"},"image":{"@id":"https:\/\/www.moving-it.net\/en\/how-to-avoid-a-network-loop-with-spanning-tree-protocol-stp\/#primaryimage"},"thumbnailUrl":"https:\/\/www.moving-it.net\/wp-content\/uploads\/2016\/03\/Topologia-STP.png","articleSection":["Cisco","Networking","Security"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.moving-it.net\/en\/how-to-avoid-a-network-loop-with-spanning-tree-protocol-stp\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.moving-it.net\/en\/how-to-avoid-a-network-loop-with-spanning-tree-protocol-stp\/","url":"https:\/\/www.moving-it.net\/en\/how-to-avoid-a-network-loop-with-spanning-tree-protocol-stp\/","name":"Avoids network loops with Spanning Tree Protocol. Cisco and HP Switch","isPartOf":{"@id":"https:\/\/www.moving-it.net\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.moving-it.net\/en\/how-to-avoid-a-network-loop-with-spanning-tree-protocol-stp\/#primaryimage"},"image":{"@id":"https:\/\/www.moving-it.net\/en\/how-to-avoid-a-network-loop-with-spanning-tree-protocol-stp\/#primaryimage"},"thumbnailUrl":"https:\/\/www.moving-it.net\/wp-content\/uploads\/2016\/03\/Topologia-STP.png","datePublished":"2017-12-13T11:04:31+00:00","dateModified":"2018-01-20T09:15:31+00:00","description":"Want to know how to avoid network loops? Discover the Spanning Tree (STP) protocol, enable it to your network and avoid computer network problems.","breadcrumb":{"@id":"https:\/\/www.moving-it.net\/en\/how-to-avoid-a-network-loop-with-spanning-tree-protocol-stp\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.moving-it.net\/en\/how-to-avoid-a-network-loop-with-spanning-tree-protocol-stp\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.moving-it.net\/en\/how-to-avoid-a-network-loop-with-spanning-tree-protocol-stp\/#primaryimage","url":"https:\/\/www.moving-it.net\/wp-content\/uploads\/2016\/03\/Topologia-STP.png","contentUrl":"https:\/\/www.moving-it.net\/wp-content\/uploads\/2016\/03\/Topologia-STP.png","width":456,"height":288},{"@type":"BreadcrumbList","@id":"https:\/\/www.moving-it.net\/en\/how-to-avoid-a-network-loop-with-spanning-tree-protocol-stp\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Inici","item":"https:\/\/www.moving-it.net\/en\/it-consulting-erp-and-crm-management-for-companies-and-self-employed\/"},{"@type":"ListItem","position":2,"name":"How to avoid a network loop with Spanning Tree Protocol (STP)"}]},{"@type":"WebSite","@id":"https:\/\/www.moving-it.net\/en\/#website","url":"https:\/\/www.moving-it.net\/en\/","name":"Moving-IT","description":"Consultoria IT y Gesti\u00f3n ERP\/CRM","publisher":{"@id":"https:\/\/www.moving-it.net\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.moving-it.net\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.moving-it.net\/en\/#organization","name":"Moving-IT","url":"https:\/\/www.moving-it.net\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.moving-it.net\/en\/#\/schema\/logo\/image\/","url":"https:\/\/www.moving-it.net\/wp-content\/uploads\/2016\/03\/moving-it-new-1.png","contentUrl":"https:\/\/www.moving-it.net\/wp-content\/uploads\/2016\/03\/moving-it-new-1.png","width":300,"height":60,"caption":"Moving-IT"},"image":{"@id":"https:\/\/www.moving-it.net\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/movingit.net\/","https:\/\/x.com\/movingitnet"]},{"@type":"Person","@id":"https:\/\/www.moving-it.net\/en\/#\/schema\/person\/3839560932bba6035804db55523327fd","name":"movingitadm","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.moving-it.net\/en\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/7ed72a19e1e597cc5a168acdef5341e2?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7ed72a19e1e597cc5a168acdef5341e2?s=96&d=mm&r=g","caption":"movingitadm"}}]}},"multi-rating":{"mr_rating_results":[]},"_links":{"self":[{"href":"https:\/\/www.moving-it.net\/en\/wp-json\/wp\/v2\/posts\/633","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.moving-it.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.moving-it.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.moving-it.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.moving-it.net\/en\/wp-json\/wp\/v2\/comments?post=633"}],"version-history":[{"count":1,"href":"https:\/\/www.moving-it.net\/en\/wp-json\/wp\/v2\/posts\/633\/revisions"}],"predecessor-version":[{"id":657,"href":"https:\/\/www.moving-it.net\/en\/wp-json\/wp\/v2\/posts\/633\/revisions\/657"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.moving-it.net\/en\/wp-json\/wp\/v2\/media\/1016"}],"wp:attachment":[{"href":"https:\/\/www.moving-it.net\/en\/wp-json\/wp\/v2\/media?parent=633"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.moving-it.net\/en\/wp-json\/wp\/v2\/categories?post=633"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.moving-it.net\/en\/wp-json\/wp\/v2\/tags?post=633"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}