Password Recovery for Cisco switches
1, hold the modem key, power, to enter the console after release: switch:
2, loading flash_init file initialization: Switch:flash_init
3, view the files in Flash: Switch:dir Flash:
4, rename the configuration file: Switch:rename flash:config.text flash:config.old (optional set)
5. Start switch: Boot
6, in the privileged mode of view Flash: #dir Flash:
7. Change the renamed configuration file back to the original name: # rename Flash:config.old flash:config.text
8, copy Config.text content to the current profile: #copy flash:config.text running-config
9, view running-config content, view the password or modify the password: #show running-config
10, see the modification complete, save the configuration.
To delete a configuration information method:
# erase NVRAM or #delete Flash:config.text
Remove VLAN Information
# Delete Flash:vlan.dat
# Reload reboot takes effect
Article Source: http://lucky7067.blog.51cto.com/371396/163700