Skip to main content
Version: 7.26

stream


tool/traffic-generator/stream​

Type: Directory
Defines the generated traffic flows: rate, packet size, packet template and CPU core binding. See the Traffic Generator guide.

FlagNameDescription
Xdisableddisabled
Iinvalidinvalid
ArgumentTypeDescription
namestringDescriptive name of the stream.
portenumName of the port (from the port menu) the stream transmits through. Usually taken from the packet template; can be overridden here.
idnumStream ID used to identify the stream in stats and in the start/quick commands. The value TOT is reserved for totals.
packet-sizerangeL2 size of the generated packets in bytes; a range (for example 64-1518) generates random packet sizes.
ppsnumPackets per second the stream tries to generate.
mbpsnumMegabits per second the stream tries to generate.
packet-countnumNumber of packets to transmit; unlimited transmits until the stream is stopped.
cpu-corerangeCPU core (0-255) the stream is pinned to, or a range of cores for multi-core streams.
tx-template ( mandatory )enumName of the packet template (from packet-template or raw-packet-template) used as the packet content source. Mandatory.
Read-only ArgumentTypeDescription
default-portenumThe port this stream transmits on, taken from the packet template.