Wanted to Create C/C++ program to monitor the bandwidth usage of devices connected on my LAN
Hello TP-Link
I wanted to Create C/C++ program to monitor the bandwidth usage of devices connected on my Local Area Network. Do you have any snmp command to query such requests?
The idea is I will send any snmp request to the TL-R605 router and reply back to my machine the bandwidth usage of a particular device on the network.
Please teach me, this is my email address enzotechcomputersolutions@gmail.com.
- Copy Link
- Subscribe
- Bookmark
- Report Inappropriate Content
You can utilize standard snmpget command for reading the values of the TL-R605 LAN interface.
You can follow this thread on how to calculate the bandwidth from the absolute values you've read:
https://serverfault.com/questions/535875/how-to-monitor-per-port-bandwidth-using-snmp
- Copy Link
- Report Inappropriate Content
Thanks terziyski. By the way what port number do I need to connect.? Thanks
4433 is open.
1723 is open.
443 is open.
80 is open
- Copy Link
- Report Inappropriate Content
You should query the router on port UDP 161 for SNMP.
Here are some more examples for you:
https://stackoverflow.com/questions/5253396/how-do-i-collect-bandwidth-utilization-data-on-remote-devices-switches-servers
https://stackoverflow.com/questions/38393404/how-to-get-the-bandwidth-of-network-flowing-through-a-port-using-snmp-c-sharp
- Copy Link
- Report Inappropriate Content
- Copy Link
- Report Inappropriate Content
SNMP read/write community is that what you've set in your web management interface:
Refer to your TL-R605 user guide - Chapter 5 - SNMP to configure the SNMP feature properly and then do the tests.
- Copy Link
- Report Inappropriate Content
Information
Helpful: 0
Views: 1386
Replies: 5
Voters 0
No one has voted for it yet.