06-17-2020 07:01 AM - edited 06-18-2020 01:33 AM
hello,
we have a Cisco Catalyst 4506-E, and we lose the enable password, we try to resolve the problem with the procedure bellow :
rommon 1 > set
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]: y change console baud rate? y/n [n]: n change the boot characteristics? y/n [n]: n Configuration Summary : => load ROM after netboot fails => ignore system config info => console baud: 9600 => autoboot from: commands specified in 'BOOT' environment variable do you wish to save this configuration? y/n [n]: y You must reset or power cycle for new configuration to take effect
rommon 1 >confreg 0x2142after this step we have a message : usage: confreg
06-17-2020 03:05 PM - edited 06-18-2020 08:24 AM
You followed the right steps :
you do not need the below step : (that only required if you like to bypass startup-config.
EDIT - my typo wrong here
rommon 1 >confreg 0x2142
after below step,> issue reset command to reload.
do you wish to save this configuration? y/n [n]: y You must reset or power cycle for new configuration to take effect
06-17-2020 03:10 PM
Hi,
rommon 1 >confreg 0x214
Should be 0x2142
rommon 1 >confreg 0x2142
06-18-2020 01:34 AM
hi reza,
yes exactly, it was 0x2142
06-18-2020 08:26 AM
may @Reza Sharifi correcting my typo, what is the outcome after reset ? as suggested, post complete boot logs any issue connecting the console to the device.
06-18-2020 01:24 PM
06-18-2020 02:18 PM - edited 06-18-2020 02:24 PM
ROMMON Mode, it will not accept any backspace or delete as per i know.
so you need to type correct syntax to accept (no white space before or after)
>confreg 0x2142
As I have mentioned in the post, you do not need to enter
do you wish to save this configuration? y/n [n]: y You must reset or power cycle for new configuration to take effect
> reset
or follow here is simple steps :
1. Power down the device
2. Power on the device Press CTRL+C
3. you get rommon>confreg 0x2142
4. >reset
change the password.
change back config-register 0x2102
#config t
(config)#config-register 0x2102
#end
#wr
#reload
06-25-2020 11:29 AM
we followed the instructions, but still the same result, after the confreg command 0x2142 we return to the line we have
usage: confreg
nothing changes
06-25-2020 02:14 PM
we are not sure what you doing wrong in the steps.
Please connect the console cable and capture all the information you doing, and post here to understand better.
follow step 2 you do not need to enter confreg 0x2142
move to step3.
like below :
Issue the confreg command at the rommon prompt.
Make the selections that appear here in boldface for password recovery:
rommon 1 > set
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]: y change console baud rate? y/n [n]: n change the boot characteristics? y/n [n]: n Configuration Summary : => load ROM after netboot fails => ignore system config info => console baud: 9600 => autoboot from: commands specified in 'BOOT' environment variable do you wish to save this configuration? y/n [n]: y You must reset or power cycle for new configuration to take effect
Issue the reset command so that the module reboots.
Due to the changes that you made in step 2, the module reboots but ignores the saved configuration.
rommon 2 > reset
06-18-2020 02:43 PM
When you get to this point just rest the device. there is no need for confreg 0x2142 command as the auto boot will take care of that.
do you wish to save this configuration? y/n [n]: y You must reset or power cycle for new configuration to take effect
HTH
06-18-2020 02:49 PM
if the password recovery feature enabled
plug the power while u holding the mode key until u enter the Rommon mode and follow this :
:flash_init
:dir
:rename flash:config.text flash:config.text.bk
:boot
en
#rename flash:config.text.bk flash:config.text
#copy flash:config.text system:running-config
#conf t
enable secret ....
wr
06-18-2020 06:03 PM
plug the power while u holding the mode key until u enter the Rommon mode and follow this :
The 4500 series switches do not have a mode key.
HTH
06-19-2020 01:09 AM
In order to power cycle, turn the device off, then back on.
Press Ctrl-C within 5 seconds to prevent autoboot. This action puts you in ROM monitor (ROMmon) prompt mode.
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