start
tool/traffic-generator/start
Type: Command
Starts the traffic generator in the background. All parameters override the values configured in the stream and the packet template (like in the quick command).
| Argument | Type | Description |
|---|---|---|
| test-id | num | Test session ID (see the general traffic-generator menu). |
| measure-out-of-order | bool | Whether out-of-order received packets are measured and reported for this test. |
| cpu-core | multi { array-id, array-id, cpu-core: range [0 .. 255] } | CPU core or range of cores (0-255) the streams are pinned to, for multi-core tests. |
| stream | multi { stream: enum } | Names of the streams to start. |
| port | multi { port: enum } | Ports to start transmitting from. |
| interface | multi { port: iface_enum } | Interfaces to start transmitting from; a port is implied for each. |
| id | multi { id: num [0 .. 255] } | Stream IDs to start. |
| packet-size | multi { array-id, array-id, packet-size: range [1 .. 65535] } | Override the generated packet size (in bytes); a range generates random sizes. |
| pps | multi { pps: num } | Override the packets-per-second rate. |
| mbps | multi { mbps: num } | Override the megabits-per-second rate. |
| tx-template | multi { tx-template: enum } | Override the packet templates used as the packet content source (up to 16). |
| packet-count | multi { packet-count: num } | Override the number of packets to transmit. |