Difference between revisions of "Reseting the Enable Password"
From Peter Pap's Technowiki
(Created page with "# Reset the whole switch Hold down the mode button on the front, as seen in the photo below, and connect the power cable. switch: flash_init switch: load_helper switch: rename ...") |
|||
Line 1: | Line 1: | ||
− | + | 1. Disconnect the switch from it's power source. | |
− | Hold down the mode button on the front | + | 2. Hold down the mode button on the front and connect the power cable. |
− | the power cable. | ||
− | + | 3. When you see the 'switch:' prompt, do the following: | |
− | |||
− | |||
− | switch: | ||
− | |||
− | + | switch: flash_init | |
+ | switch: load_helper | ||
+ | switch: rename flash:config.text flash:config.backup | ||
+ | switch: boot | ||
+ | Would you like to enter the initial configuration dialog? [yes/no]: no | ||
− | |||
− | |||
− | switch: en | + | 4. Enter enable mode and reset password. |
− | switch# rename flash:config.backup config.text | + | |
− | switch# copy flash:config.text system:running-config | + | switch: en |
− | switch# config t | + | switch# rename flash:config.backup config.text |
− | switch(config)# no enable secret | + | switch# copy flash:config.text system:running-config |
− | switch(config)# exit | + | switch# config t |
− | switch# wr mem | + | switch(config)# no enable secret |
− | switch# config t | + | switch(config)# exit |
− | switch(config)# enable password somepassword | + | switch# wr mem |
+ | switch# config t | ||
+ | switch(config)# enable password somepassword |
Latest revision as of 03:40, 21 September 2010
1. Disconnect the switch from it's power source.
2. Hold down the mode button on the front and connect the power cable.
3. When you see the 'switch:' prompt, do the following:
switch: flash_init switch: load_helper switch: rename flash:config.text flash:config.backup switch: boot Would you like to enter the initial configuration dialog? [yes/no]: no
4. Enter enable mode and reset password.
switch: en switch# rename flash:config.backup config.text switch# copy flash:config.text system:running-config switch# config t switch(config)# no enable secret switch(config)# exit switch# wr mem switch# config t switch(config)# enable password somepassword