cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2367
Views
5
Helpful
10
Replies

unable to upgrade ios on 2650 router

mahesh18
Level 6
Level 6

Hi all,

i have 2650 xm router that  went to romon mode as shown below

i check the settings by  confreg they are correct

rommon 12 > confreg


           Configuration Summary
   (Virtual Configuration Register: 0x2102)
enabled are:
load rom after netboot fails
console baud: 9600
boot: image specified by the boot system commands
      or default to: cisco2-C2600

do you wish to change the configuration? y/n  [n]:  n

******************************************************************************************

i did reset command as shown few times  then finally i get the ios back

***********************************************************************************************

now i was trying to upgrade ios from c2600-adventerprisek9-mz.124-25b.bin  to  new version   c2600-adventerprisek9-mz.124-25d.bin

i deleted the old ios as shown below

2650XM#sh flash

System flash directory:
File  Length   Name/status
  1   29957284  c2600-adventerprisek9-mz.124-25b.bin [deleted]
[29957348 bytes used, 19850008 available, 49807356 total]
49152K bytes of processor board System flash (Read/Write)

then i ran the command

copy tftp://192.168.20.4/c2600-adventerprisek9-mz.124-25d.bin flash:  and press enter here is output

2650XM#copy tftp://192.168.20.4/c2600-adventerprisek9-mz.124-25d.bin flash:
Destination filename [c2600-adventerprisek9-mz.124-25d.bin]?
Accessing tftp://192.168.20.4/c2600-adventerprisek9-mz.124-25d.bin...
%Error opening tftp://192.168.20.4/c2600-adventerprisek9-mz.124-25d.bin (Timed o
ut)

can someone help me how i can upgrade the ios please

many thanks

mahesh

1 Accepted Solution

Accepted Solutions

Hi,

Enter command squeeze flash: to reclaim space used by older IOS which was deleted.

Regards.

Don't forget to rate helpful posts.

View solution in original post

10 Replies 10

Peter Paluch
Cisco Employee
Cisco Employee

Mahesh,

A router booting into ROMMON for no apparent reason has to be inspected very closely whether there are no hardware problems. The 2600XM series is old enough for some hardware problems to show.

Regarding your issue using the tftp command, according to the output you have provided, the router was not able to communicate with the TFTP server. Can you ping its IP address? Is the TFTP server running? Does it accept connections from your IP address? The "timed out" error message refers to a basic connectivity issue between your router and the TFTP server so you must first make sure that you can reach the IP address under which the TFTP server resides. Let's focus on this in the first step.

Best regards,

Peter

Hello Mahesh,

Like Peter told you I will try to setup the IP and SUBNET etc again.

I had the same problem with a router that I purchased on e-bay , the information bellow recovered my problem , I hope this will also help you :

http://articles.techrepublic.com.com/5100-10878_11-5623025.html

Please key in "SET" to see what you get and also like Peter told you try to ping your TFTP server.

If it still does not work open manually the PORT 69 on your computer, I got this problem on a WINDOWS 7 COMPUTER , this is why I use a MAC this day's

I hope this will work , I know the feeling that you have , I have got the same some mounts ago , do not panic yet , we will help you (if it is not a hardware fault)

Best Regards,

Didier

hi all,

i have deleted the old ios and i am back in rom on mode i did this step

rommon 1 >  IP_ADDRESS=192.168.20.4
rommon 2 >
rommon 2 >
rommon 2 >
rommon 2 > IP_SUBNET_MASK=255.255.255.0
rommon 3 > DEFAULT_GATEWAY=192.168.20.1
rommon 4 >
rommon 4 >
rommon 4 > TFTP_SERVER=192.168.20.4
rommon 5 > TFTP_FILE=c2600-adventerprisek9-mz.124-25d.bin
rommon 6 > tftpdnld

          IP_ADDRESS: 192.168.20.4
      IP_SUBNET_MASK: 255.255.255.0
     DEFAULT_GATEWAY: 192.168.20.1
         TFTP_SERVER: 192.168.20.4
           TFTP_FILE: c2600-adventerprisek9-mz.124-25d.bin

Invoke this command for disaster recovery only.
WARNING: all existing data in all partitions on flash will be lost!
Do you wish to continue? y/n:  [n]:  y

PHY did not complete auto-negotation, status = 0x100
.........
ARP: address resolution for 192.168.20.4 timed out.
ARP failed with failure code 1.  TFTP transfer aborted.

TFTP: Operation terminated prematurely.
rommon 7 > reset

System Bootstrap, Version 12.2(8r) [cmong 8r], RELEASE SOFTWARE (fc1)
Copyright (c) 2003 by cisco Systems, Inc.
C2600 platform with 262144 Kbytes of main memory

lseek out of bounds
open: lseek error
open(): Open Error = -1
loadprog: error - on file open
boot: cannot load "flash:c2600-adventerprisek9-mz.124-25b.bin"

System Bootstrap, Version 12.2(8r) [cmong 8r], RELEASE SOFTWARE (fc1)
Copyright (c) 2003 by cisco Systems, Inc.
C2600 platform with 262144 Kbytes of main memory

lseek out of bounds
getdirent: lseek error
boot: cannot determine first file name on device "flash:"

System Bootstrap, Version 12.2(8r) [cmong 8r], RELEASE SOFTWARE (fc1)
Copyright (c) 2003 by cisco Systems, Inc.
C2600 platform with 262144 Kbytes of main memory

lseek out of bounds
getdirent: lseek error
boot: cannot determine first file name on device "flash:"

System Bootstrap, Version 12.2(8r) [cmong 8r], RELEASE SOFTWARE (fc1)
Copyright (c) 2003 by cisco Systems, Inc.
C2600 platform with 262144 Kbytes of main memory

from here i need to know  how can i upgrade to new ios?

thanks for reply

Hi,

Your IP must be different from TFTP server IP which is not the case here.

Regards.

Don't forget to rate helpful posts.

Hi

thanks for reply

now i did this

rommon 1 > IP_ADDRESS=96.51.157.160
rommon 2 > IP_SUBNET_MASK=255.255.252.0
rommon 3 > DEFAULT_GATEWAY=96.51.156.1
rommon 4 > TFTP_SERVER=192.168.20.4
rommon 5 > TFTP_FILE=c2600-adventerprisek9-mz.124-25d.bin
rommon 6 > tftpdnld

          IP_ADDRESS: 96.51.157.160
      IP_SUBNET_MASK: 255.255.252.0
     DEFAULT_GATEWAY: 96.51.156.1
         TFTP_SERVER: 192.168.20.4
           TFTP_FILE: c2600-adventerprisek9-mz.124-25d.bin

Invoke this command for disaster recovery only.
WARNING: all existing data in all partitions on flash will be lost!
Do you wish to continue? y/n:  [n]:  y

PHY did not complete auto-negotation, status = 0x100
.........
ARP: address resolution for 96.51.156.1 timed out.
ARP failed with failure code 1.  TFTP transfer aborted.

TFTP: Operation terminated prematurely.
rommon 7 > reset

System Bootstrap, Version 12.2(8r) [cmong 8r], RELEASE SOFTWARE (fc1)
Copyright (c) 2003 by cisco Systems, Inc.
C2600 platform with 262144 Kbytes of main memory

lseek out of bounds
open: lseek error
open(): Open Error = -1
loadprog: error - on file open
boot: cannot load "flash:c2600-adventerprisek9-mz.124-25b.bin"

System Bootstrap, Version 12.2(8r) [cmong 8r], RELEASE SOFTWARE (fc1)
Copyright (c) 2003 by cisco Systems, Inc.
C2600 platform with 262144 Kbytes of main memory

lseek out of bounds
getdirent: lseek error
boot: cannot determine first file name on device "flash:"

System Bootstrap, Version 12.2(8r) [cmong 8r], RELEASE SOFTWARE (fc1)
Copyright (c) 2003 by cisco Systems, Inc.
C2600 platform with 262144 Kbytes of main memory

lseek out of bounds
getdirent: lseek error
boot: cannot determine first file name on device "flash:"

System Bootstrap, Version 12.2(8r) [cmong 8r], RELEASE SOFTWARE (fc1)
Copyright (c) 2003 by cisco Systems, Inc.
C2600 platform with 262144 Kbytes of main memory

same result

They have to be in the same subnet.

Don't forget to rate helpful posts.

Set it up like this.

rommon 1 >  IP_ADDRESS=192.168.20.4
rommon 2 >
rommon 2 >
rommon 2 >
rommon 2 > IP_SUBNET_MASK=255.255.255.0
rommon 3 > DEFAULT_GATEWAY=192.168.20.1
rommon 4 >
rommon 4 >
rommon 4 > TFTP_SERVER=192.168.20.1
rommon 5 > TFTP_FILE=c2600-adventerprisek9-mz.124-25d.bin

Hi

thanks for reply

i tried no luck now i tried xmodem here is output

rommon 7 > xmodem -c c2600-adventerprisek9-mz.124-25d.bin
Do not start the sending program yet...
         File size           Checksum   File name
lseek out of bounds
getdirent: lseek error

WARNING: All existing data in bootflash will be lost!
Invoke this application only for disaster recovery.
Do you wish to continue? y/n  [n]:  y
Ready to receive file c2600-adventerprisek9-mz.124-25d.bin ...
BB0
ERR:Image size exceeds free flash space

can some one help me on deleting file from flash

Hi,

Enter command squeeze flash: to reclaim space used by older IOS which was deleted.

Regards.

Don't forget to rate helpful posts.

Hi,

thanks for the reply

i changed   boot  from option 0 which was ROM  monitor  to  option 2 and then used xmodem command then i was able to download new ios.

rommon 12 > confreg


           Configuration Summary
   (Virtual Configuration Register: 0x2102)
enabled are:
load rom after netboot fails
console baud: 9600
boot: image specified by the boot system commands

now my router is working good.

Cisco IOS Software, C2600 Software (C2600-ADVENTERPRISEK9-M), Version 12.4(25d), RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2010 by Cisco Systems, Inc.
Compiled Wed 18-Aug-10 04:49 by prod_rel_team

ROM: System Bootstrap, Version 12.2(8r) [cmong 8r], RELEASE SOFTWARE (fc1)

2650XM uptime is 10 hours, 13 minutes
System returned to ROM by power-on
System restarted at 21:36:12 MST Fri Dec 3 2010
System image file is "flash:c2600-adventerprisek9-mz.124-25d.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 2650XM (MPC860P) processor (revision 3.0) with 253952K/8192K bytes of memory.
Processor board ID JAE08116F4Y
M860 processor: part number 5, mask 2
2 FastEthernet interfaces
1 Serial interface
1 Virtual Private Network (VPN) Module
32K bytes of NVRAM.
49152K bytes of processor board System flash (Read/Write)

Configuration register is 0x2102

2650XM# sh flash

System flash directory:
File  Length   Name/status
  1   29968428  c2600-adventerprisek9-mz.124-25d.bin
[29968492 bytes used, 20363152 available, 50331644 total]
49152K bytes of processor board System flash (Read/Write)

2650XM#

many thanks to evryone.

mahesh