cisco 7206VXR router keep booting on older IOS

Answered Question
Apr 6th, 2009

Hi.


I wanted to boot a cisco 7206VXR router on IOS c7200-is-mz.124-18e.bin.

However the router keep booting on the older IOS c7200-is-mz.122-15.B.bin.


The configuration/status before I reload:

1. Configuration register is 0x2102

2. gw-btvoice-sto2#sh run | in boot sys

boot system flash disk2:c7200-is-mz.124-18e.bin

3. gw-btvoice-sto2#sh bootvar

BOOT variable = disk2:c7200-is-mz.124-18e.bin,1;

CONFIG_FILE variable does not exist

BOOTLDR variable does not exist

Configuration register is 0x2102

4. gw-btvoice-sto2#sh disk2:

-#- --length-- -----date/time------ path

1 16371056 Apr 05 2009 17:51:12 c7200-is-mz.122-15.B.bin

2 26009164 Mar 31 2009 06:55:32 c7200-is-mz.124-18e.bin

21823488 bytes available (42401792 bytes used)

5. verify /md5 disk2:c7200-is-mz.124-18e.bin provides the correct checksum


gw-btvoice-sto2#sh version

Cisco Internetwork Operating System Software

IOS (tm) 7200 Software (C7200-IS-M), Version 12.2(15)B, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1)

TAC Support: http://www.cisco.com/tac

Copyright (c) 1986-2003 by cisco Systems, Inc.

Compiled Fri 31-Jan-03 01:13 by leccese

Image text-base: 0x60008954, data-base: 0x61BEC000


ROM: System Bootstrap, Version 12.2(8r)B, RELEASE SOFTWARE (fc1)

BOOTLDR: 7200 Software (C7200-IS-M), Version 12.2(15)B, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1)


gw-btvoice-sto2 uptime is 12 hours, 56 minutes

System returned to ROM by reload at 20:28:35 CET-DST Sun Apr 5 2009

System restarted at 20:30:17 CET-DST Sun Apr 5 2009

System image file is "disk2:c7200-is-mz.122-15.B.bin"


cisco 7206VXR (NPE-G1) processor (revision A) with 245760K/16384K bytes of memory.

Processor board ID 23675723

SB-1 CPU at 700Mhz, Implementation 1, Rev 0.2, 512KB L2 Cache

6 slot VXR midplane, Version 2.1


Last reset from watchdog reset

Bridging software.

X.25 software, Version 3.0.0.

3 FastEthernet/IEEE 802.3 interface(s)

3 Gigabit Ethernet/IEEE 802.3 interface(s)

509K bytes of non-volatile configuration memory.


62976K bytes of ATA PCMCIA card at slot 2 (Sector size 512 bytes).

16384K bytes of Flash internal SIMM (Sector size 256K).

Configuration register is 0x2102


gw-btvoice-sto2#sh file systems

File Systems:


Size(b) Free(b) Type Flags Prefixes

- - opaque rw system:

- - opaque rw null:

- - network rw tftp:

522232 513430 nvram rw nvram:

- - disk rw disk0:

- - disk rw disk1:

- - flash rw slot0: flash:

- - flash rw slot1:

* 64225280 21823488 disk rw disk2:

15990784 10852728 flash rw bootflash:

- - network rw rcp:

- - network rw pram:

- - network rw ftp:


gw-btvoice-sto2#sh bootflash:

-#- ED ----type---- --crc--- -seek-- nlen -length- -----date/time------ name

1 .. image A4DAD420 526688 23 5137928 Jan 23 2000 02:33:13 c7200-kboot-mz.122-4.BW


10852728 bytes available (5138056 bytes used)


Correct Answer by rpfinneran about 7 years 10 months ago

Simon,


See attached. You need to put the new boot loader on flash, and it must be the first item in flash.


What I normally do is this. Format flash, then put first the boot loader for the new IOS. Then put the new IOS on flash. Next, on disk2, put first the boot loader for the old IOS. Then, put the old IOS. Finally, set your boot statements. This will provide a lot of redundancy. Try it out, try messing up certain parts (i.e. the new boot loader, or the new IOS). You will find that in the worst case, you end up on the old IOS.



  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (2 ratings)
Loading.
Giuseppe Larosa Mon, 04/06/2009 - 00:50

Hello Simon,

you may need to load a newer boot loader code in the bootflash to be able to load the new image.


You see that you hace a 12.2(4) boot loader in bootflash c7200-kboot-mz.122-4.BW


try to copy in bootflash the appropriate boot loader for the new image and to set the boot loader image


Hope to help

Giuseppe


simonvyrdal Mon, 04/06/2009 - 01:05

Hello Giuseppe


I will try your suggestion tonight. I keep you informed. thanks simon

simonvyrdal Tue, 04/07/2009 - 00:30

I tried your suggestion with no success.

I copied c7200-kboot-mz.124-18e.bin into the bootflash. This was the situation when I reloaded

gw-btvoice-sto2#sh bootvar

BOOT variable = disk2:c7200-is-mz.124-18e.bin,1;

CONFIG_FILE variable does not exist

BOOTLDR variable = bootflash:c7200-kboot-mz.124-18e.bin

Configuration register is 0x2102


Untill now I reloaded from remote but decided to reload from the console. One of the first thing displayed on the console is


string is disk2:c7200-is-mz.122-15.B.bin


I don't know where this string is set but this must be the reason why the boot cmd's have no impact. Here is the output from the reload

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

gw-btvoice-sto2#reload

Proceed with reload? [confirm]


System Bootstrap, Version 12.2(8r)B, RELEASE SOFTWARE (fc1)

TAC Support: http://www.cisco.com/tac

Copyright (c) 2002 by cisco Systems, Inc.

C7200 platform with 262144 Kbytes of main memory


string is disk2:c7200-is-mz.122-15.B.bin


Self decompressing the image : #########################################################################################

######################################################################################################### [OK]


Restricted Rights Legend


Use, duplication, or disclosure by the Government is

subject to restrictions as set forth in subparagraph

(c) of the Commercial Computer Software - Restricted

Rights clause at FAR sec. 52.227-19 and subparagraph

(c) (1) (ii) of the Rights in Technical Data and Computer

Software clause at DFARS sec. 252.227-7013.


cisco Systems, Inc.

170 West Tasman Drive

San Jose, California 95134-1706




Cisco Internetwork Operating System Software

IOS (tm) 7200 Software (C7200-IS-M), Version 12.2(15)B, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1)

TAC Support: http://www.cisco.com/tac

Copyright (c) 1986-2003 by cisco Systems, Inc.

Compiled Fri 31-Jan-03 01:13 by leccese

Image text-base: 0x60008954, data-base: 0x61BEC000


cisco 7206VXR (NPE-G1) processor (revision A) with 245760K/16384K bytes of memory.

Processor board ID 23675723

SB-1 CPU at 700Mhz, Implementation 1, Rev 0.2, 512KB L2 Cache

6 slot VXR midplane, Version 2.1


Last reset from watchdog reset

Bridging software.

X.25 software, Version 3.0.0.

3 FastEthernet/IEEE 802.3 interface(s)

3 Gigabit Ethernet/IEEE 802.3 interface(s)

509K bytes of non-volatile configuration memory.


62976K bytes of ATA PCMCIA card at slot 2 (Sector size 512 bytes).

16384K bytes of Flash internal SIMM (Sector size 256K).


regards

simon


simonvyrdal Wed, 04/08/2009 - 00:06

Hi leolaohoo


Thanks for your answer. Sad to say that this was still no success.

Below you see a sh bootvar after coding boot system flash c7200-is-mz.124-18e.bin and wr mem.

Also you see a show version after reload.


Thanks

Simon


gw-btvoice-sto2#sh disk2:

-#- --length-- -----date/time------ path

1 16371056 Apr 05 2009 17:51:12 c7200-is-mz.122-15.B.bin

2 26009164 Apr 07 2009 12:16:42 c7200-is-mz.124-18e.bin


gw-btvoice-sto2#sh run | in boot

boot system flash c7200-is-mz.124-18e.bin

boot bootldr bootflash:c7200-kboot-mz.124-18e.bin


gw-btvoice-sto2#sh bootvar

BOOT variable = c7200-is-mz.124-18e.bin,1;

CONFIG_FILE variable does not exist

BOOTLDR variable = bootflash:c7200-kboot-mz.124-18e.bin

Configuration register is 0x2102


gw-btvoice-sto2#sh ver

Cisco Internetwork Operating System Software

IOS (tm) 7200 Software (C7200-IS-M), Version 12.2(15)B, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1)

TAC Support: http://www.cisco.com/tac

Copyright (c) 1986-2003 by cisco Systems, Inc.

Compiled Fri 31-Jan-03 01:13 by leccese

Image text-base: 0x60008954, data-base: 0x61BEC000


ROM: System Bootstrap, Version 12.2(8r)B, RELEASE SOFTWARE (fc1)

BOOTLDR: 7200 Software (C7200-IS-M), Version 12.2(15)B, EARLY DEPLOYMENT RELEASE SOFTWARE (fc1)


gw-btvoice-sto2 uptime is 2 minutes

System returned to ROM by reload at 09:52:53 CET-DST Wed Apr 8 2009

System restarted at 09:54:35 CET-DST Wed Apr 8 2009

System image file is "disk2:c7200-is-mz.122-15.B.bin"


cisco 7206VXR (NPE-G1) processor (revision A) with 245760K/16384K bytes of memory.

Processor board ID 23675723

SB-1 CPU at 700Mhz, Implementation 1, Rev 0.2, 512KB L2 Cache

6 slot VXR midplane, Version 2.1


Last reset from watchdog reset

Bridging software.

X.25 software, Version 3.0.0.

3 FastEthernet/IEEE 802.3 interface(s)

3 Gigabit Ethernet/IEEE 802.3 interface(s)

509K bytes of non-volatile configuration memory.


62976K bytes of ATA PCMCIA card at slot 2 (Sector size 512 bytes).

16384K bytes of Flash internal SIMM (Sector size 256K).

Configuration register is 0x2102


Giuseppe Larosa Wed, 04/08/2009 - 00:14

Hello Simon,


I would use the following command


boot system flash disk2:c7200-is-mz.124-18e.bin


or


boot system disk2:c7200-is-mz.124-18e.bin


With this kind of router you need to provide also the "drive" location of the file you want to load


Sorry I didn't think of this before


see for example on a C7200 of mine


sh run | inc boot system

boot system flash disk2:c7200p-advsecurityk9-mz.124-20.T.bin

boot system flash disk2:c7200p-advsecurityk9-mz.124-4.XD3.bin


this explains why it loads the old file: it is the first in flash


Hope to help

Giuseppe



simonvyrdal Wed, 04/08/2009 - 00:27

Hi Giuseppe


The first thing i tried (see the first post) was

boot system flash disk2:c7200-is-mz.124-18e.bin

In this case show bootvar displays

BOOT variable = disk2:c7200-is-mz.124-18e.bin,1;


I have also tried

boot system disk2:c7200-is-mz.124-18e.bin

with (note the difference ,12 compared to ,1)

BOOT variable = disk2:c7200-is-mz.124-18e.bin,12;


In both case - the result is that the box boots on the first image on disk2:

gw-btvoice-sto2#sh disk2

-#- --length-- -----date/time------ path

1 16371056 Apr 05 2009 17:51:12 c7200-is-mz.122-15.B.bin

2 26009164 Apr 07 2009 12:16:42 c7200-is-mz.124-18e.bin


Thanks

Simon


Giuseppe Larosa Wed, 04/08/2009 - 00:42

Hello Simon,

I see.


I would suggest you the following:

upload with tftp the old ios image


delete it from disk2, squeeze


copy tftp flash the old image


now the first image should be the new one and try to reboot


Hope to help

Giuseppe


simonvyrdal Wed, 04/08/2009 - 22:13

Hi Giuseppe


Thanks a lot for your great assistance with solving this problem. In my answer to rpfinneran you can see I followed your suggestion as weel in making c7200-is-mz.124-18e.bin the first file on disk2.


Regards

Simon

Correct Answer
rpfinneran Wed, 04/08/2009 - 00:44

Simon,


See attached. You need to put the new boot loader on flash, and it must be the first item in flash.


What I normally do is this. Format flash, then put first the boot loader for the new IOS. Then put the new IOS on flash. Next, on disk2, put first the boot loader for the old IOS. Then, put the old IOS. Finally, set your boot statements. This will provide a lot of redundancy. Try it out, try messing up certain parts (i.e. the new boot loader, or the new IOS). You will find that in the worst case, you end up on the old IOS.



simonvyrdal Wed, 04/08/2009 - 22:05

Hi rpfinneran


Many thanks for your help, the "Cisco 7201 Boot.pdf" was very helpfull. As you can see the ordering of the files suggest that the 7206 would come up on c7200-is-mz.124-18e.bin even without coding "boot system" cmd's. Anyway, thanks for your great help that solved my problem.


Regards

Simon


gw-btvoice-sto2#sh bootvar

BOOT variable = disk2:c7200-is-mz.124-18e.bin,1;disk2:c7200-is-mz.122-15.B.bin,1;

CONFIG_FILE variable does not exist

BOOTLDR variable =

WARM_REBOOT variable does not exist

Configuration register is 0x2102


gw-btvoice-sto2#sh bootflash

-#- ED ----type---- --crc--- -seek-- nlen -length- ---------date/time--------- name

1 .. image F34B50D2 804E9C 26 8146460 Apr 8 2009 16:14:39 +02:00 c7200-kboot-mz.124-18e.bin

2 .. image 9D00A02C DD69CC 27 6101680 Apr 8 2009 16:35:47 +02:00 c7200-kboot-mz.122-15.B.bin


gw-btvoice-sto2#sh disk2

-#- --length-- -----date/time------ path

1 26009164 Apr 8 2009 18:26:48 +02:00 c7200-is-mz.124-18e.bin

2 16371056 Apr 8 2009 18:32:58 +02:00 c7200-is-mz.122-15.B.bin


gw-btvoice-sto2#sh ver

Cisco IOS Software, 7200 Software (C7200-IS-M), Version 12.4(18e), RELEASE SOFTWARE (fc2)

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

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

Compiled Mon 02-Mar-09 16:22 by prod_rel_team


ROM: System Bootstrap, Version 12.2(8r)B, RELEASE SOFTWARE (fc1)


gw-btvoice-sto2 uptime is 15 hours, 4 minutes

System returned to ROM by reload at 16:40:30 CET-DST Wed Apr 8 2009

System restarted at 16:43:19 CET-DST Wed Apr 8 2009

System image file is "disk2:c7200-is-mz.124-18e.bin"


Cisco 7206VXR (NPE-G1) processor (revision A) with 229376K/32768K bytes of memory.

Processor board ID 23675723

SB-1 CPU at 700MHz, Implementation 1025, Rev 0.2, 512KB L2 Cache

6 slot VXR midplane, Version 2.1


Actions

This Discussion