28-7
Catalyst 2950 Desktop Switch Software Configuration Guide
78-14982-01
Chapter 28 Troubleshooting Using Recovery Procedures
Step 3 Unplug t he sw it ch p ower cor d.
Step 4 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 goes off. Several lines of
inform ation about the softwar e 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
Step 5 Initialize the Flash file system:
switch# flash_init
Step 6 If you had se t th e co nsole po rt s pe ed t o any thing ot her than 9 600, it ha s be en re set to t hat par tic ula r
speed. Change the emulation software line speed to match that of the switch console port.
Step 7 Load any he lp er files:
switch# load_helper
Step 8 Display the contents of Flash memory as in this example:
switch# dir flash:
The switch file system is displayed:
Directory of flash:/
3 drwx 10176 Mar 01 2001 00:04:34 html
6 -rwx 2343 Mar 01 2001 03:18:16 config.text
171 -rwx 1667997 Mar 01 2001 00:02:39 c2950-i6q412-mz.121-9.EA1.bin
7 -rwx 3060 Mar 01 2001 00:14:20 vlan.dat
172 -rwx 100 Mar 01 2001 00:02:54 env_vars
7741440 bytes total (3884509 bytes free)
Step 9 Rename the configuration file to config.text.old.
This file cont ains the passwo rd definition.
switch# rename flash:config.text flash:config.text.old
Step 10 Boot the system:
switch# boot
You are pro mpte d to start th e setup pro gram. Ent er N at the prompt:
Continue with the configuration dialog? [yes/no]: N
Step 11 At the swi tch pr ompt , chan ge to privileged EX EC mode :
switch> enable
Step 12 Rename the configuration file to its original name:
switch# rename flash:config.text.old flash:config.text