Friday, December 10, 2010

CCNP - ENTERPRISE - Password recovery on a Catalyst switch

Part of the preparation work for my home lab is to clear off the old config on the recycled systems. This includes performing a password reset.

The steps on my catalyst switches are as follows:

  1. 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
  2. Enable Flash - ROMMON: flash_int
  3. Enter the Following cmd - :loader_helper
  4. Check the directory structure - : dir flash:
  5. Rename the Startup-config file - :rename flash:config.text flash:config.bak
  6. Restart the system - :boot
  7. At the prompt enter 'no', you do not wish to run through the automation steps
  8. At this point you can either stop here and run the system as a fresh system or you can continue
  9. Rename the config.old back to config.text - switch#rename flash:config.bak flash:config.text
  10. Next, load the config file in the memory - switch#copy flash:config.text system:running-config
  11. At this point you are now running your original config. All you need to do now is reset all your access passwords
  12. Change the Enable Secret - switch(config)#enable secret [Secret]
  13. Change the Enable Password - switch(config)#enable password [Password]
  14. Change the Telnet password - switch(config)#line vty 0 4; switch(config-line)#password [Password] 
  15. Set the VTY line to prompt for the password - switch(config-line)#login
  16. Finally, save your running-config - switch#wr mem

No comments:

Post a Comment