cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2787
Views
0
Helpful
30
Replies

Catalyst 4507R+E-IOS issue

neonetad
Level 1
Level 1

Hello
When I turn on device, it goes directly to rommon mode!

It came with various error: magic number or bootflash directory (mostly). Here are some information:
Supervisor version:
WS-X4612-SFP-E, WS-X45-SUP8-E

Rommon version: 15.1(1r)SG5
Ios Version: Cat4500es-universalk9.SPA.03.11.152-7.E2.bin
And:

Switch#show boot
BOOT variable = bootflash:bootflash:cat4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin,12;cat4500e-universalk9.SPA.03.10.02.E.152-6.E2.bin,1;cat4500e-universalk9.SPA.03.10.02.E.152-6.E2.bin,1;cat4500e-universalk9.SPA.03.10.02.E.152-6.E2.bin,1;cat4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin,1;cat4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin,1;cat4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin,1;tftp:cat4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin 255.255.255.255,12;
CONFIG_FILE variable = bootflash:bootflash:cat4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin,12
BOOTLDR variable does not exist
Configuration register is 0x2102

Standby not ready to show bootvar

#################################################################################################

Switch#dir
Directory of bootflash:/

40565 drwx 4096 Dec 25 2017 09:37:18 +00:00 virtual-instance
89233 drwx 4096 Dec 25 2017 09:37:18 +00:00 virtual-instance-stby-sync
40563 drwx 4096 Sep 12 2023 07:50:16 +00:00 pxe
40564 -rw- 2206 Jan 13 2017 01:23:24 +00:00 FXS1947Q21W_20170113001021843.lic
40568 drwx 4096 Mar 22 2023 16:15:54 +00:00 scripts
40570 -rw- 2944092 May 3 2023 11:41:30 +00:00 cat4500-e-ios-promupgrade-150-1r-SG14

#################################################################################################

Switch#show module
Chassis Type : WS-C4507R+E

Power consumed by backplane : 40 Watts

Mod Ports Card Type Model Serial No.
---+-----+--------------------------------------+------------------+-----------
2 12 1000BaseX (SFP) WS-X4612-SFP-E JAE19370A8F
3 8 Sup 8-E 10GE (SFP+), 1000BaseX (SFP) WS-X45-SUP8-E CAT2002L3YS

M MAC addresses Hw Fw Sw Status
--+--------------------------------+---+------------+----------------+---------
2 5c83.8f55.29b2 to 5c83.8f55.29bd 2.0 Ok
3 58ac.78d9.6480 to 58ac.78d9.6487 1.3 15.1(1r)SG5 03.11.02.E Ok

Mod Redundancy role Operating mode Redundancy status
----+-------------------+-------------------+----------------------------------
3 Active Supervisor SSO Active

System Failures:
----------------
Power Supply: bad/off (see 'show power')

#################################################################################################

Switch#show bootflash:
-#- --length-- ---------date/time--------- path
1 4096 Dec 25 2017 09:37:18.0000000000 +00:00 virtual-instance
2 4096 Dec 25 2017 09:37:18.0000000000 +00:00 vman_fdb
3 4096 Dec 25 2017 09:37:18.0000000000 +00:00 virtual-instance-stby-sync
4 4096 Dec 25 2017 09:37:18.0000000000 +00:00 virtual-instance-stby-sync/guestshell+
5 4096 Sep 12 2023 07:50:16.0000000000 +00:00 pxe
6 4096 Sep 12 2023 07:50:16.0000000000 +00:00 pxe/scripts
7 4096 Sep 12 2023 07:50:16.0000000000 +00:00 pxe/ova
8 2206 Jan 13 2017 01:23:24.0000000000 +00:00 FXS1947Q21W_20170113001021843.lic
9 4096 Mar 22 2023 16:15:54.0000000000 +00:00 scripts
10 2944092 May 03 2023 11:41:30.0000000000 +00:00 cat4500-e-ios-promupgrade-150-1r-SG14

1608179712 bytes available (5611520 bytes used)

Any Ideas?
Best Regards

 

1 Accepted Solution

Accepted Solutions

I think I know what is going on.  Someone has been "creative" with the boot variable statement. 

 

conf t
 no boot bootstrap tftp cat4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin 255.255.255.255
 no boot system tftp cat4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin 255.255.255.255
 no boot system flash cat4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin
 boot system flash bootflash:cat4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin
end
wr

 

And then reboot the supervisor card (or chassis).

View solution in original post

30 Replies 30

marce1000
Hall of Fame
Hall of Fame

 

                     >...It came with various error:
      - Could you post the exact errors as reported by the device , 

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

Ok, I give you some of error (mostly from rommon)
rommon 13 >boot bootflash:cat4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin
File has bad file magic number: 0x0. Is it a valid file?
boot: can not load "bootflash:cat4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin"
And:

rommon 5 >boot
No bootable image found !
boot: can not determine first file name on device "flash1:/USER"

And:

rommon 19 >dir bootflash:

Date Time Attribute Size Name
========== ===== ========== ========== ================
2017/12/25 09:37 drwxrwxrwx 4096 virtual-instance
2017/12/25 09:37 drwxrwxrwx 4096 vman_fdb
2017/12/25 09:37 drwxrwxrwx 4096 virtual-instance-stby-sync
2023/09/12 07:50 drwxrwxrwx 4096 pxe
2017/01/13 01:23 -rw-rw-rw- 2206 FXS1947Q21W_20170113001021843.lic
2023/03/22 16:15 drwxrwxrwx 4096 scripts
2023/09/12 09:17 -rw-rw-rw- 1868 cat4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin
2023/05/03 11:41 -rw-rw-rw- 2944092 cat4500-e-ios-promupgrade-150-1r-SG14
2023/09/12 09:15 -rw-rw-rw- 1881 bootflash:cat4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin,12

Total space = 1653088 KB
Available = 1654820 KB

And:

rommon 39 >set
PS1=rommon ! >
RommonVer=15.1(1r)SG5
ConfigReg=0x2102
IP_ADDRESS=192.168.192.2
iP_SUBNET_MASK=255.255.255.0
TFTP_SERVER=192.168.192.3
DiagMonitorAction=Normal
ADDRESS=192.168.
ConsecPostPassedCnt=10
BOOT=cat4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin,1;cat4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin,1;cat4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin,1;
CONFIG_FILE=bootflash:cat4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin
RET_2_RTS=09:17:52 UTC Tue Sep 12 2023
RET_2_RCALTS=1694510272
BootedFileName=bootflash:cat4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin

 

Also this (which I think this is the key):

rommon 29 >dev
No SD storage device detected!

Device Table
============
Logical Physical Partition Status Begin Size Drive
Number Number Number sector in Kb Name
------- -------- --------- ------ -------- -------- --------
0 0 0 1 3f 64000 flash0:
1 0 1 1 1f608 1686528 flash1:
2 0 2 1 35705a 31744 flash2:
3 0 3 1 366b5e 168448 flash3:
4 0 4 0 0 0 flash4:
5 0 5 0 0 0 flash5:
6 1 0 0 0 0 slot0:
7 2 0 1 800 3912704 usb0:

 

          >....File has bad file magic number: 0x0. Is it a valid file?
            -  You need to upgrade the ROMMON on the 4507R+E

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

I already updated to newer vers, what version you suggest?

And Why You think it is about Rommon?
The other parts are alright?

neonetad
Level 1
Level 1

I think (which I heard) there must be 5 value on IOS (like 5 ios) and all of them must be the same version however in cli(config/mode)
boot system, there are only flash flash0 and flash1 which on all of them I install the same IOS and I think there must be more ..

 

               - You are confused and or those statements are not true , 

 M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

Look at this, what are you thing?

Dev.jpg

 

Leo Laohoo
Hall of Fame
Hall of Fame

@neonetad wrote:
cat4500-e-ios-promupgrade-150-1r-SG14

The IOS file is missing. 

The above file is the ROMMON.  

cat4500-e-ios-promupgrade-150-1r-SG14
Delete this and replace it with IOS?

Yes.  Delete the ROMMON file and copy the IOS back into the supervisor card.  

Use the USB port of the supervisor card to make it faster and easier.

I did and here's the result
Another need to mention that I can access cli (temporily) via boot from usb:0 and after any reset everything come back to zero.

Switch#show bootflash:
-#- --length-- ---------date/time--------- path
1 4096 Dec 25 2017 09:37:18.0000000000 +00:00 virtual-instance
2 4096 Dec 25 2017 09:37:18.0000000000 +00:00 vman_fdb
3 4096 Dec 25 2017 09:37:18.0000000000 +00:00 virtual-instance-stby-sync
4 4096 Dec 25 2017 09:37:18.0000000000 +00:00 virtual-instance-stby-sync/guestshell+
5 4096 Sep 25 2023 07:32:09.0000000000 +00:00 pxe
6 4096 Sep 25 2023 07:32:09.0000000000 +00:00 pxe/scripts
7 4096 Sep 25 2023 07:32:09.0000000000 +00:00 pxe/ova
8 2206 Jan 13 2017 01:23:24.0000000000 +00:00 FXS1947Q21W_20170113001021843.lic
9 4096 Mar 22 2023 16:15:54.0000000000 +00:00 scripts
10 1868 Sep 12 2023 09:17:49.0000000000 +00:00 cat4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin
11 1881 Sep 12 2023 09:15:26.0000000000 +00:00 bootflash:cat4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin,
12 1650 Sep 13 2023 09:50:50.0000000000 +00:00 boot4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin

neonetad
Level 1
Level 1

rommon 10 >boot 4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin
Invalid filename 4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin. It must begin with device name.
Type 'boot -help' for details.
rommon 11 >boot bootflash:4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin
Directory USER/4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin not found
Unable to locate USER/4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin directory
boot: can not load "bootflash:4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin"
rommon 12 >boot
No bootable image found !
boot: can not determine first file name on device "flash1:/USER"
rommon 13 >

Post the complete output to the command "dir flash:"

Try "boot flash:cat4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin".

rommon 0 >boot flash:cat4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin
Invalid filename flash:cat4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin. It must begin with device name.
Type 'boot -help' for details.