Chapter 9 Troubleshooting
Recovery Procedures
9-24
Catalyst 2900 Series XL and Catalyst 3500 Series XL Software Configuration Guide
78-6511-05
Step 10 Boot the system:
switch: boot
You are prompted to start the setup program. Enter N at the prompt:
Continue with the configuration dialog? [yes/no]: N
Step 11 At the switch prompt, change to privileged EXEC mode:
switch> enable
Step 12 Rename the configuration file to its original name:
switch# rename flash:config.text.old flash:config.text
Step 13 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 use the following normal
commands to change the password.
Step 14 Enter global configuration mode:
switch# config terminal
Step 15 Change the password:
switch(config)# enable secret <password>
or
switch(config)# enable password <password>
Step 16 Return to privileged EXEC mode:
switch(config)# exit
switch#
Step 17 Write the running configuration to the startup configuration file:
switch# copy running-config startup-config
The new password is now included in the startup configuration.