32-3
Catalyst2950 and Catalyst2955 Switch Software Configuration Guide
78-11380-10
Chapter32 Troubleshooting Using Recovery Procedures
Step4 Press the Mode button, and at the same time, reconnect the power cord to the switch.
You can release the Mode button a second or two after the LED above port 1X turns off. Several lines
of information about the software appear, as do instructions:
The system has been interrupted prior to initializing the flash file system. These
commands will initialize the flash file system, and finish loading the operating system
software:
flash_init
load_helper
boot
Step5 Initialize the flash file system:
switch# flash_init
Step6 If you had set the console port speed to anything other than 9 600, it ha s be en re set to t hat p artic ula r
speed. Change the emulation software line speed to match that of the switch console port.
Step7 Load any helper files:
switch# load_helper
Step8 Display the contents of flash memory:
switch# dir flash:
The switch file system appears in the directory.
Step9 Rename the configuration file to config.text.old.
This file contains the password definition.
switch# rename flash:config.text flash:config.text.old
Step10 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
Step11 At the switch prompt, change to privileged EXEC mode:
switch> enable
Step12 Rename the configuration file to its original name:
switch# rename flash:config.text.old flash:config.text
Step13 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.
Step14 Enter global configuration mode:
switch# configure terminal