summaryrefslogtreecommitdiffstats
path: root/trex_book_basic.asciidoc
diff options
context:
space:
mode:
authorIdo Barnea <ibarnea@cisco.com>2015-12-01 09:41:53 +0200
committerIdo Barnea <ibarnea@cisco.com>2015-12-01 09:41:53 +0200
commit0ab1c3dacce1c18cee91880bc4d28b029836de06 (patch)
treec687291559988a613a5bcaf5da9abb7aa2d60118 /trex_book_basic.asciidoc
parentb8a5aed1dbb15d7add8e6dba4af0bf70f22b8c82 (diff)
Documentation + release notes for latency packet mode.
Diffstat (limited to 'trex_book_basic.asciidoc')
-rwxr-xr-xtrex_book_basic.asciidoc4
1 files changed, 3 insertions, 1 deletions
diff --git a/trex_book_basic.asciidoc b/trex_book_basic.asciidoc
index ec0c9cf5..5efce2e2 100755
--- a/trex_book_basic.asciidoc
+++ b/trex_book_basic.asciidoc
@@ -3283,7 +3283,9 @@ This feature gives user more flexibility to define the IP generator.
=== Measure Jitter/Latency
-To measure jitter/latency on high priorty packets (one SCTP flow), use `-l [Hz]` where Hz defines the number of packets to send from each port per second. This option measures latency and jitter in the latency. The shell output is similar to the following:
+To measure jitter/latency on high priorty packets (one SCTP or ICMP flow), use `-l [Hz]` where Hz defines the number of packets to send from each port per second. This option measures latency and jitter. We can define the type of traffic used for the latency measurement using the --l-pkt-mode option. The default it to use SCTP packets. We can change this to use ICMP echo request packets by specifying --l-pkt-mode 1. Can send ICMP requests from one side, and matching ICMP responses from other side, by specifying --l-pkt-mode 2. This is particulary usefull if your DUT drops traffic from outside, and you need to open pin hole to get the outside traffic in (for example when testing a firewall). There is another mode (--l-pkt-mode 3) which send ICMP request packets with a constant 0 sequence number.
+
+The shell output is similar to the following:
[source,python]
----