Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

cisco 2821 IOS upgradation problem

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

Re: cisco 2821 IOS upgradation problem

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 ...

22 REPLIES
Hall of Fame Super Gold

Re: cisco 2821 IOS upgradation problem

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

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

New Member

Re: cisco 2821 IOS upgradation problem

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

Re: cisco 2821 IOS upgradation problem

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

New Member

Re: cisco 2821 IOS upgradation problem

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

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

Re: cisco 2821 IOS upgradation problem

try downloading the image again and load it.

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

Re: cisco 2821 IOS upgradation problem

could you please provide the output of the 2 commands:

     dir /all

     dir /all all-filesystems

New Member

Re: cisco 2821 IOS upgradation problem

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)

Hall of Fame Super Gold

Re: cisco 2821 IOS upgradation problem

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

New Member

Re: cisco 2821 IOS upgradation problem

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

Hall of Fame Super Gold

Re: cisco 2821 IOS upgradation problem

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

New Member

Re: cisco 2821 IOS upgradation problem

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.

New Member

Re: cisco 2821 IOS upgradation problem

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.

New Member

Re: cisco 2821 IOS upgradation problem

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.

New Member

Re: cisco 2821 IOS upgradation problem

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

New Member

Re: cisco 2821 IOS upgradation problem

Dear I know this command, plz go through to get to know what is going on..

Re: cisco 2821 IOS upgradation problem

Manish,

can you please issue the following commands and post the output:
     verify flash:c2800nm-advipservicesk9-mz.124-25d.bin
     verify system:running-config
     verify nvram:startup-config

     show startup | incl boot

(you posted the output of the running config  not the startup ...)

New Member

Re: cisco 2821 IOS upgradation problem

Hi Martin,

thanks a lot for time. below is the commands output:

#verify flash:c2800nm-advipservicesk9-mz.150-1.M4.bin

%Filesystem does not support verify operations

Verifying file integrity of flash:c2800nm-advipservicesk9-mz.150-1.M4.bin.................................................................................................................................................................................................Done!

Embedded Hash   MD5 : C632A4EEBEC0EE7611C17DB31C4DAF1F

Computed Hash   MD5 : C632A4EEBEC0EE7611C17DB31C4DAF1F

CCO Hash        MD5 : 08899810F688F12725A852C270FF097A

#verify system:running-config

%Filesystem does not support verify operations

#verify nvram:startup-config

%Filesystem does not support verify operations

#show startup-config | in boot

boot-start-marker

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

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

boot-end-marker

Re: cisco 2821 IOS upgradation problem

can you please post the output of

     show version

New Member

Re: cisco 2821 IOS upgradation problem

I#sh ver

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

Technical Support: http://www.cisco.com/techsupport

Copyright (c) 1986-2006 by Cisco Systems, Inc.

Compiled Fri 17-Nov-06 12:02 by prod_rel_team

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

device uptime is 2 days, 21 hours, 55 minutes

System returned to ROM by reload at 17:51:30 UTC Fri Nov 26 2010

System restarted at 17:52:49 UTC Fri Nov 26 2010

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

This product contains cryptographic features and is subject to United

States and local country laws governing import, export, transfer and

use. Delivery of Cisco cryptographic products does not imply

third-party authority to import, export, distribute or use encryption.

Importers, exporters, distributors and users are responsible for

compliance with U.S. and local country laws. By using this product you

agree to comply with applicable laws and regulations. If you are unable

to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:

http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to

export@cisco.com.

Cisco 2821 (revision 53.51) with 509952K/14336K bytes of memory.

Processor board ID FTX1048A34X

4 FastEthernet interfaces

2 Gigabit Ethernet interfaces

1 Channelized (E1 or T1)/PRI port

1 Virtual Private Network (VPN) Module

DRAM configuration is 64 bits wide with parity enabled.

239K bytes of non-volatile configuration memory.

250880K bytes of ATA CompactFlash (Read/Write)

Configuration register is 0x2101

Re: cisco 2821 IOS upgradation problem

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 ...

New Member

Re: cisco 2821 IOS upgradation problem

Hi Martin,

The Register value was the problem. I am glad Router is running with the latest IOS.

Thanks a lot for the time and prompt Reply

Re: cisco 2821 IOS upgradation problem

Manish,

fine that I could help you! And here is also a link where the different config-register values and their meanings are listed :

http://www.cisco.com/en/US/partner/products/hw/routers/ps133/products_tech_note09186a008022493f.shtml

3763
Views
13
Helpful
22
Replies
CreatePlease login to create content