Command line

Every option, with examples.

DeepPerf has a command-line tool with iperf2-style options, for scripts and for servers without a desktop.

  • Setup installs it as deepperf-cli.exe next to the app, in C:\Program Files\DeepPerf.

  • For Windows Server Core and older servers there’s a separate download: deepperf.exe, the command-line tool on its own. See Windows Server.

The options are the same in both. The examples below use deepperf-cli.

Free and Pro

The command line follows the same editions as the app. It reads the license you added in the app (Settings, License), so there’s nothing to set up for it.

  • Free: speed tests up to 24 hours (-t 86400), path traces, DSCP marking (-S), servers (-s, also -s --stamp) and --machine-code.

  • Pro adds the voice test (--voice, with --capacity and --basic), the STAMP check (--stamp as a client), whether the marking arrived, and tests up to 7 days.

Without Pro, a Pro option stops before the test starts, with one line such as “The voice test needs DeepPerf Pro. Add a license in the app (Settings, License).” The exit code is 2. See Licenses and editions.

Examples

What

Command

Server, TCP

deepperf-cli -s

Server, UDP (also for the voice test)

deepperf-cli -s -u

TCP upload for 30 s

deepperf-cli -c 10.0.0.2 -t 30

TCP download, 4 streams

deepperf-cli -c 10.0.0.2 -R -P 4

UDP at 200 Mbit/s

deepperf-cli -c 10.0.0.2 -u -b 200M

Against an iperf3 server

deepperf-cli -c 10.0.0.2 -3

Path trace for 60 s, TCP check on 443

deepperf-cli -c 1.1.1.1 --path -t 60 -p 443

10 voice calls for 60 s

deepperf-cli -c 10.0.0.2 --voice g711 --calls 10 -t 60

Multicast receiver

deepperf-cli -s -u -B 239.255.1.1

Multicast sender, TTL 1

deepperf-cli -c 239.255.1.1 -u -b 10M -T 1

Per-second figures as CSV, for Excel

deepperf-cli -c 10.0.0.2 -t 30 --csv > test.csv

List the network interfaces

deepperf-cli --interfaces

Options

Option

What it does

-s, --server

Run as a server.

-c, --client <host>

Run a test against <host>.

-u, --udp

UDP instead of TCP.

-p, --port <port>

The server’s port (5001, or 5201 with --iperf3).

-3, --iperf3

The server is an iperf3 server. Without it, DeepPerf talks to DeepPerf and iperf2 servers.

-t, --time <s>

Test length in seconds (default 10; up to 24 hours, Pro 7 days).

-n, --num <bytes>

Send this much instead of -t, such as 100M.

-i, --interval <s>

Seconds between periodic reports.

-b, --bandwidth <rate>

Target rate in bits per second, such as 10M (UDP default 1M).

-l, --len <size>

Buffer length (TCP) or datagram size (UDP), such as 8K.

-P, --parallel <n>

Parallel streams (default 1).

-R, --reverse

The server sends, this PC receives.

--full-duplex

Send and receive at the same time on one connection.

-d, --dualtest

Both directions at once; the server connects back.

-r, --tradeoff

Upload, then download.

-L, --listenport <port>

Port for -d and -r connect-backs (default: the test port).

-B, --bind <addr>

Client: the local address to send from. Server: the address or multicast group to receive on. Add %<interface> to name an interface by its name or IPv4 address.

-H, --ssm-host <addr>

Server: the sender for source-specific multicast.

-T, --ttl <n>

Multicast TTL in hops (default 1).

-S, --tos <byte>

IP type-of-service byte, such as 0xB8 (DSCP EF). See the note below.

-N, --nodelay

Turn off Nagle’s algorithm.

-6, --ipv6

Client: test over IPv6 (give an IPv6 address, or a name that has one; a link-local fe80: address goes out the test interface). Server: listen on IPv6 only; run a second server without -6 for IPv4.

--test-if <auto|any|interface>

The interface for test traffic. See Network interfaces.

--mgmt-if <interface>

The management interface, if not the automatic one.

--interfaces

List the network interfaces and their roles, then exit.

--machine-code

Print this PC’s code for a Pro license, then exit.

--path

Trace the path to the server hop by hop for -t seconds, instead of a speed test. See Path view.

--voice <g711|g729|g722|amr-wb|evs|opus|silk>

A voice test instead of a speed test, against a DeepPerf server in UDP mode. Pro. See Voice test.

--calls <n>

Voice test: calls at once (default 1).

--capacity

Voice test: find how many calls fit. Runs 1, 5, 10, 25, 50, 100 and 200 calls in turn, the test length split between them, and stops after the first step below MOS 4.0. Not with --calls.

--basic

Voice test against an iperf2 server: voice-sized UDP at call rate one way (-R: from the server; -d: both ways at once, with a row per way each second), MOS from iperf’s loss and jitter and from ping. Implied by --iperf3. Not with --capacity.

--stamp

STAMP (RFC 8762 with the RFC 8972 DSCP report). Client: probe a STAMP reflector for -t seconds and show whether the -S mark arrived at the reflector and back (Pro). Server (-s --stamp): answer STAMP probes. Port 862 unless -p; on Linux, ports below 1024 need root.

--one-off

Server: handle one test, then exit.

--json

Print results as JSON, one object per stream.

--csv

Speed test: print the test’s per-second figures as CSV, the same columns as the CSV report in the app (one row a second unless -i says otherwise). time_local is this PC’s clock, time_utc is UTC. Not with --json, --voice, --path, --stamp or --dry-run.

--log <file>

Add diagnostics (timings, CPU time, errors) to this file. See Diagnostic log.

-h, --help

Show the options.

-V, --version

Show the version.

TOS marking on Windows

Windows 11 puts the -S byte on the packets without any setting, also when DeepPerf runs without admin rights (checked on Windows 11 Pro, 2026-11-08). A QoS policy on the PC or on your network can still change it. -S takes the whole TOS byte: DSCP × 4, so voice (EF, DSCP 46) is 0xB8.

Did the marking arrive?

A marked UDP or voice test ends with one line per way that could be read, then any note:

Marking Voice (EF 46) to the server: Kept: arrived as Voice (EF 46) (1785 packets read)
Marking Voice (EF 46) back: Removed: arrived as Default (0) (2263 packets read)
Marking Voice (EF 46) to the server: Kept: arrived as Voice (EF 46) (1785 packets read)
Marking Voice (EF 46) back: Removed: arrived as Default (0) (2263 packets read)
Marking Voice (EF 46) to the server: Kept: arrived as Voice (EF 46) (1785 packets read)
Marking Voice (EF 46) back: Removed: arrived as Default (0) (2263 packets read)

The way to the server needs a DeepPerf server and interval reports: add -i 1 to an upload (the command line says so if you don’t). --full-duplex can’t carry that report; use -d -i 1. With --iperf3, only the way back is read. TCP isn’t checked.

STAMP: is the mark kept at a router or another reflector?

STAMP is a standard measurement protocol. A STAMP reflector that supports RFC 8972’s Class of Service field says which DSCP each probe arrived with, so DeepPerf can check the marking to the reflector and back without a DeepPerf server there and without admin rights:

deepperf -c 10.0.0.1 --stamp -S 0xB8 -t 10
deepperf -c 10.0.0.1 --stamp -S 0xB8 -t 10
deepperf -c 10.0.0.1 --stamp -S 0xB8 -t 10

It prints a line a second (probes sent and answered, round trip, the mark at the reflector and back here), then “Marking Voice (EF 46) at the reflector: Kept: arrived as Voice (EF 46)” and the same for the way back. A reflector that doesn’t support the DSCP report can’t help with the marking: it can’t say what arrived, and it doesn’t mark its replies as asked. DeepPerf says so instead of guessing. A reflector that answers without the report at all (TWAMP Light) still lets DeepPerf check the way back. DeepPerf’s STAMP works with stamp-suite, an open-source STAMP tool, both ways (checked 2026-11-11). Routers only answer if their STAMP reflector is turned on; no router maker documents the DSCP report yet, so test yours. Another PC can be the reflector: deepperf -s --stamp -p 8620.

Was this page helpful? Tell us what worked or what was missing.