Cisco pw reset

ciscopwreset is a perl script that chats with your cisco 1600 router via the serial console, and resets the enable password to pokpok.

Here's how it works:

  • Turn the router on
  • Connect the router at /dev/ttyS0 (COM1). If you've changed the default settings on your port, you may need to run stty < /dev/ttyS0 9600 cs8 or something.
  • Run ciscopwreset, which will ask the router for the current confreg value.
  • Cycle the power on the router when asked to do so.
  • Wait around two minutes for the procedure to complete, watching the pretty scrolling text.
You can now connect to the router using some other tool, e.g. screen /dev/ttyS0 and make any other changes you need to make (e.g. changing telnet passwords).

Audience: network administrators (especially those new on the job)
Requires: perl, linux (probably), cisco serial cable for console (RS232/RJ45)
Language: perl
License: GPL
Technical note: This may well work on other Cisco equipment -- let me know if it does.

Download and documentation

  • ciscopwreset - The code
  • Contact us if you would like more information, or if you would like us to improve the software for you.
  • Documentation? What's that? If you can't keep your passwords, why should we have documentation? You'll just lose it!