cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
21017
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

29 Replies 29

Variable from ROMMON


rommon 8 >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
BOOT=,1;bootflash:cat4500-ipbase-mz.122-31.SGA6.bin,1;flash:cat4500-ipbase-mz.122-31.SGA6.bin,12;
ConsecPostPassedCnt=21
RANDOM_NUM=682707792
RET_2_RTS=08:17:26 UTC Tue Jan 26 2010
RET_2_RCALTS=1264493846
BootedFileName=?

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

Thanks Raj. That fixed it.

Do you happen to know what file i need to delete to remove the vlans that are on there right now?

It's vlan.day

On 26 Jan 2010, at 18:06, "sudip.acharya1"

Chris,

  I thought it was vlan.dat too but the system cant find it when i try to delete it.

I am not sure where else it would keep it.

sudip.acharya1 wrote:

Chris,

  I thought it was vlan.dat too but the system cant find it when i try to delete it.

I am not sure where else it would keep it.

Do a "dir /all" on the switch.

Jon

Do you want to remove all VLANs and erase all configs ? as chris suggested, u need to look at vlan.dat file stored in flash/bootflash..

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2010.01.26 13:22:09 =~=~=~=~=~=~=~=~=~=~=~=

Switch#dir /all
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#

It's in

Cat4000_flash

So del cat4000_flash:vlan.dat

On 26 Jan 2010, at 18:27, "sudip.acharya1"

sudip.acharya1 wrote:

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2010.01.26 13:22:09 =~=~=~=~=~=~=~=~=~=~=~=

Switch#dir /all
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#

Okay, that didn't work

vlan.dat on 4500 is stored in cat4000_flash: so do a "dir cat4000_flash:"  to check it is there and then delete it.

Jon

Hi Sudip

can you try dir cat4000_flash: ?

Refer to this URL for more info on how to delete and recover vlan.dat files.

http://www.cisco.com/en/US/products/hw/switches/ps5213/products_tech_note09186a0080a49dbf.shtml

Hope this helps.. all the best

Raj

Hi,

   Yes the vlan.dat file is in cat4000_flash but permisson is denied when I try to delete.

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

Jon

Thank you everyone for you help.

Sudip

you can probably try erasing cat4000_flash, since that is the only file there.. check if you have any more files before erasing..

erase cat4000_flash

will remove your vlan.dat file

Raj

Review Cisco Networking products for a $25 gift card