cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
20763
Views
5
Helpful
29
Replies

Cisco 4500 switch reboot loop

sudip.acharya1
Level 1
Level 1

Hi,

  When ever I power up the 4500, it goes to ROMMON and sits there until I manually type in "boot" and hit enter. After the manual boot, everything seems to work fine. This switch hasn't been used for awhile so I am not sure what/who caused this to happen. Since it does boot, I know the image is there and OK. I have tried running boot system flash cat4500-ipbase-mz.122-31.SGA6.bin command multiple times but it keeps booting into ROMMON mode.

Any help will be appreciated.

Thanks in advance.

*** Sho Vers:

Cisco IOS Software, Catalyst 4500 L3 Switch Software (cat4500-IPBASE-M), Version 12.2(31)SGA6, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2008 by Cisco Systems, Inc.
Compiled Mon 31-Mar-08 21:23 by chendah
Image text-base: 0x10000000, data-base: 0x114B115C

ROM: 12.2(31r)SGA1
Dagobah Revision 226, Swamp Revision 32

Switch uptime is 0 minutes
Uptime for this control processor is 1 minute
System returned to ROM by power-on
System image file is "bootflash:cat4500-ipbase-mz.122-31.SGA6.bin"

cisco WS-C4507R-E (MPC8245) processor (revision 14) with 524288K bytes of memory.
Processor board ID FOX1247GU5W
MPC8245 CPU at 333Mhz, Supervisor IV
Last reset from PowerUp
1 Virtual Ethernet interface
44 Gigabit Ethernet interfaces
403K bytes of non-volatile configuration memory.
Configuration register is 0x2102


*** BootFlash:

-#- ED ----type---- --crc--- -seek-- nlen -length- ---------date/time--------- name
1   .. image        03EDCAC2  C25744   33 12211908 Nov 29 2008 11:45:41 +00:00 cat4500-ipbase-mz.122-31.SGA6.bin

49129660 bytes available (12212036 bytes used)

-------- F I L E   S Y S T E M   S T A T U S --------
  Device Number = 0
DEVICE INFO BLOCK: bootflash
  Magic Number          = 6887635   File System Vers = 10005    (1.5)
  Length                = 3C00000   Sector Size      = 80000  
  Programming Algorithm = 6         Erased State     = FFFFFFFF
  File System Offset    = 80000     Length = 3A80000
  MONLIB Offset         = 100       Length = 2AE60  
  Bad Sector Map Offset = 7FFF1     Length = F      
  Squeeze Log Offset    = 3B00000   Length = 80000  
  Squeeze Buffer Offset = 3B80000   Length = 80000  
  MONLIB Version        = 0        (0.0)
  Num Spare Sectors     = 0
    Spares:
STATUS INFO:
  Writable
  NO File Open for Write
  Complete Stats
  No Unrecovered Errors
  No Squeeze in progress
USAGE INFO:
--More--                             Bytes Used     = BA5744  Bytes Available = 2EDA8BC
  Bad Sectors    = 0       Spared Sectors  = 0
  OK Files       = 1       Bytes = BA56C4
  Deleted Files  = 0       Bytes = 0    
  Files w/Errors = 0       Bytes = 0

2 Accepted Solutions

Accepted Solutions

Hi Sudip

Can you remove these commands:

boot system flash
boot system flash:cat4500-ipbase-mz.122-31.SGA6.bin

and just have one command with booting the sytem from bootflash ?

Raj

View solution in original post

You need to use "erase" rather than "delete" ie. "erase cat4000_flash:vlan.dat

Jon

View solution in original post

29 Replies 29

sachinraja
Level 9
Level 9

Can you send us the boot info ? why does it go to ROMMON ? are there any errors that you get when the switch boots ?

if you can boot the switch manually with the boot command, your file system looks good..

Raj

No, I do not see errors on the screen duroing the booting.

Here is what i see while it boots.

Proceed with reload? [confirm]

00:02:26: %SYS-5-RELOAD: Reload requested by console. Reload reason: Reload command


**********************************************************
*                                                        *
* Welcome to Rom Monitor for      WS-X4515 System.       *
* Copyright (c) 2003-2007 by Cisco Systems, Inc.         *
* All rights reserved.                                   *
*                                                        *
**********************************************************

Rom Monitor Program Version 12.2(31r)SGA1
Supervisor: WS-X4515  Chassis: WS-C4507R-E
Hardware Revisions - Board: 2.14 CPLD: 32 Dagobah: 226

MAC Address  : 00-1d-a2-5c-a7-45
Ip Address   : Not set.
Netmask      : Not set.
Gateway      : Not set.
TftpServer   : Not set.
Main Memory  : 512 MBytes

***** The system will autoboot in 5 seconds *****


Type control-C to prevent autobooting.
. . . . .

******** The system will autoboot now ********


config-register = 0x2102
BOOTLDR is set but will not be loaded bacause the
current BOOT string is not a network file.
Autobooting using BOOT variable specified file.....

Current BOOT file is --- flash:cat4500-ipbase-mz.122-31.SGA6.bin
Invalid filename flash:cat4500-ipbase-mz.122-31.SGA6.bin. It must begin with device name.
Type 'boot -help' for details.


The switch will automatically reboot now...
rommon 1 >


**********************************************************
*                                                        *
* Welcome to Rom Monitor for      WS-X4515 System.       *
* Copyright (c) 2003-2007 by Cisco Systems, Inc.         *
* All rights reserved.                                   *
*                                                        *
**********************************************************

Rom Monitor Program Version 12.2(31r)SGA1
Supervisor: WS-X4515  Chassis: WS-C4507R-E
Hardware Revisions - Board: 2.14 CPLD: 32 Dagobah: 226

MAC Address  : 00-1d-a2-5c-a7-45
Ip Address   : Not set.
Netmask      : Not set.
Gateway      : Not set.
TftpServer   : Not set.
Main Memory  : 512 MBytes

***** The system will autoboot in 5 seconds *****


Type control-C to prevent autobooting.
. . . . .

******** The system will autoboot now ********


config-register = 0x2102
BOOTLDR is set but will not be loaded bacause the
current BOOT string is not a network file.
Autobooting using BOOT variable specified file.....

Current BOOT file is --- flash:cat4500-ipbase-mz.122-31.SGA6.bin
Invalid filename flash:cat4500-ipbase-mz.122-31.SGA6.bin. It must begin with device name.
Type 'boot -help' for details.


The switch will automatically reboot now...
rommon 1 >

****** this is when i enter "boot"

#################
              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 IOS Software, Catalyst 4500 L3 Switch Software (cat4500-IPBASE-M), Version 12.2(31)SGA6, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2008 by Cisco Systems, Inc.
Compiled Mon 31-Mar-08 21:23 by chendah
Image text-base: 0x10000000, data-base: 0x114B115C

Testing packet buffer memory: 00000      000000      000512      001024      001536      002048      002560      003072      003584      004096      004608      005120      005632      006144      006656      007168      007680      008192      008704      009216      009728      010240      010752      011264      011776      012288      012800      013312      013824      014336      014848      015360      015872      016384      016896      017408      017920      018432      018944      019456      019968      020480      020992      021504      022016      022528      023040      023552      024064      024576      025088      025600      026112      026624      027136      027648      028160      028672      029184      029696      030208      030720      031232      031744      032256      032768      033280      033792      034304      034816      035328      035840      036352      036864      037376      037888      038400      038912      039424      039936      040448      040960      041472      041984      042496      043008      043520      044032      044544      045056      045568      046080      046592      047104      047616      048128      048640      049152      049664      050176      050688      051200      051712      052224      052736      053248      053760      054272      054784      055296      055808      056320      056832      057344      057856      058368      058880      059392      059904      060416      060928      061440      061952      062464      062976      063488      064000      064512      065024      065536..done
All packet buffers passed.
cisco WS-C4507R-E (MPC8245) processor (revision 14) with 524288K bytes of memory.
Processor board ID FOX1247GU5W
MPC8245 CPU at 333Mhz, Supervisor IV
Last reset from PowerUp
1 Virtual Ethernet interface
44 Gigabit Ethernet interfaces
403K bytes of non-volatile configuration memory.


Press RETURN to get started!

Thanks.

Current BOOT file is --- flash:cat4500-ipbase-mz.122-31.SGA6.bin
Invalid filename flash:cat4500-ipbase-mz.122-31.SGA6.bin. It must begin with device name
.

It cannot find the file you specified for it to use in bootup and therefore it goes to ROMMON.

Where is the image actually stored ?

From your switch can you

1) post the current boot system command ie."sh run | include boot system"

2) post the output of "dir /all" from the switch.

Jon

Here you go.

sh run | include boot system
boot system flash:cat4500-ipbase-mz.122-31.SGA6.bin
boot system flash
Switch#dir /a'   ll
Directory of bootflash:/

    1  -rwx    12211908  Nov 29 2008 11:45:41 +00:00  cat4500-ipbase-mz.122-31.SGA6.bin

61341696 bytes total (49129660 bytes free)
Switch#

Hello Sudip

If i see the configs right:

sh run | include boot system
boot system flash:cat4500-ipbase-mz.122-31.SGA6.bin

You have boot system flash:xxxxxx

but your image is in bootflash.. so you need to do a boot system flash bootflash: and then your image name.. DId you try that ? Did it work ? I went through bug list and did not find any specific bugs realted to this IOS.. is this switch on support contract ?

Raj

Hi,

  I tried that but no luck. Here is some more info that i get when i reboot.


***** The system will autoboot in 5 seconds *****


Type control-C to prevent autobooting.
. . . . .

******** The system will autoboot now ********


config-register = 0x2102
BOOTLDR is set but will not be loaded bacause the
current BOOT string is not a network file.
Autobooting using BOOT variable specified file.....

Could not find a valid file in BOOT environment variable.
BOOT variable can be set from IOS. To find currently set
Rom Monitor variables, please type 'set' command.

For help on choosing a boot method,  type 'confreg' command.
rommon 1 >set
PS1=rommon ! >
RommonVer=12.2(31r)SGA1
BSI=0
PV=
SV=
IS=0
DiagMonitorAction=Normal
ConfigReg=0x2102
BOOTLDR=bootflash:cat4500-ipbase-mz.122-31.SGA6.bin
ConsecPostPassedCnt=20
RANDOM_NUM=881862228
BOOT=,1;bootflash:cat4500-ipbase-mz.122-31.SGA6.bin,1;flash:cat4500-ipbase-mz.122-31.SGA6.bin,12;
RET_2_RTS=15:34:50 UTC Mon Jan 25 2010
RET_2_RCALTS=1264433690
bootedfilename=cat4500-ipbase-mz.122-31.SGA6.bin
rommon 2 >

Please post output of "sh run | include boot system"

Jon

Hi Sudip

Can you post the output suggested by Chris ? and also "show bootvar" ? This URL gives you more info on the bootldr commands:

http://www.ciscosystems.com/en/US/docs/ios/12_0/configfun/configuration/guide/fcreboot.html#wp4009

Are there any commands to boot the router from network ? "boot filename [ip-address] ? as seen in the flowchart given in the URL above:

the router would first look at boot commands , and then look on the flash/bootflash for valid image (config reg 2102), and then look at network (netboot) then boots in rommon ! we need to see why it is skipping the first step..

Raj

Jon & chris are right on this  ...

Make sure you have the right boot-system commands configured, or if it is only one IOS which is on the bootflash, you can remove the boot-system commands to make sure it boots the ONLY IOS on the bootflash.. do a "no boot-system bootflash: xxxx " to remove this.

Hope this helps..

Raj

I tried that but it didnt help.

chris.macleod
Level 1
Level 1

Hi,

The boot system statement should be

boot system flash bootflash:cat4500-ipbase-mz.122-31.SGA6.bin

Chris

No luck. Same issue.

Can you post the new sh run | include boot please

On 25 Jan 2010, at 22:36, "sudip.acharya1"

Here you go.

Switch#sho run | include boot
boot-start-marker
boot system flash
boot system flash bootflash:cat4500-ipbase-mz.122-31.SGA6.bin
boot system flash:cat4500-ipbase-mz.122-31.SGA6.bin
boot bootldr bootflash:cat4500-ipbase-mz.122-31.SGA6.bin
boot-end-marker

I also ran sho bootvar and got the output below. I noticed the Config_File variable is missing. Is that ok?

sh bootvar
BOOT variable = ,1;bootflash:cat4500-ipbase-mz.122-31.SGA6.bin,1;flash:cat4500-ipbase-mz.122-31.SGA6.bin,12;
CONFIG_FILE variable does not exist
BOOTLDR variable = bootflash:cat4500-ipbase-mz.122-31.SGA6.bin
Configuration register is 0x2102

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: