{"id":713,"date":"2021-03-22T08:24:37","date_gmt":"2021-03-22T14:24:37","guid":{"rendered":"http:\/\/jmcristobal.com.mx\/?p=713"},"modified":"2022-02-13T00:58:29","modified_gmt":"2022-02-13T08:58:29","slug":"stp-metodos-de-optimizacion","status":"publish","type":"post","link":"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/2021\/03\/22\/stp-metodos-de-optimizacion\/","title":{"rendered":"STP: M\u00e9todos de optimizaci\u00f3n"},"content":{"rendered":"<p>Algunos m\u00e9todos adicionales permiten una convergencia de STP m\u00e1s r\u00e1pida si ocurre una falla en el enlace.<\/p>\n<h4>Portfast<\/h4>\n<p>Permite r\u00e1pida conectividad en los puertos pasando de manera inmediata al estado Forwarding, sin necesidad de pasar por listening y learning. Se utiliza con dispositivos finales  y con otros dispositivos que no participen en processos de Spanning-tree. Tener cuidado con el comando debido a que puede ocasionar loops y causar cat\u00e1strofes con la red cuando un puerto configurado con portfast se conecta a otro switch o bridge.<\/p>\n<p>Se configura dentro de los puertos:<\/p>\n<pre class=\"height-set:true height:900 width-set:true width:750 top-set:false top-margin:25 bottom-set:false left-margin:25 toolbar:2 whitespace-before:1 whitespace-after:1 lang:sh decode:true\">Switch(config-if)# spanning-tree portfast<\/pre>\n<p>Desde configuraci\u00f3n global el comando siguiente asigna portfast a todos los comandos que est\u00e1n en modo de acceso<\/p>\n<pre class=\"height-set:true height:900 width-set:true width:750 top-set:false top-margin:25 bottom-set:false left-margin:25 toolbar:2 whitespace-before:1 whitespace-after:1 lang:sh decode:true\">Switch(config)# spanning-tree portafast default<\/pre>\n<p>El siguiente comando adicional es una macro que coloca interfaz en modo access, habilita el portfast y deshabilita etherchannel<\/p>\n<pre class=\"height-set:true height:900 width-set:true width:750 top-set:false top-margin:25 bottom-set:false left-margin:25 toolbar:2 whitespace-before:1 whitespace-after:1 lang:sh decode:true\">Switch(config-if)# switchport host<\/pre>\n<p>Podemos visualizar el estado actual de PortFast con el siguiente comando:<\/p>\n<pre class=\"height-set:true height:900 width-set:true width:750 top-set:false top-margin:25 bottom-set:false left-margin:25 toolbar:2 whitespace-before:1 whitespace-after:1 lang:sh decode:true\">Switch# show spanning-tree interface type member\/module\/number portfast<\/pre>\n<h4>UplinkFast<\/h4>\n<p>Permite una convergencia r\u00e1pida de un puerto que estaba bloqueado a root, si se detecta una falla f\u00edsica en el puerto root. Es decir, cuando el enlace ascendente del root port primario falla, otro enlace ascendente bloqueado se puede abrir inmediatamente para su uso, evitando la espera de los 50 segundos que utiliza STP para poner un puerto en el estado forwarding.<\/p>\n<p>Si se tiene m\u00e1s de un puerto bloqueado candidato para ser el root port, uplinkfast escoge el puerto con el mejor costo hacia el root bridge.<\/p>\n<p>La canfiguraci\u00f3n de uplinkfast es global para todo el switch y todas las vlans:<\/p>\n<pre class=\"height-set:true height:900 width-set:true width:750 top-set:false top-margin:25 bottom-set:false left-margin:25 toolbar:2 whitespace-before:1 whitespace-after:1 lang:sh decode:true\">Switch(config)# spanning-tree uplinkfast [max-update-rate pkts-per-second]<\/pre>\n<p>El comando o la funci\u00f3n uplinkfast no est\u00e1 permitida en el root bridge. Recomendado para usar en la capa de acceso ya que eleve la prioridad a  49,152, por lo que es poco probable que el switch sea elegido como root bridge. El path cost de todos los puertos del switch local se incrementa en 3000, lo que hace que los puertos sean indeseables como rutas hacia la root bridge de cualquier switch de flujo descendente.<\/p>\n<p>Comando de verificaci\u00f3n:<\/p>\n<pre class=\"height-set:true height:900 width-set:true width:750 top-set:false top-margin:25 bottom-set:false left-margin:25 toolbar:2 whitespace-before:1 whitespace-after:1 lang:sh decode:true\">Switch# show spanning-tree uplinkfast<\/pre>\n<h4>BackboneFast<\/h4>\n<p>Permite una convergencia r\u00e1pida en un puerto que est\u00e1 bloqueando y que debe de pasar a forwarding debido a una falla en el puerto root de un vecino. Ahorra los 20 segundos de hold time y se va directo a listening y despues learning. Acortando de 50 segundos a 30 segundos la convergencia.<\/p>\n<pre class=\"height-set:true height:900 width-set:true width:750 top-set:false top-margin:25 bottom-set:false left-margin:25 toolbar:2 whitespace-before:1 whitespace-after:1 lang:sh decode:true\">Switch(config)# spanning-tree backbonefast<\/pre>\n<p>Cuando se utiliza BackboneFast debe habilitarse en todos los switches de la red porque BackboneFast requiere el uso del mecanismo de solicitud y respuesta de RLQ (Root Link Query) para informar a los switches de la estabilidad de la ruta ra\u00edz. El protocolo RLQ est\u00e1 activo solo cuando BackboneFast est\u00e1 habilitado en un switch. Por defecto, BackboneFast est\u00e1 deshabilitado.<\/p>\n<p>Verificar Backbone Fast:<\/p>\n<pre class=\"height-set:true height:900 width-set:true width:750 top-set:false top-margin:25 bottom-set:false left-margin:25 toolbar:2 whitespace-before:1 whitespace-after:1 lang:sh decode:true\">Switch# show spanning-tree backbonefast\n\u00a0 BackboneFast is enabled\n\nSwitch#<\/pre>\n<p>!<\/p>","protected":false},"excerpt":{"rendered":"<p>Some additional methods allow faster STP convergence if a link failure occurs. Portfast Allows fast connectivity on ports by immediately switching to <\/p>","protected":false},"author":2,"featured_media":1392,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[233],"tags":[479,280,381,422,457,427,478],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.13 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>STP: Optimization methods - JMCristobal<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/jmcristobal.com\/es\/2021\/03\/22\/stp-metodos-de-optimizacion\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"STP: Optimization methods - JMCristobal\" \/>\n<meta property=\"og:description\" content=\"Some additional methods allow faster STP convergence if a link failure occurs. Portfast Allows fast connectivity on ports by immediately switching to\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jmcristobal.com\/es\/2021\/03\/22\/stp-metodos-de-optimizacion\/\" \/>\n<meta property=\"og:site_name\" content=\"JMCristobal\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/web.facebook.com\/JMCristobalHomepage\" \/>\n<meta property=\"article:published_time\" content=\"2021-03-22T14:24:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-02-13T08:58:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/jmcristobal.com\/wp-content\/uploads\/2022\/01\/RS.png\" \/>\n\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t<meta property=\"og:image:height\" content=\"206\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"JMCristobal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@jmcristobalhome\" \/>\n<meta name=\"twitter:site\" content=\"@jmcristobalhome\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"JMCristobal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/jmcristobal.com\/es\/2021\/03\/22\/stp-metodos-de-optimizacion\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/jmcristobal.com\/es\/2021\/03\/22\/stp-metodos-de-optimizacion\/\"},\"author\":{\"name\":\"JMCristobal\",\"@id\":\"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/#\/schema\/person\/e7cca8371cd491cf444cc824f30ae118\"},\"headline\":\"STP: Optimization methods\",\"datePublished\":\"2021-03-22T14:24:37+00:00\",\"dateModified\":\"2022-02-13T08:58:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/jmcristobal.com\/es\/2021\/03\/22\/stp-metodos-de-optimizacion\/\"},\"wordCount\":397,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/#organization\"},\"keywords\":[\"backbonefast\",\"cisco\",\"portfast\",\"spanning-tree\",\"stp\",\"switch\",\"uplinkfast\"],\"articleSection\":[\"Enterprise Infrastructure\"],\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/jmcristobal.com\/es\/2021\/03\/22\/stp-metodos-de-optimizacion\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/jmcristobal.com\/es\/2021\/03\/22\/stp-metodos-de-optimizacion\/\",\"url\":\"https:\/\/jmcristobal.com\/es\/2021\/03\/22\/stp-metodos-de-optimizacion\/\",\"name\":\"STP: Optimization methods - JMCristobal\",\"isPartOf\":{\"@id\":\"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/#website\"},\"datePublished\":\"2021-03-22T14:24:37+00:00\",\"dateModified\":\"2022-02-13T08:58:29+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/jmcristobal.com\/es\/2021\/03\/22\/stp-metodos-de-optimizacion\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/jmcristobal.com\/es\/2021\/03\/22\/stp-metodos-de-optimizacion\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/jmcristobal.com\/es\/2021\/03\/22\/stp-metodos-de-optimizacion\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"STP: Optimization methods\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/#website\",\"url\":\"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/\",\"name\":\"JMCristobal\",\"description\":\"Networking and more\",\"publisher\":{\"@id\":\"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"es\"},{\"@type\":\"Organization\",\"@id\":\"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/#organization\",\"name\":\"JMCristobal\",\"url\":\"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/jmcristobal.com\/wp-content\/uploads\/2021\/09\/Logo-JMCristobal.png\",\"contentUrl\":\"https:\/\/jmcristobal.com\/wp-content\/uploads\/2021\/09\/Logo-JMCristobal.png\",\"width\":518,\"height\":436,\"caption\":\"JMCristobal\"},\"image\":{\"@id\":\"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.youtube.com\/JMCristobalHomepage\",\"https:\/\/web.facebook.com\/JMCristobalHomepage\",\"https:\/\/twitter.com\/jmcristobalhome\"]},{\"@type\":\"Person\",\"@id\":\"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/#\/schema\/person\/e7cca8371cd491cf444cc824f30ae118\",\"name\":\"JMCristobal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/2.gravatar.com\/avatar\/b549739a2a57394801aef27a76efdb3d?s=96&d=mm&r=g\",\"contentUrl\":\"http:\/\/2.gravatar.com\/avatar\/b549739a2a57394801aef27a76efdb3d?s=96&d=mm&r=g\",\"caption\":\"JMCristobal\"},\"url\":\"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/author\/jmcristobal\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"STP: Optimization methods - JMCristobal","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:\/\/jmcristobal.com\/es\/2021\/03\/22\/stp-metodos-de-optimizacion\/","og_locale":"es_ES","og_type":"article","og_title":"STP: Optimization methods - JMCristobal","og_description":"Some additional methods allow faster STP convergence if a link failure occurs. Portfast Allows fast connectivity on ports by immediately switching to","og_url":"https:\/\/jmcristobal.com\/es\/2021\/03\/22\/stp-metodos-de-optimizacion\/","og_site_name":"JMCristobal","article_publisher":"https:\/\/web.facebook.com\/JMCristobalHomepage","article_published_time":"2021-03-22T14:24:37+00:00","article_modified_time":"2022-02-13T08:58:29+00:00","og_image":[{"width":350,"height":206,"url":"https:\/\/jmcristobal.com\/wp-content\/uploads\/2022\/01\/RS.png","type":"image\/png"}],"author":"JMCristobal","twitter_card":"summary_large_image","twitter_creator":"@jmcristobalhome","twitter_site":"@jmcristobalhome","twitter_misc":{"Escrito por":"JMCristobal","Tiempo de lectura":"2 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/jmcristobal.com\/es\/2021\/03\/22\/stp-metodos-de-optimizacion\/#article","isPartOf":{"@id":"https:\/\/jmcristobal.com\/es\/2021\/03\/22\/stp-metodos-de-optimizacion\/"},"author":{"name":"JMCristobal","@id":"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/#\/schema\/person\/e7cca8371cd491cf444cc824f30ae118"},"headline":"STP: Optimization methods","datePublished":"2021-03-22T14:24:37+00:00","dateModified":"2022-02-13T08:58:29+00:00","mainEntityOfPage":{"@id":"https:\/\/jmcristobal.com\/es\/2021\/03\/22\/stp-metodos-de-optimizacion\/"},"wordCount":397,"commentCount":0,"publisher":{"@id":"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/#organization"},"keywords":["backbonefast","cisco","portfast","spanning-tree","stp","switch","uplinkfast"],"articleSection":["Enterprise Infrastructure"],"inLanguage":"es","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/jmcristobal.com\/es\/2021\/03\/22\/stp-metodos-de-optimizacion\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/jmcristobal.com\/es\/2021\/03\/22\/stp-metodos-de-optimizacion\/","url":"https:\/\/jmcristobal.com\/es\/2021\/03\/22\/stp-metodos-de-optimizacion\/","name":"STP: Optimization methods - JMCristobal","isPartOf":{"@id":"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/#website"},"datePublished":"2021-03-22T14:24:37+00:00","dateModified":"2022-02-13T08:58:29+00:00","breadcrumb":{"@id":"https:\/\/jmcristobal.com\/es\/2021\/03\/22\/stp-metodos-de-optimizacion\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jmcristobal.com\/es\/2021\/03\/22\/stp-metodos-de-optimizacion\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/jmcristobal.com\/es\/2021\/03\/22\/stp-metodos-de-optimizacion\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/"},{"@type":"ListItem","position":2,"name":"STP: Optimization methods"}]},{"@type":"WebSite","@id":"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/#website","url":"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/","name":"JMCristobal","description":"Networking and more","publisher":{"@id":"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"es"},{"@type":"Organization","@id":"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/#organization","name":"JMCristobal","url":"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/","logo":{"@type":"ImageObject","inLanguage":"es","@id":"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/#\/schema\/logo\/image\/","url":"https:\/\/jmcristobal.com\/wp-content\/uploads\/2021\/09\/Logo-JMCristobal.png","contentUrl":"https:\/\/jmcristobal.com\/wp-content\/uploads\/2021\/09\/Logo-JMCristobal.png","width":518,"height":436,"caption":"JMCristobal"},"image":{"@id":"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.youtube.com\/JMCristobalHomepage","https:\/\/web.facebook.com\/JMCristobalHomepage","https:\/\/twitter.com\/jmcristobalhome"]},{"@type":"Person","@id":"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/#\/schema\/person\/e7cca8371cd491cf444cc824f30ae118","name":"JMCristobal","image":{"@type":"ImageObject","inLanguage":"es","@id":"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/#\/schema\/person\/image\/","url":"http:\/\/2.gravatar.com\/avatar\/b549739a2a57394801aef27a76efdb3d?s=96&d=mm&r=g","contentUrl":"http:\/\/2.gravatar.com\/avatar\/b549739a2a57394801aef27a76efdb3d?s=96&d=mm&r=g","caption":"JMCristobal"},"url":"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/author\/jmcristobal\/"}]}},"jetpack_featured_media_url":"https:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/wp-content\/uploads\/2022\/01\/RS.png","_links":{"self":[{"href":"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/wp-json\/wp\/v2\/posts\/713"}],"collection":[{"href":"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/wp-json\/wp\/v2\/comments?post=713"}],"version-history":[{"count":4,"href":"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/wp-json\/wp\/v2\/posts\/713\/revisions"}],"predecessor-version":[{"id":1507,"href":"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/wp-json\/wp\/v2\/posts\/713\/revisions\/1507"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/wp-json\/wp\/v2\/media\/1392"}],"wp:attachment":[{"href":"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/wp-json\/wp\/v2\/media?parent=713"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/wp-json\/wp\/v2\/categories?post=713"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/wp-json\/wp\/v2\/tags?post=713"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}