Version3.08
Revision2
LicenseApache-2.0
Confinementstrict
Basecore22

Cisco TRex realistic traffic generator


TRex is an open source, low cost, stateful and stateless traffic generator
fuelled by DPDK. This snap packages the TRex server, console and Python
automation client from the upstream trex-core source.

The server runs in afpacket mode on kernel interfaces, without hugepages
or NIC driver binding. DPDK PCI mode is not supported under strict
confinement.

Setup

 sudo snap connect trex-generator:network-control
 sudo snap connect trex-generator:hardware-observe
 sudo snap connect trex-generator:process-control
 sudo snap connect trex-generator:system-observe


Configuration

Configuration files, scripts and their output live in
/var/snap/trex-generator/common. Select the server configuration with sudo snap set trex-generator config=<path relative to that directory>
(default trex
cfg.yaml), or pass --cfg <absolute path>.

Commands

- trex-generator.t-rex-64: TRex server
- trex-generator.console: interactive console
- trex-generator.python: Python with the TRex automation client

Upstream: https://github.com/cisco-system-traffic-generator/trex-core

Update History

3.08 (2)
29 Oct 2026, 06:30 UTC

Published29 Oct 2026, 05:55 UTC

Last updated29 Oct 2026, 06:01 UTC

First seen29 Oct 2026, 06:30 UTC