summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
03c254e)
update packet generator test scripts to reflect latest code changes
Type: fix
Signed-off-by: ShivaShankarK <shivaashankar1204@gmail.com>
Change-Id: I048a5e8b9b0506dcb0b664e5549d13f51b2e2ea6
23 files changed:
ip route table 0 8.0.0.1/32 via loop0
ip route table 0 8.0.0.1/32 via loop0
-set ip arp loop0 8.0.0.1 00:02:04:06:08:0a
+set ip neighbor loop0 8.0.0.1 00:02:04:06:08:0a
ip route add 1.2.3.3/32 via GigabitEthernet2/1/0 IP4: 00:15:17:61:73:47 -> 00:15:17:61:73:46
ip route add 1.2.3.3/32 via GigabitEthernet2/1/0 IP4: 00:15:17:61:73:47 -> 00:15:17:61:73:46
create packet-generator interface pg0
set int ip address pg0 192.168.1.1/24
set int ip address pg0 192:168:1::1/64
create packet-generator interface pg0
set int ip address pg0 192.168.1.1/24
set int ip address pg0 192:168:1::1/64
-set ip arp pg0 192.168.1.2 1:2:3:4:5:6 static
-set ip6 neighbor pg0 192:168:1::2 1:2:3:4:5:6 static
+set ip neighbor pg0 192.168.1.2 1:2:3:4:5:6 static
+set ip neighbor pg0 192:168:1::2 1:2:3:4:5:6 static
set int state pg0 up
comment { underlay interface }
create packet-generator interface pg1
set int ip address pg1 192.168.2.1/24
set int ip address pg1 192:168:2::1/64
set int state pg0 up
comment { underlay interface }
create packet-generator interface pg1
set int ip address pg1 192.168.2.1/24
set int ip address pg1 192:168:2::1/64
-set ip arp pg1 192.168.2.2 6:5:4:3:2:1 static
-set ip6 neighbor pg1 192:168:2::2 6:5:4:3:2:1 static
+set ip neighbor pg1 192.168.2.2 6:5:4:3:2:1 static
+set ip neighbor pg1 192:168:2::2 6:5:4:3:2:1 static
set int state pg1 up
comment { gre4 over ipv6 }
set int state pg1 up
comment { gre4 over ipv6 }
create packet-generator interface pg0
create packet-generator interface pg1
set int ip address pg1 192.168.2.1/24
create packet-generator interface pg0
create packet-generator interface pg1
set int ip address pg1 192.168.2.1/24
-set ip arp pg1 192.168.2.2 6:5:4:3:2:1 static
+set ip neighbor pg1 192.168.2.2 6:5:4:3:2:1 static
create gre tunnel dst 192.168.2.2 src 192.168.2.1 teb
set int state pg0 up
create gre tunnel dst 192.168.2.2 src 192.168.2.1 teb
set int state pg0 up
set int ip address loop0 2001:1::1/64
set int ip address loop1 2001:2::1/64
set int ip address loop0 2001:1::1/64
set int ip address loop1 2001:2::1/64
-set ip6 neighbor loop0 2001:1::2 00:00:DD:EE:AA:DD
-set ip6 neighbor loop1 2001:2::2 00:00:DD:EE:AA:EE
+set ip neighbor loop0 2001:1::2 00:00:DD:EE:AA:DD
+set ip neighbor loop1 2001:2::2 00:00:DD:EE:AA:EE
ip route add 3001::/64 via 2001:2::2 loop1
ip route add 3001::/64 via 2001:2::2 loop1
set int unnum ipsec1 use pg1
ip route add 192.168.1.0/24 via ipsec0
set int unnum ipsec1 use pg1
ip route add 192.168.1.0/24 via ipsec0
-set ip arp pg1 192.168.1.2 00:11:22:33:44:55
+set ip neighbor pg1 192.168.1.2 00:11:22:33:44:55
ip route add table 1 192.168.0.0/24 via ipsec1
ip route add table 1 192.168.0.0/24 via ipsec1
-set ip arp pg0 192.168.0.2 00:11:22:33:44:66
+set ip neighbor pg0 192.168.0.2 00:11:22:33:44:66
set int unnum ipip1 use pg1
ip route add 192.168.1.0/24 via ipip0
set int unnum ipip1 use pg1
ip route add 192.168.1.0/24 via ipip0
-set ip arp pg1 192.168.1.2 00:11:22:33:44:55
+set ip neighbor pg1 192.168.1.2 00:11:22:33:44:55
ip route add table 1 192.168.0.0/24 via ipip1
ip route add table 1 192.168.0.0/24 via ipip1
-set ip arp pg0 192.168.0.2 00:11:22:33:44:66
+set ip neighbor pg0 192.168.0.2 00:11:22:33:44:66
l2tp session add client 11::1 our 22::3 l2-interface GigabitEthernet2/1/0.2 local-session-id 2 l2-sublayer-present
ip route 11::1/128 via GigabitEthernet2/2/0
l2tp session add client 11::1 our 22::3 l2-interface GigabitEthernet2/1/0.2 local-session-id 2 l2-sublayer-present
ip route 11::1/128 via GigabitEthernet2/2/0
-set ip6 neighbor GigabitEthernet2/2/0 11::1 00:02:04:06:08:0a
+set ip neighbor GigabitEthernet2/2/0 11::1 00:02:04:06:08:0a
enable ip6 interface GigabitEthernet2/2/0
enable ip6 interface GigabitEthernet2/2/0
create packet-generator interface pg0
set int ip address pg0 192.168.1.1/24
set int ip address pg0 192:168:1::1/64
create packet-generator interface pg0
set int ip address pg0 192.168.1.1/24
set int ip address pg0 192:168:1::1/64
-set ip arp pg0 192.168.1.2 1:2:3:4:5:6 static
-set ip6 neighbor pg0 192:168:1::2 1:2:3:4:5:6 static
+set ip neighbor pg0 192.168.1.2 1:2:3:4:5:6 static
+set ip neighbor pg0 192:168:1::2 1:2:3:4:5:6 static
set int state pg0 up
create packet-generator interface pg1
set int ip address pg1 192.168.2.1/24
set int ip address pg1 192:168:2::1/64
set int state pg0 up
create packet-generator interface pg1
set int ip address pg1 192.168.2.1/24
set int ip address pg1 192:168:2::1/64
-set ip arp pg1 192.168.2.2 6:5:4:3:2:1 static
-set ip6 neighbor pg1 192:168:2::2 6:5:4:3:2:1 static
+set ip neighbor pg1 192.168.2.2 6:5:4:3:2:1 static
+set ip neighbor pg1 192:168:2::2 6:5:4:3:2:1 static
set int state pg1 up
packet-generator new {
set int state pg1 up
packet-generator new {
ioam set rewrite trace-elts 2 pow
ioam set rewrite trace-elts 2 pow
-set ip6 neighbor GigabitEthernet2/3/0 db03::3 00:50:56:b7:05:cb
+set ip neighbor GigabitEthernet2/3/0 db03::3 00:50:56:b7:05:cb
ip route add db04::0/64 via db03::3
ip route add db04::0/64 via db03::3
set int ip address loop0 1.0.0.1/24
set int ip address loop1 2.0.0.1/24
set int ip address loop0 1.0.0.1/24
set int ip address loop1 2.0.0.1/24
-set ip arp static loop1 2.0.0.2 dead.beef.babe
+set ip neighbor static loop1 2.0.0.2 dead.beef.babe
set int mpls loop1 enable
ip route add 2.2.2.2/32 via 2.0.0.2 loop1 out-label 33
set int mpls loop1 enable
ip route add 2.2.2.2/32 via 2.0.0.2 loop1 out-label 33
set int ip address loop0 1.0.0.1/24
set int ip address loop1 2.0.0.1/24
set int ip address loop0 1.0.0.1/24
set int ip address loop1 2.0.0.1/24
-set ip arp static loop1 2.0.0.2 dead.beef.babe
+set ip neighbor static loop1 2.0.0.2 dead.beef.babe
set int mpls loop1 enable
ip route add 2.2.2.2/32 via 2.0.0.2 loop1 out-label 33
set int mpls loop1 enable
ip route add 2.2.2.2/32 via 2.0.0.2 loop1 out-label 33
set int ip address loop0 1.0.0.1/24
set int ip address loop1 2.0.0.1/24
set int ip address loop0 1.0.0.1/24
set int ip address loop1 2.0.0.1/24
-set ip arp static loop1 2.0.0.2 dead.beef.babe
+set ip neighbor static loop1 2.0.0.2 dead.beef.babe
set int mpls loop1 enable
ip route add 2.2.2.2/32 via 2.0.0.2 loop1 out-label 33
set int mpls loop1 enable
ip route add 2.2.2.2/32 via 2.0.0.2 loop1 out-label 33
set int ip address loop0 1.0.0.1/24
set int ip address loop1 2.0.0.1/24
set int ip address loop0 1.0.0.1/24
set int ip address loop1 2.0.0.1/24
-set ip arp static loop1 2.0.0.2 dead.beef.babe
+set ip neighbor static loop1 2.0.0.2 dead.beef.babe
set int mpls loop1 enable
ip route add 2.2.2.2/32 via 2.0.0.2 loop1 out-label 33
set int mpls loop1 enable
ip route add 2.2.2.2/32 via 2.0.0.2 loop1 out-label 33
set int state loop0 up
set int ip address loop0 10.0.0.1/24
set int state loop0 up
set int ip address loop0 10.0.0.1/24
-set ip arp loop0 10.0.0.2 00:00:11:aa:bb:cc
+set ip neighbor loop0 10.0.0.2 00:00:11:aa:bb:cc
mpls tunnel add via 10.0.0.2 loop0 out-label 33 out-label 34 out-label 35 out-label 36
set int state mpls-tunnel0 up
mpls tunnel add via 10.0.0.2 loop0 out-label 33 out-label 34 out-label 35 out-label 36
set int state mpls-tunnel0 up
set int ip address pg1 172.16.1.1/24
set int state pg0 up
set int state pg1 up
set int ip address pg1 172.16.1.1/24
set int state pg0 up
set int state pg1 up
-set ip arp static pg0 10.0.0.3 abcd.abcd.abcd
-set ip arp static pg0 10.0.0.4 abcd.abcd.abcd
-set ip arp static pg1 172.16.1.2 cdef.abcd.abcd
+set ip neighbor static pg0 10.0.0.3 abcd.abcd.abcd
+set ip neighbor static pg0 10.0.0.4 abcd.abcd.abcd
+set ip neighbor static pg1 172.16.1.2 cdef.abcd.abcd
set int nat44 in pg0 out pg1
set int nat44 in pg0 out pg1
set int ip address pg1 172.16.1.1/24
set int state pg0 up
set int state pg1 up
set int ip address pg1 172.16.1.1/24
set int state pg0 up
set int state pg1 up
-set ip arp static pg0 10.0.0.3 abcd.abcd.abcd
-set ip arp static pg0 10.0.0.4 abcd.abcd.abcd
-set ip arp static pg1 172.16.1.2 cdef.abcd.abcd
+set ip neighbor static pg0 10.0.0.3 abcd.abcd.abcd
+set ip neighbor static pg0 10.0.0.4 abcd.abcd.abcd
+set ip neighbor static pg1 172.16.1.2 cdef.abcd.abcd
set int nat44 in pg0 out pg1
trace add pg-input 10
set int nat44 in pg0 out pg1
trace add pg-input 10
set int ip address pg1 172.16.1.1/24
set int state pg0 up
set int state pg1 up
set int ip address pg1 172.16.1.1/24
set int state pg0 up
set int state pg1 up
-set ip arp static pg0 10.0.0.10 abcd.abcd.abcd
-set ip arp static pg0 10.0.0.11 abcd.abcd.abce
-set ip arp static pg0 10.0.0.12 abce.abcd.abcd
-set ip arp static pg0 10.0.0.13 abce.abcd.abce
-set ip arp static pg1 172.16.1.10 cdef.abcd.abcd
-set ip arp static pg1 172.16.1.11 cdef.abcd.abce
+set ip neighbor static pg0 10.0.0.10 abcd.abcd.abcd
+set ip neighbor static pg0 10.0.0.11 abcd.abcd.abce
+set ip neighbor static pg0 10.0.0.12 abce.abcd.abcd
+set ip neighbor static pg0 10.0.0.13 abce.abcd.abce
+set ip neighbor static pg1 172.16.1.10 cdef.abcd.abcd
+set ip neighbor static pg1 172.16.1.11 cdef.abcd.abce
set int nat44 in pg0 out pg1
trace add pg-input 10
set int nat44 in pg0 out pg1
trace add pg-input 10
set int ip address pg1 172.16.1.1/24
set int state pg0 up
set int state pg1 up
set int ip address pg1 172.16.1.1/24
set int state pg0 up
set int state pg1 up
-set ip arp static pg0 10.0.0.3 abcd.abcd.abcd
-set ip arp static pg1 172.16.1.2 cdef.abcd.abcd
+set ip neighbor static pg0 10.0.0.3 abcd.abcd.abcd
+set ip neighbor static pg1 172.16.1.2 cdef.abcd.abcd
set int nat44 in pg0 out pg1
trace add pg-input 10
set int nat44 in pg0 out pg1
trace add pg-input 10
set int ip address pg1 172.16.1.1/24
set int state pg0 up
set int state pg1 up
set int ip address pg1 172.16.1.1/24
set int state pg0 up
set int state pg1 up
-set ip arp static pg0 10.0.0.3 abcd.abcd.abcd
-set ip arp static pg1 172.16.1.2 cdef.abcd.abcd
+set ip neighbor static pg0 10.0.0.3 abcd.abcd.abcd
+set ip neighbor static pg1 172.16.1.2 cdef.abcd.abcd
set int nat44 in pg0 out pg1
trace add pg-input 10
set int nat44 in pg0 out pg1
trace add pg-input 10
set int ip address pg1 172.16.1.1/24
set int state pg0 up
set int state pg1 up
set int ip address pg1 172.16.1.1/24
set int state pg0 up
set int state pg1 up
-set ip6 neighbor pg0 2000::3 abcd.abcd.abcd static
-set ip arp static pg1 172.16.1.2 cdef.abcd.abcd
+set ip neighbor pg0 2000::3 abcd.abcd.abcd static
+set ip neighbor static pg1 172.16.1.2 cdef.abcd.abcd
set interface nat64 in pg0 out pg1
set interface nat64 in pg0 out pg1
set int ip address pg1 172.16.1.1/24
set int state pg0 up
set int state pg1 up
set int ip address pg1 172.16.1.1/24
set int state pg0 up
set int state pg1 up
-set ip6 neighbor pg0 2000::3 abcd.abcd.abcd static
-set ip arp static pg1 172.16.1.2 cdef.abcd.abcd
+set ip neighbor pg0 2000::3 abcd.abcd.abcd static
+set ip neighbor static pg1 172.16.1.2 cdef.abcd.abcd
set interface nat64 in pg0 out pg1
nat64 add static bib 2000::3 3001 172.16.1.3 37678 udp
nat64 add static bib 2000::3 3006 172.16.1.3 38678 udp
set interface nat64 in pg0 out pg1
nat64 add static bib 2000::3 3001 172.16.1.3 37678 udp
nat64 add static bib 2000::3 3006 172.16.1.3 38678 udp
set int ip address GigabitEthernet2/3/0 db03::3/64
set int state GigabitEthernet2/3/0 up
set int ip address GigabitEthernet2/3/0 db03::3/64
set int state GigabitEthernet2/3/0 up
-set ip6 neighbor GigabitEthernet2/3/0 db03::1 00:50:56:b7:05:bf
-set ip6 neighbor GigabitEthernet2/4/0 db04::4 00:50:56:b7:05:d2
+set ip neighbor GigabitEthernet2/3/0 db03::1 00:50:56:b7:05:bf
+set ip neighbor GigabitEthernet2/4/0 db04::4 00:50:56:b7:05:d2
ip route add db02::0/64 via db03::1
ip route add db02::0/64 via db03::1
set int state loop0 up
set int ip address loop0 11.0.0.1/24
set int state loop0 up
set int ip address loop0 11.0.0.1/24
-set ip arp loop0 11.0.0.2 00:00:11:aa:bb:cc
+set ip neighbor loop0 11.0.0.2 00:00:11:aa:bb:cc
mpls local-label 16001 via 11.0.0.2 loop0 out-label 16001
mpls local-label 16001 via 11.0.0.2 loop0 out-label 16001