Cisco Copy From Usb To Flash
- Cisco Boot From Usb
- Cisco Copy Config From Usb To Flash
- Cisco Asa Copy From Usb To Flash
- Cisco 3850 Copy From Usb To Flash
- Cisco Copy Flash Tftp
You can use the Cisco USB thumb drive to upgrade the IOS of any 3750 Switch that isn't running 12.2(58). These are the steps you do to make that happen.
The content of new flash memory card is empty, therefore, the router will have to be first booted from an external USB flash memory. Step 8 Copy the desired Cisco image from an external USB flash memory card to the bootflash using the copy usb0:imagename bootflash command.
800 series routers don't support CF, but they do support USB flash. The Cisco IOS can only read FAT-formatted flash drives. The IOS may not recognize the proper size of your USB flash drive. However, it doesn't really matter — you have much more space with today's USB flash drives than you could ever use. Cisco Nexus 9000 USB software upgrade. The other more convenient option is to use a USB stick and copy the software to the stick, insert the stick into the Nexus 9000 switch and initiate the copy from USB to Bootflash as below: Once you insert your USB stick into the USB port on the front of the switch, you should see a message something like this.
A removable USB flash drive can also be used for backup purposes. In this lab, you will use TFTP server software to back up the Cisco device running configuration to the TFTP server. You can edit the file using a text editor and copy the new configuration back to a Cisco device. OK - been banging my head against the wall for a couple days here.and my GoogleFoo is proving non-helpfull. I need to copy a new IOS image to a.
6 Steps total
Step 1: Make sure the IOS is on the Cisco USB Drive
For this, I am using a Lexar 4Gb drive.
Step 2: Insert drive in the USB port on the back of the switch
Once you are consoled into the switch, you can insert the USB drive into the back of the switch. There is only one place it will plug in. You will see 'usbflash0: has been inserted' come up on the screen..
Step 3: Copy the IOS into Flash: on the switch
This is done with the following command: copy usbflash0:c3750e-universalk9-mz.122-58.SE2.bin flash:
This will copy the .bin file on the USB into the flash memory of the switch. If you do a 'sh flash:' on the switch, you will see both of them listed in there.
Directory of flash:/
2 -rwx 7728 Jan 16 2014 14:22:00 -06:00 vlan.dat
3 -rwx 2072 Feb 13 2014 07:58:36 -06:00 multiple-fs
461 -rwx 57686 Feb 13 2014 07:58:36 -06:00 config.text
4 -rwx 5309 Feb 13 2014 07:58:36 -06:00 private-config.text
6 drwx 512 Feb 28 1993 18:10:34 -06:00 c3750e-universalk9-mz.122-55.SE2
6 drwx 512 Feb 12 2014 18:10:34 -06:00 c3750e-universalk9-mz.122-58.SE2
Step 4: Tell switch to boot to the new IOS - and reboot
switch#config t
switch#(config)boot system c3750e-universalk9-mz.122-58.SE2.bin
switch#(config)exit
switch#reload
switch#(confirm) y
Step 5: Switch boots to new IOS - Remove Old IOS from Flash
Once the switch boots back up to the new IOS, you can delete the old one out of flash. This is done with the following command:
switch#delete /recursive /force flash:c3750e-universalk9-mz.122-55.SE2.bin
Step 6: Remove USB drive from switch
You can really mess up a switch if you don't know what you are doing. Make sure you pay close attention before executing any of these commands.
13 Comments
- JalapenoWestelCS Feb 18, 2014 at 10:29pm
This is a very nice and properly guiding article that you have shared. The steps are quite clearly explained. I will try this.
- PimientoBradford Mitchell Jul 30, 2015 at 06:49pm
Will this work with a USB CD-ROM drive as well?
- AnaheimTim6546 Jul 31, 2015 at 03:32pm
I have never tried that but I would imagine that if the switch can see it, it would work. If you try it, let me know if it works.
- Jalapenozkording Nov 2, 2015 at 07:03pm
I used this guide to flash a new switch today. Thanks for the helpful post!
- AnaheimTaca Nov 19, 2015 at 04:02pm
Used this today as well. Thank you, very good instructions.
- Chipotleshelzmike May 19, 2016 at 07:55pm
Very straightforward tutorial. Cisco has good documentation, but sometimes it is 'too much' and we all know we don't have time for that.
One point of note, Step 4 seems to be missing some text in the command, at least for the 3650.
You have: switch#(config)boot system c3750e-universalk9-mz.122-58.SE2.bin
It should be: switch#(config)boot system flash:c3750e-universalk9-mz.122-58.SE2.bin
Without specifying the flash: directory you will get a 'File system with suffix not allowed error:
Thanks again!
- Poblanojamallhendrix Jun 2, 2016 at 08:08pm
Worked like a charm on a 2960X. Well done sir.
- Pimientoanthonyholland Nov 1, 2017 at 03:50pm
Great post! my colleagues and I are using this method to swap out the OS on about nine hundred 3850s in the span of a week. While the method itself works, we've been having hit or miss luck with the flash drive hanging up during the copy process and getting errors upon plugging the flash drive into the USB port, switch wants to run fcsk on it each time.
I was curious - can anyone can recommend a brand/size of flash drive that works reliably without failures or errors upon plugging in to the USB port?
We've had some success with PNY, but just say no to SanDisk when it comes to this type of work - the 16/32GB Cruzer Glides have been worthless - you get what you pay for I guess.
Thanks for your feedback!
- Pimientodekunlejamiuadeoye Jan 29, 2018 at 10:19am
thanks very much. but can any one assist on how to run this process once on a master switch in a stack network
- AnaheimDonavan_ Apr 10, 2018 at 07:56pm
I also had to tweak the command in Step 4, but not like Shelzmike
You have: switch#(config)boot system c3750e-universalk9-mz.122-58.SE2.bin
Shelzmike: switch#(config)boot system flash:c3750e-universalk9-mz.122-58.SE2.bin
I needed: switch#(config)boot system flash bootflash:isr4300-universalk9.16.03.SPA.bin
To troubleshoot: switch#sh run | i boot
- PimientoSridhar_D Jun 20, 2018 at 05:37pm
Thats a nice and clean info you gave it here. But in my case, the Cisco 3560 CX Series switch is not booting due to image signature verification. So it is getting into ROMMON Mode. Willl this same commands works in ROMMON Mode??
- JalapenoMa3stro Nov 1, 2019 at 01:13pm
This method is still working like a charm! Worth mentioning would be how the USB drive needs to be formatted in FAT16/FAT32 in order for it to be read by the IOS.
I did notice that you didn't specify in the final step:
#: boot system flash:[filename]
Since I'm the most entry level guy on my team I specified flash, just to be safe. :)
Thanks for the post! This was a helpful find for me.
- PimientoShrek-2154 Dec 10, 2020 at 05:47pm
Hi just one issue i found while using this command to boot the switch
Switch(config)#boot system cat3k_caa-universalk9.16.06.04.SPA.bin
File System with suffix not allowedSwitch Model : WS-C3850-24P-L
BOOTLDR: CAT3K_CAA Boot Loader (CAT3K_CAA-HBOOT-M) Version 4.68,I think it again depends on different models in 3850,
Please suggest should I have used ?
boot system flash:filename.bin
Cisco Boot From Usb
A little background
Before we get started, let’s review some of the specifics you need to know about using USB flash and CF cards with Cisco routers.
- The Cisco IOS can only read FAT-formatted flash drives.
- The USB ports on a router are usually USB 2.0, but check the specifications
Ideally, USB flash can hold multiple copies of the Cisco IOS and multiple router configurations, and you can use it to easily move and copy those IOS files and configurations from router to router. And many times, when you’re physically at the router, the copying process can take place several times faster than it would over a LAN or WAN.
Let’s start
Cisco Copy Config From Usb To Flash
1>>> Take the USB flash drive from your pocket and connect it to the router. Immediately, the router told you like that:
If it does not show any thing, DO’NT WORRY. Sometimes devices can not find devices plugged on it. Go to step 2
2>>>As mentioned above, it needed a FAT format — the Cisco IOS only recognizes the FAT file system.
Here’s what it looked like:
At this point, as you can see below, I had a working USB flash drive.
3>>>Before copying a new IOS to your Cisco devices, you can make an copy of original IOS of Cisco devices in case we got trouble with the new IOS. Here’s what we do:
At this point, we had my 17-MB Cisco IOS on USB drive for our back up.
Cisco Asa Copy From Usb To Flash
4>>>With the new IOS, plug it into your computer and copy it to USB drive and plug it to Cisco devices again. Using that command below to copy from USB drive to Cisco devices.
Cisco 3850 Copy From Usb To Flash
5>>> P/s: To load new IOS, using these command below (for Router and Switch)
Router:
Cisco Copy Flash Tftp
Switch: