09-12-2023 12:32 AM
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
Solved! Go to Solution.
09-25-2023 12:59 AM
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
09-25-2023 01:15 AM
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
###########################################################################################
09-25-2023 01:45 AM
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:
09-25-2023 01:57 AM
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)#
09-25-2023 04:20 AM
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:
09-25-2023 04:26 AM
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
09-25-2023 04:32 AM
boot usb0:cat4500es8-universalk9.SPA.03.11.02 .E.152-7.E2.bin
09-25-2023 04:37 AM
Yes. this is the way that I can access cli.
after reaching cli, I copied ios img from usb0 to bootflash
09-25-2023 04:38 AM - edited 09-25-2023 04:39 AM
Let it boot.
After it boots up post the complete output to the command "sh module" and "dir ?".
09-25-2023 04:43 AM
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)
09-25-2023 04:48 AM - edited 09-25-2023 04:49 AM
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).
09-25-2023 05:02 AM
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"
09-25-2023 05:03 AM
Ok, try this in ROMMON: confreg 0x2101
And then reboot.
09-26-2023 02:30 AM
I did it all, changed the config-reg but still the same result
09-25-2023 04:53 AM
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)
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide