02-27-2020 11:55 AM
I use images loaded in a USB flash drive that I upload into a switch just because it's faster than using tftp\ftp in some of the offices I go to. I usually just pull the flash drive out when I'm done. Once in awhile this corrupts the USB stick. Is there a command to gracefully eject the USB device?
02-27-2020 02:04 PM
05-06-2020 12:22 PM
12-17-2020 08:38 AM - edited 12-17-2020 08:50 AM
shouldn't...but does.
I've had it happen on old flash drives as well as brand new ones. after pulling it out of one switch and put it into another switch it's common to see usb descriptor errors. I plug it into my laptop, it sees errors and fixes them..and then I'm good for maybe another couple switches.
looks like we needed a command we like what bjhinkle9 posted below:
hw-module switch 1 usbflash1 unmount
however, this unmounts the usb ssd drive (atleast for a 9348 which is pretty much the same switch)
08-08-2020 12:56 AM
hw-module switch 1 usbflash1 unmount
12-17-2020 08:50 AM
appears this unmounts the usb ssd drive, not the usbflash0:
08-12-2021 05:02 AM
Try this command.
I tried it at Cisco IOS Software, C3750E Software (C3750E-UNIVERSALK9-M), Version 15.2(4)E1, RELEASE SOFTWARE (fc2)
test usb port 0 off
You will take a message: %USBFLASH-5-CHANGE: usbflash0 has been removed!
04-30-2024 12:02 AM
This works for me 100% tested and ejected the usbflash0 pen drive where I backed up my router config.
Thanks
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