cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
20290
Views
12
Helpful
12
Replies

4506 switch boots to ROMMON

sangram palande
Level 1
Level 1

Hi all,

I have two 4506 switches in my organisation. Recently the office was relocated and when both the switches were booted they ignored the startup config.

The config-reg was set to 0x2101. No boot system command was configured.

So  I changed the config-reg of SW1 to 0x2102 and gave boot system command as stated below.

When reloaded the switch booted to ROMMON and I had to manually boot the IOS.I want them to boot normally with IOS.

Config of SW2 is not changed since relocation. I am specifying both configs bor your consideration.

I am thankful for all the help I get.

Config Switch1

show version

Cisco IOS Software, Catalyst 4500 L3 Switch Software (cat4500e-LANBASE-M), Versi

on 12.2(53)SG4, RELEASE SOFTWARE (fc2)

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

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

Compiled Fri 25-Feb-11 15:30 by prod_rel_team

Image text-base: 0x10000000, data-base: 0x121E85D4

ROM: 12.2(44r)SG9

Darkside Revision 4, Jawa Revision 12, Tatooine Revision 140, Forerunner Revisio

n 1.21

System_Plus uptime is 3 days, 11 hours, 0 minutes

System returned to ROM by power-on

System image file is "bootflash:cat4500e-lanbase-mz.122-53.SG4.bin"

cisco WS-C4506-E (MPC8548) processor (revision 12) with 524288K bytes of memory.

Processor board ID SPE150900ZA

MPC8548 CPU at 1GHz, Supervisor 6L-E

Last reset from PowerUp

3 Virtual Ethernet interfaces

100 Gigabit Ethernet interfaces

2 Ten Gigabit Ethernet interfaces

511K bytes of non-volatile configuration memory.

Configuration register is 0x2102

show bootflash:

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

1     22904887 Jun 27 2011 04:01:02 cat4500e-lanbase-mz.122-53.SG4.bin

97927168 bytes available (30355456 bytes used)

show bootvar

BOOT variable = bootflash:cat4500e-lanbase-mz.122-53.SG4.bin,12;

CONFIG_FILE variable does not exist

BOOTLDR variable does not exist

Configuration register is 0x2102

Config Switch 2:

show version

Cisco IOS Software, Catalyst 4500 L3 Switch Software (cat4500e-LANBASE-M), Versi

on 12.2(53)SG4, RELEASE SOFTWARE (fc2)

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

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

Compiled Fri 25-Feb-11 15:30 by prod_rel_team

Image text-base: 0x10000000, data-base: 0x121E85D4

ROM: 12.2(44r)SG9

Darkside Revision 4, Jawa Revision 12, Tatooine Revision 140, Forerunner Revisio

n 1.21

Switch uptime is 9 weeks, 3 days, 18 hours, 40 minutes

System returned to ROM by power-on

System image file is "bootflash:cat4500e-lanbase-mz.122-53.SG4.bin"

cisco WS-C4506-E (MPC8548) processor (revision 12) with 524288K bytes of memory.

Processor board ID FOX1520GRKB

MPC8548 CPU at 1GHz, Supervisor 6L-E

Last reset from PowerUp

3 Virtual Ethernet interfaces

100 Gigabit Ethernet interfaces

2 Ten Gigabit Ethernet interfaces

511K bytes of non-volatile configuration memory.

Configuration register is 0x2101

show bootflash

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

1     22904887 Jun 27 2011 00:59:44 cat4500e-lanbase-mz.122-53.SG4.bin

97927168 bytes available (30355456 bytes used)

show bootvar

BOOT variable does not exist

CONFIG_FILE variable does not exist

BOOTLDR variable does not exist

Configuration register is 0x2101

1 Accepted Solution

Accepted Solutions

Hi Sangram,

Issue set command to see what is the current bootvariable, config register configured in rommon

rommon> set

if the bootvariable is incorrect then clear the bootvariable and set the new bootvariable.

rommon>BOOT=

rommon>BOOT=bootflash:

rommon>sync

++ check if the image present is not corrupted and also check the memory requirements of that ios if required.

++ If the above options doesnt work, then load the device with any ios and from the CLI set the bootvariable pointing to the right image and do a wr mem. Ideally this should work !

Useful rommon commands:

rommon>priv

rommon>sync

rommon>reset

rommon>dev

Hope this answers your question.

Cheers

somu

Rate helpful posts

View solution in original post

12 Replies 12

Beetlejuice01
Level 1
Level 1

Hi Sangram,

both switch does the same things? On switch 2 it can be normal due to cofiguration register, on switch 1 have you checked the correct name of image?

Post a show flash of switch 1.

Hi Sangram,

Quickly follow below steps to recover and let us know what happens:

rommon 1> dev

Will give you what devices are available on your switch/router

rommon 2> dir flash:

Look for the valid image file

rommon 3> boot

Try to boot that image if the file is valid, this brings you back to normal operation mode.

Pls rate if helps !

Best Regards,

Guruprasad R

Hi Fabio,

Initially,

When both SW config was same, they both booted normally but ignored startup.

Now config of SW1 is changed(config reg 0x2102 and boot system command). It now boots in ROMMON mode.I had to manually give boot command in Rommon mode for it to start.

SW2 config is not changed. If reloaded it still ignores startup.

Try command on top posted from guruprasadr, chech a valid image with dev command rommon>dev after insert command BOOT=bootflash:(valid image name) always in rommon mode, and after  sync command....  rommon>sync.

Check if it works

Hi all,

Firstly, you can see from the config that Boot system command configured on SW1 is correct.

Secondly,Configuring boot command in ROMMON to boots IOS. But if I give reload again it goes to ROMMON.

I don't want it to go to ROMMON everytime it reloads.

I have shedules 1 hr downtime on 5 DEC,11. I can try anything only then.

Thanks both for the help.

Sangram

Hi Sangram,

Issue set command to see what is the current bootvariable, config register configured in rommon

rommon> set

if the bootvariable is incorrect then clear the bootvariable and set the new bootvariable.

rommon>BOOT=

rommon>BOOT=bootflash:

rommon>sync

++ check if the image present is not corrupted and also check the memory requirements of that ios if required.

++ If the above options doesnt work, then load the device with any ios and from the CLI set the bootvariable pointing to the right image and do a wr mem. Ideally this should work !

Useful rommon commands:

rommon>priv

rommon>sync

rommon>reset

rommon>dev

Hope this answers your question.

Cheers

somu

Rate helpful posts

Thanks guys for all the help.

I have just one last doubt,

Is this bootvariable in ROMMON mode same as the one specified in IOS

SW#show bootvar

or is it diffrent?

Sangram

Hi Sangram,

The boot variable in Rommon Mode is the same as that the one specified in IOS.

In some rare cases, the boot variable might not get synced and hence the device will fall to rommon durng reload.

Cheers

Somu

Rate helpful posts

The same but sometimes there must be problem. Check also at the first  of show run there is the boot of ios, verify if more than one exist delete the unused, can create problem.

Thanks to all. Lot of useful.

Gained lot of valuable knowledge.

But I will have to wait till  5 dec to implement it.

Sangram

Let us know if this issue is solved

Hi all,

Both switches are now booting normally into IOS. Configured as per Somu's suggestion.

Thanks everyone.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card