cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7772
Views
13
Helpful
22
Replies

cisco 2821 IOS upgradation problem

Manish Sehrawat
Level 1
Level 1

Hi all,

I am facing a problem in upgradation Ios of router. I have uploaded new image but still it is booting from old IOS.

old ios :c2800nm-advipservicesk9-mz.124-12.bin

new IOS: c2800nm-advipservicesk9-mz.124-25d.bin

config#boot system flash:\c2800nm-advipservicesk9-mz.124-25d.bin

I have check other IOS version as well but still showing me same.

I would highly appreciate if someone can give me some time to solve this issue.

1 Accepted Solution

Accepted Solutions

seems that someone has changed your config-register ...

I assume you want to have the image c2800nm-advipservicesk9-mz.124-25d.bin running on this router

- delete the IOS 15.0(1) release

- copy the IOS 12.48(25d) to the router as you have done initialy

- verify the integrity of this image with

    verify flash:c2800nm-advipservicesk9-mz.124-25d.bin

- if it is ok, set the boot var to point to this image

- CHANGE the config-register with the command

    config-register 0x2102

- verify this value to be shown at the end of the output of "show version"

- copy running to startup (wr mem)

- reload the router and (hopefully) be happy ...

View solution in original post

22 Replies 22

Leo Laohoo
Hall of Fame
Hall of Fame

The correct command is:  "boot system flash:c2800nm-advipservicesk9-mz.124-25d.bin"

Please don't forget to rate our useful posts. Thanks.

Hi leolaohoo ,

First of all Thanks for your help

I tried this command as well but the results are same. Is there any other possibility to solve it

boot system flash:c2800nm-advipservicesk9-mz.124-25d.bin

order of the statements matter

so modify your config to have it point to the new IOS in the first line and next line contains the old IOS

something like this

boot system flash:c2800nm-advipservicesk9-mz.124-25d.bin

boot system flash:c2800nm-advipservicesk9-mz.124-12.bin

Thanks for the reply

But still having same problem, after changing boot sequence same Results, I would appreciate if anyone can solve it

Below is the details:

I#sh version

Cisco IOS Software, 2800 Software (C2800NM-ADVIPSERVICESK9-M), Version 12.4(12),                                                                              RELEASE SOFTWARE (fc1)

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

Router uptime is 2 minutesI

System returned to ROM by reload at 15:15:41 UTC Thu Nov 25 2010

System restarted at 15:17:00 UTC Thu Nov 25 2010

System image file is "flash:c2800nm-advipservicesk9-mz.124-12.bin"

------------------------------------------------------------------------------------------

Router#sh run | sec boot

boot-start-marker

boot system flash:c2800nm-advipservicesk9-mz.124-25d.bin

boot system flash:c2800nm-advipservicesk9-mz.124-12.bin

boot-end-marker

--------------------------------------------------------------------------------------------------------------

try downloading the image again and load it.

if that fails as well/. post the console logging when the router boots up.

could you please provide the output of the 2 commands:

     dir /all

     dir /all all-filesystems

Thanks for prompt answers

I don't have console access, managing device remotely So cannot post the booting logs but I will download new image and upload it again.

Below is the Output of asked commands:

Router#dir /all

Directory of flash:/

    1  -rw-    36232088  Jan 31 2007 17:10:20 +00:00  c2800nm-advipservicesk9-mz.124-12.bin

    2  -rw-        7131   Nov 2 2007 15:32:00 +00:00  config-02102007

    3  -rw-    38145936  Nov 24 2010 13:32:30 +00:00  c2800nm-advipservicesk9-mz.124-25d.bin

256483328 bytes total (182095872 bytes free)

Router#dir /all all-fi

Router#dir /all all-filesystems

Directory of archive:/

No files in directory

Error getting file system status (Unknown error 0)

Directory of system:/

    2  drwx           0                      its

  115  dr-x           0                      lib

  145  dr-x           0                      memory

    1  -rw-        3213                      running-config

  114  dr-x           0                      vfiles

Error getting file system status (Bad file number)

Directory of flash:/

    1  -rw-    36232088  Jan 31 2007 17:10:20 +00:00  c2800nm-advipservicesk9-mz.124-12.bin

    2  -rw-        7131   Nov 2 2007 15:32:00 +00:00  config-02102007

    3  -rw-    38145936  Nov 24 2010 13:32:30 +00:00  c2800nm-advipservicesk9-mz.124-25d.bin

256483328 bytes total (182095872 bytes free)

Directory of nvram:/

233  -rw-        3312                      startup-config

  234  ----        1960                      private-config

  235  -rw-        3312                      underlying-config

    1  -rw-           0                      ifIndex-table

    2  ----          12                      persistent-data

245752 bytes total (238380 bytes free)

Maybe you have a previous boot statement.  Do this:

conf t

no boot system

boot system flash:c2800nm-advipservicesk9-mz.124-25d.bin

end

wr

reload

I did what was suggested, I downloaded new Image but still having same issue. Router is booting with the old IOS. Thanks in advance if someone help

no boot system

boot system flash:c2800nm-advipservicesk9-mz.150-1.M4.bin

wr

reload

Can you post the bootup process?  I want to know if the router found something "funny" and skipped the boot variable.

Thanks again for your time

I gave information above as well, I cannot get access to that Router through Console. Is there any other way through vty.

Connection by using Auxiliary Port

(AUX Port)

By using a

remote computer through a modem that calls another modem connected to the

router with a cable using the Auxiliary

Port on the router. Auxiliary Port

(AUX Port) allows a direct, non-network

connection to the router, from a remote location. The Auxiliary

Port (AUX Port)

uses a connector type to which modems can plug into, which allows an

administrator from a remote location to access the router like a console port.

Thanks Jyosa for the post, IOS problem is solved. problem was config register value. which is noticed by Martin.

But yes I would like to know about Aux. we have already done setup of modem on another remote site for the router and I got number as well but I have not used it. I was trying to dial though hyper terminal but no luck. Do I need direct telephone line to dial or ext. will work ? I would appreciate if you can let me know the proces.

jhosa_reddy
Level 1
Level 1

config#boot system flash:c2800nm-advipservicesk9-mz.124-25d.bin

Review Cisco Networking for a $25 gift card