How to reset cisco router password

Step1) Power cycle the router
Step2) CTRL + Break (during bootup)
Step3) changeĀ Configuration register number

rommon 1> confreg
do you wish to change the confiugration y/n : n
rommon 2> confreg 0x2142
You must reset or power cycle for new config to take efect
romon 3> reset
//after reboot
Would you like to enter the initial configuration dialog? [yes/no]: n Router> enable Router# copy startup running
RouterName# conf t
RouterName(config)# enable secret EnterYourNewPassword!
RouterName(config)# do copy runn startup
RouterName(config)# config-register 0x2102
RouterName(config)# do show version

show version command displays curent Configuration register number (at the very end of the line)

RouterName(config)# do reload

Reset password for Cisco 3750G Layer 3 Switch

During boot, PRESS and hold MODE button for 30 SEC

switch: flash_init

See existing contents of flash memory

dir flash:

Rename existing config.text to config.old.text

rename flash:config.text flash:config.old.text

Boot to restart the switch without config

boot

Would you like to terminate autoinstall [yes]:

Press ENTER to skip

Would you like to enter the initial configuration dialog? [yes/no]

no

Go to enable mode

enable

Copy old config to running-config

copy flash:config.old.text running-config

Go to global configuration mode and change password

Switch#conf t
Switch(config)#enable password cisco
Switch(config)#enable secret cisco

Change password for existing user kim

Switch(config)#username kim password  NewPassWordHere

Create new user kim

username kim secret NewPassWordHere

Finally save and reload

Switch(config)#do wr
Switch#reload

 

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to top