The steps on my catalyst switches are as follows:
- Access ROMMON - power off the device, press the Mode button on the front, connect the power. When the 'x1' LED goes out release the Mode button and ROMMON will be presented in your terminal
- Enable Flash - ROMMON: flash_int
- Enter the Following cmd - :loader_helper
- Check the directory structure - : dir flash:
- Rename the Startup-config file - :rename flash:config.text flash:config.bak
- Restart the system - :boot
- At the prompt enter 'no', you do not wish to run through the automation steps
- At this point you can either stop here and run the system as a fresh system or you can continue
- Rename the config.old back to config.text - switch#rename flash:config.bak flash:config.text
- Next, load the config file in the memory - switch#copy flash:config.text system:running-config
- At this point you are now running your original config. All you need to do now is reset all your access passwords
- Change the Enable Secret - switch(config)#enable secret [Secret]
- Change the Enable Password - switch(config)#enable password [Password]
- Change the Telnet password - switch(config)#line vty 0 4; switch(config-line)#password [Password]
- Set the VTY line to prompt for the password - switch(config-line)#login
- Finally, save your running-config - switch#wr mem