Wireless Access

Reply
Occasional Contributor I
Posts: 6
Registered: ‎05-06-2009

I would like to be able to remotely tell what Access Point a Client is connected to.

I would like to have the ability to programatically/remotely tell what Access Point a Client is connected to given only it's mac address.  I can think of two ways to do this.  Create a script to take the mac address as the input and then connect to the controller and run some commands to pull the AP name.  Something like..

 

#show ap association client-mac MAC-ADDRESS | include  MAC-ADDRESS

 

or do something through snmp.  If possible I prefer the SNMP method as then I don't have to store the username/password for the controller in a file.  Is this possible to do through SNMP, if so how?  Also if I'm missing an easier way please let me know.

MVP
Posts: 4,309
Registered: ‎07-20-2011

Re: I would like to be able to remotely tell what Access Point a Client is connected to.

 

Do you have AirWave ?

Thank you

Victor Fabian
Lead Mobility Engineer @ Integration Partners
AMFX | ACMX | ACDX | ACCX | CWAP | CWDP | CWNA
Occasional Contributor I
Posts: 6
Registered: ‎05-06-2009

Re: I would like to be able to remotely tell what Access Point a Client is connected to.

No, we have mobility controllers

MVP
Posts: 151
Registered: ‎07-12-2012

Re: I would like to be able to remotely tell what Access Point a Client is connected to.

You could SNMP walk the switches and based on the port that the MAC appears on you can trace what AP is on that port and thus understand to what AP he is connected.

If you found my post helpful, please give kudos!
Occasional Contributor I
Posts: 6
Registered: ‎05-06-2009

Re: I would like to be able to remotely tell what Access Point a Client is connected to.

Unfortunately my APs aren't connected directly to the controller. They are connected to switches in closets. So I don't think that's going to work
MVP
Posts: 151
Registered: ‎07-12-2012

Re: I would like to be able to remotely tell what Access Point a Client is connected to.

Thats what I mean .... you SNMP walk the ports on the switch ... thus you find the user on SW A port X - in the documentation then I would think you could see that AP-Y is connected to that port. Thus the Client is connected to AP-Y.

If you found my post helpful, please give kudos!
MVP
Posts: 130
Registered: ‎06-11-2013

Re: I would like to be able to remotely tell what Access Point a Client is connected to.

You can use these SNMP MIBS to achieve this:

 

Get list of clients with their physical addresses:

 

snmpwalk -Os -c public -v 2c 1.1.1.1 iso.3.6.1.private.enterprises.14823.2.2.1.1.2.1.1.2
userPhyAddress.172.16.206.246 = STRING: b8:17:c2:00:11:22

 

Get a list of locations per client IP:

 

snmpwalk -Os -c  public -v 2c 1.1.1.1 iso.3.6.1.private.enterprises.14823.2.2.1.1.2.1.1.7
userLocation.172.16.206.246 = STRING: AP1

 

 

You can download the Aruba MIBS and documentation from the Aruba support website.


ACMX#255 | ACMP | ACCP | AWMP
www.securelink.nl
Occasional Contributor I
Posts: 6
Registered: ‎05-06-2009

Re: I would like to be able to remotely tell what Access Point a Client is connected to.

This looks like exactly what I need, thank you

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