CDR_IPERF_CLIENT

Description

Connect to the IPERF Server for connection quality test.

When this command is submitted, the device will try to connect to an IPERF server to do the test of connection quality. The test report will be returned as the test is completed. Here is an example of the test report.

1. TCP Testing

------------------------------------------------------------
Client connecting to 172.16.3.60, TCP port 5001
TCP window size:  16.0 KByte (default)
------------------------------------------------------------
[ 5] local 172.16.3.39 port 32491 connected with 172.16.3.60 port 5001
[ID] Interval              Transfer             Bandwidth
[ 5]  0.0-10.0 sec   13.1 MBytes      10.9 Mbits/sec

2. UDP Testing (Test speed is 10Mbps in this example)

------------------------------------------------------------
Client connecting to 172.16.3.60, UDP port 5001
Sending 1470 byte datagrams
UDP buffer size: 64.0 KByte (default)
------------------------------------------------------------
[ 3] local 172.16.3.39 port 32775 connected with 172.16.3.60 port 5001
[ID] Interval              Transfer             Bandwidth            Jitter               Lost/Total Datagrams
[ 3] 0.0-10.1 sec     5.81 MBytes     4.83 Mbits/sec     2.436 ms       4357/ 8503 (51%)

[ 3] Server Report :
[ID] Interval              Transfer             Bandwidth            Jitter               Lost/Total Datagrams
[ 3] 0.0-10.1 sec     5.81 MBytes     4.83 Mbits/sec     2.436 ms       4357/ 8503 (51%)

Here is the setup topology and the test flow of this URL.

IPERF command vs. this URL.

1. TCP Client

    CDR_IPERF_CLIENT=TCP,172.16.3.60    ==> iperf -c 172.16.3.60 -f m

2. UDP Client

    CDR_IPERF_CLIENT=UDP,172.16.3.60,3 ==> iperf -c 172.16.3.60 -f m -u -b 3m

Input Argument

a,b,c where
a : TCP or UDP
b : IP Address of the IPERF Server
c : The testing speed in Mbits/sec for UDP protocol. This argument will be ignored if the a is TCP

Attribute

Return of Message

Test Report
or
ERROR: invalid parameters

Applicability

Status

Valid

See Also

CDR_IPERF_SERVER

Example

http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&CDR_IPERF_CLIENT=TCP,172.16.3.60
or
http://ip:port/cgi-bin/cmd/system?CDR_IPERF_CLIENT=TCP,172.16.3.60
or
http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&CDR_IPERF_CLIENT=UDP,172.16.3.60,3
or
http://ip:port/cgi-bin/cmd/system?CDR_IPERF_CLIENT=UDP,172.16.3.60,3

Back to

HOME, SYSTEM CGI