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

 

30 Replies 30

neonetad
Level 1
Level 1

Ok, I just "clear config all"
Then: boot systerm: ios then boot system flash: "ios img"

some output:

rommon 1 >set
PS1=rommon ! >
RommonVer=15.1(1r)SG5
ConfigReg=0x2102
ConsecPostPassedCnt=1
DiagMonitorAction=Normal
CONFIG_FILE=bootflash:cat4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin
BOOT=tftp:cat4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin 255.255.255.255,12;cat4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin,1;,1;
RET_2_RTS=09:15:18 UTC Mon Sep 25 2023
RET_2_RCALTS=1695633318
variable=cat4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin (also set variable)
##############################################################################

rommon 3 >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/25 09:09 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/25 09:14 -rw-rw-rw- 1925 cat4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin
2023/09/25 08:23 -rw-rw-rw- 1908 boot4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin

Total space = 1653088 KB
Available = 1657700 KB

 

neonetad
Level 1
Level 1

Output from CLI:

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

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

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 09:29:35.0000000000 +00:00 pxe
6 4096 Sep 25 2023 09:29:35.0000000000 +00:00 pxe/scripts
7 4096 Sep 25 2023 09:29:35.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 1925 Sep 25 2023 09:14:56.0000000000 +00:00 cat4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin
11 1908 Sep 25 2023 08:23:49.0000000000 +00:00 boot4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin

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

 

neonetad
Level 1
Level 1

rommon 18 >boot -v
boot: bootstring is: "bootflash:"
No bootable image found !
boot: can not determine first file name on device "flash1:/USER"

#############################################################################
rommon 19 >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:

neonetad
Level 1
Level 1

Switch(config)#do sh run | section boot
boot-start-marker
boot bootstrap tftp cat4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin 255.255.255.255
boot system tftp cat4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin 255.255.255.255
boot system flash cat4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin
boot system flash
boot config bootflash:boot4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin
boot-end-marker
Switch(config)#

Ok, I'll bite. 

If the supervisor card is still in ROMMON, post the complete output to the following commands: 

dir flash0:
dir flash1:
dir flash2:
dir flash3:
dir usb0:

rommon 6 >dir flash0:
Invalid path flash0:

usage: dir { [ bootflash: ] | [ slot0: ] | [ usb0: ] }
rommon 7 >dir flash1:
Invalid path flash1:

usage: dir { [ bootflash: ] | [ slot0: ] | [ usb0: ] }
rommon 8 >dir flash2:
Invalid path flash2:

usage: dir { [ bootflash: ] | [ slot0: ] | [ usb0: ] }
rommon 9 >dir flash3:
Invalid path flash3:

usage: dir { [ bootflash: ] | [ slot0: ] | [ usb0: ] }
rommon 10 >dir usb0:

Date Time Attribute Size Name
========== ===== ========= ========== ================
2023/03/15 01:04 D-HS- 0 System Volume Information
2023/08/27 09:15 ----A 394011072 cat4500es8-universalk9.SPA.03.11.02 .E.152-7.E2.bin
2023/09/13 10:15 D---- 0 F5( /H1(▒F mdf
2023/09/13 23:12 ----A 13778746 The Irishman Soundtrack - End Credi ts (2019).mkv
2023/08/27 11:19 ----A 621504 cat4500-e-ios-promupgrade-151-1r-SG 4

Total space = 3904512 KB
Available = 3505068 KB
As you can See there is nothing on those flash, while with command DEV you can see 5 types of flash.
Also in cli mode there are three types of flash

boot usb0:cat4500es8-universalk9.SPA.03.11.02 .E.152-7.E2.bin

Yes. this is the way that I can access cli.
after reaching cli, I copied ios img from usb0 to bootflash

Let it boot. 

After it boots up post the complete output to the command "sh module" and "dir ?".  

neonetad
Level 1
Level 1

Switch#show mod
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#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 25 2023 13:05:10 +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- 1925 Sep 25 2023 10:19:39 +00:00 cat4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin
40562 -rw- 1774 Sep 25 2023 12:24:02 +00:00 boot4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin

1700155392 bytes total (1697484800 bytes free)

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).

Ok, I did all the configurations. after reloading, still goes to rommon mode:
So I tried:

boot

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

 

Ok, try this in ROMMON:  confreg 0x2101

And then reboot.

I did it all, changed the config-reg but still the same result

neonetad
Level 1
Level 1

A few things bothers me:
Boot bootldr bootflash:"ios"
File bootflash:cat4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin is an config type file

I think in order to boot directly from rommon to cli is to config bootloader or bootstrap?
Another :

40562 -rw- 1774 Sep 25 2023 12:24:02 +00:00 boot4500es8-universalk9.SPA.03.11.02.E.152-7.E2.bin

...
However, Whatever I did in cli, didn't affect rommon (more and less)