Tuesday, December 4, 2012

password recovery on cisco 3550 layer 3 switch


reload the switch
during reload Hold "Mode" button all the way
Release "Mode" after 15 sec.
type the following command,

:flash_init
:load_helper
:dir flash:
:rename flash:config.text flash:config.old !(config.text include passwords)
:boot
:no !initital config
:enable
#rename flash:config.old flash:config.text 
#copy flash:config.text.old system:running-config
#configure terminal
#line console 0 (To overwrite existing console password)
#password cisco !cisco become next login password
#login
!Optional (see below)
#end
#write memory
#logout
!hit "ENTER" to login
password:cisco
#
!Done for password recovery.

!Optional

#username <new_username> secret <new_password> (To overwrite the username)

#enable secret <new_secret_password> (To overwrite existing secret password)
#enable password <new_enable_password> (To overwrite existing enable password)

#line vty 0 15 (To overwrite existing vty password)
#password <new_vty_password>

#delete flash:vlan.dat
#erase startup-config


No comments:

Post a Comment