@hci wrote:
Is there a way with a SNMP command sent to the SM to get the details off the link status page on the SM? I mainly want the uplink and downlink power levels?
Also, is there a way with an SNMP command sent to the SM to do a link test and retrieve the results?
WHISP-SM-MIB::radioDbmHorizontal.0 -63.0
WHISP-SM-MIB::radioDbmVertical.0 -63.0
WHISP-SM-MIB::signalToNoiseRatioSMVertical.0 18
WHISP-SM-MIB::signalToNoiseRatioSMHorizontal.0 16
As far as I know the only place to retrieve via SNMP the uplink dBm and SNR is in the session data at the AP. (walk 10.16.14.3 1.3.6.1.4.1.161.19.3.1.4.1 and have fun)
Regarding link test, you also need to do this from the AP AFAIK...
snmpwalk of 1.3.6.1.4.1.161.19.3.1.2 covers the pertinent fields.
The MIB informs us:
linkTestAction
Object ID: 1.3.6.1.4.1.161.19.3.1.2.1.3
Syntax: INTEGER
Constraints:
0: stopped
1: start
Access: read-write
Status: current
Setting value 1 will initiate link test. Note that trying to set 0 will not stop the test.
In fact it will return an error message. The value of 0 just indicates the idle state
meaning no test is running or the current test is done.
That’s why the word stopped is used and not the action verb stop.
linkTestDirection
Object ID: 1.3.6.1.4.1.161.19.3.1.2.1.10
Syntax: INTEGER
Constraints:
1: uplinkonly
2: downlinkonly
3: bidirectional
Access: read-write
Status: current
Link Test Direction - Engineering Use Only
0 = not set - default (will do bidirectional)
1 = Downlink Only
2 = Uplink Only
3 = Bi-Directional (same as 0, setting to 0 will result in setting it to 3)
linkTestDuration
Object ID: 1.3.6.1.4.1.161.19.3.1.2.1.2
Syntax: INTEGER
Access: read-write
Status: current
Duration for the Link Test. Valid range: 2-10 seconds
linkTestError
Object ID: 1.3.6.1.4.1.161.19.3.1.2.2.3
Syntax: OCTET STRING
Constraints: SIZE (0…255)
Access: read-only
Status: current
Error status of Link Test:
(1) Failed to recieve handshake from remote device
(2) No session is currently active. Please try again after session established.
(3) Received a bad transaction ID. Please try again.
(4) We werent able to send the test request to the remote device.
(5) We didnt receive any results from the remote device.
linkTestForceModulation
Object ID: 1.3.6.1.4.1.161.19.3.1.2.1.9
Syntax: INTEGER
Constraints:
0: normalRateAdapt
1: forceMaxModulation
Access: read-write
Status: current
Engineering use only.
Link Test with:
0 = Normal Rate Adapt algorithm
1 = Force to max modultion - No Rate Adapt Algorithm
linkTestLUID
Object ID: 1.3.6.1.4.1.161.19.3.1.2.1.1
Syntax: INTEGER
Access: read-write
Status: current
LUID selection for Link Test. Valid range: 2-255
linkTestMode
Object ID: 1.3.6.1.4.1.161.19.3.1.2.1.5
Syntax: INTEGER
Constraints:
0: rflinktest
1: linktestwithbridging
2: linktestwithbridgingandmir
Access: read-write
Status: current
Link Test Mode
0 = RF Link Test (traffic doesn’t go through bridge, highest throughput)
1 = Link Test with Bridging
2 = Link Test with Bridging and MIR
linkTestNumPkt
Object ID: 1.3.6.1.4.1.161.19.3.1.2.1.8
Syntax: INTEGER
Access: read-write
Status: current
Number of packets to send. Valid range: 0-64 where 0 will
flood the link for the duration of the test.
linkTestPktLength
Object ID: 1.3.6.1.4.1.161.19.3.1.2.1.4
Syntax: INTEGER
Access: read-write
Status: current
Packet length for Link Test. Valid range: 64-1714 bytes
linkTestSNRCalculation
Object ID: 1.3.6.1.4.1.161.19.3.1.2.1.6
Syntax: INTEGER
Constraints:
0: disable
1: enable
Access: read-write
Status: current
Enable or disable Signal to Noise Ratio (SNR) calculations during a Link Test.
Enabling(1) will calulate SNR on all receiving packets.
Due to load on CPU, will slightly degrade packet per second capabilities.
Only applicable to GenII OFDM products and up.
linkTestStatus
Object ID: 1.3.6.1.4.1.161.19.3.1.2.2.2
Syntax: OCTET STRING
Constraints: SIZE (0…255)
Access: read-only
Status: current
Status for Link Test.
linkTestWithDualPath
Object ID: 1.3.6.1.4.1.161.19.3.1.2.1.7
Syntax: INTEGER
Constraints:
0: lowpriorityvconly
1: highandlowpriorityvcs
Access: read-write
Status: current
Link Test with:
0 = Low Priority VC only
1 = High and Low Priority VCs
However, the MIB indicates that 1.3.6.1.4.1.161.19.3.1.4.1 is "List of link test results" but it appears to just be current link status... Not sure where you retrieve the results yet.
j