Problem with config register on 4506 Catalyst

Unanswered Question
Mar 26th, 2007

I have a few switches that are having the same problem. I set the config-register to 0x2102 and when the switch boots it goes into ROMMON and I don't understand why. I have to set the config register to 0x101 for it to boot into config mode.


Am I missing something here, I thought the default was 0x2102 and it would boot into config mode.


Here are the show ver and dir of everything.



4506#show ver

Cisco Internetwork Operating System Software

IOS (tm) Catalyst 4000 L3 Switch Software (cat4000-I9S-M), Version 12.2(18)EW2, RELEASE SOFTWARE (fc1)

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

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

Compiled Mon 01-Nov-04 16:23 by kellythw

Image text-base: 0x00000000, data-base: 0x010BAF04


ROM: 12.1(20r)EW1

Dagobah Revision 90, Swamp Revision 3


4506 uptime is 2 days, 30 minutes

System returned to ROM by reload

System restarted at 11:10:49 EDT Sat Mar 24 2007

Running default software


cisco WS-C4506 (MPC8245) processor (revision 4) with 262144K bytes of memory.

Processor board ID FOX091302B9

Last reset from Reload

1 Virtual Ethernet/IEEE 802.3 interface(s)

96 FastEthernet/IEEE 802.3 interface(s)

2 Gigabit Ethernet/IEEE 802.3 interface(s)

511K bytes of non-volatile configuration memory.


Configuration register is 0x101


4506#dir f bootflash:

Directory of bootflash:/


1 -rwx 10308052 Feb 19 2005 22:42:41 -05:00 cat4000-i9s-mz.122-18.EW2.bin

3 -rw- 12666 Mar 24 2007 11:02:32 -04:00 startup-config


27262976 bytes total (16929204 bytes free)



4506#dir bootflash:

Directory of bootflash:/


1 -rwx 10308052 Feb 19 2005 22:42:41 -05:00 cat4000-i9s-mz.122-18.EW2.bin

2 -rw- 12666 Mar 24 2007 10:49:24 -04:00 [mem]

3 -rw- 12666 Mar 24 2007 11:02:32 -04:00 startup-config


27262976 bytes total (16929204 bytes free)



4506#dir nvram:

Directory of nvram:/


507 -rw- 3704 <no date> startup-config

508 ---- 27 <no date> private-config

1 ---- 4 <no date> rf_cold_starts

2 ---- 12 <no date> persistent-data


524280 bytes total (518449 bytes free)



4506#dir system:

Directory of system:/


2 dr-x 0 <no date> memory

1 -rw- 12606 <no date> running-config

9 dr-x 0 <no date> vfiles


No space information available



4506#dir cat4000_flash:

Directory of cat4000_flash:/


1 -rw- 556 <no date> vlan.dat


524280 bytes total (523724 bytes free)



Thanks,

Mike

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Bobby Thekkekandam Mon, 03/26/2007 - 09:30

Hi Mike,


The main difference between 0x2102 and 0x101 is that 0x2102 will boot the image specified by the "boot system" command whereas 0x101 will boot the first valid IOS image in flash.


The fact that it boots into ROMMON with 0x2102 most likely means that the "boot system" command is specifying an image that is not in bootflash.


HTH,


Bobby


burleyman Mon, 03/26/2007 - 11:05

Here it is.....



4506#show bootvar

BOOT variable does not exist

CONFIG_FILE variable does not exist

BOOTLDR variable does not exist

Configuration register is 0x101



Thanks for your help.


Mike



ankbhasi Mon, 03/26/2007 - 11:09

Hi Mike,


Set the boot path as


4506(config)#boot system flash bootflash:cat4000-i9s-mz.122-18.EW2.bin

4506(config)#config-reg 0x2102

4506#wr mem

4506#reload


And it should be ok there after.


HTH


Ankur


*Pls rate all helpfull post

burleyman Mon, 03/26/2007 - 12:01

After I posted what you wanted I figured it out and I realized I needed to do the commands you listed.


Thanks you,

Mike

burleyman Mon, 03/26/2007 - 12:02

I am going to try it this weekend and will rate your post after it works.


Mike

Amit Singh Tue, 03/27/2007 - 10:58

Mike,


This will work for you. The reason it was going to rommon because, you dont have any bootvariable set to boot the switch.By changing the rommon to 0x101, it was picking up the first valid image to boot from the flash.


-amit singh

Actions

This Discussion