857537977515d665aaee24450b620a9cceaa251d
[vpp.git] / vnet / etc / scripts / lfib / ip4-to-mpls
1 packet-generator new {
2   name x
3   limit 1
4   node ip4-input
5   size 64-64
6   no-recycle
7   data {
8     ICMP: 1.0.0.2 -> 2.2.2.2
9     ICMP echo_request
10     incrementing 100
11   }
12 }
13
14 loop create
15 loop create
16 set int state loop0 up
17 set int state loop1 up
18
19 set int ip address loop0 1.0.0.1/24
20 set int ip address loop1 2.0.0.1/24
21
22 set ip arp static loop1 2.0.0.2 dead.beef.babe
23 set int mpls loop1 enable
24 ip route add 2.2.2.2/32 via 2.0.0.2 loop1 out-label 33
25
26 trace add pg-input 100