cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2442
Views
5
Helpful
3
Replies

Wap 371 (and likely others) - SNMP OID for dot11 associations ?

Hello,

I'm trying to write a script to hit my 371s via SNMP and pull client associations (specifically their MAC addresses).

I've tried most of the OIDs I've found mentioned in similar threads / google to no avail.

Does anyone know the magic (if there is any) or better yet have this working ?

Thanks.

1 Accepted Solution

Accepted Solutions

Hi,

old reply I know.  The MACs are there - they are the last 6 digits in the oids.

eg from above: 

SNMPv2-SMI::enterprises.9.6.1.104.1.7.1.1.2.0.34.250.97.149.218 = STRING: "wlan0"

0.34.250.97.149.218 is 00:22:fa:61:95:da

perl -le '$oid="0.34.250.97.149.218";print join(":",map{sprintf"%02x",$_}(split(/\./,$oid)))'

View solution in original post

3 Replies 3

I think I might have answered my own question - and it's not good.  

I believe the OID I want is 1.3.6.1.4.1.9.6.1.104.1.7.1.1.1.  This is under the ciscosb (small business) part of the tree.  This one is apAssocStationMac.  It doesn't return anything below.

However 1.3.6.1.4.1.9.6.1.104.1.7.1.1.2 does.  This is apAssocInterface.  I.e the interface on the AP where the associations are.

Basically if you walk the 371 up a level at 1.3.6.1.4.1.9.6.1.104.1.7.1.1 - you get a smattering of info. Client uptime, RSSI etc.  But not the client MACs ! :(

vom@ice:~$ snmpwalk -v 2c -c public ap-wap371-1 1.3.6.1.4.1.9.6.1.104.1.7.1.1.1

SNMPv2-SMI::enterprises.9.6.1.104.1.7.1.1.1 = No Such Object available on this agent at this OID

vom@ice:~$ snmpwalk -v 2c -c public ap-wap371-1 1.3.6.1.4.1.9.6.1.104.1.7.1.1.2

SNMPv2-SMI::enterprises.9.6.1.104.1.7.1.1.2.0.34.250.97.149.218 = STRING: "wlan0"

SNMPv2-SMI::enterprises.9.6.1.104.1.7.1.1.2.4.12.206.219.101.244 = STRING: "wlan0"

SNMPv2-SMI::enterprises.9.6.1.104.1.7.1.1.2.16.218.67.21.181.153 = STRING: "wlan0"

SNMPv2-SMI::enterprises.9.6.1.104.1.7.1.1.2.24.180.48.116.218.176 = STRING: "wlan0"

SNMPv2-SMI::enterprises.9.6.1.104.1.7.1.1.2.156.243.135.186.2.148 = STRING: "wlan0"

Can anyone from Cisco look into this ?  I'd so love to have that single OID respond - my script is literally working other than the AP not giving me the info (I tested it using the dot1dFDB part of the tree).

Hi,

old reply I know.  The MACs are there - they are the last 6 digits in the oids.

eg from above: 

SNMPv2-SMI::enterprises.9.6.1.104.1.7.1.1.2.0.34.250.97.149.218 = STRING: "wlan0"

0.34.250.97.149.218 is 00:22:fa:61:95:da

perl -le '$oid="0.34.250.97.149.218";print join(":",map{sprintf"%02x",$_}(split(/\./,$oid)))'

Wow - thanks so much for the reply.  I'm rewriting my client report script right now.

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: