Cisco
Step-by-step password recovery for the Cisco WS-C2960-48TT-S (Catalyst 2960 Classic). Console access required.
This guide provides step-by-step instructions for resetting lost or forgotten administrative passwords on enterprise networking hardware. Follow the procedure below carefully to regain access while preserving your device configuration.
Before proceeding with password recovery, ensure you have a console cable, terminal emulation software configured to 9600 baud, and physical access to the device.
Connect your terminal cable to the console port of the device and open your serial terminal session.
Power cycle the hardware and issue a Break key sequence during initial system startup to enter ROMMON mode.
Bypass startup configuration loading, boot into system software, set your new credentials, and save changes back to non-volatile memory.
This procedure recovers administrator access to the Cisco Catalyst 2960-48TT-S when the enable secret or user passwords are lost. The startup configuration is preserved (renamed, not erased), so all VLANs, interfaces, and settings survive.
Console cable (RJ-45 to DB-9 or USB-serial) with a terminal session at 9600 baud, 8 data bits, no parity, 1 stop bit (8N1). Physical access to the switch to power-cycle it and press the Mode button. Note: this procedure applies to Catalyst 2960, 2960-S, 2960-X, 2960-XR, 3560, 3560-E, 3560-X, 3750, 3750-E, and 3750-X series running classic IOS.
switch: prompt.flash_initload_helperdir flash: — locate the configuration file (config.text on standalone units; config.text-1, config.text-2, etc. on stacked units).rename flash:config.text flash:config.text.old (use the correct per-stack-member name if applicable).boot. It boots to the CLI with an empty configuration.enable (press Enter at any password prompt — there is none).copy flash:config.text.old system:running-config — when asked for the source filename, enter flash:config.text.old.configure terminal.enable secret <new-password>.line vty 0 15 then password <new-password> and login; repeat for line console 0.end, then write memory (or copy running-config startup-config).reload. Confirm you can log in with the new passwords.config.text-1, config.text-2, ...). Rename and restore each member's file; show switch lists member numbers.no service password-recovery configured — in that case the config cannot be bypassed and only a factory reset is possible.Back up the running config before any work: copy running-config tftp://<server>/<filename> or copy running-config usbflash0:. After recovery, verify show startup-config contains the expected configuration and re-save with write memory.