User Manual
TRex 71 / 113
--no-key
Daemon mode, don’t get input from keyboard.
--no-watchdog
Disable watchdog.
-p
Send all packets of the same flow from the same direction. For each flow, TRex will randomly choose between client port
and server port, and send all the packets from this port. src/dst IPs keep their values as if packets are sent from two ports.
Meaning, we get on the same port packets from client to server, and from server to client.
If you are using this with a router, you can not relay on routing rules to pass traffic to TRex, you must configure policy
based routes to pass all traffic from one DUT port to the other.
-pm <num>
Platform factor. If the setup includes splitter, you can multiply all statistic number displayed by TRex by this factor, so
that they will match the DUT counters.
-pubd
Disable ZMQ monitor’s publishers.
--rx-check <sample rate>
Enable Rx check module. Using this, each thread randomly samples 1/sample_rate of the flows and checks packet order,
latency, and additional statistics for the sampled flows. Note: This feature works on the RX thread.
--software
Since version 2.21.
Do not configure any hardware rules. In this mode, all RX packets will be processed by software. No HW assist for
dropping (while counting) packets will be used. This mode is good for enabling features like per stream statistics, and
latency, support packet types, not supported by HW flow director rules (For example QinQ).
You can also use this mode for running TRex on interfaces which manifest themselves as ones supported by TRex, but
in reality support less hardware capabilities. For example, NICs supported by DPDK e1000_igb driver, but with different
HW capabilities than i350.
Drawback of this is that because software has to handle all received packets, total rate of RX streams is significantly lower.
Currently, this mode is also limited to using only one TX core (and one RX core as usual).
-v <verbosity level>
Show debug info. Value of 1 shows debug info on startup. Value of 3, shows debug info during run at some cases. Might
slow down operation.
--vlan
Relevant only for stateless mode with Intel 82599 10G NIC. When configuring flow stat and latency per stream rules,
assume all streams uses VLAN.
-w <num seconds>
Wait additional time between NICs initialization and sending traffic. Can be useful if DUT needs extra setup time. Default
is 1 second.










