If the switch login password is forgotten, don't worry, as long as you have a PC, there are similar HyperTerminal (Hyper Terminal) This is a terminal program, connected to the switch console port, then the password recovery is n simple.
1. For the Catalyst 2900/3500XL series:
Disconnect the power cable from the switch, and then press and hold the switch mode button and reseat the switch's power cable. Release the mode button until the port 1x led is off.
It's so simple, don't tell me you don't know where the mode button is,-_-#.
2. For the Catalyst 2940/2950L series:
Disconnect the power cable from the switch, and then press and hold the switch mode button and reseat the switch's power cable. Release the mode button until the stat LED is off.
3. For the Catalyst 2955 series:
Catalyst 2955 does not have an external mode button, so it is not possible to use the previous method for password recovery. When the switch starts, press the Ctrl+break key for the Windows family PC and press CTRL + C for the UNIX series workstation.
C2955 Boot Loader (c2955−hboot−m) Version 12.1 (0.0.514), CISCO DEVELOPMENT TEST
VERSION
Compiled Fri 13−dec−02 17:38 by Madison
Ws−c2955t−12 starting ...
Base Ethernet MAC address:00:0b:be:b6:ee:00
Xmodem file system is available.
Initializing Flash ...
Flashfs[0]: Files, 2 directories
Flashfs[0]: 0 Orphaned files, 0 orphaned directories
FLASHFS[0]: Total bytes:7741440
Flashfs[0]: Bytes used:4510720
Flashfs[0]: Bytes available:3230720
Flashfs[0]: Flashfs fsck took 7 seconds.
... done initializing Flash.
Boot sector filesystem (BS:) installed, Fsid:3
Parameter block FileSystem (PB:) installed, Fsid:4