{"id":3106,"date":"2025-11-20T07:00:00","date_gmt":"2025-11-20T07:00:00","guid":{"rendered":"https:\/\/myvlcsys.com\/?p=3106"},"modified":"2025-11-24T21:51:24","modified_gmt":"2025-11-24T21:51:24","slug":"cisco-labs-02-passwords-encriptations-y-salvado-de-configuracion","status":"publish","type":"post","link":"https:\/\/myvlcsys.com\/?p=3106","title":{"rendered":"Cisco Labs #02: Passwords, encriptations y salvado de configuraci\u00f3n."},"content":{"rendered":"\n<p>Bienvenido a <strong>myvlcsys<\/strong>, tu espacio de aprendizaje pr\u00e1ctico sobre redes y tecnolog\u00eda Cisco.<br>En este laboratorio exploraremos paso a paso c\u00f3mo <strong>proteger y administrar tus dispositivos de red<\/strong>, abordando configuraciones esenciales que todo administrador debe dominar.<\/p>\n\n\n\n<p>Aprender\u00e1s a:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Configurar contrase\u00f1as en switches Cisco<\/strong> para asegurar el acceso al dispositivo.<\/li><li><strong>Encriptar contrase\u00f1as<\/strong> utilizando los m\u00e9todos recomendados por Cisco para evitar que sean visibles en texto claro.<\/li><li><strong>Guardar y gestionar la configuraci\u00f3n<\/strong>, garantizando que los cambios se mantengan incluso despu\u00e9s de un reinicio.<\/li><\/ul>\n\n\n\n<p>Este laboratorio est\u00e1 dise\u00f1ado para ser claro, directo y totalmente pr\u00e1ctico, ideal para estudiantes, t\u00e9cnicos y entusiastas que desean reforzar sus conocimientos en administraci\u00f3n de redes.<\/p>\n\n\n\n<p><strong>Desarrollo del laboratorio:<\/strong><\/p>\n\n\n\n<p>Crearemos nuestro laboratorio en Cisco Packet Tracer con 1 pc y 1 switch 2960, y establecemos la conexi\u00f3n entre ambos con el cable \u00abConsole\u00bb por los puertos oportunos como ya explicamos en el articulo  <a href=\"Cisco: Primera Conexi\u00f3n. Mostrar mensaje de conexi\u00f3n.\" title=\"\"> \u00abCisco: Primera Conexi\u00f3n. Mostrar mensaje de conexi\u00f3n. \u00ab<\/a><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"804\" src=\"https:\/\/myvlcsys.com\/wp-content\/uploads\/2025\/11\/image-19-1024x804.png\" alt=\"\" class=\"wp-image-3111\" srcset=\"https:\/\/myvlcsys.com\/wp-content\/uploads\/2025\/11\/image-19-1024x804.png 1024w, https:\/\/myvlcsys.com\/wp-content\/uploads\/2025\/11\/image-19-300x236.png 300w, https:\/\/myvlcsys.com\/wp-content\/uploads\/2025\/11\/image-19-768x603.png 768w, https:\/\/myvlcsys.com\/wp-content\/uploads\/2025\/11\/image-19.png 1313w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption>Establecer conexi\u00f3n<\/figcaption><\/figure>\n<\/div>\n\n\n<p><strong>Establecer claves de acceso y configuraci\u00f3n:<\/strong><\/p>\n\n\n\n<p>Una vez hayamos establecido conexi\u00f3n en el modo consola estableceremos claves para el modo de conexi\u00f3n y modo de configuraci\u00f3n del nuestro switch, ejecutando los siguientes comando en la terminal:<\/p>\n\n\n\n<p class=\"has-white-color has-black-background-color has-text-color has-background\">Switch&gt;enable<br>Switch#configure terminal<br>Enter configuration commands, one per line. End with CNTL\/Z.<br>Switch(config)#line console 0<br>Switch(config-line)#password cisco123<br>Switch(config-line)#login<br>Switch(config-line)#exit<br>Switch(config)#enable secret cisco456<br>Switch(config)#<br>Switch#<br><\/p>\n\n\n\n<p>De tal forma hemos configurado el acceso a la conexi\u00f3n por con consola la password \u00abcisco123\u00bb con el comando <strong><em>line console 0 , password cisco123<\/em><\/strong>, y el acceso al modo de configuraci\u00f3n con la password \u00abcisco456\u00bb, con el comando <em><strong>enable secret cisco456<\/strong><\/em>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"772\" height=\"777\" src=\"https:\/\/myvlcsys.com\/wp-content\/uploads\/2025\/11\/image-20.png\" alt=\"\" class=\"wp-image-3113\" srcset=\"https:\/\/myvlcsys.com\/wp-content\/uploads\/2025\/11\/image-20.png 772w, https:\/\/myvlcsys.com\/wp-content\/uploads\/2025\/11\/image-20-298x300.png 298w, https:\/\/myvlcsys.com\/wp-content\/uploads\/2025\/11\/image-20-150x150.png 150w, https:\/\/myvlcsys.com\/wp-content\/uploads\/2025\/11\/image-20-768x773.png 768w\" sizes=\"(max-width: 772px) 100vw, 772px\" \/><\/figure>\n<\/div>\n\n\n<p><strong>Mostrar configuraci\u00f3n del switch<\/strong>:<\/p>\n\n\n\n<p>Para mostrar la configuraci\u00f3n del switch usaremos el comando \u00ab<strong><em>show running-config<\/em><\/strong>\u00ab, y podremos observar la contrase\u00f1a encriptada como observamos en la siguiente imagen, adem\u00e1s del resto de configuraciones que se hayan establecido en el switch.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"777\" height=\"795\" src=\"https:\/\/myvlcsys.com\/wp-content\/uploads\/2025\/11\/image-23.png\" alt=\"\" class=\"wp-image-3117\" srcset=\"https:\/\/myvlcsys.com\/wp-content\/uploads\/2025\/11\/image-23.png 777w, https:\/\/myvlcsys.com\/wp-content\/uploads\/2025\/11\/image-23-293x300.png 293w, https:\/\/myvlcsys.com\/wp-content\/uploads\/2025\/11\/image-23-768x786.png 768w\" sizes=\"(max-width: 777px) 100vw, 777px\" \/><\/figure>\n\n\n\n<p><strong>Guardar configuraci\u00f3n:<\/strong><\/p>\n\n\n\n<p>Para<strong> guardar la configuraci\u00f3n en memoria NO vol\u00e1til del switch<\/strong>, para no perder las configuraciones cuando el dispositivo se reinici\u00e9, tendremos que ejecutar el comando <em><strong>\u00abcopy running-config startup-config\u00bb <\/strong><\/em>. Con esto haremos que nunca pierda las configuraciones realizadas<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"767\" height=\"619\" src=\"https:\/\/myvlcsys.com\/wp-content\/uploads\/2025\/11\/image-24.png\" alt=\"\" class=\"wp-image-3118\" srcset=\"https:\/\/myvlcsys.com\/wp-content\/uploads\/2025\/11\/image-24.png 767w, https:\/\/myvlcsys.com\/wp-content\/uploads\/2025\/11\/image-24-300x242.png 300w\" sizes=\"(max-width: 767px) 100vw, 767px\" \/><\/figure>\n\n\n\n<p>De tal modo que si reiniciamos el switch con el comando \u00abreload\u00bb, podremos verificar todas las configuraciones, comprobando que nos solicita las credenciales, tanto de acceso y para elevar privilegios para configurar el dispositivo.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"766\" height=\"778\" src=\"https:\/\/myvlcsys.com\/wp-content\/uploads\/2025\/11\/image-28.png\" alt=\"\" class=\"wp-image-3131\" srcset=\"https:\/\/myvlcsys.com\/wp-content\/uploads\/2025\/11\/image-28.png 766w, https:\/\/myvlcsys.com\/wp-content\/uploads\/2025\/11\/image-28-295x300.png 295w\" sizes=\"(max-width: 766px) 100vw, 766px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Bienvenido a myvlcsys, tu espacio de aprendizaje pr\u00e1ctico sobre redes y tecnolog\u00eda Cisco.En este laboratorio exploraremos paso a paso c\u00f3mo proteger y administrar tus dispositivos de red, abordando configuraciones esenciales&hellip; <\/p>\n","protected":false},"author":4,"featured_media":3077,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[79,18],"tags":[77,78,47],"class_list":["post-3106","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cisco","category-redes","tag-cisco","tag-cisco-packet-tracer","tag-myvlcsys"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/myvlcsys.com\/index.php?rest_route=\/wp\/v2\/posts\/3106","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/myvlcsys.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/myvlcsys.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/myvlcsys.com\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/myvlcsys.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3106"}],"version-history":[{"count":17,"href":"https:\/\/myvlcsys.com\/index.php?rest_route=\/wp\/v2\/posts\/3106\/revisions"}],"predecessor-version":[{"id":3178,"href":"https:\/\/myvlcsys.com\/index.php?rest_route=\/wp\/v2\/posts\/3106\/revisions\/3178"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/myvlcsys.com\/index.php?rest_route=\/wp\/v2\/media\/3077"}],"wp:attachment":[{"href":"https:\/\/myvlcsys.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3106"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/myvlcsys.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3106"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/myvlcsys.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3106"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}