{"id":564,"date":"2021-01-14T08:09:29","date_gmt":"2021-01-14T14:09:29","guid":{"rendered":"http:\/\/jmcristobal.com.mx\/?p=564"},"modified":"2022-02-07T22:34:05","modified_gmt":"2022-02-08T06:34:05","slug":"lldp","status":"publish","type":"post","link":"https:\/\/d1gdqjscev06po.cloudfront.net\/es\/2021\/01\/14\/lldp\/","title":{"rendered":"LLDP &#8211; Link Layer Discovery Protocol"},"content":{"rendered":"<p lang=\"es-MX\">LLDP es similar al protocolo CDP, pero se basa en el est\u00e1ndar IEEE 802.1ab. La gran ventaja de LLDP es que funciona en redes de m\u00faltiples fabricantes.<\/p>\n<p lang=\"es-MX\">El intercambio de informaci\u00f3n se realiza a trav\u00e9s de multiples TLV (Type-Length-Value). Se env\u00eda un TLV para el nombre del sistema, otro para su direcci\u00f3n de gesti\u00f3n, uno m\u00e1s para la descripci\u00f3n del puerto y as\u00ed sucesivamente. Al final el anuncio completo LLDP se convierte en una cadena de varios TLV.<\/p>\n<p lang=\"es-MX\">Cada frame enviado contiene un LLDP Data Unit (LLDPDU)<\/p>\n<p lang=\"es-MX\">Por default LLDP no est\u00e1 habilitado en los switches cisco, para habilitarlo utilizamos el siguiente comando:<\/p>\n<pre class=\"height-set:true height:700 width-set:true width:700 top-margin:25 left-set:true left-margin:25 toolbar:2 lang:sh decode:true\">Switch(config)# lldp run\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0   Enables LLDP globally on device.\nSwitch(config)# no lldp run\u00a0\u00a0 \u00a0\u00a0\u00a0 \u00a0Disables LLDP globally on device.<\/pre>\n<p>LLDP soporta tres diferentes modos de operaci\u00f3n que se configuran a nivel de interfaz:<\/p>\n<p><span lang=\"es-MX\">1. Transmit only <\/span><span lang=\"x-none\">\u2013<\/span><span lang=\"es-MX\"> Solo env\u00eda paquetes LLDP y los que recibe los descarta.<br \/>\n<\/span>2. Receive only \u2013 Solo procesa los paquetes LLDP que recibe, no env\u00eda paquetes LLDP  a su vecino.<br \/>\n3. Both transmit and receive \u2013 Guarda la informaci\u00f3n de los paquetes recibidos y env\u00eda anuncios LLDP a sus vecinos.<\/p>\n<p lang=\"es-MX\">Por default env\u00eda y recibe paquetes LLDP, si se desea modificar los modos de operaci\u00f3n en las interfaces utilicemos los siguienters comandos:<\/p>\n<pre class=\"height-set:true height:700 width-set:true width:700 top-margin:25 left-set:true left-margin:25 toolbar:2 lang:sh decode:true\">(config-if)# lldp {receive | transmit}\n!\n(config-if)# no lldp {receive | transmit}<\/pre>\n<p lang=\"es-MX\">LLDP Timers:<\/p>\n<ul type=\"disc\">\n<li lang=\"es-MX\">Hold time: - Es la duraci\u00f3n que el switch mantendr\u00e1 la informaci\u00f3n del vecino, por default son 120 segundos, si despu\u00e9s de 120 segundos el switch no recibe un paquete LLDP la informaci\u00f3n se elimina.<\/li>\n<li><span lang=\"es-MX\">LLDP Packet Frequency timer: <\/span><span lang=\"x-none\">\u2013<\/span><span lang=\"es-MX\"> Intervalo de tiempo en que el dispositivo env\u00eda paquetes LLDP a sus vecinos, por default son 30 esgundos<\/span><\/li>\n<li><span lang=\"es-MX\">Reinit time: <\/span><span lang=\"x-none\">\u2013<\/span><span lang=\"es-MX\"> Tiempo de retardo en segundos para que LLDP se inicialice en cualquier interfaz. El valor predeterminado es 2 segundos.<\/span><\/li>\n<\/ul>\n<pre class=\"height-set:true height:700 width-set:true width:700 top-margin:25 left-set:true left-margin:25 toolbar:2 lang:sh decode:true\">(config)# lldp holdtime &lt;seconds&gt;\u00a0\u00a0 \n!\n(config)# lldp timer &lt;seconds&gt;\u00a0\u00a0\u00a0 \n!\n(config)# lldp reinit &lt;seconds&gt;<\/pre>\n<p lang=\"es-MX\">Una vez que LLDP est\u00e1 habilitado, los anuncios se env\u00edan y reciben en cada interfaz del switch<\/p>\n<p lang=\"es-MX\">A continuaci\u00f3n se muestran comandos de verificaci\u00f3n LLDP:<\/p>\n<pre class=\"height-set:true height:700 width-set:true width:700 top-margin:25 left-set:true left-margin:25 toolbar:2 lang:sh decode:true\">clear lldp counters\n!\nclear lldp table\n!\nshow lldp\n!\nshow lldp entry &lt;* | entry-name&gt;\n!\nshow lldp interface [interface-id]\n!\nshow lldp neighbors [interface-id] [detail]\n!\nshow lldp traffic<\/pre>\n<p>For more information visit:<\/p>\n<p><a href=\"https:\/\/www.cisco.com\/c\/en\/us\/td\/docs\/switches\/lan\/catalyst3750x_3560x\/software\/release\/15-2_4_e\/configurationguide\/b_1524e_consolidated_3750x_3560x_cg\/b_1524e_consolidated_3750x_3560x_cg_chapter_010011.html\">https:\/\/www.cisco.com\/c\/en\/us\/td\/docs\/switches\/lan\/catalyst3750x_3560x\/software\/release\/15-2_4_e\/configurationguide\/b_1524e_consolidated_3750x_3560x_cg\/b_1524e_consolidated_3750x_3560x_cg_chapter_010011.html<\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>LLDP is similar to the CDP protocol but is based on the IEEE 802.1ab standard. The great advantage of LLDP is that <\/p>","protected":false},"author":2,"featured_media":1392,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[233],"tags":[280,496,495,494,462,427],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.13 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>LLDP - Link Layer Discovery Protocol - 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:\/\/d1gdqjscev06po.cloudfront.net\/es\/2021\/01\/14\/lldp\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"LLDP - Link Layer Discovery Protocol - JMCristobal\" \/>\n<meta property=\"og:description\" content=\"LLDP is similar to the CDP protocol but is based on the IEEE 802.1ab standard. The great advantage of LLDP is that\" \/>\n<meta property=\"og:url\" content=\"https:\/\/d1gdqjscev06po.cloudfront.net\/es\/2021\/01\/14\/lldp\/\" \/>\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-01-14T14:09:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-02-08T06:34:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/d1gdqjscev06po.cloudfront.net\/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:\/\/d1gdqjscev06po.cloudfront.net\/es\/2021\/01\/14\/lldp\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/d1gdqjscev06po.cloudfront.net\/es\/2021\/01\/14\/lldp\/\"},\"author\":{\"name\":\"JMCristobal\",\"@id\":\"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/#\/schema\/person\/e7cca8371cd491cf444cc824f30ae118\"},\"headline\":\"LLDP &#8211; Link Layer Discovery Protocol\",\"datePublished\":\"2021-01-14T14:09:29+00:00\",\"dateModified\":\"2022-02-08T06:34:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/d1gdqjscev06po.cloudfront.net\/es\/2021\/01\/14\/lldp\/\"},\"wordCount\":314,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/#organization\"},\"keywords\":[\"cisco\",\"discovery\",\"layer\",\"link\",\"protocol\",\"switch\"],\"articleSection\":[\"Enterprise Infrastructure\"],\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/d1gdqjscev06po.cloudfront.net\/es\/2021\/01\/14\/lldp\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/d1gdqjscev06po.cloudfront.net\/es\/2021\/01\/14\/lldp\/\",\"url\":\"https:\/\/d1gdqjscev06po.cloudfront.net\/es\/2021\/01\/14\/lldp\/\",\"name\":\"LLDP - Link Layer Discovery Protocol - JMCristobal\",\"isPartOf\":{\"@id\":\"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/#website\"},\"datePublished\":\"2021-01-14T14:09:29+00:00\",\"dateModified\":\"2022-02-08T06:34:05+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/d1gdqjscev06po.cloudfront.net\/es\/2021\/01\/14\/lldp\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/d1gdqjscev06po.cloudfront.net\/es\/2021\/01\/14\/lldp\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/d1gdqjscev06po.cloudfront.net\/es\/2021\/01\/14\/lldp\/#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\":\"LLDP &#8211; Link Layer Discovery Protocol\"}]},{\"@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\":\"https:\/\/secure.gravatar.com\/avatar\/b549739a2a57394801aef27a76efdb3d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b549739a2a57394801aef27a76efdb3d?s=96&d=mm&r=g\",\"caption\":\"JMCristobal\"},\"url\":\"https:\/\/d1gdqjscev06po.cloudfront.net\/es\/author\/jmcristobal\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"LLDP - Link Layer Discovery Protocol - 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:\/\/d1gdqjscev06po.cloudfront.net\/es\/2021\/01\/14\/lldp\/","og_locale":"es_ES","og_type":"article","og_title":"LLDP - Link Layer Discovery Protocol - JMCristobal","og_description":"LLDP is similar to the CDP protocol but is based on the IEEE 802.1ab standard. The great advantage of LLDP is that","og_url":"https:\/\/d1gdqjscev06po.cloudfront.net\/es\/2021\/01\/14\/lldp\/","og_site_name":"JMCristobal","article_publisher":"https:\/\/web.facebook.com\/JMCristobalHomepage","article_published_time":"2021-01-14T14:09:29+00:00","article_modified_time":"2022-02-08T06:34:05+00:00","og_image":[{"width":350,"height":206,"url":"https:\/\/d1gdqjscev06po.cloudfront.net\/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:\/\/d1gdqjscev06po.cloudfront.net\/es\/2021\/01\/14\/lldp\/#article","isPartOf":{"@id":"https:\/\/d1gdqjscev06po.cloudfront.net\/es\/2021\/01\/14\/lldp\/"},"author":{"name":"JMCristobal","@id":"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/#\/schema\/person\/e7cca8371cd491cf444cc824f30ae118"},"headline":"LLDP &#8211; Link Layer Discovery Protocol","datePublished":"2021-01-14T14:09:29+00:00","dateModified":"2022-02-08T06:34:05+00:00","mainEntityOfPage":{"@id":"https:\/\/d1gdqjscev06po.cloudfront.net\/es\/2021\/01\/14\/lldp\/"},"wordCount":314,"commentCount":0,"publisher":{"@id":"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/#organization"},"keywords":["cisco","discovery","layer","link","protocol","switch"],"articleSection":["Enterprise Infrastructure"],"inLanguage":"es","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/d1gdqjscev06po.cloudfront.net\/es\/2021\/01\/14\/lldp\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/d1gdqjscev06po.cloudfront.net\/es\/2021\/01\/14\/lldp\/","url":"https:\/\/d1gdqjscev06po.cloudfront.net\/es\/2021\/01\/14\/lldp\/","name":"LLDP - Link Layer Discovery Protocol - JMCristobal","isPartOf":{"@id":"http:\/\/ec2-52-7-70-250.compute-1.amazonaws.com\/es\/#website"},"datePublished":"2021-01-14T14:09:29+00:00","dateModified":"2022-02-08T06:34:05+00:00","breadcrumb":{"@id":"https:\/\/d1gdqjscev06po.cloudfront.net\/es\/2021\/01\/14\/lldp\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/d1gdqjscev06po.cloudfront.net\/es\/2021\/01\/14\/lldp\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/d1gdqjscev06po.cloudfront.net\/es\/2021\/01\/14\/lldp\/#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":"LLDP &#8211; Link Layer Discovery Protocol"}]},{"@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":"https:\/\/secure.gravatar.com\/avatar\/b549739a2a57394801aef27a76efdb3d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b549739a2a57394801aef27a76efdb3d?s=96&d=mm&r=g","caption":"JMCristobal"},"url":"https:\/\/d1gdqjscev06po.cloudfront.net\/es\/author\/jmcristobal\/"}]}},"jetpack_featured_media_url":"https:\/\/d1gdqjscev06po.cloudfront.net\/wp-content\/uploads\/2022\/01\/RS.png","_links":{"self":[{"href":"https:\/\/d1gdqjscev06po.cloudfront.net\/es\/wp-json\/wp\/v2\/posts\/564"}],"collection":[{"href":"https:\/\/d1gdqjscev06po.cloudfront.net\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/d1gdqjscev06po.cloudfront.net\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/d1gdqjscev06po.cloudfront.net\/es\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/d1gdqjscev06po.cloudfront.net\/es\/wp-json\/wp\/v2\/comments?post=564"}],"version-history":[{"count":5,"href":"https:\/\/d1gdqjscev06po.cloudfront.net\/es\/wp-json\/wp\/v2\/posts\/564\/revisions"}],"predecessor-version":[{"id":1487,"href":"https:\/\/d1gdqjscev06po.cloudfront.net\/es\/wp-json\/wp\/v2\/posts\/564\/revisions\/1487"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/d1gdqjscev06po.cloudfront.net\/es\/wp-json\/wp\/v2\/media\/1392"}],"wp:attachment":[{"href":"https:\/\/d1gdqjscev06po.cloudfront.net\/es\/wp-json\/wp\/v2\/media?parent=564"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/d1gdqjscev06po.cloudfront.net\/es\/wp-json\/wp\/v2\/categories?post=564"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/d1gdqjscev06po.cloudfront.net\/es\/wp-json\/wp\/v2\/tags?post=564"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}