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.
Audience: network administrators (especially those new on the job)
Requires: perl, linux (probably), cisco serial cable for console (RS232/RJ45)
Technical note: This may well work on other Cisco equipment -- let me know if it does.
- ciscopwreset - The code
- Documentation? What's that? If you can't keep your passwords, why should we have documentation? You'll just lose it!