User Manual
TRex 72 / 113
Chapter 7
Appendix
7.1 Simulator
The TRex simulator is a linux application (no DPDK needed) that can run on any Linux (it can also run on TRex machine itself).
you can create output pcap file from input of traffic YAML.
7.1.1 Simulator
[bash]>./bp-sim-64-debug -f avl/sfr_delay_10_1g.yaml -v 1
-- loading cap file avl/delay_10_http_get_0.pcap
-- loading cap file avl/delay_10_http_post_0.pcap
-- loading cap file avl/delay_10_https_0.pcap
-- loading cap file avl/delay_10_http_browsing_0.pcap
-- loading cap file avl/delay_10_exchange_0.pcap
-- loading cap file avl/delay_10_mail_pop_0.pcap
-- loading cap file avl/delay_10_mail_pop_1.pcap
-- loading cap file avl/delay_10_mail_pop_2.pcap
-- loading cap file avl/delay_10_oracle_0.pcap
-- loading cap file avl/delay_10_rtp_160k_full.pcap
-- loading cap file avl/delay_10_rtp_250k_full.pcap
-- loading cap file avl/delay_10_smtp_0.pcap
-- loading cap file avl/delay_10_smtp_1.pcap
-- loading cap file avl/delay_10_smtp_2.pcap
-- loading cap file avl/delay_10_video_call_0.pcap
-- loading cap file avl/delay_10_sip_video_call_full.pcap
-- loading cap file avl/delay_10_citrix_0.pcap
-- loading cap file avl/delay_10_dns_0.pcap
id,name , tps, cps,f-pkts,f-bytes, duration, Mb/sec, ←-
MB/sec, c-flows, PPS,total-Mbytes-duration,errors,flows #
v
1
00, avl/delay_10_http_get_0.pcap ,404.52,404.52, 44 , 37830 , 0.17 , ←-
122.42 , 15.30 , 67 , 17799 , 2 , 0 , 1
01, avl/delay_10_http_post_0.pcap ,404.52,404.52, 54 , 48468 , 0.21 , ←-
156.85 , 19.61 , 85 , 21844 , 2 , 0 , 1
02, avl/delay_10_https_0.pcap ,130.87,130.87, 96 , 91619 , 0.22 , ←-
95.92 , 11.99 , 29 , 12564 , 1 , 0 , 1
03, avl/delay_10_http_browsing_0.pcap ,709.89,709.89, 37 , 34425 , 0.13 , ←-
195.50 , 24.44 , 94 , 26266 , 2 , 0 , 1
04, avl/delay_10_exchange_0.pcap ,253.81,253.81, 43 , 9848 , 1.57 , ←-
20.00 , 2.50 , 400 , 10914 , 0 , 0 , 1
05, avl/delay_10_mail_pop_0.pcap ,4.76,4.76, 20 , 5603 , 0.17 , 0.21 ←-
, 0.03 , 1 , 95 , 0 , 0 , 1










