cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2337
Views
0
Helpful
15
Replies

Help, I cant copy to flash switch 9200L 24T - 4G

bagusgeninety
Level 1
Level 1

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

15 Replies 15

marce1000
VIP
VIP

 

 - 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.



-- ' 'Good body every evening' ' this sentence was once spotted on a logo at the entrance of a Weight Watchers Club !

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

Leo Laohoo
Hall of Fame
Hall of Fame

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

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

IF the switch is still in ROMMON, post the complete output to the following commands: 

  1. dir flash:
  2. set

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:

 

 

If the firmware is still in the USB flash drive, then do "emergency-install usbflash0:cat9k_lite_iosxe.17.11.01.SPA.bin"

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:

boot usbflash0:cat9k_lite_iosxe.17.11.01.SPA.bin

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


@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.  

i was try like that :

Switch#copy usbflash0:cat9k_lite_iosxe.17.11.01.SPA.bin flash:
^
% Invalid input detected at '^' marker.

Switch#

Eject the USB flash drive and re-insert it.  Post the complete output to the command "sh log".

leo i still cannot copy from usbflash0 to flash, any antoher option please ?

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco