How to Break The Cisco Switch Password

In this article, I will try to explain how to enable the Cisco enable password.

1. Connect the switch to the computer via the console port via a  putty or SecureCRT style program.

2. Unplug the switch in power cable.

3. Power on the switch again and hold down the mode button on the left side of the switch as soon as you power the switch. This opens the switch prompt screen.

switch mode button
switch mode button

4. When you see the prompt in the form of a switch, execute the corresponding command;

 switch prompt screen
switch prompt screen

Using the above operations, the location of the configuration file (config.text) is determined.
We will then temporarily change the name of this file so that it will be unencrypted since the device will not receive its initial configuration when rebooted.

switch prompt screen config text
switch prompt screen config text

5. Then use conf. Rename the file:

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

6. switch: boot –>Run the command

switch prompt boot
switch prompt boot

The switch will reopen after the above operations.
After that, we will rename the file (config.txt) and not lose the old configuration.
We can save the startup file to running-config and change the telnet, enable, and console passwords if any.

As a result of these steps, we changed the password of the switch.

Let’s start the switch again.