cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
44150
Views
25
Helpful
11
Replies

Copying ios from switch to usb drive

asmolens
Level 1
Level 1

Is it possible to copy an ios from cisco 3650 to a usb flash drive? If so does anyone know the commands? Cisco IOCisco IOSSCisco IOS

11 Replies 11

balaji.bandi
Hall of Fame
Hall of Fame

Its all depends what image installed, if this archieve installed (extracted, you need to download from cisco site and install on new device.,

 

if this bundle mode have image.bin file, you can copy

 

so check what files you have

 

#dir  (issue this command )

 

you see any file name with the extention .bin, then you safe to copy) - if you are not sure post the dir output here.

 

Copy :

 

copy flash:image.bin usbflash0:     < image.bin is the file you found when you issue dir command, usb0 - where USB driver number cisco recognised)

 

make sense ?

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Great thanks!!

Mohsin Alam
Cisco Employee
Cisco Employee

yes it cam be done, steps :
copy flash:<filename> usb0:<filename>

you can find the usb name from show file system. 

 

 

 


## Make sure to mark post as helpful, If it resolved your issue. ##





## Make sure to mark post as helpful, If it resolved your issue. ##

rafaesil
Cisco Employee
Cisco Employee

Good afternoon, asmoles.
Fist of all, make sure is possible to you get safely cisco imagem on Cisco.com. if not?

so, validates that you pendrive format is FAT16 or FAT32. After that, connect Its on Cisco Switch, verify if switch could recognize your device:

Look for something like usbflash0:

Command
switch#dir

If you switch install software Bundle mode, I can copy .bin file into pendrive:

Command
Switch# copy flash:*.bin usbflash0:




 !!!!! Please, rate all helpful responses !!!!

Leo Laohoo
Hall of Fame
Hall of Fame

Depends on the platform used.  Cisco has "consistencies" in what the USB port is called.  It can sometimes be called usb0: or usbflash0: or disk0:.  

When using USB stick, remember the following: 

1.  Not all USB stick brand are supported.

2.  Not all USB sized are supported:  The "highest" is 16Gb size

3.  Plug the USB stick and observe the logs.  

4.  Format the USB using the "format usbflash0:" command.  

Hope this helps.

One of my favorite commands when you don't know what the flash/usb ports are called is:

dir /all all

That will show you every possible file system so you don't have to guess.

balaji.bandi
Hall of Fame
Hall of Fame

use any old 4GB or 8GB USB stick with FAT format (means FAT 16)

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

CoolPraZ
Level 1
Level 1

Hi,

Make sure the USB formatted as FAT32. I had issue today copying the running-config to USB. Even though it can read by using DIR, still couldn't copy due to my USB was NTFS. So make sure the USB is formatted as FAT32.

Hope this tip is useful

Cheers!!!

When I have a device that is being fussy, I will use that device to reformat the USB drive. Then I move it to the computer that has the files I want to copy. That has worked well for me.

dgonzalez1
Level 1
Level 1

Hi, by the way, do the usb flash system be present always or it only shows up once the usb stick is inserted?

Thanks.

Only when the USB flash is recognized by the platform.

Review Cisco Networking for a $25 gift card