Hi,

Iperf usage :

Run iperf Server using command:
iperf -s –p <Port-Number>
example:
iperf -s -p 12000

Then Run iperf client

iperf –c IP-Address-Of-Server –p <Port-Number> -i [Interval] -t [Duration]

example :
iperf -c 192.168.0.110 -p 12000 -i 2 -t 100

This command generates traffic for a period of 100 seconds at interval of 2
seconds. You can try iperf --help. By default its TCP traffic, you can
change TCP maximum segment size using -M and TCP window size using -w

Some options which i used
-u : to generate UDP traffic use -u options at both client and server with
above examples
-b : You can mention bandwidth in Mbits/sec. By default its 1 Mbps for udp
-P : you can run multiple clients with a single command using this option.
Hope it helps

Thanks
Shiva

Thanks
Shiva






On Tue, Nov 12, 2013 at 10:56 AM, khushboo chhaya <chhaya.khush...@gmail.com
> wrote:

>
>
>
> *I want to use iperf command to generate traffic.Is there any documentation 
> regarding how to use iperf with various options on mininet? e.g If i want 
> iperf to run for a specified period of time OR using specific bandwidth OR 
> generate traffic on specific ports like
> 8080 or between specific hosts, what options are available. how can we drop 
> the packet and how can we see how many packets are dropped when traffic is 
> congested??*
>
>
> _______________________________________________
> openflow-discuss mailing list
> openflow-discuss@lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/openflow-discuss
>
>
_______________________________________________
openflow-discuss mailing list
openflow-discuss@lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss

Reply via email to