cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2751
Views
0
Helpful
9
Replies

What is the Snmp OID for all the MAC addr on the AP ?

amitubale
Level 1
Level 1

Hello,

Whats the OID to to get all the MAC address of on the nodes associated ?

For example, if 4 nodes are connected how do i get thier MAC address.

I have the OID for find the number of nodes associates to a AP

(1.3.6.1.4.1.522.3.12.1.8.0).

I want to use that to find stolen laptops, on the university campus.

Presently use the log files on the syslog server to do that.

Is ther a more efficient way ?

Thanks

9 Replies 9

kmarrero
Level 4
Level 4

Try these OID's.

.1.3.6.1.4.1.522.3.12.5.1.1

awcDot11TpFdbAddress OBJECT-TYPE

-- FROM AWCVX-MIB

-- TEXTUAL CONVENTION MacAddress

SYNTAX OCTET STRING (6)

DISPLAY-HINT "1x:"

MAX-ACCESS read-only

STATUS Current

DESCRIPTION "A MAC address for which the bridge has

forwarding and/or filtering information."

(2)

.1.3.6.1.4.1.522.3.12.5.1.2

awcDot11TpFdbAID OBJECT-TYPE

-- FROM AWCVX-MIB

SYNTAX UInteger

MAX-ACCESS read-only

STATUS Current

DESCRIPTION "AID with which the Station is associated with this

system, or 2008 if the

Station is not currently known to be associated. If the

entry is multicast, awcDot11TpFdbAID is 0. Note that

the uplink from a Client or Repeater AP to its parent

is always AID 1."

Hi,

I tried those OIDs but it did not return any values.

I have done SNMP walks on the APs and found out that clinet node MAC addr are not on the consecutive OIDs.

for example one of the nodes I saw on the web page and ten tried to look it up in the snmpwalk was

.iso.3.6.1.2.1.17.4.3.1.1.0.7.14.179.132.193

and other one was on

.iso.3.6.1.2.1.17.4.3.1.1.0.2.45.88.1.136

Its very time consuming to search for a node in a environment of @ 600 APs usinf snmpwalks. To reduce the search time the script only does a snmapwalk with the OID .iso.3.6.1.2.1.17.4.3.1.1.0 and look for the desired node.

Is there a better way to find the MAC sddr of the accociated nodes ?

Hi !

I think kmarrero said this:

snmpwalk 172.16.11.2 public .1.3.6.1.4.1.522.3.12.5.1.1

Hello,

I am using snmpwalk to get the MAC addresses.

What I have noticed is that even if ther are only 10 nodes assoicaited, the snmpwalk returns a huge list. For example, AP with 10 nodes on it gave me a list of more than 30 MAC address.

Do you know why ?

If the other MACs are of reapeater, bridges and APs then, how do I get the list of clients on the AP's management web page ?

Thanks

Amit

Amit

Hi!

This could help to decide if the mac address is client or repeater etc.

snmptable -M /root/.snmp -m all 172.16.11.2 public awcTpFdbDdpTable

I tried the above command, but I get a error

"Must have exactly one table name"

This is the command. ( dont mind me, I am using Windows snmp, the one on linux is not working , it gives a "snmp timeout")

C:\>snmptable -M C:\Desktop\Cisco\Firmware\MIBS\ -m all 192.168.0.9 public awcTpFdbDdpTable

"Must have exactly one table name"

Then I tried using the OID.

snmptable all -m 192.168.0.9 public .1.3.6.1.4.1.522.3.12.4

same error.

Hi!

I can't understand why! I try windows snmp!

Szicsu

Hi!

What do you use to snmp? What kind of toolkit?

Szicsu

Hello Szicsu,

I am using UCD-SNMP pacakage for windows.

On my Linux system the all the snmp application give a snmp timeout. But the Net::SNMP in perl works fine.

Therefore when you write a command for me to try, I use the Windows ucd-snmp package.

Amit

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: