User Manual
TRex 9 / 113
Note
• Requirement for using TRex: sudo or root password for the machine.
• Upgrading the linux Kernel using yum upgrade requires building the TRex drivers.
• In Ubuntu 16, auto-updater is enabled by default. It is recommended to turn it off. Updating kernel requires re-compiling the
DPDK .ko file.
To disable auto-updater:
> sudo apt-get remove unattended-upgrades
2.2.4 Verify Intel NIC installation
Use lspci to verify the NIC installation.
Example: 4x 10Gb/sec TRex configuration (see output below):
• I350 management port
• 4x Intel Ethernet Converged Network Adapter model x520-D2 (82599 chipset)
[bash]>lspci | grep Ethernet
01:00.0 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01) ←-
#
v
1
01:00.1 Ethernet controller: Intel Corporation I350 Gigabit Network Connection (rev 01) ←-
#
v
2
03:00.0 Ethernet controller: Intel Corporation 82599EB 10-Gigabit SFI/SFP+ Network ←-
Connection (rev 01) #
v
3
03:00.1 Ethernet controller: Intel Corporation 82599EB 10-Gigabit SFI/SFP+ Network ←-
Connection (rev 01)
82:00.0 Ethernet controller: Intel Corporation 82599EB 10-Gigabit SFI/SFP+ Network ←-
Connection (rev 01)
82:00.1 Ethernet controller: Intel Corporation 82599EB 10-Gigabit SFI/SFP+ Network ←-
Connection (rev 01)
v
1
Management port
v
2
CIMC port
v
3
10Gb/sec traffic ports (Intel 82599EB)
2.3 Obtaining the TRex package
Use ssh to connect to the TRex machine and execute the commands described below.
Note
Prerequisite: $WEB_URL is http://trex-tgn.cisco.com/trex or csi-wiki-01:8181/trex (Cisco internal)
Latest release:
[bash]>mkdir trex
[bash]>cd trex
[bash]>wget --no-cache $WEB_URL/release/latest
[bash]>tar -xzvf latest










