Recovering from a Lost or Forgotten Password
Step 7
At the switch prompt, enter privileged EXEC mode:
Switch> enable
Step 8
Rename the configuration file to its original name:
Switch# rename flash:config.text.old flash:config.text
Note
Step 9
Copy the configuration file into memory:
Switch# copy flash:config.text system:running-config
Source filename [config.text]?
Destination filename [running-config]?
Press Return in response to the confirmation prompts.
The configuration file is now reloaded, and you can change the password.
Enter global configuration mode:
Step 10
Switch# configure terminal
Step 11
Change the password:
Switch (config)# enable secret password
The secret password can be from 1 to 25 alphanumeric characters, can start with a number, is case
sensitive, and allows spaces but ignores leading spaces.
Step 12
Return to privileged EXEC mode:
Switch (config)# exit
Switch#
Write the running configuration to the startup configuration file:
Step 13
Switch# copy running-config startup-config
The new password is now in the startup configuration.
Note
Reload the switch or switch stack:
Step 14
Switch# reload
Cisco Catalyst Blade Switch 3120 for HP Software Configuration Guide
47-6
Before continuing to Step 9, power on any connected stack members and wait until they have
completely initialized. Failure to follow this step can result in a lost configuration depending on
how your switch is set up.
This procedure is likely to leave your switch virtual interface in a shutdown state. You can see
which interface is in this state by entering the show running-config privileged EXEC command.
To re-enable the interface, enter the interface vlan vlan-id global configuration command, and
specify the VLAN ID of the shutdown interface. With the switch in interface configuration
mode, enter the no shutdown command.
Chapter 47
Troubleshooting
OL-12247-01