2025-03-14 21:59:59 -06:00
|
|
|
# iperf3
|
|
|
|
|
|
|
|
|
|
> Traffic generator for testing network bandwidth.
|
2025-12-16 10:20:31 -07:00
|
|
|
> More information: <https://iperf.fr/iperf-doc.php>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Run iperf3 as a server:
|
|
|
|
|
|
2025-04-03 20:36:56 -06:00
|
|
|
`iperf3 {{[-s|--server]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Run an iperf3 server on a specific port:
|
|
|
|
|
|
2025-04-03 20:36:56 -06:00
|
|
|
`iperf3 {{[-s|--server]}} {{[-p|--port]}} {{port}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Start bandwidth test:
|
|
|
|
|
|
2026-06-12 17:51:25 -06:00
|
|
|
`iperf3 {{[-c|--client]}} {{server_ip}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Run iperf3 in multiple parallel streams:
|
|
|
|
|
|
2026-06-12 17:51:25 -06:00
|
|
|
`iperf3 {{[-c|--client]}} {{server_ip}} {{[-P|--parallel]}} {{streams}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2026-06-12 17:51:25 -06:00
|
|
|
- Run the test in reverse direction (server sends data to client):
|
2025-03-14 21:59:59 -06:00
|
|
|
|
2026-06-12 17:51:25 -06:00
|
|
|
`iperf3 {{[-c|--client]}} {{server_ip}} {{[-R|--reverse]}}`
|
|
|
|
|
|
|
|
|
|
- Set the duration of the test:
|
|
|
|
|
|
|
|
|
|
`iperf3 {{[-c|--client]}} {{server_ip}} {{[-t|--time]}} {{seconds}}`
|