What version are you using?   I think the latest in the repository for
iperf 2 supports this.

https://sourceforge.net/projects/iperf2/

[root@zeus iperf2-code]# src/iperf -c hera -t 20 -r -i 1
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
------------------------------------------------------------
Client connecting to hera, TCP port 5001
TCP window size:  493 KByte (default)
------------------------------------------------------------
[  4] local 10.19.85.173 port 33982 connected with 10.19.85.172 port 5001
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0- 1.0 sec   112 MBytes   943 Mbits/sec
[  4]  1.0- 2.0 sec   112 MBytes   942 Mbits/sec
[  4]  2.0- 3.0 sec   112 MBytes   942 Mbits/sec
[  4]  3.0- 4.0 sec   112 MBytes   942 Mbits/sec
[  4]  4.0- 5.0 sec   112 MBytes   941 Mbits/sec
[  4]  5.0- 6.0 sec   112 MBytes   942 Mbits/sec
[  4]  6.0- 7.0 sec   112 MBytes   942 Mbits/sec
[  4]  7.0- 8.0 sec   112 MBytes   942 Mbits/sec
[  4]  8.0- 9.0 sec   112 MBytes   942 Mbits/sec
[  4]  9.0-10.0 sec   112 MBytes   942 Mbits/sec
[  4] 10.0-11.0 sec   112 MBytes   942 Mbits/sec
[  4] 11.0-12.0 sec   112 MBytes   942 Mbits/sec
[  4] 12.0-13.0 sec   112 MBytes   941 Mbits/sec
[  4] 13.0-14.0 sec   112 MBytes   942 Mbits/sec
[  4] 14.0-15.0 sec   112 MBytes   942 Mbits/sec
[  4] 15.0-16.0 sec   112 MBytes   942 Mbits/sec
[  4] 16.0-17.0 sec   112 MBytes   942 Mbits/sec
[  4] 17.0-18.0 sec   112 MBytes   941 Mbits/sec
[  4] 18.0-19.0 sec   112 MBytes   942 Mbits/sec
[  4] 19.0-20.0 sec   112 MBytes   942 Mbits/sec
[  4]  0.0-20.0 sec  2.19 GBytes   941 Mbits/sec
[  4] local 10.19.85.173 port 5001 connected with 10.19.85.172 port 35084
[  4]  0.0- 1.0 sec   112 MBytes   941 Mbits/sec
[  4]  1.0- 2.0 sec   112 MBytes   941 Mbits/sec
[  4]  2.0- 3.0 sec   112 MBytes   941 Mbits/sec
[  4]  3.0- 4.0 sec   112 MBytes   941 Mbits/sec
[  4]  4.0- 5.0 sec   112 MBytes   942 Mbits/sec
[  4]  5.0- 6.0 sec   112 MBytes   941 Mbits/sec
[  4]  6.0- 7.0 sec   112 MBytes   941 Mbits/sec
[  4]  7.0- 8.0 sec   112 MBytes   941 Mbits/sec
[  4]  8.0- 9.0 sec   112 MBytes   941 Mbits/sec
[  4]  9.0-10.0 sec   112 MBytes   942 Mbits/sec
[  4] 10.0-11.0 sec   112 MBytes   941 Mbits/sec
[  4] 11.0-12.0 sec   112 MBytes   942 Mbits/sec
[  4] 12.0-13.0 sec   112 MBytes   941 Mbits/sec
[  4] 13.0-14.0 sec   112 MBytes   942 Mbits/sec
[  4] 14.0-15.0 sec   112 MBytes   941 Mbits/sec
[  4] 15.0-16.0 sec   112 MBytes   941 Mbits/sec
[  4] 16.0-17.0 sec   112 MBytes   942 Mbits/sec
[  4] 17.0-18.0 sec   112 MBytes   941 Mbits/sec
[  4] 18.0-19.0 sec   112 MBytes   942 Mbits/sec
[  4] 19.0-20.0 sec   112 MBytes   941 Mbits/sec
[  4]  0.0-20.0 sec  2.19 GBytes   941 Mbits/sec
[SUM]  0.0-20.0 sec  2.30 GBytes   989 Mbits/sec
[root@zeus iperf2-code]#  iperf -v
iperf version 2.0.10-alpha (18 Oct 2016) pthreads

Bob

On Mon, Jan 9, 2017 at 9:41 AM, Sagar Chandawale <c.saa...@gmail.com> wrote:

> I am trying to run the following test, and the server refuses to connect
> if '-t' option is enabled. By default without -t option the test runs for
> 10 seconds (default). Can the support to add -t option be enabled for this
> case of running bidirectional tests?
>
> iperf.exe -c 192.168.1.10 -B 192.168.1.100 -P 10 -t 60 -r
>
> ------------------------------------------------------------
> ------------------
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. http://sdm.link/xeonphi
> _______________________________________________
> Iperf-users mailing list
> Iperf-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iperf-users
>
>
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Iperf-users mailing list
Iperf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iperf-users

Reply via email to