Link to home
Start Free TrialLog in
Avatar of shakeelsaleem
shakeelsaleem

asked on

upgrading the IOS on my 2811 router to c2801-advipservicesk9-mz.124-25a.bin

I am trying to upgrade my IOS to (c2801-advipservicesk9-mz.124-25a.bin) from (c2800nm-ipbase-mz.124-15.t7.bin) through my tftp server... i just got the connectivity for my tftp server but when I try to copy tftp flash i am recieving a warning [ File not a valid executable for this system]

Can anyone tell me if this file is valid for the upgrading the above mentioned IOS..

Ohh and i almost forgot to mention when i copy this file to my laptop and put it onto the tftp server it shows to be a VLC media player file although its an IOS image ...

and when I try to back up my existing IOS  (c2800nm-ipbase-mz.124-15.t7.bin) it give the error opening flash ... file not found ..
i donot understand if the file is not found in the flash how is the router running right now what the problem??
Avatar of memo_tnt
memo_tnt
Flag of Palestine, State of image

are you trying from rommon mode or enable mode ???

did you check if IOS is compatible with your flash and NVRAM??

send sh version and sh flash ??

BR
Avatar of shakeelsaleem
shakeelsaleem

ASKER

Sh Ver
Cisco IOS Software, 2800 Software (C2800NM-IPBASE-M), Version 12.4(15)T7, RELEAS
E SOFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2008 by Cisco Systems, Inc.
Compiled Wed 13-Aug-08 17:09 by prod_rel_team

ROM: System Bootstrap, Version 12.4(13r)T, RELEASE SOFTWARE (fc1)

ODIN uptime is 2 hours, 23 minutes
System returned to ROM by reload at 05:47:10 UTC Tue Jul 14 2009
System image file is "flash:c2800nm-ipbase-mz.124-15.T7.bin"

Cisco 2811 (revision 53.51) with 251904K/10240K bytes of memory.
Processor board ID FCZ13147011
2 FastEthernet interfaces
DRAM configuration is 64 bits wide with parity enabled.
239K bytes of non-volatile configuration memory.
62720K bytes of ATA CompactFlash (Read/Write)

Configuration register is 0x2102




ODIN#sh flash
-#- --length-- -----date/time------ path
1     25534596 Mar 30 2009 05:09:02 +00:00 c2800nm-ipbase-mz.124-15.T7.bin
2         2748 Mar 30 2009 05:17:34 +00:00 sdmconfig-2811.cfg
3       931840 Mar 30 2009 05:17:52 +00:00 es.tar
4      1505280 Mar 30 2009 05:18:12 +00:00 common.tar
5         1038 Mar 30 2009 05:18:26 +00:00 home.shtml
6       112640 Mar 30 2009 05:18:40 +00:00 home.tar
7      1697952 Mar 30 2009 05:19:04 +00:00 securedesktop-ios-3.1.1.45-k9.pkg
8       415956 Mar 30 2009 05:19:24 +00:00 sslclient-win-1.1.4.176.pkg

33796096 bytes available (30220288 bytes used)
Sh Ver
Cisco IOS Software, 2800 Software (C2800NM-IPBASE-M), Version 12.4(15)T7, RELEAS
E SOFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2008 by Cisco Systems, Inc.
Compiled Wed 13-Aug-08 17:09 by prod_rel_team

ROM: System Bootstrap, Version 12.4(13r)T, RELEASE SOFTWARE (fc1)

ODIN uptime is 2 hours, 23 minutes
System returned to ROM by reload at 05:47:10 UTC Tue Jul 14 2009
System image file is "flash:c2800nm-ipbase-mz.124-15.T7.bin"

Cisco 2811 (revision 53.51) with 251904K/10240K bytes of memory.
Processor board ID FCZ13147011
2 FastEthernet interfaces
DRAM configuration is 64 bits wide with parity enabled.
239K bytes of non-volatile configuration memory.
62720K bytes of ATA CompactFlash (Read/Write)

Configuration register is 0x2102




ODIN#sh flash
-#- --length-- -----date/time------ path
1     25534596 Mar 30 2009 05:09:02 +00:00 c2800nm-ipbase-mz.124-15.T7.bin
2         2748 Mar 30 2009 05:17:34 +00:00 sdmconfig-2811.cfg
3       931840 Mar 30 2009 05:17:52 +00:00 es.tar
4      1505280 Mar 30 2009 05:18:12 +00:00 common.tar
5         1038 Mar 30 2009 05:18:26 +00:00 home.shtml
6       112640 Mar 30 2009 05:18:40 +00:00 home.tar
7      1697952 Mar 30 2009 05:19:04 +00:00 securedesktop-ios-3.1.1.45-k9.pkg
8       415956 Mar 30 2009 05:19:24 +00:00 sslclient-win-1.1.4.176.pkg

33796096 bytes available (30220288 bytes used)
Hi Memo,

I am trying from enable mode ..

Regards,
send run config...

BR
plus send the new IOS size ??
Current configuration : 2907 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname ODIN
!
boot-start-marker
boot system usbflash:c2801-advipservicesk9-mz.124-25a.bin
boot system flash
boot-end-marker
!
logging buffered 51200 warnings
!
no aaa new-model
!
!
ip cef
!
!
!
interface FastEthernet0/0
 description $ETH-LAN$$ETH-SW-LAUNCH$$INTF-INFO-FE 0/0$
 ip address 192.168.1.10 255.255.255.0
 duplex auto
 speed auto
!
interface FastEthernet0/1
 no ip address
 shutdown
speed auto
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 FastEthernet0/0
!
!
ip http server
ip http access-class 23
ip http authentication local
ip http timeout-policy idle 60 life 86400 requests 10000
!
access-list 23 permit 10.10.10.0 0.0.0.7
!
Hi

the size of new IOS is 29.1 MB

Regards
"File not a valid executable for this system"

it wont work on that system! it may be the wrong boot flash version, some time you need a upgraded boot flash to run newer images. or other wise that image is not made for that system.

however you are getting the error when you try to copy the file, suggesting that it is the copy not working not the running of the bin file on the router

try a

#copy flash tftp

then folow he mini wizard through filling in the ip address and the file name (no need to put flash:xxxxxx jsut the full file name, I suggest you copy and past)

you are using a wrong IOS image
you need to get IOS compatible with 2811 not 2801
something like the following:

c2800nm-advipservicesk9-mz.12.4-6.XT2
or
c2800nm-advipservicesk9-mz.12.3-11.YZ2



BR
Hi,

I have already tried it [copy flash tftp] and it gives me an error message [File not found]

But when i check the flash (dir flash) it shows that there is an IOS file in flash ...

Memo,

that may well be correct, but you should still be able to copy over a file. even if it is not compatable. so there is anotehr issue here.

the archive command for copying tar images on switchs do check and will not copy over an incompatable image. but not bin images...

try a
#sh file systems

on my 4506 you see the following.

as you can see the flash has a different name meaning you need to do a copy bootflash: tftp

File Systems:
 
     Size(b)     Free(b)      Type  Flags  Prefixes
*   61341696    23758032     flash     rw   bootflash:
           -           -     flash     rw   slot0:
           -           -    opaque     ro   crashinfo:
      524284      523464     flash     rw   cat4000_flash:
      413676      408083     nvram     rw   nvram:
           -           -    opaque     rw   null:
           -           -    opaque     rw   system:
           -           -    opaque     ro   profiler:
           -           -   network     rw   tftp:
           -           -   network     rw   rcp:
           -           -   network     rw   ftp:
           -           -    opaque     ro   cns:

Open in new window

also am i correct in that when you type

#copy tftp flash

you stright away get a file not found with out any other input?



and having jsut tested I can copy a 3550 image on to a 4506 switch. so we first need to get the image copying correctly before we worry about if its the right image
Thx,

But I just managed to take the backup of the currrent IOS to my tftp server.
copy flash TFTP

but now when i am trying to put the new IOS to the flash it is giving me errors [File not a valid executable for this  system]

I even tried  [copy tftp start]
but i got the message not enough space on device
let me check you deffently have the right ios iamge
well with

239K bytes of non-volatile configuration memory

you wont copy it to start :)
Ok as suggested you do not have the correct image so even if you can copy it it will not work.

you need the 2811 versions of the ios, not the 2801.. taht is for the 2801.

c2800nm-advipservicesk9-mz.124-25a.bin  
Release Date: 28/May/2009
Size: 37289.52 KB  (38184460 bytes)
Minimum Memory: DRAM:256 MB  Flash:64 MB  

you will need to download this before you will get it to work.

that's what am talking from the beginning ,,


BR
yes Memo I know, that is what I started my post with "as suggested" when i was refering to your eairlier post.

but that stilll does not resolve the issue why he could not copy to flash, or was getting a file not found message.

If there is a problem with the file system on the router to begin with as well then its better to resolve the issues one at a time, rather than doing every thing in one go and never knowing what part is the issue.
Thanks guys,

I have downloaded  [c2800nm-adventerprisek9_ivs-mz.124-24.T1.bin] with the size of 57 MB ...
I have downloaded it from cisco website.... can u tell me weather my 2811 full fill the requirements for this IOS....
This is the latest IOS

hi

yes it's compatable...but if its size 57M then,,as sh flash results,,you have a 33M empty,, so you need to delete the old IOS
and get the new one...

and do the following if you download it to the flash directly:

boot-start-marker
boot system flash:c2800nm-adventerprisek9_ivs-mz.124-24.T1.bin
boot system flash

Try and reply
BR
Just a word of warning.. dont powercycle the router between deleting the old IOS, and copying the new one across. if you do you will end up with a non booting router, and have to go through a tedious process to sort it out.

Also make sure to copy the current IOS to a back up before you delete it!

ASKER CERTIFIED SOLUTION
Avatar of memo_tnt
memo_tnt
Flag of Palestine, State of 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
a 100% >> DevilWAH
Hey Devil,

can u elaborate on Router Power Cycle and how can I avoid it ??

and also when I do [sh run | inc boot system] I get the output

boot system usbbflash:c2801nm-advipservicesk9-mz.124-25a.bin
boot system flash

That is when I was trying to boot the c2801 from the usb but i dont know how to change that now....
any advice !!!

Hey guys Memo and Devil thanks a million for ur help today ... really appreciate it...

you are welcome
so, every thing is solved now ??

BR
when you boot a cisco router it copies the ios from flash in to its dram memory. it then never again looks at the bin file saved in flash while it is running.

so if you erase the flash memory the router will still carry on running as though nothing has changed.
this is good for two resons.

beacause the router only write/ reads from the flash when directed by a user, ie at reloads or copy run start commands. and powercut is unlickley to happen during this. so it is very hard to croupte the flash memory, and if the router crashes rebooting it will bring it back to an idential setting to when the config was last saved. much more stable than say windows that is constently writing to the hard drive and updating its config but by bit.

secondly it allows you to do the above. you can delete the old image. copy over the new one, and cahnge the boot config during the day. then run a relaod command to secdual it over night out of hours. you can also do this with a start up config. making lots of changes on a test router. then copy over the new start up config to the live system. but again unless you reboot the router the config wont take affect. this means lots of changes can be made to a router while it is up and running, and you can get them all to take place in one go out of hours.

Now if you do relaod after you have erased the flash, the router will first serch for an image in flash.. and once it cant find one will boot in to romm (in fact that is back to front a router allways boots in to rom. and then checks the boot system config and boots the image.
if the image is not there then its a realllllllllll pain to sort out. if you copy the new ios over while the system is still running then you avoid the heart ach.

as for sorting out the boot system:

i do a

#no boot system

as this clears it and then set uit up again,

aslo I have found out on some systems that the show bootsystem does not update fully unless you do a copy run start first.
cooollll devil,

thanks ... its really helpful
no problem always nice to help. let us know how it goes.
what's the statuc here ,, is it solved !!
 
BR
Hi memo,

I have just downloaded the IOS but i actually havnt transfered it to the router... i ll go to the office and finish the job on friday...

I think it shouldnt be a problem now especially with the help u and devil have given me... but if i need any help i ll post it here...

once again thx for ur help and time ..

cheers
yes it will pass without any problem
 
wish you a goodluck
BR
thanks a million memo
glad to hear it went well :)

if you ever do have a router that wont boot past the ROMM. ie has a croupted IOS on it or none at all.

there following document will help you get it back up and running.

https://www.experts-exchange.com/articles/Hardware/Networking_Hardware/Recovering-a-Dead-CISCO-Switch-Router.html

I am going to update it soon so it will down load the IOS from a tftp server which is much quicker, however this will get you out of a pinch if you need it.

Hi Guys,

I am in the office now trying to load the new IOS to my 2811 router from my TFTP server.. I am posting sh ver and sh flash outputs here and the error that I am recieving while copying the IOS to the flash.. Kindly help me out to load the IOS to my router...

ODIN#sh flash
-#- --length-- -----date/time------ path
1         2748 Mar 30 2009 05:17:34 +00:00 sdmconfig-2811.cfg
2       931840 Mar 30 2009 05:17:52 +00:00 es.tar
3      1505280 Mar 30 2009 05:18:12 +00:00 common.tar
4         1038 Mar 30 2009 05:18:26 +00:00 home.shtml
5       112640 Mar 30 2009 05:18:40 +00:00 home.tar
6      1697952 Mar 30 2009 05:19:04 +00:00 securedesktop-ios-3.1.1.45-k9.pkg
7       415956 Mar 30 2009 05:19:24 +00:00 sslclient-win-1.1.4.176.pkg

59334656 bytes available (4681728 bytes used)

ODIN#sh ver
Cisco IOS Software, 2800 Software (C2800NM-IPBASE-M), Version 12.4(15)T7, RELEAS
E SOFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2008 by Cisco Systems, Inc.
Compiled Wed 13-Aug-08 17:09 by prod_rel_team

ROM: System Bootstrap, Version 12.4(13r)T, RELEASE SOFTWARE (fc1)

ODIN uptime is 3 days, 4 hours, 52 minutes
System returned to ROM by reload at 12:28:18 UTC Tue Jul 14 2009
System image file is "flash:c2800nm-ipbase-mz.124-15.t7.bin"

Cisco 2811 (revision 53.51) with 251904K/10240K bytes of memory.
Processor board ID FCZ13147011
2 FastEthernet interfaces
DRAM configuration is 64 bits wide with parity enabled.
239K bytes of non-volatile configuration memory.
62720K bytes of ATA CompactFlash (Read/Write)

Configuration register is 0x2102


ODIN#copy tftp flash
Address or name of remote host [192.168.1.115]?
Source filename [c2800nm-adventerprisek9_ivs-mz.124-24.T1.bin]?
Destination filename [c2800nm-adventerprisek9_ivs-mz.124-24.T1.bin]?
Accessing tftp://192.168.1.115/c2800nm-adventerprisek9_ivs-mz.124-24.T1.bin...
Loading c2800nm-adventerprisek9_ivs-mz.124-24.T1.bin from 192.168.1.115 (via Fas
tEthernet0/0): !
%Error copying tftp://192.168.1.115/c2800nm-adventerprisek9_ivs-mz.124-24.T1.bin
 (Not enough space on device)

Also the IOS image that I am trying to load to my router.. the specification of that IOS is listed below...


here is the IOS details by cisco

Details
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           Release                                                                   12.4.24T1                                                                                                                                                                                             Filename                                                                                                                                      c2800nm-adventerprisek9_ivs-mz.124-24.T1.bin                                                                                                                                                                                                                                                                                                                                    Product Code                                                                                                                                                                                                                                                                                 S28NAVSK9-12424T
                                                                                                                                                                                                                                                                                                                                                                                                                                                                       Release Date                                                                    23/Jun/2009                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           Minimum Memory                                                                                                                                                        DRAM:256                                                                               MB                                                                                                                                                         Flash:64                                                                               MB                                                                                                                                                                                                                                                                                                                                          Size                                                                   58489.14 KB (59892872 bytes)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Router Checksum                                                                   0xae86                                                                                                                                                                                                                                                                                                                         MD5                                                                   ccec1c8622e5ce917497b9c4ca7d1173
Also the IOS image that I am trying to load to my router.. the specification of that IOS is listed below...


here is the IOS details by cisco

Details
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           Release                                                                   12.4.24T1                                                                                                                                                                                             Filename                                                                                                                                      c2800nm-adventerprisek9_ivs-mz.124-24.T1.bin                                                                                                                                                                                                                                                                                                                                    Product Code                                                                                                                                                                                                                                                                                 S28NAVSK9-12424T
                                                                                                                                                                                                                                                                                                                                                                                                                                                                       Release Date                                                                    23/Jun/2009                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           Minimum Memory                                                                                                                                                        DRAM:256                                                                               MB                                                                                                                                                         Flash:64                                                                               MB                                                                                                                                                                                                                                                                                                                                          Size                                                                   58489.14 KB (59892872 bytes)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Router Checksum                                                                   0xae86                                                                                                                                                                                                                                                                                                                         MD5                                                                   ccec1c8622e5ce917497b9c4ca7d1173