To recover from a forgotten password or a corrupt image do the following:
- Restart the switch and hold down the "mode" button to enter recovery mode
- Issue the flash_init command
- Issue the dir flash: command to see the contents of the filesystem
- Now issue this command: rename flash:config.text flash:config.old (If there is already a config.old, choose a different filename such as config.older
- Issue the boot command
- If the old config are not needed, issue delete flash:config.old , if they are however enter EXEC mode by enter the enable command, and then issue the rename flash:config.old flash:config.text command and then copy flash:config.text system:running-config
- Enter configuration mode with config t
- Then enable secret <password desired>
- Then enable password <password desired>
- And so on for any other passwords you would like to change
No comments:
Post a Comment