TRex Traffic Generator, Containerized.
1.1K
Prepare your test configuration, test.yaml or test.py basic_usage
docker run --name trex -v <your_test_conf>:/test.yaml --rm -it --privileged --cap-add=ALL eisai/cisco-trex -f /test.yaml <arguments>
docker run --name trex -v ./test.yaml:/test.yaml --rm -it --privileged --cap-add=ALL eisai/cisco-trex -f /test.yaml -m 1000 -l 10
docker run --name trex -v ./test.py:/test.py --rm -it --privileged --cap-add=ALL eisai/cisco-trex --astf -f /test.py -m 10 -d 100
trex_cfg.yaml First time RunningBy default, ports 4500,4501,4507 are used.
docker run --name trex -v ./trex_cfg.yaml:/etc/trex_cfg.yaml -v ./test.py:/test.py --rm -it --privileged --cap-add=ALL --network host eisai/cisco-trex --astf -f /test.py -m 10 -d 100
Run without any arguments will enter auto-config interface dpdk_setup_ports.py -i
services:
trex:
container_name: trex
image: eisai/cisco-trex
restart: "no"
network_mode: "host"
cap_add:
- ALL
privileged: true
tty: true
stdin_open: true
command: ["--astf", "-f", "/test.py", "-d", "100", "-m", "10"]
volumes:
- './test.py:/test.py'
- './trex_cfg.yaml:/etc/trex_cfg.yaml'
docker run --name trex --rm -it --privileged --cap-add=ALL eisai/cisco-trex -i --astf
https://github.com/cisco-system-traffic-generator/trex-stateless-gui
docker run --name trex --rm -it --privileged --cap-add=ALL --network host eisai/cisco-trex:v2.87
Default port for daemon server: 8090
https://github.com/Eisaichen/cisco-trex-docker/tree/main/dpdk
https://trex-tgn.cisco.com/trex/doc/
Content type
Image
Digest
sha256:a51a9b0c3…
Size
357.7 MB
Last updated
over 1 year ago
docker pull eisai/cisco-trex