Network Management

Reply
Occasional Contributor I
Posts: 6
Registered: ‎08-25-2016

How do I report on AP power status?

Hi, I dont see any option in AMP to report on whether an AP is in full or restricted mode.  I would like to produce a report that shows how many AP220 and AP320 series APs are in restricted mode because 802.3.af has been supplied rather than 802.3.at.

 

Thanks

Guru Elite
Posts: 20,800
Registered: ‎03-29-2007

Re: How do I report on AP power status?

The power status (running at POE vs. POE+) is not a parameter that is collected by Airwave, so you cannot run a report on it.  It can be pulled if you run the command "show ap tech-support ap-name <name of ap> | begin "Power Status".  It would look like this:

 

Power Status

------------

Operational State          POE-AT: No restrictions

-----------------          -----------------------

Current HW State           POE-AT: No restrictions

LLDP Negotiated POE Power  0.0W

You have two choices:

 

In Airwave there is a dropdown at the AP level that allows you to run "show ap tech-support" one AP at a time and you can search the output for "Power Status":

ap-tech-support.png

 

You can then search the popup pane for "Power Status" to find out the power.  

 

The method above can get laborious with alot of APs, so your other option is to use Airrecorder in the tools folder (Requires Login) https://support.arubanetworks.com/ToolsResources/tabid/76/DMXModule/514/EntryId/11035/Default.aspx to run the command "0,show ap tech-support ap-name %{ap:name} | begin “Power Status” to have it run that command on all of the APs on a controller.

 

Please let me know if you need help with any of this..

 

 



Colin Joseph
Aruba Customer Engineering

Looking for an Answer? Search the Community Knowledge Base Here: Community Knowledge Base

Occasional Contributor I
Posts: 6
Registered: ‎08-25-2016

Re: How do I report on AP power status?

Thanks, we have almost 900 APs in the estate with another 200 being commissioned upto Xmas so whilst it is good to know the single device check but the tool you mention is not something we are aware of. 

Thanks for the quality feedback

Regards

Gareth

Guru Elite
Posts: 20,800
Registered: ‎03-29-2007

Re: How do I report on AP power status?

There might be one more option.  If those APs might also be running at 100 megs, you can SSH into airwave and run a command on Airwave to see all devices and what speed they are running at:

 

dbcsv "SELECT ap.name,interface.if_speed_in/1000000 AS connection_speed FROM ap INNER JOIN interface ON ap.id=ap_id WHERE interface.oper_status=1 ORDER BY connection_speed,ap.name" > ./intspeeds.csv

 

This would save all of the names of the devices and their speeds into the file intspeeds.csv and then you can type "cat intspeeds.csv" to see all of the speeds

 

 



Colin Joseph
Aruba Customer Engineering

Looking for an Answer? Search the Community Knowledge Base Here: Community Knowledge Base

Guru Elite
Posts: 20,800
Registered: ‎03-29-2007

Re: How do I report on AP power status?

In my tiny lab network, it just made me realize that one of my APs, Office-225 is running at 100 megs:

 

[root@localhost mercury]# dbcsv "SELECT ap.name,interface.if_speed_in/1000000 AS connection_speed FROM ap INNER JOIN interface ON ap.id=ap_id WHERE interface.oper_status=1 ORDER BY connection_speed,ap.name" > ./intspeeds.csv
[root@localhost mercury]# ls
bin/		    Makefile.dev	       src/
install/	    Makefile.logs	       support_sshtunnel/
intspeeds.csv	    Makefile.PG_MAJOR_VERSION  tools/
lib/		    mibs/		       version.txt
Makefile	    scripts/
Makefile.constants  setuid-scripts/
[root@localhost mercury]# cat intspeeds.csv
Aruba7005-US,0
Aruba7005-US,0
Aruba7005-US,0
Office-225,100  <------
Aruba7005-US,1000
Office-325,1000
IAP-135-Test,

Unfortunately, the power status is not collected, so if interface speed is one thing you would be looking at, this is a good start.



Colin Joseph
Aruba Customer Engineering

Looking for an Answer? Search the Community Knowledge Base Here: Community Knowledge Base

Search Airheads
Showing results for 
Search instead for 
Did you mean: