How can I get the frequency of a MT/radio acting as an AP by polling the AP?
Here is an example on 3.11 where I can almost get it.
At the AP:
Code: Select all
[admin@dc-bht] /interface wireless> print oid
0 tx-rate=.1.3.6.1.4.1.14988.1.1.1.1.1.2.4
rx-rate=.1.3.6.1.4.1.14988.1.1.1.1.1.3.4
strength=.1.3.6.1.4.1.14988.1.1.1.1.1.4.4
ssid=.1.3.6.1.4.1.14988.1.1.1.1.1.5.4
bssid=.1.3.6.1.4.1.14988.1.1.1.1.1.6.4
frequency=.1.3.6.1.4.1.14988.1.1.1.1.1.7.4
Code: Select all
mocha:/usr/local/mis/mrtg # export IP=69.39.105.19
mocha:/usr/local/mis/mrtg # snmpwalk -v1 -c public $IP .1.3.6.1.4.1.14988.1.1.1.1.1.7.4
mocha:/usr/local/mis/mrtg #
Now onto the station MT.
Code: Select all
[admin@bht-dc] > /interface wireless print oid
0 tx-rate=.1.3.6.1.4.1.14988.1.1.1.1.1.2.1
rx-rate=.1.3.6.1.4.1.14988.1.1.1.1.1.3.1
strength=.1.3.6.1.4.1.14988.1.1.1.1.1.4.1
ssid=.1.3.6.1.4.1.14988.1.1.1.1.1.5.1
bssid=.1.3.6.1.4.1.14988.1.1.1.1.1.6.1
frequency=.1.3.6.1.4.1.14988.1.1.1.1.1.7.1
1 tx-rate=.1.3.6.1.4.1.14988.1.1.1.1.1.2.2
rx-rate=.1.3.6.1.4.1.14988.1.1.1.1.1.3.2
strength=.1.3.6.1.4.1.14988.1.1.1.1.1.4.2
ssid=.1.3.6.1.4.1.14988.1.1.1.1.1.5.2
bssid=.1.3.6.1.4.1.14988.1.1.1.1.1.6.2
frequency=.1.3.6.1.4.1.14988.1.1.1.1.1.7.2
Code: Select all
mocha:/usr/local/mis/mrtg # export IP=69.39.116.106
mocha:/usr/local/mis/mrtg # snmpwalk -v1 -c public $IP .1.3.6.1.4.1.14988.1.1.1.1.1.7.1
SNMPv2-SMI::enterprises.14988.1.1.1.1.1.7.1 = INTEGER: 5200