Thursday, September 27, 2018

Password Recovery Procedure Cisco 2960-C

Password Recovery Cisco 2960-C
  1. Connect to the switch with the console cable
  2. Unplug the AC adapter from the switch.
  3. Press and hold the Mode button
  4. Insert AC adapter to the switch but keep the Mode button pressed
  5. The SYST LED will flash, after about 45 seconds, the SYST LED will either turn off or stay solid.  
  6. Release the Mode button.
  7. The console will show a switch: prompt.
  8. Initialize the flash sequence.
    flash_init
  9. Show the contents of flash.
    dir flash:
  10. Rename config.text to config.old
    rename flash:config.text flash:config.old
  11. Boot the system back up.
    boot
  12. Exit the initial configuration dialog. It will prompt [yes/no]: 
    n
  13. Enter enable mode.
    en
  14. Rename the configuration file back to its original name.
    rename flash:config.old flash:config.textEnter to confirm.
  15. Copy the configuration into memory.
    copy flash:config.text system:running-configEnter to confirm.
Factory Restore Defaults
  1. Erase the startup config and reload the switch.
    erase startup-configPress Enter to confirm.
    reload
    Do not save the system configuration if it prompts for yes or no. Press Enter to confirm reload.
  2. Delete the vlan configuration.
    delete flash:vlan.datEnter twice to confirm.
    reloadPress Enter to confirm.
  3. Check your the VLAN’s have been reset to default configuration.
    show vlan

1 comment: