Doing Terrible Things To Your Code

a good programmer knows they have to do terrible things to their code. Do it because if you don’t, I guarantee you other people will, and when they do, they will either walk away or create a support ticket. I’m not sure which is worse.

Jeff Atwood

How to set SG200-26P to factory default settings

This thread was helpful, even though it’s for a smaller, 8-port switch.  Basically:

  1. Disconnect the switch from all possible DHCP servers (unless you like playing hide-and-seek).
  2. Connect the link port directly to your laptop’s Ethernet port.
  3. Configure your laptop’s network interface to be in the 192.168.1.1/24 network, but avoid the 192.168.1.254.
  4. Now find a small pin (I used the one from the office stepler) and push into the Reset hole of the switch for about 30 seconds.  You’ll see all the switch ports blink when you are done.
  5. Remove the pin.
  6. Start pinging 192.168.1.254 … it’ll take a few minutes before you get a reply.
  7. Once the ping starts working, navigate to http://192.168.1.254 .  It’ll help if your browser doesn’t have any proxy servers configured.
  8. Login with username cisco, password cisco.
  9. ???
  10. PROFIT!