cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
668
Views
14
Helpful
4
Replies

Bypassing Flash while Copying IOS

navneet_78
Level 1
Level 1

I have a 2651 XM router. This went into the ROMMON mode y'day. When i logged in through the Dial in access, i could see that the confreg was set to 0x2102 as expected.

It was not detecting flash when i tried this command.

rommon 14 > 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

device does not contain a valid magic number

boot: cannot open "flash:"

boot: cannot determine first file name on device "flash:"

Now, as per Cisco's recommendation, i can reseat the Flash card and check before going in for a replacement.

Fix that was implemented by our onsite team:

The Router was restored by loading the IOS into memory bypassing the flash card entirely. Upon successful load it was noticed that the router could recognize the flash card but no files were in it. I then began to copy the IOS into the flash card and it was successful. We did a test reload to see if the IOS read in the flash card is successful and that was positive.

NOw, here my concern is,

1) In this case, Was the IOS loaded onto to the processor board memory? How can we bypass Flash when in ROMMON mode to copy flash onto the memory?

2) By default, is the IOS image copied onto the memory when a new router is shipped?

3) If there is HSRP configured in A and B routers, can I make A as TFTP server and tell B to boot from A, if B goes into ROMMON mode?

xxxxxx06#sh ver

Cisco IOS Software, C2600 Software (C2600-ADVIPSERVICESK9-M), Version 12.3(8)T4, RELEASE SOFTWARE (fc2)

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

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

Compiled Thu 02-Sep-04 22:00 by eaarmas

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

xxxxxx06 uptime is 19 hours, 47 minutes

System returned to ROM by reload at 05:03:13 EDT Wed Aug 2 2006

System restarted at 05:07:29 EDT Wed Aug 2 2006

System image file is "flash:c2600-advipservicesk9-mz.123-8.T4.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 2651XM (MPC860P) processor (revision 0x301) with 127218K/3854K bytes of memory.

Processor board ID FOC08361PPC (3046291923)

M860 processor: part number 5, mask 2

2 FastEthernet interfaces

2 Serial(sync/async) interfaces

1 Virtual Private Network (VPN) Module

32K bytes of NVRAM.

32768K bytes of processor board System flash (Read/Write)

Configuration register is 0x2102

xx06#

4 Replies 4

desai.jaideep
Level 5
Level 5

HI

(1)The command if "tftpdnld -r".This will load IOS to RAM instead of programming flash first ten loading into RAM.

(2)Every Cisco Router comes with an IOS within its flash.

(3)You can achieve that by a single router.If there is no valid boot image in flash then the router will search for TFTP server.View following link:

http://www.svrops.com/svrops/documents/ciscoboot.htm

http://www.cisco.com/univercd/cc/td/doc/product/software/ios113ed/cs/csprtf/csprtf2/csreboot.htm

Hope that helps.

Pls rate helpful posts.

Regards

JD

Thanx for the detailed explanation desai.

One last thing. When you say that the IOS can be copied into RAM, are you referring to the DRAM? Where is the RAM located?

Thanks

Navneet

Than JD. you have been a great help.

Cheers

Navneet