Link to home
Start Free TrialLog in
Avatar of Tercestisi
TercestisiFlag for United States of America

asked on

boot system flash not working

I am trying to upgrade my IOS on a Cisco Catalyst 2960 swtich.

I uploaded the new IOS to the flash directory via tftp, and can confirm via a "dir" command that it does reside there.

When I enter config mode and run the command:

boot system flash c2960-lanbasek9-mz.122-50.SE1.bin

it says invalid input character at ^ c

I tried

boot system flash:c2960-lanbasek9-mz.122-50.SE1.bin

and that did not throw an error, but after reload it still loads the old IOS.
ASKER CERTIFIED SOLUTION
Avatar of ccsistaff
ccsistaff
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Tercestisi

ASKER

The current (not new) flash image is in a directory flash:c2960-lanbase-mz.122-35.SE5

I can cd to the directory to see the actual .bin, but do not know the command to transfer this (since it is in the directory) to my tftp location.

I have tried:

copy flash:2960-lanbase-mz.122-35.SE5/2960-lanbase-mz.122-35.SE5.bin tftp://192.168.1.145

copy flash:2960-lanbase-mz.122-35.SE5.bin tftp://192.168.1.145

copy 2960-lanbase-mz.122-35.SE5.bin tftp://192.168.1.145

but it can never find the file.
try changing directory to the image first and then copy.

cd 2960-lanbase-mz.122-35.SE5
copy 2960-lanbase-mz.122.35.SE5.bin tftp

verify that the filename is correct also.  zeros and 'S' often times look like 'O' and fives.  
That worked; thanks.

My question is why it it wasn't respecting my boot system flash: command originally?
Was the image at the root of your flash card as indicated by your command or is it located in a directory?  

boot system flash:c2960-lanbasek9-mz.122-50.SE1.bin

Did you save the running config after setting the boot flash command?  
The image was on the root of the flash card; I tried both ways (saving running config and not).
It doesn't look like you were doing anything wrong so I'm at a loss to explain why it didn't work.  I'm sorry I couldn't be more helpful on that point.