Cisco Catalyst WS-C2960G-24TC-L switch recovery, console relay, and small-business provisioning
  • Shell 93.2%
  • Jinja 6.8%
Find a file
Fredrick Amnehagen 753b1985d2 feat: add Cisco 2960G IOS firmware upgrade path via archive.org
Add firmware upgrade documentation and helper script for upgrading
Cisco Catalyst 2960G from LANBASE 12.2(35)SE5 (no SSH) to LANBASE-K9
12.2(50)SE5 or 12.2(55)SE12 (SSH-enabled).

Found working K9 images on archive.org:
- c2960-lanbasek9-mz.122-50.SE5 (~11.8 MB tar)
- c2960-lanbasek9-tar.122-55.SE12 (~13.8 MB tar)

Add:
- docs/FIRMWARE-UPGRADE.md: upgrade guide with direct download URLs,
  checksums, XMODEM/TFTP procedures, rollback plan
- docs/FIRMWARE-UPGRADE-CHECKLIST.md: step-by-step checklist
- scripts/cisco-firmware-upgrade: download, verify checksums, extract
  .bin from tar, print next steps

WARNING: Cisco IOS is copyrighted software. archive.org items are
user-uploaded mirrors, not official Cisco distribution.
2026-11-13 00:27:17 +00:00
.opencode/skills/cisco-console-relay Initial commit: Cisco Catalyst 2960G recovery and homelab provisioning 2026-11-05 14:10:17 +01:00
configs feat: prepare switch 02/03 deployment and remaining tweaks 2026-11-13 00:02:12 +00:00
docs feat: add Cisco 2960G IOS firmware upgrade path via archive.org 2026-11-13 00:27:17 +00:00
iac feat: major IaC, scripts, and documentation upgrade for switches 02/03 2026-11-12 23:39:15 +00:00
scripts feat: add Cisco 2960G IOS firmware upgrade path via archive.org 2026-11-13 00:27:17 +00:00
.gitignore Initial commit: Cisco Catalyst 2960G recovery and homelab provisioning 2026-11-05 14:10:17 +01:00
AGENTS.md docs: add detailed RJ45-to-DB9 wiring guide for x86 console server 2026-11-12 22:23:36 +00:00
DEVELOPER.md docs(repo): align with LoopAware agent guidelines pattern 2026-11-05 14:34:32 +00:00
GUIDELINES.md docs(repo): align with LoopAware agent guidelines pattern 2026-11-05 14:34:32 +00:00
README.md docs: add detailed RJ45-to-DB9 wiring guide for x86 console server 2026-11-12 22:23:36 +00:00

Cisco Catalyst 2960G — Recovery & Provisioning

Recovery and homelab provisioning of a Cisco Catalyst WS-C2960G-24TC-L switch for small-business production use.

Architecture

The agent runs in an LXC container on a server. The serial console cable is physically connected to the user's laptop (ssh root@10.8.0.11). All console access goes through SSH — the tmux+picocom session lives on the laptop.

LXC (agent) --ssh--> laptop (10.8.0.11) --tmux+picocom--> /dev/ttyUSB1 --cable--> switch CONSOLE port

Console Relay

Use scripts/cisco-console from the repository root. All commands are executed on the laptop via SSH from the LXC:

ssh root@10.8.0.11 "cd /root/cisco-2960g && ./scripts/cisco-console start /dev/ttyUSB1 9600"
ssh root@10.8.0.11 "cd /root/cisco-2960g && ./scripts/cisco-console send 'show version'"
ssh root@10.8.0.11 "cd /root/cisco-2960g && ./scripts/cisco-console capture 200"
ssh root@10.8.0.11 "cd /root/cisco-2960g && ./scripts/cisco-console stop"

RS-232 Level Warning

The Cisco 2960G console port is RS-232 (±12V). Direct 5V TTL from the FTDI adapter does not work and risks damaging the FTDI. Use a MAX3232 RS-232↔TTL transceiver or a USB-to-RS232 adapter in-line before connecting to the switch console.

Safety

Ask for confirmation before destructive or state-changing switch commands. Never commit credentials, serial numbers, or console logs.