05-14-2024 09:44 AM
So this is a tricky one.
One of my engineers has managed to remove the IOS files from a C8300 while configuring, they made the classic mistake of walking away and then coming back to the work half way through a step.
They copied across the new IOS file that our customer wants upgraded to, and then deleted the old one after setting in config to boot to the new IOS file. And after walking away and coming back, then deleted that new IOS file from Flash. And then applied a config, and restarted.
So the config uses
Config-Register 0x2102
no service password-recovery
So you can see where this is going. Switch cannot load the configured IOS, or any IOS, because its not there, as he deleted it.
Switch also cannot get into Rommon or factory reset itself, because it has no IOS available to recover itself from.
Is there any way round this or has he essentially bricked the switch properly?
05-14-2024 10:03 AM
check below guide :
05-15-2024 01:24 AM
Thanks, we already tried that and it doesn't work - problem is because the guy has deleted all the IOS files BEFORE applying the config, then saving and reloading, it is unable to load any IOS to recover from.
So you get this:
PASSWORD RECOVERY IS DISABLED. Do you want to reset the router to the factory default configuration and proceed [y/n] ? y
***And then, after hitting Y***
Unable to locate IOS:C8300 etc etc.bin
05-15-2024 02:06 AM
Connect console and post complete boot logs
you can still get in to ROMMON - using USB you can boot from USB image.
05-15-2024 02:51 AM
log below:
Checking for PCIe device presence...done
System integrity status: 0x610
Rom image verified correctly
System Bootstrap, Version 17.6(6r), RELEASE SOFTWARE
Copyright (c) 1994-2022 by cisco Systems, Inc.
Current image running: Boot ROM1
Last reset cause: LocalSoft
C8300-1N1S-6T platform with 8388608 Kbytes of main memory
PASSWORD RECOVERY FUNCTIONALITY IS DISABLED
........
autoboot: boot failed, restarting...
Resetting .......
Initializing Hardware ...
Checking for PCIe device presence...done
System integrity status: 0x610
Rom image verified correctly
System Bootstrap, Version 17.6(6r), RELEASE SOFTWARE
Copyright (c) 1994-2022 by cisco Systems, Inc.
Current image running: Boot ROM1
Last reset cause: LocalSoft
C8300-1N1S-6T platform with 8388608 Kbytes of main memory
PASSWORD RECOVERY FUNCTIONALITY IS DISABLED
.....
PASSWORD RECOVERY IS DISABLED.
Do you want to reset the router to the factory default
configuration and proceed y/n [n]: y
Router rebooting with factory default configuration.
unable to open flash:c8000be-universalk9.17.09.05a.SPA.bin (14)
........
autoboot: boot failed, restarting...
Resetting .......
Initializing Hardware ...
Checking for PCIe device presence...done
System integrity status: 0x610
Rom image verified correctly
System Bootstrap, Version 17.6(6r), RELEASE SOFTWARE
Copyright (c) 1994-2022 by cisco Systems, Inc.
Current image running: Boot ROM1
Last reset cause: LocalSoft
C8300-1N1S-6T platform with 8388608 Kbytes of main memory
PASSWORD RECOVERY FUNCTIONALITY IS DISABLED
......
05-15-2024 04:41 AM
Hello,
tough one. Can you boot from USB ?
05-15-2024 09:00 AM
not got in to this situation.
how about issue another break key option as soon as you see below message :
unable to open flash:c8000be-universalk9.17.09.05a.SPA.bin (14)
then that should drop you ROMMON>
if not raise TAC case for replacement.
05-15-2024 04:54 AM
No, we can't get it to do that. The applied Config has 0x2102 - Ignores break so you can't *break* to get to Rommon and boot from USB.
Default behaviour is to throw up an IOS error because its trying to load an IOS that has been configured for, that isn't there. Stuck in a loop with it.
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