=== Cisco IOS Password recovery for 2900XL, 3500XL, 2940, 2950, 2960, 2970, 3550, 3560, and 3750 series switches === {{:downloads:pswdrec_2900xl.pdf|Password recovery PDF}} Power the switch and bring it to switch: prompt switch: flash_init \\ switch: load_helper \\ switch: dir flash: \\ switch: rename flash:config.text flash:config.old \\ switch: boot \\ After booting the switch enable rename flash:config.old flash:config.text Sw1# conf t !−−− To overwrite existing secret password Sw1(config)# enable secret !−−− To overwrite existing enable password Sw1(config)# enable password !−−− To overwrite existing vty password Sw1(config)# line vty 0 15 Sw1(config−line)# password Sw1(config−line)# login !−−− To overwrite existing console password Sw1(config−line)# line con 0 Sw1(config−line)# password Write the running configuration to the configuration file with the write memory command. Sw1# write memory Building configuration… [OK] Sw1