How to Recover the Password on Cisco Catalyst 3850?

It is easy to solve it for it’s so common for a network user. Here we list some tips and basic steps to help you recover password on catalyst 3850 again.
On a switch, power off the standalone switch or the entire switch stack. Reconnect the power cord to the active switch. Within 15 seconds, press the Mode button while the System LED is still flashing green. Continue pressing the Mode button until all the system LEDs turn on and remain solid; then release the Mode button.
Several lines of information about the software appear with instructions, informing you if the password recovery procedure has been disabled or not.
If you see a message that begins with this:
The system has been interrupted prior to initializing the flash file system.

The following commands will initialize the flash file system proceed to the below steps

Step1 Initialize the flash file system.
Switch: flash_init

Step2 Ignore the startup configuration with the following command:
Switch: SWITCH_IGNORE_STARTUP_CFG=1

Step3 Boot the switch with the packages.conf file from flash.
Switch: boot flash:packages.conf

Step4 Terminate the initial configuration dialog by answering No.
Would you like to enter the initial configuration dialog? [yes/no]: No

Step5 At the switch prompt, enter privileged EXEC mode.
Switch> enable
Switch#

Step 6 Copy the startup configuration to running configuration.

Switch# copy startup-config running-config Destination filename [running-config]?
Press Return in response to the confirmation prompts. The configuration file is now reloaded, and you can change the password.

Step7 Enter global configuration mode and change the enable password.

Switch# configure terminalSwitch(config)#

Step8 Write the running configuration to the startup configuration file.
Switch# copy running-config startup-config

Step9 Confirm that manual boot mode is enabled.
Switch# show boot
BOOT variable = flash:packages.conf;
Manual Boot = yes
Enable Break = yes

Step10 Reload the switch.
Switch# reload

Step11 Return the Bootloader parameters (previously changed in Steps 2 and 3) to their original values.
Switch: SWITCH_DISABLE_PASSWORD_RECOVERY=1
Switch: switch: SWITCH_IGNORE_STARTUP_CFG=0

Step12 Boot the switch with the packages.conf file from flash.
Switch: boot flash:packages.conf

Step13 After the switch boots up, disable manual boot on the switch.
Switch(config)# no boot manual

Leave a comment