Trex
Overview
The Trex node type is used for running Cisco's Trex traffic generator within a CML lab.
Features
The refplat ISO includes a Trex image, which is an Alpine Linux VM image configured to run Trex in stateless mode.
The Trex VM image also includes the same network troubleshooting tools that are available on Alpine nodes:
iperf
-- basic traffic generation
routem
-- OSPF/BGP control plane traffic generation
tcpdump
-- packet capture
traceroute
ping
telnet
ssh
Limitations
Trex nodes MUST have at least two interfaces when used in a CML lab. The first interface is used for management; the second and (optional) third interfaces are for data.
Using Trex Nodes in CML
The Trex VM image on the refplat ISO has a locked root
account. An initial user account will be created when the VM boots. By default, a cisco
account with password cisco
is created. You can override the username and password for this initial user account by setting the USERNAME
and/or PASSWORD
in the Edit Config pane for the node in the Workbench.
A Trex node MUST have at least two interfaces when used in a CML lab. Typically, the first interface is connected to a bridged external connector node. You can give that interface a static IP so that a GUI can be connected to it.
You can download the stateless UI for Trex from https://github.com/cisco-system-traffic-generator/trex-stateless-gui. Search for Builds. Ensure that the version that you download matches the Trex version running the Trex image in your lab.