diff options
author | 2020-01-30 21:18:39 +0100 | |
---|---|---|
committer | 2020-01-30 20:24:51 +0000 | |
commit | ffad890961b7a5809ba08b4ab1c54001d8fd06d3 (patch) | |
tree | f9aa9d5153fdbe1c761ea59df9787b287f327dff /extras/pcapcli | |
parent | d1e6b2937d551b58adf1b89697d7169f4b72bbdc (diff) |
misc: move configs to extras/configs
Type: refactor
Change-Id: I64665b290e2c42bbd9b0e877e9e4b028090b0ede
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'extras/pcapcli')
-rw-r--r-- | extras/pcapcli/setup.pcapcli | 34 | ||||
-rw-r--r-- | extras/pcapcli/setup.tracefilter | 22 |
2 files changed, 0 insertions, 56 deletions
diff --git a/extras/pcapcli/setup.pcapcli b/extras/pcapcli/setup.pcapcli deleted file mode 100644 index 66f3caebf63..00000000000 --- a/extras/pcapcli/setup.pcapcli +++ /dev/null @@ -1,34 +0,0 @@ -set term pag off -loop create -loop create -set int ip address loop0 192.168.1.1/24 -set int state loop0 up - -set int ip address loop1 192.168.2.1/24 -set int state loop1 up - -packet-generator new { - name pg0 - limit 1 - size 300-300 - interface loop0 - node ethernet-input - data { IP4: 1.2.3 -> 4.5.6 - UDP: 192.168.1.10 -> 192.168.2.10 - UDP: 1234 -> 2345 - incrementing 286 - } -} - -packet-generator new { - name pg1 - limit 1 - size 300-300 - interface loop1 - node ethernet-input - data { IP4: 1.2.3 -> 4.5.6 - UDP: 192.168.2.10 -> 192.168.1.10 - UDP: 1234 -> 2345 - incrementing 286 - } -} diff --git a/extras/pcapcli/setup.tracefilter b/extras/pcapcli/setup.tracefilter deleted file mode 100644 index db07a0e4224..00000000000 --- a/extras/pcapcli/setup.tracefilter +++ /dev/null @@ -1,22 +0,0 @@ -set term pag off -loop create - -set int ip address loop0 192.168.1.1/24 -set int state loop0 up - -packet-generator new { - name pg0 - limit 100 - size 300-300 - interface loop0 - node ethernet-input - data { IP4: 1.2.3 -> 4.5.6 - UDP: 192.168.1.10 - 192.168.1.20 -> 192.168.2.10 - UDP: 1234 -> 2345 - incrementing 286 - } -} - -comment { Pick one, uncomment, and "pcap rx ..." or "trace add pg-input ..." } -comment { classify filter trace mask l3 ip4 src match l3 ip4 src 192.168.1.15 } -comment { classify filter pcap mask l3 ip4 src match l3 ip4 src 192.168.1.15 } |