User Tools

Site Tools


networking:cisco:passwd_recovery

This is an old revision of the document!


Cisco IOS Password recovery

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

<new_secret_password> !−−− To overwrite existing enable password

Sw1(config)# enable password <new_enable_password>

!−−− To overwrite existing vty password Sw1(config)# line vty 0 15 Sw1(config−line)# password <new_vty_password> Sw1(config−line)# login !−−− To overwrite existing console password Sw1(config−line)# line con 0 Sw1(config−line)# password <new_console_password>

Write the running configuration to the configuration file with the write memory command.

Sw1# write memory Building configuration… [OK] Sw1

networking/cisco/passwd_recovery.1455865808.txt.gz · Last modified: 2016/02/19 07:10 (external edit)