{"id":496,"date":"2017-06-27T16:13:47","date_gmt":"2017-06-27T22:13:47","guid":{"rendered":"http:\/\/jmcristobal.com.mx\/?p=496"},"modified":"2022-03-21T15:49:49","modified_gmt":"2022-03-21T22:49:49","slug":"comamnd-default-interface-cisco-ios","status":"publish","type":"post","link":"https:\/\/www.jmcristobal.com\/es\/2017\/06\/27\/comamnd-default-interface-cisco-ios\/","title":{"rendered":"Comando \u201cDefault interface\u201d \u2013 Cisco IOS"},"content":{"rendered":"<p>El comando \u201cdefault interface\u201d se utiliza para regresar una interfaz a su configuraci\u00f3n por default, su implementaci\u00f3n es en el modo de configuraci\u00f3n global y se especifica la interfaz a modificar.<\/p>\n\n\n\n<p>Es un comando muy \u00fatil cuando se trata de borrar la configuraci\u00f3n actual de la interfaz, nos evita estar negando cada uno de los comandos que existen en la interfaz. Los tipos de interfaz a restablecer depende de las interfaces que tiene cada dispositivo, este comando se puede utilizar tanto en switches, routers, firewalls, etc.<\/p>\n\n\n\n<p>Su sintaxis es la siguiente:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted has-small-font-size\">default <em>interface-type interface-number<\/em><\/pre>\n\n\n\n<p>Donde:<\/p>\n\n\n\n<ul><li><em>interface-type<\/em> depende de cada dispositivo, por ejemplo FastEthernet, GigabitEthernet, serial, loopback, atm, tunnel, etc.<\/li><li><em>interface-number<\/em> indica el n\u00famero de puerto de acuerdo al slot o posici\u00f3n, ejemplo 1\/0, 0\/1, 3\/22, 2\/0, etc.<\/li><\/ul>\n\n\n\n<p>Ejemplos:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted theme:plain-white height-set:true height:250 width-set:true toolbar:2 lang:sh decode:true has-small-font-size\">JMCristobalMX(config)#default interface fa0\/9\n Interface FastEthernet0\/9 set to default configuration\n\nJMCristobalMX(config)#default interface serial 2\/0\n Interface Serial2\/0 set to default configuration<\/pre>\n\n\n\n<p>Otro ejemplo, eliminar la configuraci\u00f3n actual del puerto GigabitEthernet 22, su configuraci\u00f3n es la siguiente:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted theme:plain-white height-set:true width-set:true width:400 toolbar:2 lang:sh decode:true has-small-font-size\">JMCristobalMX# sh run int g0\/22\n\nBuilding configuration...\n\nCurrent configuration : 189 bytes\n!\ninterface GigabitEthernet0\/22\ndescription \"Switch Cisco 2960 - IDF\"\nswitchport trunk encapsulation dot1q\nswitchport trunk allowed vlan 1,20,26-28,30\nswitchport mode trunk\nswitchport nonegotiate\nspeed 1000\nduplex full\nstorm-control broadcast level 10.00\nstorm-control multicast level 10.00\nstorm-control unicast level 40.00\nno cdp enable\nend<\/pre>\n\n\n\n<p>Para regresar el puerto a su configuraci\u00f3n por default es de la siguiente manera:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted theme:plain-white height-set:true width-set:true toolbar:2 lang:sh decode:true has-small-font-size\">JMCristobalMX(config)#default interface GigabitEthernet 0\/22 \nInterface GigabitEthernet0\/22 set to default configuration \nJMCristobalMX(config)#<\/pre>\n\n\n\n<p>Visualizamos nuevamente la interfaz desde el archivo de configuraci\u00f3n en ejecuci\u00f3n:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted theme:plain-white height-set:true width-set:true toolbar:2 lang:sh decode:true has-small-font-size\">JMCristobal(config)#do show run int g0\/22\n\nBuilding configuration...\n\nCurrent configuration : 37 bytes\n!\ninterface GigabitEthernet0\/22\nend\n\nJMCristobalMX(config)#<\/pre>\n\n\n\n<p>Como pueden observar es un comando demasiado \u00fatil para la administraci\u00f3n de puertos en un switch o router, adem\u00e1s se puede utilizar en conjunto con el comando \u201crange\u201d para modificar un rango o varios puertos a la vez, por ejemplo:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted theme:plain-white height-set:true width-set:true toolbar:2 lang:sh decode:true has-small-font-size\">JMCristobalMX(config)# default interface range GigabitEthernet 0\/5 - 12<\/pre>\n\n\n\n<p>Espero y te haya sido \u00fatil este art\u00edculo, saludos!!!<\/p>","protected":false},"excerpt":{"rendered":"<p>The &#8220;default interface&#8221; command is used to return an interface to its default configuration; its implementation is in global configuration mode, and <\/p>","protected":false},"author":2,"featured_media":1392,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[233],"tags":[280,281,286,296,335,340],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.13 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>&quot;Default interface&quot; command - Cisco IOS - 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:\/\/www.jmcristobal.com\/es\/2017\/06\/27\/comamnd-default-interface-cisco-ios\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"&quot;Default interface&quot; command - Cisco IOS - JMCristobal\" \/>\n<meta property=\"og:description\" content=\"The &#8220;default interface&#8221; command is used to return an interface to its default configuration; its implementation is in global configuration mode, and\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.jmcristobal.com\/es\/2017\/06\/27\/comamnd-default-interface-cisco-ios\/\" \/>\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=\"2017-06-27T22:13:47+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-03-21T22:49:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.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:\/\/www.jmcristobal.com\/es\/2017\/06\/27\/comamnd-default-interface-cisco-ios\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.jmcristobal.com\/es\/2017\/06\/27\/comamnd-default-interface-cisco-ios\/\"},\"author\":{\"name\":\"JMCristobal\",\"@id\":\"https:\/\/www.jmcristobal.com\/#\/schema\/person\/e7cca8371cd491cf444cc824f30ae118\"},\"headline\":\"&#8220;Default interface&#8221; command &#8211; Cisco IOS\",\"datePublished\":\"2017-06-27T22:13:47+00:00\",\"dateModified\":\"2022-03-21T22:49:49+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.jmcristobal.com\/es\/2017\/06\/27\/comamnd-default-interface-cisco-ios\/\"},\"wordCount\":210,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.jmcristobal.com\/#organization\"},\"keywords\":[\"cisco\",\"cli\",\"command\",\"default\",\"interface\",\"ios\"],\"articleSection\":[\"Enterprise Infrastructure\"],\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.jmcristobal.com\/es\/2017\/06\/27\/comamnd-default-interface-cisco-ios\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.jmcristobal.com\/es\/2017\/06\/27\/comamnd-default-interface-cisco-ios\/\",\"url\":\"https:\/\/www.jmcristobal.com\/es\/2017\/06\/27\/comamnd-default-interface-cisco-ios\/\",\"name\":\"\\\"Default interface\\\" command - Cisco IOS - JMCristobal\",\"isPartOf\":{\"@id\":\"https:\/\/www.jmcristobal.com\/#website\"},\"datePublished\":\"2017-06-27T22:13:47+00:00\",\"dateModified\":\"2022-03-21T22:49:49+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.jmcristobal.com\/es\/2017\/06\/27\/comamnd-default-interface-cisco-ios\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.jmcristobal.com\/es\/2017\/06\/27\/comamnd-default-interface-cisco-ios\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.jmcristobal.com\/es\/2017\/06\/27\/comamnd-default-interface-cisco-ios\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.jmcristobal.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"&#8220;Default interface&#8221; command &#8211; Cisco IOS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.jmcristobal.com\/#website\",\"url\":\"https:\/\/www.jmcristobal.com\/\",\"name\":\"JMCristobal\",\"description\":\"Networking and more\",\"publisher\":{\"@id\":\"https:\/\/www.jmcristobal.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.jmcristobal.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"es\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.jmcristobal.com\/#organization\",\"name\":\"JMCristobal\",\"url\":\"https:\/\/www.jmcristobal.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\/\/www.jmcristobal.com\/#\/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\":\"https:\/\/www.jmcristobal.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.youtube.com\/JMCristobalHomepage\",\"https:\/\/web.facebook.com\/JMCristobalHomepage\",\"https:\/\/twitter.com\/jmcristobalhome\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.jmcristobal.com\/#\/schema\/person\/e7cca8371cd491cf444cc824f30ae118\",\"name\":\"JMCristobal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\/\/www.jmcristobal.com\/#\/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:\/\/www.jmcristobal.com\/es\/author\/jmcristobal\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\"Default interface\" command - Cisco IOS - 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:\/\/www.jmcristobal.com\/es\/2017\/06\/27\/comamnd-default-interface-cisco-ios\/","og_locale":"es_ES","og_type":"article","og_title":"\"Default interface\" command - Cisco IOS - JMCristobal","og_description":"The &#8220;default interface&#8221; command is used to return an interface to its default configuration; its implementation is in global configuration mode, and","og_url":"https:\/\/www.jmcristobal.com\/es\/2017\/06\/27\/comamnd-default-interface-cisco-ios\/","og_site_name":"JMCristobal","article_publisher":"https:\/\/web.facebook.com\/JMCristobalHomepage","article_published_time":"2017-06-27T22:13:47+00:00","article_modified_time":"2022-03-21T22:49:49+00:00","og_image":[{"width":350,"height":206,"url":"https:\/\/www.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:\/\/www.jmcristobal.com\/es\/2017\/06\/27\/comamnd-default-interface-cisco-ios\/#article","isPartOf":{"@id":"https:\/\/www.jmcristobal.com\/es\/2017\/06\/27\/comamnd-default-interface-cisco-ios\/"},"author":{"name":"JMCristobal","@id":"https:\/\/www.jmcristobal.com\/#\/schema\/person\/e7cca8371cd491cf444cc824f30ae118"},"headline":"&#8220;Default interface&#8221; command &#8211; Cisco IOS","datePublished":"2017-06-27T22:13:47+00:00","dateModified":"2022-03-21T22:49:49+00:00","mainEntityOfPage":{"@id":"https:\/\/www.jmcristobal.com\/es\/2017\/06\/27\/comamnd-default-interface-cisco-ios\/"},"wordCount":210,"commentCount":0,"publisher":{"@id":"https:\/\/www.jmcristobal.com\/#organization"},"keywords":["cisco","cli","command","default","interface","ios"],"articleSection":["Enterprise Infrastructure"],"inLanguage":"es","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.jmcristobal.com\/es\/2017\/06\/27\/comamnd-default-interface-cisco-ios\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.jmcristobal.com\/es\/2017\/06\/27\/comamnd-default-interface-cisco-ios\/","url":"https:\/\/www.jmcristobal.com\/es\/2017\/06\/27\/comamnd-default-interface-cisco-ios\/","name":"\"Default interface\" command - Cisco IOS - JMCristobal","isPartOf":{"@id":"https:\/\/www.jmcristobal.com\/#website"},"datePublished":"2017-06-27T22:13:47+00:00","dateModified":"2022-03-21T22:49:49+00:00","breadcrumb":{"@id":"https:\/\/www.jmcristobal.com\/es\/2017\/06\/27\/comamnd-default-interface-cisco-ios\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.jmcristobal.com\/es\/2017\/06\/27\/comamnd-default-interface-cisco-ios\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.jmcristobal.com\/es\/2017\/06\/27\/comamnd-default-interface-cisco-ios\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.jmcristobal.com\/"},{"@type":"ListItem","position":2,"name":"&#8220;Default interface&#8221; command &#8211; Cisco IOS"}]},{"@type":"WebSite","@id":"https:\/\/www.jmcristobal.com\/#website","url":"https:\/\/www.jmcristobal.com\/","name":"JMCristobal","description":"Networking and more","publisher":{"@id":"https:\/\/www.jmcristobal.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.jmcristobal.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"es"},{"@type":"Organization","@id":"https:\/\/www.jmcristobal.com\/#organization","name":"JMCristobal","url":"https:\/\/www.jmcristobal.com\/","logo":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/www.jmcristobal.com\/#\/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":"https:\/\/www.jmcristobal.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.youtube.com\/JMCristobalHomepage","https:\/\/web.facebook.com\/JMCristobalHomepage","https:\/\/twitter.com\/jmcristobalhome"]},{"@type":"Person","@id":"https:\/\/www.jmcristobal.com\/#\/schema\/person\/e7cca8371cd491cf444cc824f30ae118","name":"JMCristobal","image":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/www.jmcristobal.com\/#\/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:\/\/www.jmcristobal.com\/es\/author\/jmcristobal\/"}]}},"jetpack_featured_media_url":"https:\/\/www.jmcristobal.com\/wp-content\/uploads\/2022\/01\/RS.png","_links":{"self":[{"href":"https:\/\/www.jmcristobal.com\/es\/wp-json\/wp\/v2\/posts\/496"}],"collection":[{"href":"https:\/\/www.jmcristobal.com\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jmcristobal.com\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jmcristobal.com\/es\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jmcristobal.com\/es\/wp-json\/wp\/v2\/comments?post=496"}],"version-history":[{"count":4,"href":"https:\/\/www.jmcristobal.com\/es\/wp-json\/wp\/v2\/posts\/496\/revisions"}],"predecessor-version":[{"id":1728,"href":"https:\/\/www.jmcristobal.com\/es\/wp-json\/wp\/v2\/posts\/496\/revisions\/1728"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.jmcristobal.com\/es\/wp-json\/wp\/v2\/media\/1392"}],"wp:attachment":[{"href":"https:\/\/www.jmcristobal.com\/es\/wp-json\/wp\/v2\/media?parent=496"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jmcristobal.com\/es\/wp-json\/wp\/v2\/categories?post=496"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jmcristobal.com\/es\/wp-json\/wp\/v2\/tags?post=496"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}