{"id":1245,"date":"2018-07-31T14:31:40","date_gmt":"2018-07-31T07:31:40","guid":{"rendered":"https:\/\/lagonet.vn\/?p=1245"},"modified":"2018-07-31T14:31:40","modified_gmt":"2018-07-31T07:31:40","slug":"cach-upgrade-recovery-cisco-ios-tren-switch-cisco-catalyst","status":"publish","type":"post","link":"https:\/\/kb.lagonet.vn\/?p=1245","title":{"rendered":"C\u00c1CH UPGRADE \/ RECOVERY CISCO IOS TR\u00caN SWITCH CISCO CATALYST"},"content":{"rendered":"<pre>SW65-reserved#archive download-sw \/overwrite tftp:\/\/10.0.32.201\/c2960x-universalk9-tar.152-6.E.tar\nLoading c2960x-universalk9-tar.152-6.E.tar from 10.0.32.201 (via Vlan777): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n[OK - 36003840 bytes]\n\nLoading c2960x-universalk9-tar.152-6.E.tar from 10.0.32.201 (via Vlan777): !!!!!!!!!!!!O!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\nexamining image...\nextracting info (109 bytes)\nextracting c2960x-universalk9-mz.152-6.E\/info (685 bytes)\nextracting info (109 bytes)\n\nStacking Version Number: 1.119\n\nSystem Type:             0x00000000\n  Ios Image File Size:   0x01950200\n  Total Image File Size: 0x02253A00\n  Minimum Dram required: 0x08000000\n  Image Suffix:          universalk9-152-6.E\n  Image Directory:       c2960x-universalk9-mz.152-6.E\n  Image Name:            c2960x-universalk9-mz.152-6.E.bin\n  Image Feature:         IP|LAYER_2|SSH|3DES|MIN_DRAM_MEG=128\n  FRU Module Version:    No FRU Version Specified\n\nOld image for switch 1: flash:\/c2960x-universalk9-mz.152-2.E7\n  Old image will be deleted before download.\n\nDeleting `flash:\/c2960x-universalk9-mz.152-2.E7' to create required space\nExtracting images from archive into flash...\n\nWarning: Unable to allocate memory to display the tar extraction of files,\n         however upgrade process is still continuing. If you would like to\n         see the tar extraction output, try upgrading one switch at a time.\n\nInstalling (renaming): `flash:update\/c2960x-universalk9-mz.152-6.E' -&gt;\n                                       `flash:\/c2960x-universalk9-mz.152-6.E'\nEDS file download on SKU match in progress...\n\nNew software image installed in flash:\/c2960x-universalk9-mz.152-6.E\n\n\n\nDeleting old files from dc profile dir \"flash:\/dc_profile_dir\"\n\nextracting dc profile file from \"flash:\/c2960x-universalk9-mz.152-6.E\/dc_default_profiles.txt\" to \"flash:\/dc_profile_dir\/dc_default_profiles.txt\"\nAll software images installed.\nSW65-reserved#\n<\/pre>\n<p>Sau \u0111\u00f3 check l\u1ea1i xem boot file \u0111\u00e3 \u0103n ch\u01b0a r\u1ed3i reload<\/p>\n<pre>SW65-reserved#show boot\nBOOT path-list      : flash:\/c2960x-universalk9-mz.152-6.E\/c2960x-universalk9-mz.152-6.E.bin\nConfig file         : flash:\/config.text\nPrivate Config file : flash:\/private-config.text\nEnable Break        : yes\nManual Boot         : no\nAllow Dev Key         : yes\nHELPER path-list    :\nAuto upgrade        : yes\nAuto upgrade path   :\nNVRAM\/Config file\n      buffer size:   524288\nTimeout for Config\n          Download:    0 seconds\nConfig Download\n       via DHCP:       disabled (next boot: disabled)\nSW65-reserved#\nSW65-reserved#reload\n\nSystem configuration has been modified. Save? [yes\/no]: yes\nBuilding configuration...\n[OK]\nProceed with reload? [confirm]\n<\/pre>\n<p>OK, V\u1eady n\u1ebfu up xong, IOS kh\u00f4ng l\u00ean th\u00ec sao. Ch\u00fang ta ph\u1ea3i revert sang backup IOS b\u1eb1ng file .bin<\/p>\n<p>Th\u1ee7 t\u1ee5c nh\u01b0 sau:<\/p>\n<p>B1: R\u00fat \u0111i\u1ec7n c\u1ee7a switch<\/p>\n<p>B2: C\u1eafm \u0111i\u1ec7n c\u1ee7a switch \u0111\u1ed3ng th\u1eddi gi\u1eef n\u00fat MODE kho\u1ea3ng 30-40s khi n\u00f3 hi\u1ec7n<\/p>\n<pre>\nUSB Console INIT\n<\/pre>\n<p>th\u00ec nh\u1ea3 tay ra<br \/>\nti\u1ebfp t\u1ee5c g\u00f5<\/p>\n<pre>\nflash_int\n<\/pre>\n<p>Ch\u00fang ta bi\u1ebft d\u00f2ng c\u00e1c d\u00f2ng d\u00f2ng switch s\u1ebd c\u00f3 c\u00f4ng ethernet OOB = Out of Band \u0111\u1ec3 qu\u1ea3n l\u00fd. Ch\u00fang ta s\u1ebd set IP cho c\u1ed5ng n\u00e0y v\u00e0 copy tftp v\u00e0o flash v\u00e0 set l\u1ea1i boot c\u1ee7a n\u00f3 l\u00e0 xong \ud83d\ude00<\/p>\n<pre>\nswitch: set IP_ADDR 192.168.100.100\/255.255.255.0\nset DEFAULT_ROUTER 192.168.100.1\n<\/pre>\n<p>V\u00e0 ping m\u00e1y t\u00ednh c\u1ee7a ch\u00fang ta t\u1eeb switch (t\u1eeb m\u00e1y t\u00ednh s\u1ebd kh\u00f4ng ping \u0111\u01b0\u1ee3c switch nh\u00e9)<\/p>\n<pre>\nswitch: ping 192.168.100.240\nping 192.168.100.240 with 32 bytes of data \u2026\nHost 192.168.100.240 is alive.\n<\/pre>\n<pre>\ncopy tftp:\/\/192.168.100.240\/file.bin flash:file.bin\n<\/pre>\n<p>g\u00f5 set \u0111\u1ec3 list ra config \u0111ang nh\u01b0 th\u1ebf n\u00e0o, c\u00e1c b\u1ea1n s\u1ebd th\u1ea5y tham s\u1ed1 boot<\/p>\n<pre>\nBOOT='XXX'\n<\/pre>\n<p>then<\/p>\n<pre>\nboot\n<\/pre>\n<p>V\u00e0 n\u00f3 s\u1ebd boot v\u00e0o file bin c\u1ee7a OS \u0111\u00f3.<br \/>\nThat&#8217;s all \ud83d\ude09<br \/>\nC\u00e1c b\u1ea1n kh\u00f4ng s\u1ee3 up m\u00e0 fail c\u00e1c th\u1ec3 lo\u1ea1i n\u1eefa.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SW65-reserved#archive download-sw \/overwrite tftp:\/\/10.0.32.201\/c2960x-universalk9-tar.152-6.E.tar Loading c2960x-universalk9-tar.152-6.E.tar from 10.0.32.201 (via Vlan777): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! [OK &#8211; 36003840 bytes] Loading c2960x-universalk9-tar.152-6.E.tar from 10.0.32.201 (via [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[29,30,31,32,33,25,16,19,6],"tags":[],"class_list":["post-1245","post","type-post","status-publish","format-standard","hentry","category-ccie-rs","category-ccna","category-ccnp-route","category-ccnp-switch","category-ccnp-tshoot","category-cisco","category-courses","category-issues","category-networking"],"_links":{"self":[{"href":"https:\/\/kb.lagonet.vn\/index.php?rest_route=\/wp\/v2\/posts\/1245","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kb.lagonet.vn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kb.lagonet.vn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kb.lagonet.vn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.lagonet.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1245"}],"version-history":[{"count":0,"href":"https:\/\/kb.lagonet.vn\/index.php?rest_route=\/wp\/v2\/posts\/1245\/revisions"}],"wp:attachment":[{"href":"https:\/\/kb.lagonet.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1245"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.lagonet.vn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1245"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.lagonet.vn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}