04-03-2025 08:42 AM
Hello,
I use 9200 switches in my environment and am interested in obtaining the power draw of certain PoE devices on specific interfaces. What is the OID to use for that?
04-04-2025 12:41 AM
- Have a look at https://github.com/librenms/librenms-mibs/blob/master/CISCO-POWER-ETHERNET-EXT-MIB
The closest I could find for the time being:
>...
>peExtPsePortMaxPwrDrawn OBJECT-TYPE
SYNTAX Unsigned32
UNITS "milliwatts"
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"This indicates the maximum amount of power drawn by the PD
connected to this interface, since it was powered on."
::= { cpeExtPsePortEntry 10 }
M.
04-04-2025 11:13 AM
Is there an OID?
04-04-2025 12:16 PM
- @mandm Ref : https://cric.grenoble.cnrs.fr/Administrateurs/Outils/MIBS/?oid=1.3.6.1.4.1.9.9.402.1.2.1.10
Actually there was a syntax error in my original post that should have been
: cpeExtPsePortMaxPwrDrawn
04-08-2025 07:05 AM
I tried the oid but it gave the message [noSuchName]?
04-08-2025 08:29 AM
- Sometimes the OID gets a slightly different name; you may get insights from this example :
% snmpbulkwalk -v2c -c <community> -OQUs -m CISCO-POWER-ETHERNET-EXT-MIB -M <path-to-mib> udp:<switch-name>:161 cpeExtPsePortEntry
M.
04-08-2025 10:24 AM
Thank you. What if I wanted to narrow it down to a specific switchport?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide