Citation : Recovering from Lost or Forgotten Passwords on Non-LRE Catalyst 2950 Switches
Follow these steps if you have forgotten or lost the switch password on a non-LRE Catalyst 2950 switch:
Step 1 Connect a terminal or PC with terminal emulation software to the consoleservice port. For more information, see the switch hardware installation guide.
Note You can configure your switch for Telnet by following the procedure in the "Accessing the CLI" section on page 2-9.
Step 2 Set the line speed on the emulation software to 9600 baud.
Step 3 Unplug the switch power cord.
Step 4 Reconnect the power cord to the switch and, within 15 seconds, press the Mode button while the System LED above port 1X is still flashing green. Continue pressing the Mode button until the System LED turns briefly amber and then solid green; then release the Mode button.
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:
Step 5 Initialize the flash file system:
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:
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.