Real-time traffic

Is there any way to view real time traffic on the AP or the SM?

1 Like

No, you can't view real time throughput

You can use snmp to capture the current octets in and out count and average them over a short period. We do it so generate a 14 second snapshot when support staff have a customer stating they aren't using any bandwidth and getting slows peedtests to see the actual sm throughput.


.1.3.6.1.2.1.2.2.1.10.1 is InOctets on most cambium PTMP SM's / AP's

.1.3.6.1.2.1.2.2.1.16.1 is OutOctets on most cambium PTMP SM's / AP's

Example: (replace CommunityString with SNMP community string and replace ip.address.of.ap with ip address of the SM or access point)  Change the OID at the end for the outOctets the example below is inoctests.

snmpwalk -v 2c -c CommunityString Ip.address.of.ap .1.3.6.1.2.1.2.2.1.10.1
sleep 6
snmpwalk -v 2c -c CommunityString Ip.address.of.ap .1.3.6.1.2.1.2.2.1.10.1

The output  of that would give you:

IF-MIB::ifInOctets.1 = Counter32: 2295109003
IF-MIB::ifInOctets.1 = Counter32: 2310338372

2310338372 - 2295109003 = 15229369 octets / 1024 (kilobytes) / 1024 (megabytes) = 14.523 Megabytes total transfered. Multiply total by 8 to get bits per second then divide by test duration. In example above thats 19.364 mbits per sec over test duration.

Our network admin (who is really good at coding) got this into a neat shell script with a bunch of operators to decide length of test, number of probes (how often you probe) but my simple shell scripting knowledge produced the above for an example for anyone who needs it.

Tim

1 Like