blob: 3ab4292fce6454ee9e6c85d29603e54751204e4a [file] [log] [blame]
Dave Barach68b0fb02017-02-28 15:15:56 -05001loop create
Florin Coras6cf30ad2017-04-04 23:08:23 -07002set int ip address loop0 6.0.0.1/32
Dave Barach68b0fb02017-02-28 15:15:56 -05003set int state loop0 up
Florin Coras3cbc04b2017-10-02 00:18:51 -07004set int state GigabitEthernet1b/0/0 up
5set int ip address GigabitEthernet1b/0/0 192.168.1.1/24
6
7create host-interface name vpp1
8set int state host-vpp1 up
9set int ip address host-vpp1 6.0.1.1/24
Dave Barach68b0fb02017-02-28 15:15:56 -050010
11packet-generator new {
12 name udp
13 limit 512
14 rate 1e4
15 node ip4-input
16 size 100-100
17 interface loop0
18 no-recycle
19 data {
20 UDP: 192.168.1.2 - 192.168.2.255 -> 192.168.1.1
21 UDP: 4321 -> 1234
22 length 72
23 incrementing 100
24 }
25}
Florin Coras6cf30ad2017-04-04 23:08:23 -070026session enable