HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

iperf3 — Traffic generator for testing network bandwidth. More information: <https://iperf.fr/iperf-doc.php>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
iperf3commandgeneratortrafficnetworkclifortesting

Problem

How to use the iperf3 command: Traffic generator for testing network bandwidth. More information: <https://iperf.fr/iperf-doc.php>.

Solution

iperf3 — Traffic generator for testing network bandwidth. More information: <https://iperf.fr/iperf-doc.php>.

Run iperf3 as a server:
iperf3 {{[-s|--server]}}


Run an iperf3 server on a specific port:
iperf3 {{[-s|--server]}} {{[-p|--port]}} {{port}}


Start bandwidth test:
iperf3 {{[-c|--client]}} {{server}}


Run iperf3 in multiple parallel streams:
iperf3 {{[-c|--client]}} {{server}} {{[-P|--parallel]}} {{streams}}


Reverse direction of the test. Server sends data to the client:
iperf3 {{[-c|--client]}} {{server}} {{[-R|--reverse]}}

Code Snippets

Run iperf3 as a server

iperf3 {{[-s|--server]}}

Run an iperf3 server on a specific port

iperf3 {{[-s|--server]}} {{[-p|--port]}} {{port}}

Start bandwidth test

iperf3 {{[-c|--client]}} {{server}}

Run iperf3 in multiple parallel streams

iperf3 {{[-c|--client]}} {{server}} {{[-P|--parallel]}} {{streams}}

Reverse direction of the test. Server sends data to the client

iperf3 {{[-c|--client]}} {{server}} {{[-R|--reverse]}}

Context

tldr-pages: common/iperf3

Revisions (0)

No revisions yet.