cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6969
Views
6
Helpful
7
Replies

How to copy and restore flash IOS on Catalyst 2960G

mhuang1914
Level 1
Level 1

I want to copy and restore ios on Catalyst 2960G-48TC-L. It has 12.2 with Web-based Dev Mgr, and I want to upgrade to the current 15.0.

Before doing so though, I want to backup the 12.2, so I typed the following:

show flash

2  drwx         192   Mar 1 1993 00:08:32 +00:00  c2960-lanbase-mz.122-35.SE5

copy flash tftp

Source filename []? c2960-lanbase-mz.122-35.SE5

Address or name of remote host []? 172.23.5.8

Destination filename [c2960-lanbase-mz.122-35.SE5]?

and got this error:

%Error reading flash:c2960-lanbase-mz.122-35.SE5 (Is a directory)

So I tried

c2960-lanbase-mz.122-35.SE5/*.* and

c2960-lanbase-mz.122-35.SE5\*.*

None of them worked.

copy ? and copy flash ? weren't of help.

So 2 questions:

1. Is there another command that I need to use?

2. Is there a tool for download that I can copy and restore the flash on to my computer?

7 Replies 7

Reza Sharifi
Hall of Fame
Hall of Fame

Do you have connectivity to the TFTP server?

can you ping 172.23.5.8 from the switch?

can you ping the ip address of the switch from the TFTP server?

HTH

@ Reza. That has nothing to do with the problem. The error is it can't copy because

c2960-lanbase-mz.122-35.SE5 is a directory (a folder) and not a *.bin file. But to answer your question, yes, it does ping.

Michael

If you switch supports it you could try the archive command ie. -

archive tar /create tftp://

Jon

glen.grant
VIP Alumni
VIP Alumni

  When trying to copy the  file syntax would be "

c2960-lanbase-mz.122-35.SE5\c2960-lanbase-mz.122-35.SE5.bin

You have to specify the directory and the filename inside the directory which is the .bin file.

Paul Williams
Level 1
Level 1

Or you could use the cd command followed by the directory name to get into the folder and then issue your copy command, just remember to put the .bin on the filename

Sent from Cisco Technical Support iPad App

Leo Laohoo
Hall of Fame
Hall of Fame
I want to upgrade to the current 15.0.

Stay as far away as you can from IOS version 15.0(1)SE.  There is a memory leak issue that triggers itself when the IOS is loaded even when the configuration hasn't been read.

Bug ID:  CSCts52797

The most "stable" is 12.2(55)SE1 or later.

Leo Laohoo
Hall of Fame
Hall of Fame

Michael Huang wrote:

I want to copy and restore ios on Catalyst 2960G-48TC-L. It has 12.2 with Web-based Dev Mgr, and I want to upgrade to the current 15.0.

Before doing so though, I want to backup the 12.2, so I typed the following:

show flash

2  drwx         192   Mar 1 1993 00:08:32 +00:00  c2960-lanbase-mz.122-35.SE5

copy flash tftp

Source filename []? c2960-lanbase-mz.122-35.SE5

Address or name of remote host []? 172.23.5.8

Destination filename [c2960-lanbase-mz.122-35.SE5]?

and got this error:

%Error reading flash:c2960-lanbase-mz.122-35.SE5 (Is a directory)

So I tried

c2960-lanbase-mz.122-35.SE5/*.* and

c2960-lanbase-mz.122-35.SE5\*.*

None of them worked.

copy ? and copy flash ? weren't of help.

So 2 questions:

1. Is there another command that I need to use?

2. Is there a tool for download that I can copy and restore the flash on to my computer?

You want to copy the old IOS?  Do the following:

1.  cd flash:c2960-lanbase-mz.122-35.SE5

2.  Copy the BIN file from your flash to the TFTP server using the command "copy flash: tftp:"

Review Cisco Networking for a $25 gift card