{"id":1474,"date":"2016-11-09T19:08:31","date_gmt":"2016-11-09T19:08:31","guid":{"rendered":"http:\/\/www.incredigeek.com\/home\/?p=1474"},"modified":"2016-11-11T03:20:36","modified_gmt":"2016-11-11T03:20:36","slug":"run-speedtest-on-ubiquiti-devices-from-command-line","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/run-speedtest-on-ubiquiti-devices-from-command-line\/","title":{"rendered":"Run Speedtest on Ubiquiti Devices from Command Line"},"content":{"rendered":"<p>This utilizes iperf to test the speed between two Ubiquiti devices.<\/p>\n<p>SSH into first device and start iperf server on one device<\/p>\n<pre>iperf -s<\/pre>\n<p>SSH into the second device and run the following command to start the speedtest.\u00a0 Change the ip address to the iperf server ip.<\/p>\n<pre>iperf -c 192.168.1.20 -P5<\/pre>\n<p>The &#8220;-P&#8221; Option sets the thread count to 5.\u00a0 It makes the test a little bit more realistic.<\/p>\n<p>Example:<\/p>\n<pre>XM.v5.6.9# iperf -c 192.168.1.20 -P5\r\n------------------------------------------------------------\r\nClient connecting to 192.168.1.20, TCP port 5001\r\nTCP window size: 16.0 KByte (default)\r\n------------------------------------------------------------\r\n[  5] local 192.168.1.1 port 51493 connected with 192.168.1.20 port 5001\r\n[  9] local 192.168.1.1 port 51497 connected with 192.168.1.20 port 5001\r\n[  6] local 192.168.1.1 port 51494 connected with 192.168.1.20 port 5001\r\n[  8] local 192.168.1.1 port 51496 connected with 192.168.1.20 port 5001\r\n[  7] local 192.168.1.1 port 51495 connected with 192.168.1.20 port 5001\r\n\r\n[ ID] Interval       Transfer     Bandwidth\r\n[  9]  0.0-10.0 sec  4.91 MBytes  4.12 Mbits\/sec\r\n[ ID] Interval       Transfer     Bandwidth\r\n[  6]  0.0-10.0 sec  4.97 MBytes  4.16 Mbits\/sec\r\n[ ID] Interval       Transfer     Bandwidth\r\n[  8]  0.0-10.0 sec  4.86 MBytes  4.08 Mbits\/sec\r\n[ ID] Interval       Transfer     Bandwidth\r\n[  7]  0.0-10.0 sec  4.94 MBytes  4.13 Mbits\/sec\r\n[ ID] Interval       Transfer     Bandwidth\r\n[  5]  0.0-10.0 sec  5.00 MBytes  4.19 Mbits\/sec\r\n[SUM]  0.0-10.0 sec  24.7 MBytes  20.7 Mbits\/sec\r\nXM.v5.6.9# \r\n<\/pre>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This utilizes iperf to test the speed between two Ubiquiti devices. SSH into first device and start iperf server on one device iperf -s SSH into the second device and run the following command to start the speedtest.\u00a0 Change the &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/run-speedtest-on-ubiquiti-devices-from-command-line\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[129],"tags":[8,315,221,131,132],"class_list":["post-1474","post","type-post","status-publish","format-standard","hentry","category-ubiquiti","tag-command-line-2","tag-speedtest","tag-ssh","tag-ubiquiti-2","tag-ubnt"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/1474","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=1474"}],"version-history":[{"count":1,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/1474\/revisions"}],"predecessor-version":[{"id":1475,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/1474\/revisions\/1475"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=1474"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=1474"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=1474"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}