Aperture Lab Memos

From Datateknik
Jump to: navigation, search


Introducing Aperture Memos for information that could be googled

Here will information that can be found with Google is listed because I'm lazy.

Cisco 2960 Boot and Password Recovery

To reset switch from lost password:

  • Enter ROMMON by reloading the switch and pressing MODE button until a orange light flashes.
  • Initialise flash and list files in flash to see if startup-running exist.
switch: flash_init
switch: dir flash:
  • Delete this file to remove any saved configuration.
switch: delete flash:/startup-running
switch: boot

To reset switch from lost boot file:

  • From a working switch, download the bin file with TFTP.
Switch# copy flash:c2960-lanbasek9-mz.150-2.SE9/c2960-lanbasek9-mz.150-2.SE9.bin tftp://
  • On the non working switch, enter ROMMON and list files in flash to look for the directory to store the boot file. If missing, create a new directory to store the boot file.
switch: dir flash:
switch: mkdir flash:c2960-lanbasek9-mz.150-2.SE9
  • Optional: Change BAUD speed to allow faster transfer of boot file.
switch: set BAUD 57600
  • If BAUD speed is changed, remember to change BAUD settings on Tera Term.
  • Enable XMODEM transfer.
switch: copy xmodem: flash:c2960-lanbasek9-mz.150-2.SE9/c2960-lanbasek9-mz.150-2.SE9.bin
  • On Tera Term, send file through XMODEM.
File > Transfer > XMODEM > Send
  • Wait for transfer to complete.
  • If BAUD speed was changed, change it back to default.
switch: set BAUD 9600
switch: boot flash:c2960-lanbasek9-mz.150-2.SE9/c2960-lanbasek9-mz.150-2.SE9.bin
Personal tools