Skip to content

How to bypass a forgotten password on a Cisco 2950, 2960, 3550, 3560, 3750 Switch

17/04/2016

If you’ve forgotten the password on a Cisco switch, you need to find out how to circumvent the security.  This is how you bypass a forgotten password on several Cisco switches.

Step 1 – Power off

Remove the power cable

Insert power cable and hold down the “mode” button for 4 seconds.

The mode will start to flash when it’s ready.

Step 2 – Cisco commands

Your Cisco switch will then helpfully display the 3 commands you’ll need.

flash_init

load_helper

dir flash:

**

Type in to the switch prompt:

flash_init

Now wait for the boot sequence to complete.  This is the slowest stage…

load_helper

dir flash:

****

Dir flash: is to allow you to list all the files held in flash memory.

We need to look for config.text.

****

Step 3 – Rename the existing config.text

Once you can see the config.text file listed, type in at the prompt:

rename flash: config.text    flash: config.old

to check the config.text file has been renamed:

dir flash:/

*****

Now boot the Cisco Switch (power off/on – and this time all passwords will be wiped).

The good news is that the old config.txt is still there – we try to keep old config files if we can.

 

Video

Here’s a video of the bypassing of a password in action.

 

 

 

 

Advertisements
Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: