aboutsummaryrefslogtreecommitdiffstats
path: root/resources/templates/vm/vpp_2vfpt_ethip4_nat44ed_h1024_p63_s64512.exec
blob: c2da2ec3cc1878b0eba8d593784d3dff15837059 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
create interface avf 0000:00:06.0 num-rx-queues $queues
create interface avf 0000:00:07.0 num-rx-queues $queues

set interface ip address avf-0/0/6/0 $ip1
set interface state avf-0/0/6/0 up

set interface ip address avf-0/0/7/0 $ip2
set interface state avf-0/0/7/0 up

ip route add $route1 via $nexthop1 $routeif1
ip route add $route2 via $nexthop2 $routeif2

set ip neighbor static $arpif1 $arpip1 $arpmac1

$nat

show logging

show version