05-23-2023 08:06 PM
Please Help!
I want to factory reset config my switch, but i factory reset all and now my switch not have OS,
i was download the bin 9200L 24T 4G from here https://software.cisco.com/download/home/286319874/type/282046477/release/Dublin-17.11.1?i=!pp
and i was mount via usb 8GB with FAT32, before i want to install
boot usbflash0:cat9k_lite_iosxe.17.11.01.SPA.bin
i try copy usbflash0:cat9k_lite_iosxe.17.11.01.SPA.bin flash:
and display error like that : Unsupported destination device/filesystem.
please help
05-23-2023 11:11 PM
- Presumably (still) related to the source usb not being recognized , have a go with this format : https://www.instructables.com/Format-USB-Flash-Drive-to-FATFAT16-not-FAT32/
M.
05-24-2023 02:16 AM
but, i install with boot:usbflash0:cat9k_lite_iosxe.17.11.01.SPA.bin and work correctly, after i restart the swicth back again to ROMMON
05-24-2023 02:04 AM
Catalyst 9k will not allow copying of files to the flash while in ROMMON.
The only way to put the firmware back into the switch is: emergency-install usbflash0:filename.bin
05-24-2023 02:21 AM
thank for your answer, if i finsih install and configure the switch until i can access the web gui
i try copy cat9k_lite_iosxe.17.11.01.SPA.bin from my computer to flash with web gui, stuck on 53%
and the second after i install from usbflash0, i cant access usbflash0 to copy .bin to flash
if i restart the switch, and back to ROMMON again
05-24-2023 02:26 AM
IF the switch is still in ROMMON, post the complete output to the following commands:
05-24-2023 02:43 AM
here :
switch: dir flash:
Attributes Size Name
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
drwxr-xr-x 4096 .installer
drwxr-xr-x 4096 .rollback_timer
drwxr-xr-x 4096 core
drwxr-xr-x 4096 .USWAP
drwxr-xr-x 4096 .CRFT
-rw-r--r-- 333 bootloader_evt_handle.log
drwxrwxrwx 4096 .prst_sync
-rw-r--r-- 5242880 ssd
drwxr-xr-x 4096 ss_disc
drwxr-xr-x 4096 tech_support
drwxr-xr-x 4096 dc_profile_dir
-rw-r--r-- 2151 boothelper.log
-rw-r--r-- 137940 memleak.tcl
drwxr-xr-x 4096 Tbot
drwxr-xr-x 4096 sys_report
drwxr-xr-x 4096 fp_cc_crash
drwxr-xr-x 4096 .rommon_sync
lrwxrwxrwx 13 NVRAM -> /flash1/NVRAM
-rw-r--r-- 1338 DigiCertGlobalRootCA.ca
-rw-r--r-- 1606 StarfieldServicesRootCA.ca
-rw-r--r-- 1261 Baltimore.ca
drwxr-xr-x 4096 .dbpersist
-rw-r--r-- 15528 rdope_out.txt
-rw-r--r-- 89 rdope.log
drwxr-xr-x 4096 pnp-info
drwxr-xr-x 4096 onep
drwxr-xr-x 4096 license_evlog
-rw------- 0 dope_hist
-rw-r--r-- 2097152 nvram_config
-rw-r--r-- 2097152 nvram_config_bkup
drwxr-xr-x 4096 pnp-tech
-rw-r--r-- 616 vlan.dat
-rw-r--r-- 2151 boothelper.log.old
drwxrwxrwx 4096 SHARED-IOX
-rwxr-xr-x 0 mode_event_log
drwxr-xr-x 4096 pcap
drwxrwxrwx 4096 cflow
drwxrwxrwx 4096 gs_script
drwxr-xr-x 4096 EDScisco
-rw-r--r-- 1924 ISRGRootX1CrossSignDST.ca
-rw-r--r-- 265 lateshutdown.log
drwxr-xr-x 4096 tes
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
switch: set
ABNORMAL_RESET_COUNT=0
AUTO_SWITCH_CONSOLE_DISABLE=0
BAUD=9600
BOOT=usbflash0:cat9k_lite_iosxe.17.11.01.SPA.bin
BOOT_DEVICE_MODE=catalyst
BSI=0
CONSOLE_MIRRORING_DISABLE=0
MAC_ADDR=50:********
MODEL_NUM=C9200L-24T-4G
MOTHERBOARD_SERIAL_NUM=FOC******
NO_CONSOLE=0
RANDOM_NUM=191******
ROMMON_BOARDID=0x4****
SWITCH_NUMBER=1
SYSTEM_SERIAL_NUM=FOC26*******
TEMPLATE=advanced
USB_DISABLE=0
switch:
05-24-2023 02:49 AM
If the firmware is still in the USB flash drive, then do "emergency-install usbflash0:cat9k_lite_iosxe.17.11.01.SPA.bin"
05-24-2023 02:53 AM
here leo
switch: dir usbflash0:
Attributes Size Name
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
D-HS- 0 System Volume Information
----A 483807015 cat9k_lite_iosxe.17.11.01.SPA.bin
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
switch: emergency-install usbflash0:cat9k_lite_iosxe.17.11.01.SPA.bin
Error: command 'emergency-install' not found. Use 'help' to list commands.
switch:
05-24-2023 06:47 AM
boot usbflash0:cat9k_lite_iosxe.17.11.01.SPA.bin
05-24-2023 11:40 PM - edited 05-25-2023 12:26 AM
now i was boot from usbflash0
Switch#sh boot
---------------------------
Switch 1
---------------------------
Current Boot Variables:
BOOT variable = flash:cat9k_lite_iosxe.17.06.05.SPA.bin;
Boot Variables on next reload:
BOOT variable = usbflash0:cat9k_lite_iosxe.17.11.01.SPA.bin
Manual Boot = no
Enable Break = no
Boot Mode = DEVICE
iPXE Timeout = 0
but if i restart, again back to ROMMON
05-25-2023 12:40 AM
@bagusgeninety wrote:
but if i restart, again back to ROMMON
Yes, it will because someone deleted the firmware files from the flash.
To fix this, copy the BIN file from the USB flash drive into the switch's flash drive and initiate the Install Mode.
05-25-2023 12:59 AM
i was try like that :
Switch#copy usbflash0:cat9k_lite_iosxe.17.11.01.SPA.bin flash:
^
% Invalid input detected at '^' marker.
Switch#
05-26-2023 05:59 AM
Eject the USB flash drive and re-insert it. Post the complete output to the command "sh log".
05-25-2023 11:41 PM
leo i still cannot copy from usbflash0 to flash, any antoher option please ?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide