cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3902
Views
0
Helpful
5
Replies

help with SNMP OID for PoE on 2960S

CrackedJack1
Level 1
Level 1

I have a stack of 2960S switches and I want to get total PoE power available and consumed  via SNMP. I've tried the cisco MIB browser and looked on google but any OID I try to query returns nothing.

Does anyone have the correct OIDs to use? Can I get those two numbers (total available and consumed) per switch in the stack? Can I just get the overall numbers? I'm not interested in the per interface values, only the overall values.

Thanks

5 Replies 5

CrackedJack1
Level 1
Level 1

I got the OIDs to use but it doesn't seem to be returning the correct values.

1.3.6.1.2.1.105.1.3.1.1.2 for total

1.3.6.1.2.1.105.1.3.1.1.4 for consumed

 

The .2 OID returns 740 per switch in the stack which is what  I expected. The .4 OID doesn't return anything close to the real value.

 

Show inline power says I'm using 42, 114, 46 and 57 per switch. The SNMP values are 12, 24, 8 and 20.

 

Anyone know what's going on?

Any luck getting this to work? Running into the exact same problem with the "consumed" power being inaccurate. Thanks.

Hi,
There is a difference in actual power usage, and the amount of power the system reserves from power budget.

I have the same problem, i need to know how much power is actually left from the budget for me to connect new devices..

Anyway, output of #show power inline is the power based on the output of "#show cdp entry"[device name].
For example i have an AIR-CAP2702I-E-K9
"Power drawn: 16.800 Watts" from CDP.
#sh power  inline
Module   Available     Used     Remaining
          (Watts)     (Watts)    (Watts)
------   ---------   --------   ---------
1           485.0      478.6         6.4
Interface Admin  Oper       Power   Device              Class Max
                            (Watts)                            
--------- ------ ---------- ------- ------------------- ----- ----
Gi1/0/2   auto   on         16.8    AIR-CAP2702I-E-K9   4     30.0

The output you see with SNMP is the OID being read that shows the actual Watts as used by the connected device.

The counter you see is the SNMP OID of "Oper power"
#sh power  inline police

Module   Available     Used     Remaining
          (Watts)     (Watts)    (Watts)
------   ---------   --------   ---------
1           485.0      478.6         6.4
Interface Admin  Oper       Admin      Oper       Cutoff Oper  
          State  State      Police     Police     Power  Power
--------- ------ ---------- ---------- ---------- ------ -----
Gi1/0/2   auto   on         none       n/a        n/a    6.7  
Totals:                                                  182.1

So i too am looking for the OID that show me to remaining watts based on the amount of power a devices like APs reserve in the POE budget.
Would be great if this could be done with SNMP, otherwise i need to script this.

Have you found a SNMP solution to this problem?

Sadly, no, I have not found a solution.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card