01-04-2011 04:16 AM - edited 03-06-2019 02:48 PM
Hi,
I've followed a process to reset the password on a Catalyst 4948 (http://www.cisco.com/en/US/products/hw/switches/ps663/products_password_recovery09186a00800945f7.shtml) but now the switch doean't want to start.
The message is :
Solved! Go to Solution.
01-05-2011 04:34 AM
Try changing the config register to 0x2101 , this will load the first image it finds in flash. You may be missing a boot statement . Register 0x2102 requires a valid boot statement otherwise it will go into rommom.
01-04-2011 04:47 PM
Try the following:
flash_init
boot_helper
And then post the output to the command "dir flash:".
01-05-2011 01:01 AM
Hi,
Thanks for your help but these commands aren't available.
The available choices are :
alias set and display aliases command
boot boot up an external process
clear clear configurations, use 'clear help' for more info
confreg configuration register utility
dev list the device table with physical device information
dir list filesystem information
help monitor builtin command help
history monitor command history
macstats print management port MAC statistics counters
meminfo main memory information
ping ping utility to determine network connectivity
repeat repeat a monitor command
reset system reset
set show/set environment vars, use 'set help' for more info
sprom serial eprom operations
sysret print out info from last system return
unalias unset an alias
unset unset a monitor variable
version display Rom Monitor version information
Thanks in advance.
01-05-2011 04:34 AM
Try changing the config register to 0x2101 , this will load the first image it finds in flash. You may be missing a boot statement . Register 0x2102 requires a valid boot statement otherwise it will go into rommom.
01-05-2011 04:58 AM
Hi,
Hourreey !!!
It is impossible to manually set a value to the register. The only way is to use the command confreg.
So, I didn't see the statement " 1 = the first file from internal flash device" but with your help, it works fine now.
Many thanks for your help.
rommon 1 >confreg
Configuration Summary :
=> load rom after netboot fails
=> console baud: 9600
=> autoboot from: commands specified in 'BOOT' environment variable
do you wish to change the configuration? y/n [n]: y
enable "diagnostic mode"? y/n [n]: n
enable "use net in IP bcast address"? y/n [n]: n
disable "load rom after netboot fails"? y/n [n]: n
enable "use all zero broadcast"? y/n [n]: n
enable "break/abort has effect"? y/n [n]: n
enable "ignore system config info"? y/n [n]: n
change console baud rate? y/n [n]: n
change the boot characteristics? y/n [n]: y
enter to boot:
0 = disable autoboot
1 = the first file from internal flash device
2 = commands specified in 'BOOT' environment variable
[2]: 1
Configuration Summary :
=> load rom after netboot fails
=> console baud: 9600
=> autoboot from: the first file from internal flash device
do you wish to save this configuration? y/n [n]: y
You must reset or power cycle for new configuration to take effect
Regards..
Marc
02-15-2013 05:25 PM
For anyone seeing this thread in the future: it's true that you can't manually set the register from rommon, but you don't have to go through the rommon prompts. If you're in this situation you can just do a "boot" at the rommon prompt to boot the switch, and then set the config-register via "config-register 0x2101" (which I know because I just had to do this on a 4948 today).
05-23-2019 04:57 PM
Unfortunately i get this solution little bit late i try so many solution and thing with 4948 before i read it ....
Please 4948 is stuck on following now ... whereas it was booting manually from rommon
05-23-2019 05:22 PM - edited 05-23-2019 05:23 PM
i did something wrong in the same process now i am getting the below mention error when i am selecting the firs file option
rommon 15 >boot= bootflash:cat4500e-entservicesk9-mz.152-2.E7.bin
Error: 'BOOT' can not be set/unset directly.
You can set it only from IOS.
Type 'clear boot' to clear it
rommon 16 >boot bootflash:cat4500e-entservicesk9-mz.152-2.E7.bin
File has bad file magic number: 0x0. Is it a valid file?
boot: can not load "bootflash:cat4500e-entservicesk9-mz.152-2.E7.bin"
03-16-2020 09:16 AM
Thanks,
I did have a trouble with this switch for a bit and your answer did help!
05-19-2021 03:58 PM
Thank you for share, It was very helpful, I recovered my Cisco switch following this procedure.
Now, I changed the SW configuration to prevent it from happens again.
02-04-2023 05:53 AM
Cara um muito obrigado aqui do brasil.
resolveu meu problema.
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