Você está na página 1de 2

how to reset the lost switch password connect your pc to the console port on the switch power off

the switch....pressing and holding the mode button on the frnt of the switch, plug in the power cable. you will see a note saying password recovery mechanism enabled type in:- flash_init and then type:- load_helper then type:- dir flash: rename flash:config.txt flash:config.backup boot and typr enter at initial cnfigure mode give "NO" then enter rename flash: config.backup config.txt copy flash:config.txt system:running-config you ll be prompted to cinfirm the file names...type in enterat each step in global config mode: type in:- config terminal no enable secret enable password <password of choice> exit copy run start ******************************************************************************** ********************************************************************** For Future Reference, here is how to Recovery a lost Cisco router or switch pass word: Please note, these are the GENERAL procedures but procedures vary on varying dev ices! 1. power off and back on the device 2. hold down control and hit BREAK (may have to do this a few times) 3. Once you are at the rommon> prompt, type confreg. 4. Say "n" to all options except this one: enable "ignore system config info"? y/n [n]: y 5. Say "n" to all other options 6. once back at the rommon prompt, type reset 7. the device will reboot 8. Once the device is booted, you will know that you are bypassing the config be cause you will be asked this question (say no): Would you like to enter the initial configuration dialog? [yes/no]: no 9. Once booted, if you do a show version, you will see that your config register is 0x2142. 10. Now, you can either go to enable mode and do a show startup-config to see wh at the enable password is OR, if you have an enable secret password set, you can replace it by doing a copy start run, then going into global configuration and creating a new enable secret with enable secret cisco, then copy it back with co py run start. 11. Now, you want to change the config register back. In global configuration, t

ype config-register 0x2102 12. save your configuration with wr or copy run start 13. reboot the device and you should be back with your original configuration bu t with a password that you know! Attached to this message is a log file of exactly how I did this on my Cisco 260 0 series router. ******************************************************************************** ******************************************************************************** **************

Você também pode gostar