aboutsummaryrefslogtreecommitdiffstats
path: root/resources/templates/vm/vpp_2vfpt_ethip4ipsec40tnl_plen30.exec
diff options
context:
space:
mode:
Diffstat (limited to 'resources/templates/vm/vpp_2vfpt_ethip4ipsec40tnl_plen30.exec')
-rw-r--r--resources/templates/vm/vpp_2vfpt_ethip4ipsec40tnl_plen30.exec17
1 files changed, 17 insertions, 0 deletions
diff --git a/resources/templates/vm/vpp_2vfpt_ethip4ipsec40tnl_plen30.exec b/resources/templates/vm/vpp_2vfpt_ethip4ipsec40tnl_plen30.exec
new file mode 100644
index 0000000000..54cf42898f
--- /dev/null
+++ b/resources/templates/vm/vpp_2vfpt_ethip4ipsec40tnl_plen30.exec
@@ -0,0 +1,17 @@
+create interface avf 0000:00:03.0 num-rx-queues $queues
+create interface avf 0000:00:04.0 num-rx-queues $queues
+
+set interface ip address avf-0/0/3/0 $ip1
+set interface state avf-0/0/3/0 up
+
+set interface ip address avf-0/0/4/0 $ip2
+set interface state avf-0/0/4/0 up
+
+ip route add $route1 via $nexthop1 $routeif1
+set ip neighbor static $arpif1 $arpip1 $arpmac1
+
+$ipsec
+
+show logging
+
+show version