Recover Cisco Catalyst 2960 Switch Password: Difference between revisions
Jasonredlin (talk | contribs) No edit summary |
Jasonredlin (talk | contribs) |
||
Line 27: | Line 27: | ||
switch: dir flash: | switch: dir flash: | ||
Directory of flash:/ | Directory of flash:/ | ||
Output ommitted. | |||
4 -rwx 1131 <date> config.text | 4 -rwx 1131 <date> config.text | ||
Line 42: | Line 41: | ||
switch: | switch: | ||
7. Rename the configuration file by entering '''rename flash:config.text flash:config.old'''. The config.text file is the file that contains the password definition. | |||
switch: rename flash:config.text flash:config.old | |||
switch: | |||
8. Reboot the switch by entering the '''boot''' command. | |||
switch: boot | |||
Loading "flash:... | |||
9. When the switch is done reloading the ''---System Configuration Dialog---''' will appear in the output. Answer '''no''' or press '''ctrl-c''' to leave the system configuration dialog. | |||
--- System Configuration Dialog --- | |||
At any point you may enter a question mark '?' for help. | |||
Use ctrl-c to abort configuration dialog at any prompt. | |||
Default settings are in square brackets '[]'. | |||
Continue with configuration dialog? [yes/no]: n | |||
Press RETURN to get started. | |||
Switch> | |||
*[[Password Recovery and Device Reset Procedures]] | *[[Password Recovery and Device Reset Procedures]] |
Revision as of 15:42, 9 December 2010
Recover Cisco Catalyst 2960 Switch Password
1. Connect to the console port of the switch a PC with terminal emulating software like Hyperterminal or TeraTerm. The terminal settings are as follows:
◦Bits per second (baud): 9600 ◦Data bits: 8 ◦Parity: None ◦Stop bits: 1 ◦Flow Control: Xon/Xoff
2. Power down the switch by unplugging the power cord.
3. Hold down the mode button on the front left side of the switch and plug in the power cord. Do not release the mode button until you see the SYST LED blink amber and then turn solid green. When you release the mode button the SYST LED should blink green. The switch should now be in switch: mode.
4. Enter the flash_init command at the switch: prompt.
switch: flash_init Initializing Flash...
5. Enter the load_helper command
switch: load_helper switch:
6. Enter the dir flash: command
switch: dir flash: Directory of flash:/
Output ommitted.
4 -rwx 1131 <date> config.text
This is the configuration file.
5 -rwx 109 <date> info 6 -rwx 389 <date> env_vars 7 drwx 640 <date> html 18 -rwx 109 <date> info.ver 403968 bytes available (3208704 bytes used) switch:
7. Rename the configuration file by entering rename flash:config.text flash:config.old. The config.text file is the file that contains the password definition.
switch: rename flash:config.text flash:config.old switch:
8. Reboot the switch by entering the boot command.
switch: boot Loading "flash:...
9. When the switch is done reloading the ---System Configuration Dialog---' will appear in the output. Answer no or press ctrl-c to leave the system configuration dialog.
--- System Configuration Dialog --- At any point you may enter a question mark '?' for help. Use ctrl-c to abort configuration dialog at any prompt. Default settings are in square brackets '[]'. Continue with configuration dialog? [yes/no]: n
Press RETURN to get started.
Switch>