User Manual

TRex 77 / 113
inspect ip-options
!
service-policy global_policy global
service-policy icmp_policy interface outside
prompt hostname context
!
jumbo-frame reservation
!
no call-home reporting anonymous
: end
ciscoasa#
7.3.2 TRex commands example
Using these commands the configuration is:
1. NAT learn mode (TCP-ACK)
2. Delay of 1 second at start up (-k 1). It was added because ASA drops the first packets.
3. Latency is configured to ICMP reply mode (--l-pkt-mode 2).
Simple HTTP:
[bash]>sudo ./t-rex-64 -f cap2/http_simple.yaml -d 1000 -l 1000 --l-pkt-mode 2 -m 1000 -- -
learn-mode 1 -k 1
This is more realistic traffic for enterprise (we removed from SFR file the bidirectional UDP traffic templates, which (as described
above), are not supported in this mode).
Enterprise profile:
[bash]>sudo ./t-rex-64 -f avl/sfr_delay_10_1g_asa_nat.yaml -d 1000 -l 1000 --l-pkt-mode 2 - -
m 4 --learn-mode 1 -k 1
The TRex output
-Per port stats table
ports | 0 | 1
-----------------------------------------------------------------------------------------
opackets | 106347896 | 118369678
obytes | 33508291818 | 118433748567
ipackets | 118378757 | 106338782
ibytes | 118434305375 | 33507698915
ierrors | 0 | 0
oerrors | 0 | 0
Tx Bw | 656.26 Mbps | 2.27 Gbps
-Global stats enabled
Cpu Utilization : 18.4 % 31.7 Gb/core
Platform_factor : 1.0
Total-Tx : 2.92 Gbps NAT time out : 0 #
v
1
(0 in wait for syn+ack) -
#
v
2
Total-Rx : 2.92 Gbps NAT aged flow id: 0 #
v
3
Total-PPS : 542.29 Kpps Total NAT active: 163 (12 waiting for syn)
Total-CPS : 8.30 Kcps Nat_learn_errors: 0