A rewrite of TotallyMonica/CiscoReset in Go
- Go >= 1.20.14
git clone https://github.com/TotallyMonica/CiscoResetterGo
cd CiscoResetterGo
go build main
./main.exe <-router | -switch> [-debug]
./main <-router | -switch> [-debug]
After using the first version of this, I discovered that the lab that I work in will reset the computers after every reboot and are not able to connect to the main network. As such, reinstalling the dependencies to run the Python script was needlessly difficult.
While it is possible to compile Python scripts to a single executable, to me it made more sense to rewrite it in Go as that was a language that I was trying to learn.
- Cisco 4221
- Cisco 2960G Series
- Cisco 2960 Plus Series
-
Ensure Cisco 4221 is properly resetConfirmed 4/11/2024 -
Ensure Cisco 2960 series is properly resetConfirmed 4/16/2024 -
Test Windows 7 compatibilityConfirmed 4/25/2024 -
Test Linux compatibility (Baseline: Ubuntu 16.04)Confirmed 4/25/2024 -
Set custom defaults via JSONSwitch functionality confirmed 5/18/2024 - Flags for identifying what to configure
- Mail/push alerts upon completion
- Handle password recovery being disabled
- Back up configs prior to reset
- Configure serial port via switches
-
Allow changing of serial port settings (Currently only allowing 9600 8N1)Written 4/25/2024