Solved

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

Posted on 2009-07-14
39
6,406 Views
Last Modified: 2012-05-07
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??
0
Comment
Question by:shakeelsaleem
  • 16
  • 12
  • 11
39 Comments
 
LVL 16

Expert Comment

by:memo_tnt
Comment Utility
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
0
 

Author Comment

by:shakeelsaleem
Comment Utility
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)
0
 

Author Comment

by:shakeelsaleem
Comment Utility
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)
0
 

Author Comment

by:shakeelsaleem
Comment Utility
Hi Memo,

I am trying from enable mode ..

Regards,
0
 
LVL 16

Expert Comment

by:memo_tnt
Comment Utility
send run config...

BR
0
 
LVL 16

Expert Comment

by:memo_tnt
Comment Utility
plus send the new IOS size ??
0
 

Author Comment

by:shakeelsaleem
Comment Utility
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
!
0
 

Author Comment

by:shakeelsaleem
Comment Utility
Hi

the size of new IOS is 29.1 MB

Regards
0
 
LVL 16

Expert Comment

by:Aaron Street
Comment Utility
"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)

0
 
LVL 16

Expert Comment

by:memo_tnt
Comment Utility
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
0
 

Author Comment

by:shakeelsaleem
Comment Utility
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 ...

0
 
LVL 16

Expert Comment

by:Aaron Street
Comment Utility
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

0
 
LVL 16

Expert Comment

by:Aaron Street
Comment Utility
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?



0
 
LVL 16

Expert Comment

by:Aaron Street
Comment Utility
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
0
 

Author Comment

by:shakeelsaleem
Comment Utility
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
0
 
LVL 16

Expert Comment

by:Aaron Street
Comment Utility
let me check you deffently have the right ios iamge
0
 
LVL 16

Expert Comment

by:Aaron Street
Comment Utility
well with

239K bytes of non-volatile configuration memory

you wont copy it to start :)
0
 
LVL 16

Expert Comment

by:Aaron Street
Comment Utility
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.

0
 
LVL 16

Expert Comment

by:memo_tnt
Comment Utility
that's what am talking from the beginning ,,


BR
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 16

Expert Comment

by:Aaron Street
Comment Utility
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.
0
 

Author Comment

by:shakeelsaleem
Comment Utility
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

0
 
LVL 16

Expert Comment

by:memo_tnt
Comment Utility
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
0
 
LVL 16

Expert Comment

by:Aaron Street
Comment Utility
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!

0
 
LVL 16

Accepted Solution

by:
memo_tnt earned 500 total points
Comment Utility
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

it shows that it's compatible with your router,, but it's size above flash empty space..
so, you as i mentioned above you need to delete the old one,
or boot from USB, or TFTP,,
but i recommend to boot from flash


BR
0
 
LVL 16

Expert Comment

by:memo_tnt
Comment Utility
a 100% >> DevilWAH
0
 

Author Comment

by:shakeelsaleem
Comment Utility
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 !!!

0
 

Author Comment

by:shakeelsaleem
Comment Utility
Hey guys Memo and Devil thanks a million for ur help today ... really appreciate it...

0
 
LVL 16

Expert Comment

by:memo_tnt
Comment Utility
you are welcome
so, every thing is solved now ??

BR
0
 
LVL 16

Expert Comment

by:Aaron Street
Comment Utility
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.
0
 

Author Comment

by:shakeelsaleem
Comment Utility
cooollll devil,

thanks ... its really helpful
0
 
LVL 16

Expert Comment

by:Aaron Street
Comment Utility
no problem always nice to help. let us know how it goes.
0
 
LVL 16

Expert Comment

by:memo_tnt
Comment Utility
what's the statuc here ,, is it solved !!
 
BR
0
 

Author Comment

by:shakeelsaleem
Comment Utility
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
0
 
LVL 16

Expert Comment

by:memo_tnt
Comment Utility
yes it will pass without any problem
 
wish you a goodluck
BR
0
 

Author Comment

by:shakeelsaleem
Comment Utility
thanks a million memo
0
 
LVL 16

Expert Comment

by:Aaron Street
Comment Utility
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.

http://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.

0
 

Author Comment

by:shakeelsaleem
Comment Utility
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)

0
 

Author Comment

by:shakeelsaleem
Comment Utility
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
0
 

Author Comment

by:shakeelsaleem
Comment Utility
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
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I recently attended Cisco Live! in Las Vegas, a conference that boasted over 28,000 techies in attendance, and a week of hands-on learning hosted by a solid partner with which Concerto goes to market.  Every year, Cisco displays cutting-edge technol…
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now