blob: bbbe2c1431db26d9cfc59926dcf7ef57df7e4311 [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
Dave Barach68b0fb02017-02-28 15:15:56 -050018 data {
19 UDP: 192.168.1.2 - 192.168.2.255 -> 192.168.1.1
20 UDP: 4321 -> 1234
21 length 72
22 incrementing 100
23 }
24}
Florin Coras6cf30ad2017-04-04 23:08:23 -070025session enable