cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
684
Views
3
Helpful
4
Replies

CLI command to read Power consumption from CW9166

madhurimuppalla
Level 1
Level 1

Hi,

We have connected a C9800-CL Wireless LAN Controller to a CW9166 Access Point using the image C9800-CL-universalk9.17.15.01.iso.

What is the command to check the power or current consumption of the CW9166 Access Point via the C9800-CL WLC CLI or GUI, or directly from the CW9166 Access Point CLI?

4 Replies 4

Saikat Nandy
Cisco Employee
Cisco Employee

Could you please elaborate your requirement a bit more? Are you looking to see PoE power consumption or radio power level?
If you are looking for PoE power consumption, you can try 'show ap name <ap name> config general' from WLC. You will see a field 'Power Type/Mode'.

Rich R
VIP
VIP

@madhurimuppalla 
17.15.1 is not recommended because it contains a critical security vulnerability!
Refer to the TAC Recommended link below and check back there regularly for updates. 17.15.3 is likely to become the recommended 17.15 release soon

Power Type/Mode doesn't actually show you the power consumption @Saikat Nandy 
On the AP:
If you're using CDP:
 show cdp inline_power
 show cdp entry *
or if you're using LLDP:
 show lldp inline_power
 show lldp entry *

On the switch (assuming Cisco IOS/IOS-XE):
 show power inline <int> detail
 show cdp neighbors <int> detail
 show lldp neighbors <int> detail

 

@Rich R , I think it shows.. ex - 

Power Type/Mode                                 : PoE/Medium Power (25.5 W)
Number of Slots                                 : 4
AP Model                                        : C9136I-ROW

But there is a catch. it does not show too..ex - 

Power Type/Mode                                 : PoE/Full Power
Number of Slots                                 : 3
AP Model                                        : CW9166I-ROW

The above outputs are from WLC. But some interesting fact. Lets move to switch..Here is the output of both the APs from switch side...same switch (show power inline | in 91)- 

Gi2/0/12 auto on 30.0 CW9166I-ROW 4 30.0
Gi2/0/43 auto on 30.0 C9136I-ROW 4 30.0

Here is the output of both interfaces from switch 'show power inline <int no> detail'

Interface: Gi2/0/12
Inline Power Mode: auto
Operational status: on
Device Detected: yes
Device Type: cisco CW9166I-ROW
IEEE Class: 4
Discovery mechanism used/configured: Ieee and Cisco
Police: off

Power Allocated
Admin Value: 30.0
Power drawn from the source: 30.0
Power available to the device: 30.0

Actual consumption
Measured at the port: 11.2
Maximum Power drawn by the device since powered on: 12.3
===========================================================

Interface: Gi2/0/43
Inline Power Mode: auto
Operational status: on
Device Detected: yes
Device Type: cisco C9136I-ROW
IEEE Class: 4
Discovery mechanism used/configured: Ieee and Cisco
Police: off

Power Allocated
Admin Value: 30.0
Power drawn from the source: 30.0
Power available to the device: 30.0

Actual consumption
Measured at the port: 14.9
Maximum Power drawn by the device since powered on: 16.0

Here is the output of both interfaces from switch 'show cdp nei <int no> detail'

Platform: cisco CW9166I-ROW, Capabilities: Router Trans-Bridge
Interface: GigabitEthernet2/0/12, Port ID (outgoing port): GigabitEthernet0
Holdtime : 135 sec

Version :
Cisco AP Software, ap1g6a-k9w8 Version: 17.12.4.22
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2014-2015 by Cisco Systems, Inc.

advertisement version: 2
Duplex: full
Power drawn: 30.000 Watts
Power request id: 20916, Power management id: 2
Power request levels are:30000 15400 0 0 0
=========================================================

Platform: cisco C9136I-ROW, Capabilities: Router Trans-Bridge
Interface: GigabitEthernet2/0/43, Port ID (outgoing port): GigabitEthernet1
Holdtime : 146 sec

Version :
Cisco AP Software, ap1g6a-k9w8 Version: 17.12.4.22
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 2014-2015 by Cisco Systems, Inc.

advertisement version: 2
Duplex: full
Power drawn: 30.000 Watts
Power request id: 18644, Power management id: 452
Power request levels are:30000 15400 0 0 0

Now lets move to AP - 

sanandy-9166ROW#sh cdp inline_power
Power_Requested(mW) Power_Available(mW) Power_request-ID Power_management-ID=
                 30000                   30000                             20916                   2

sanandy-9166ROW#sh cdp entry *
..
cdp_power_req_id='20916'
cdp_power_mgmt_id='2'
cdp_max_req_power='30000'
cdp_power_avail='30000'
cdp_mgmt_power='30000'
=====================================================

sanandy-9136ROW#sh cdp inline_power
wired0:
Power_Requested(mW) Power_Available(mW) Power_request-ID Power_management-ID
     Not-negotiated      Not-negotiated
wired1:
Power_Requested(mW) Power_Available(mW) Power_request-ID Power_management-ID
                  30000                     30000                       18644                      452

sanandy-9136ROW#sh cdp entry *
...
cdp_power_req_id='18644'
cdp_power_mgmt_id='452'
cdp_max_req_power='30000'
cdp_power_avail='30000'
cdp_mgmt_power='30000'

So long story short - 
# If you want 'actual' consumption, then 'show power inline <int no> detail' is the command for you to run in the switch and look for the field 'Actual Consumption, Measured at the port'. You can do a SNMPwalk on switch as well and this is the value that it polls.
# I am not able to figure out any other command on wlc/ap/switch to get this actual consumption. 
# It also looks like that if the AP is either in low/medium power, then WLC will show the data

Exactly <smile>
Been through this at great length with TAC, account team and BU ...

Review Cisco Networking for a $25 gift card