8th August 2022

Cisco Switch Password Recovery

If you have forgotten the password of your cisco switch, you should follow the procedure for password recovery:

1- Power up the device after connecting the device with the console.

Cisco Packet Tracer console
Cisco Packet Tracer console

 

2-In order to start our device in recovery mode, we start by pressing the mode button at the bottom left of our switch. We need to use the Ctrl + Break or Ctrl + c key combination after the connection is established for the switches that do not have a Mode button.

switch console
switch console

 

3-  After that, type the following commands

 

flash_init, load_helper, dir flash
flash_init, load_helper, dir flash

 

4- Then the name of this file should be changed temporarily so that we cannot get the initial configuration when we reboot.

5- Then the switch will reboot. The name of the file is no longer the initial configuration, so the device will open without the password.

6-In the device we access without a password, we revert the file we changed back to.

7- Create a new password and save the configuration.

 

LEARN MORE  What is Active Directory SYSVOL File?

Leave a Reply

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