06-12-2017 02:46 PM - edited 03-08-2019 10:56 AM
Can i start a 2960X switch from a USB. not to copy files from the usb.. but actually start from a bin file thats on a USB stick
06-12-2017 02:47 PM
I have a new 2960X , but it doesn't have any IOS on it. it does not recognize any commands, so i assume there is no IOS on it.
06-12-2017 03:09 PM
Yes, it can be done as long as it's using a supported USB flash drive.
06-14-2017 07:48 AM
so is there a special way to do it? or just put the IOS on the flash drive and restart the switch?
06-14-2017 08:30 AM
yes have the image on the usb and you need to set the boot statement to the usb not the standard flash , save it then reload
no boot system
boot system usbflash0:.......image name
06-14-2017 08:49 AM
switch: boot system usbflash0:c2960x-universalk9-mz.152-5b.E.bin
this is what i get
usage: boot [-n|-j] [-p] [-c] [-f] [-i] [-m] [-notnd] [-notni] [-post] [-skip_post] [-reserve_mem <1-15>] [-no_esp_keepalive] [<filename>]
06-14-2017 12:02 PM
Try
boot usbflash0:c2960x-universalk9-mz.152-5b.E.bin
06-15-2017 02:17 PM
so here is what i get when i try copying the file over to flash
switch: copy usbflash0:/c2960x-universalk9-tar.152-2.E6.tar flash:/
ERR: usbd_bulk_transfer fail status 32
ERR: Read ERROR start 0 blks 1
ERR: usbd_bulk_transfer fail status 8
ERR: usbd_bulk_transfer fail status 32
ERR: Read ERROR start 0 blks 1
ERR: usbd_bulk_transfer fail status 8
ERR: usbd_bulk_transfer fail status 32
ERR: Read ERROR start 0 blks 1
ERR: usbd_bulk_transfer fail status 8
06-15-2017 03:17 PM
switch: copy usbflash0:/c2960x-universalk9-tar.152-2.E6.tar flash:/
Hold on ...
Put a BIN file in the USB flash drive and instruct the switch to boot the IOS BIN file, from ROMmon, found in the USB flash drive using the command "boot usbflash0:IOS_filename.bin"
02-28-2018 01:08 AM
you must use FAT16 system on a ubs stick maximum of 2 GB capacity, more then this can not be converted to FAT16 ant thats what cisco switches supports. Then copy the imageFile.bin on you newly made 1GB or 2GB usb memory stick and punt it into the switch usb port. start the switch and enter the command to boot from usb drive:
Switch: boot usbflash0:imagefile.bin
switch will start and do what ever you want. :)
08-08-2018 12:49 AM
Hi.
Thank you vey much. it was a great help which worked :-)
01-29-2020 10:58 AM
I am also experiencing this issue, and i have a 2gb flash drive formatted at fat16 and i have tried both 32k and 64k allocation unit sizes. is there a specific brand or something else that i can be pointed to? I feel like rommon on a 2960X should be easier to recover from. the 3850 series are super simple. output below:
switch: dir
ERR: usbd_bulk_transfer fail status 32
ERR: Read ERROR start 0 blks 1
ERR: !CSWSIGNATURE
ERR: usbd_bulk_transfer fail status 8
ERR: usbd_bulk_transfer error status 8
usbd_control_transfer fail status 8
usbd_control_transfer fail status 8
usbd_control_transfer fail status 8
ERR: Read ERROR start 0 blks 1
ERR: !CSWSIGNATURE
usbd_control_transfer fail status 8
usbd_control_transfer fail status 8
usbd_control_transfer fail status 8
ERR: !CSWSIGNATURE
usbd_control_transfer fail status 8
usbd_control_transfer fail status 8
usbd_control_transfer fail status 8
ERR: Read ERROR start 0 blks 1
ERR: !CSWSIGNATURE
usbd_control_transfer fail status 8
usbd_control_transfer fail status 8
-- MORE --
usbd_control_transfer fail status 8
usbflash0: contains unexpected values in partition table or boot sector.
Device needs formatting before use!
List of filesystems currently registered:
bs[1]: (read-only)
flash[9]: (read-write)
xmodem[10]: (read-only)
null[11]: (read-write)
tftp[12]: (read-only)
usbflash0[13]: (read-write)
switch:
06-14-2017 03:08 PM
so is there a special way to do it
Format (FAT 16) the USB flash first before putting any file(s) in.
Make sure the USB flash drive does NOT exceed 16 Gb (it's a UNIX thing).
So far, I've am using a Samsung BAR (SKU: MUF-16BA) with good success.
Cisco has three varieties of USB thumb drives in CCW:
The first one, N7K-USB-8GB, normally comes free when you buy a Nexus 7K Sup2 supervisor card.
10-18-2022 09:29 PM
hi i have a cisco catalyst 2960-x switch and i am unable to downgrade the ios version.
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