Reset the Cisco Switch Password:

Seven Steps for CISCO switch password reset

1. Enter ROMMON mode
2. Rename the config.text file
3. Reboot the switch
4. Rename the config file back to original name
5. Copy current config into running_config
6. Update the new password and secret
7. Save the configuration and restart


1. Enter the ROMMON Mode:
Connect the power cable and console cable. Then press and hold the mode button and switch on the power. It will bring to Rommon Mode. When you see the flash mode: then remove the mode button from the switch

switch: more flash:config.text then copy and save the backup config file.

After that do the following steps

Switch: dir flash:


2. Rename the config
     Switch: rename flash:config.text flash:config.old


   To Verify: 
    Switch: dir flash:

3. Reboot the switch
    Switch: boot

4. Rename the config back to Original 
    Switch#dir flash:
    Switch#rename flash:config.old flash:config.text



5. Copy current config into running-config
    Switch#copy flash:config.text running-config


    It will change the hostname to: SW-2960#

6. Update the new password and secret
    SW-2960(config)#enable secret cisco
    SW-2960(config)#username admin privilege 15 secret password 

7. Save the configuration and restart
    SW-2960#copy running-config startup-config
    SW-2960#reboot


Comments

Popular posts from this blog

FortiGate-100D: EXT2-fs(sdb1):previous I/O error to superblock detection

SFTP (CrushFTP serevr) renew Certificate

Check the cisco device MAC address and IP address