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

CLI command to read Power consumption from CW9166

madhurimuppalla
Frequent Visitor
Frequent Visitor

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

 

------------------------------
Please click Helpful if this post helped you and Accept as Solution (drop down menu at top right of this reply) if this answered your query.
------------------------------
TAC recommended codes for AireOS WLC's   and   TAC recommended codes for 9800 WLC's
Best Practices for AireOS WLC's,   Best Practices for 9800 WLC's   and   Cisco Wireless compatibility matrix
Check your 9800 WLC config with Wireless Config Analyzer using "show tech wireless" output or "config paging disable" then "show run-config" output on AireOS and use Wireless Debug Analyzer to analyze your WLC client debugs
Field Notice: FN63942 APs and WLCs Fail to Create CAPWAP Connections Due to Certificate Expiration
Field Notice: FN72424 Later Versions of WiFi 6 APs Fail to Join WLC - Software Upgrade Required
Field Notice: FN72524 IOS APs stuck in downloading state after 4 Dec 2022 due to Certificate Expired
- Fixed in 8.10.196.0, latest 9800 releases, 8.5.182.12 (8.5.182.13 for 3504) and 8.5.182.109 (IRCM, 8.5.182.111 for 3504)
Field Notice: FN70479 AP Fails to Join or Joins with 1 Radio due to Country Mismatch, RMA needed
Field Notice: FN74383 APs Running 17.12.4/5/6/6a May Run Out of Flash Space Preventing Upgrades
How to avoid boot loop due to corrupted image on Wave 2 and Catalyst 11ax Access Points (CSCvx32806)
Field Notice: FN74035 - Wave2 APs DFS May Not Detect Radar After Channel Availability Check Time
Leo's list of bugs affecting 2800/3800/4800/1560 APs
Default AP console baud rate from 17.12.x is 115200 - introduced by CSCwe88390

@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 ...

------------------------------
Please click Helpful if this post helped you and Accept as Solution (drop down menu at top right of this reply) if this answered your query.
------------------------------
TAC recommended codes for AireOS WLC's   and   TAC recommended codes for 9800 WLC's
Best Practices for AireOS WLC's,   Best Practices for 9800 WLC's   and   Cisco Wireless compatibility matrix
Check your 9800 WLC config with Wireless Config Analyzer using "show tech wireless" output or "config paging disable" then "show run-config" output on AireOS and use Wireless Debug Analyzer to analyze your WLC client debugs
Field Notice: FN63942 APs and WLCs Fail to Create CAPWAP Connections Due to Certificate Expiration
Field Notice: FN72424 Later Versions of WiFi 6 APs Fail to Join WLC - Software Upgrade Required
Field Notice: FN72524 IOS APs stuck in downloading state after 4 Dec 2022 due to Certificate Expired
- Fixed in 8.10.196.0, latest 9800 releases, 8.5.182.12 (8.5.182.13 for 3504) and 8.5.182.109 (IRCM, 8.5.182.111 for 3504)
Field Notice: FN70479 AP Fails to Join or Joins with 1 Radio due to Country Mismatch, RMA needed
Field Notice: FN74383 APs Running 17.12.4/5/6/6a May Run Out of Flash Space Preventing Upgrades
How to avoid boot loop due to corrupted image on Wave 2 and Catalyst 11ax Access Points (CSCvx32806)
Field Notice: FN74035 - Wave2 APs DFS May Not Detect Radar After Channel Availability Check Time
Leo's list of bugs affecting 2800/3800/4800/1560 APs
Default AP console baud rate from 17.12.x is 115200 - introduced by CSCwe88390
Review Cisco Networking for a $25 gift card