Community discussions

MikroTik App
 
korniza
newbie
Topic Author
Posts: 26
Joined: Fri Jan 06, 2012 4:05 pm

[FOUND] CapsMAN snmp MAC Table

Thu Apr 21, 2016 7:41 pm

I'm looking for the oid that can return the MAC table of connected wireless clients from CapsMAN. First of all, it there available this option?
Please. help!
Last edited by korniza on Thu Apr 21, 2016 8:30 pm, edited 1 time in total.
 
korniza
newbie
Topic Author
Posts: 26
Joined: Fri Jan 06, 2012 4:05 pm

Re: CapsMAN snmp MAC Table

Thu Apr 21, 2016 8:29 pm

Found it!
In case someone required to get MAC table of connected wifi clients on remote CAPS, please use oid .1.3.6.1.4.1.14988.1.1.1.5.1.1
:D
I need it because I intergrate Mikrotik with home automation platform (Domoticz), so to detect mobile devices are present and trigger events (for example perform wake on lan).
 
User avatar
soonwai
Member Candidate
Member Candidate
Posts: 163
Joined: Mon Feb 06, 2012 10:50 pm
Location: Kuala Lumpur

Re: [FOUND] CapsMAN snmp MAC Table

Thu Apr 21, 2016 9:03 pm

Thanks for that. It might be useful for me too in the near future.
 
User avatar
chechito
Forum Guru
Forum Guru
Posts: 1772
Joined: Sun Aug 24, 2014 3:14 am
Location: Bogota Colombia
Contact:

Re: CapsMAN snmp MAC Table

Fri Apr 22, 2016 11:34 am

Found it!
In case someone required to get MAC table of connected wifi clients on remote CAPS, please use oid .1.3.6.1.4.1.14988.1.1.1.5.1.1
:D
I need it because I intergrate Mikrotik with home automation platform (Domoticz), so to detect mobile devices are present and trigger events (for example perform wake on lan).
thx for the info
 
korniza
newbie
Topic Author
Posts: 26
Joined: Fri Jan 06, 2012 4:05 pm

Re: [FOUND] CapsMAN snmp MAC Table

Fri Apr 22, 2016 6:44 pm

The rabbit hole of Mikrotik on oid is that the MAC-address oid appeared wrong on console:
/caps-man> registration-table print oid 
 0 mac-address=.[u][b]1.3.6.1.4.1.14988.1.1.1.4.1.1[/b][/u].148.16.62.205.37.201.81 uptime=.1.3.6.1.4.1.14988.1.1.1.4.1.3.148.16.62.205.37.201.81 tx-bytes=.1.3.6.1.4.1.14988.1.1.1.4.1.4.148.16.62.205.37.201.81 
   rx-bytes=.1.3.6.1.4.1.14988.1.1.1.4.1.5.148.16.62.205.37.201.81 tx-packets=.1.3.6.1.4.1.14988.1.1.1.4.1.6.148.16.62.205.37.201.81 rx-packets=.1.3.6.1.4.1.14988.1.1.1.4.1.7.148.16.62.205.37.201.81 
   tx-rate=.1.3.6.1.4.1.14988.1.1.1.4.1.8.148.16.62.205.37.201.81 rx-rate=.1.3.6.1.4.1.14988.1.1.1.4.1.9.148.16.62.205.37.201.81 tx-signal=.1.3.6.1.4.1.14988.1.1.1.4.1.10.148.16.62.205.37.201.81 
   rx-signal=.1.3.6.1.4.1.14988.1.1.1.4.1.11.148.16.62.205.37.201.81 

suppose it will fixed :D

Who is online

Users browsing this forum: NtokzPro and 36 guests