31-3
Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide
OL-10101-02
Chapter 31 Troubleshooting
Using Recovery Procedures
flash_init
load_helper
boot
Step 5 Initialize the flash file system:
switch: flash_init
Step 6 If you had set the console port speed to anything other than 9600, it has been reset to that particular
speed. Change the emulation software line speed to match that of the switch consoleservice port.
Step 7 Load any helper files:
switch: load_helper
Step 8 Display the contents of flash memory:
switch: dir flash:
The switch file system appears in the directory.
Step 9 Rename the configuration file to config.text.old.
This file contains the password definition.
switch: rename flash:config.text flash:config.text.old
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# configure terminal
Step 15 Change the password:
switch(config)# enable secret <password>
or
switch(config)# enable password <password>