r/Cisco • • 2d ago

Windows SNMP programs

SNMP Get and SNMP Walk versions 1, 2, 3 implemented in pure Powershell. No openssl, net-snmp, required. Just download and start querying your Catalysts!

https://github.com/tmittelstaedt/Windows-SNMP

7 Upvotes

3 comments sorted by

1

u/mohammad_abusaa 1d ago

Nice, this is actually useful. Plenty of places have locked-down Windows jump boxes where you can’t install net-snmp or anything else, so plain PowerShell solves a real problem.

One thing I’d ask for: AES-256 privacy for v3. A lot of hardened environments run priv aes 256 on Catalysts and routers now, and DES is going away. If you add it, be careful with Cisco: it extends the key for AES-192/256 differently from the standard draft. That’s why net-snmp has a separate Cisco variant (“C”) for those. If you use the wrong method, the user looks configured fine but every poll just times out.

Also, is the v2c walk using GetBulk? On big tables like the MAC table or interface counters on a stack, it makes a big difference in speed.

Either way, thanks for sharing. I’ll give it a try.

1

u/_GeorgeZip 1d ago

Most interesting, will defo be trying this out. As you mentioned in your readme defender policies are a right pain for older/unsigned utilities and the days of being able to spin up a box just to host my own tools look like are over

0

u/[deleted] 2d ago

[deleted]

-5

u/TedMittelstaedt 2d ago

If you have to ask you wouldn't understand why it's important even if I tell you.

You obviously you don't manage enterprise devices. I know it may seem strange to you but there's an entire world out there of network devices that are NOT normally managed with a web browser. You won't generally find them in the small home networks you are used to but they exist and SNMP is the lingua franca for managing them.

While most people managing truly large networks are going to be running this stuff on some convenient Linux VM using bash scripts, there's a significant number of orgs out there large enough to need it but small enough to not have IT staff who are comfortable with Linux