I've got a Catalyst WS-C3750V2-48PS and am using the following OID to toggle PoE Admin Mode on port 1 (Fa/0/1)
snmpset -v2c -c public 192.168.0.156 1.3.6.1.2.1.105.1.1.1.3.3.3 i 2 # <- "i 2" disables PoE
snmpset -v2c -c public 192.168.0.156 1.3.6.1.2.1.105.1.1.1.3.3.3 i 1 # <- "i 1" enables PoE
Now, I've generally figured out that I can change the .3 at the end to be, Port Id + 2. For example:
.4 for port 2 (Fa/0/2)
.5 for port 3 (Fa/0/3)
However, this isn't actually consistent across all ports. Following that pattern I'd expect port 45 (Fa/0/45) to be .47 (seems to be port + 2), however I've manually figured out port 45 is actually .49.
For some reason .27 isn't actually port 25 either. I can't seem to figure out what that is.
If I snmpwalk 1.3.6.1.2.1.105.1.1.1.3.3 I get from .3 all the way to .52, considering it's a 48 port switch means I've got an extra 4 places I can't figure out.
Is there an official way to figure out what OID represents which port? I've found articles like this for finding OIDs for Mac Addresses, but I can't find anything similar for PoE Admin toggling.