8.2.17. VRF Routed-Forwarding

8.2.17.1. eth2p-ethip4-ip4basevrf-func

Vpn routed forwarding - baseline IPv4

  • [Top] Network Topologies: TG=DUT1=DUT2=TG 3-node topology with two links in between nodes.
  • [Enc] Packet Encapsulations: Eth-IPv4-ICMPv4 for L2 switching of IPv4.
  • [Cfg] DUT configuration: Each DUT is configured with two VRF tables; Separation of traffic is tested by IP packets; Basic ARP and ROUTES are set on DUT nodes; IP addresses are set on DUT interfaces.
  • [Ver] TG verification: Test ICMPv4 Echo Request packets are sent by TG on link to DUT1, DUT2 or back to TG; On receipt TG verifies packets for correctness and their IPv4 src-addr, dst-addr, and MAC addresses.
  • [Ref] Applicable standard specifications:
Name VPP API Test (VAT) Commands History - Commands Used Per Test Case
TC01: TG packets routed to DUT ingress interface, VPP configured with two VRFs
 DUT1: 
sw_interface_set_flags sw_if_index 2 admin-up
sw_interface_set_flags sw_if_index 1 admin-up
sw_interface_set_flags sw_if_index 4 admin-up
sw_interface_set_flags sw_if_index 3 admin-up
sw_interface_dump
ip_add_del_route 30.0.0.1/24 via 20.0.0.3 sw_if_index 4 multipath vrf 9 create-vrf
ip_add_del_route 30.0.0.2/24 via 20.0.0.2 sw_if_index 3 multipath vrf 99 create-vrf
sw_interface_set_table sw_if_index 4 vrf 9
sw_interface_set_table sw_if_index 3 vrf 99
sw_interface_set_table sw_if_index 2 vrf 9
sw_interface_set_table sw_if_index 1 vrf 99
sw_interface_add_del_address sw_if_index 2 10.0.0.3/24
sw_interface_add_del_address sw_if_index 1 10.0.0.4/24
sw_interface_add_del_address sw_if_index 4 20.0.0.1/24
sw_interface_add_del_address sw_if_index 3 20.0.0.2/24
ip_neighbor_add_del sw_if_index 2 dst 10.0.0.1 mac fa:16:3e:6b:a9:9f
ip_neighbor_add_del sw_if_index 4 dst 20.0.0.3 mac fa:16:3e:f6:ad:84
ip_neighbor_add_del sw_if_index 1 dst 10.0.0.2 mac fa:16:3e:6a:a9:9f
ip_neighbor_add_del sw_if_index 3 dst 20.0.0.4 mac fa:16:3e:3c:b4:31
ip_add_del_route 30.0.0.1/24 via 20.0.0.3 vrf 9 sw_if_index 4 resolve-attempts 10 count 1
ip_add_del_route 30.0.0.2/24 via 20.0.0.4 vrf 99 sw_if_index 3 resolve-attempts 10 count 1

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up
sw_interface_set_flags sw_if_index 1 admin-up
sw_interface_set_flags sw_if_index 4 admin-up
sw_interface_set_flags sw_if_index 3 admin-up
sw_interface_dump
ip_add_del_route 10.0.0.1/24 via 20.0.0.3 sw_if_index 4 multipath vrf 9 create-vrf
ip_add_del_route 10.0.0.2/24 via 20.0.0.4 sw_if_index 3 multipath vrf 99 create-vrf
sw_interface_set_table sw_if_index 4 vrf 9
sw_interface_set_table sw_if_index 3 vrf 99
sw_interface_set_table sw_if_index 2 vrf 9
sw_interface_set_table sw_if_index 1 vrf 99
sw_interface_add_del_address sw_if_index 2 30.0.0.3/24
sw_interface_add_del_address sw_if_index 1 30.0.0.4/24
sw_interface_add_del_address sw_if_index 4 20.0.0.3/24
sw_interface_add_del_address sw_if_index 3 20.0.0.4/24
ip_neighbor_add_del sw_if_index 2 dst 30.0.0.1 mac fa:16:3e:9e:94:e4
ip_neighbor_add_del sw_if_index 4 dst 20.0.0.1 mac fa:16:3e:86:b5:a5
ip_neighbor_add_del sw_if_index 1 dst 30.0.0.2 mac fa:16:3e:12:d2:d2
ip_neighbor_add_del sw_if_index 3 dst 20.0.0.2 mac fa:16:3e:fa:75:75
ip_add_del_route 10.0.0.1/24 via 20.0.0.1 vrf 9 sw_if_index 4 resolve-attempts 10 count 1
ip_add_del_route 10.0.0.2/24 via 20.0.0.2 vrf 99 sw_if_index 3 resolve-attempts 10 count 1
TC02: TG packets routed to DUT egress interface, VPP configured with two VRFs
 DUT1: 
sw_interface_set_flags sw_if_index 2 admin-up
sw_interface_set_flags sw_if_index 1 admin-up
sw_interface_set_flags sw_if_index 4 admin-up
sw_interface_set_flags sw_if_index 3 admin-up
sw_interface_dump
ip_add_del_route 30.0.0.1/24 via 20.0.0.3 sw_if_index 4 multipath vrf 9 create-vrf
ip_add_del_route 30.0.0.2/24 via 20.0.0.2 sw_if_index 3 multipath vrf 99 create-vrf
sw_interface_set_table sw_if_index 4 vrf 9
sw_interface_set_table sw_if_index 3 vrf 99
sw_interface_set_table sw_if_index 2 vrf 9
sw_interface_set_table sw_if_index 1 vrf 99
sw_interface_add_del_address sw_if_index 2 10.0.0.3/24
sw_interface_add_del_address sw_if_index 1 10.0.0.4/24
sw_interface_add_del_address sw_if_index 4 20.0.0.1/24
sw_interface_add_del_address sw_if_index 3 20.0.0.2/24
ip_neighbor_add_del sw_if_index 2 dst 10.0.0.1 mac fa:16:3e:6b:a9:9f
ip_neighbor_add_del sw_if_index 4 dst 20.0.0.3 mac fa:16:3e:f6:ad:84
ip_neighbor_add_del sw_if_index 1 dst 10.0.0.2 mac fa:16:3e:6a:a9:9f
ip_neighbor_add_del sw_if_index 3 dst 20.0.0.4 mac fa:16:3e:3c:b4:31
ip_add_del_route 30.0.0.1/24 via 20.0.0.3 vrf 9 sw_if_index 4 resolve-attempts 10 count 1
ip_add_del_route 30.0.0.2/24 via 20.0.0.4 vrf 99 sw_if_index 3 resolve-attempts 10 count 1

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up
sw_interface_set_flags sw_if_index 1 admin-up
sw_interface_set_flags sw_if_index 4 admin-up
sw_interface_set_flags sw_if_index 3 admin-up
sw_interface_dump
ip_add_del_route 10.0.0.1/24 via 20.0.0.3 sw_if_index 4 multipath vrf 9 create-vrf
ip_add_del_route 10.0.0.2/24 via 20.0.0.4 sw_if_index 3 multipath vrf 99 create-vrf
sw_interface_set_table sw_if_index 4 vrf 9
sw_interface_set_table sw_if_index 3 vrf 99
sw_interface_set_table sw_if_index 2 vrf 9
sw_interface_set_table sw_if_index 1 vrf 99
sw_interface_add_del_address sw_if_index 2 30.0.0.3/24
sw_interface_add_del_address sw_if_index 1 30.0.0.4/24
sw_interface_add_del_address sw_if_index 4 20.0.0.3/24
sw_interface_add_del_address sw_if_index 3 20.0.0.4/24
ip_neighbor_add_del sw_if_index 2 dst 30.0.0.1 mac fa:16:3e:9e:94:e4
ip_neighbor_add_del sw_if_index 4 dst 20.0.0.1 mac fa:16:3e:86:b5:a5
ip_neighbor_add_del sw_if_index 1 dst 30.0.0.2 mac fa:16:3e:12:d2:d2
ip_neighbor_add_del sw_if_index 3 dst 20.0.0.2 mac fa:16:3e:fa:75:75
ip_add_del_route 10.0.0.1/24 via 20.0.0.1 vrf 9 sw_if_index 4 resolve-attempts 10 count 1
ip_add_del_route 10.0.0.2/24 via 20.0.0.2 vrf 99 sw_if_index 3 resolve-attempts 10 count 1
TC03: TG packets routed to DUT2 ingress interface through DUT1, VPP configured with two VRFs
 DUT1: 
sw_interface_set_flags sw_if_index 2 admin-up
sw_interface_set_flags sw_if_index 1 admin-up
sw_interface_set_flags sw_if_index 4 admin-up
sw_interface_set_flags sw_if_index 3 admin-up
sw_interface_dump
ip_add_del_route 30.0.0.1/24 via 20.0.0.3 sw_if_index 4 multipath vrf 9 create-vrf
ip_add_del_route 30.0.0.2/24 via 20.0.0.2 sw_if_index 3 multipath vrf 99 create-vrf
sw_interface_set_table sw_if_index 4 vrf 9
sw_interface_set_table sw_if_index 3 vrf 99
sw_interface_set_table sw_if_index 2 vrf 9
sw_interface_set_table sw_if_index 1 vrf 99
sw_interface_add_del_address sw_if_index 2 10.0.0.3/24
sw_interface_add_del_address sw_if_index 1 10.0.0.4/24
sw_interface_add_del_address sw_if_index 4 20.0.0.1/24
sw_interface_add_del_address sw_if_index 3 20.0.0.2/24
ip_neighbor_add_del sw_if_index 2 dst 10.0.0.1 mac fa:16:3e:6b:a9:9f
ip_neighbor_add_del sw_if_index 4 dst 20.0.0.3 mac fa:16:3e:f6:ad:84
ip_neighbor_add_del sw_if_index 1 dst 10.0.0.2 mac fa:16:3e:6a:a9:9f
ip_neighbor_add_del sw_if_index 3 dst 20.0.0.4 mac fa:16:3e:3c:b4:31
ip_add_del_route 30.0.0.1/24 via 20.0.0.3 vrf 9 sw_if_index 4 resolve-attempts 10 count 1
ip_add_del_route 30.0.0.2/24 via 20.0.0.4 vrf 99 sw_if_index 3 resolve-attempts 10 count 1

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up
sw_interface_set_flags sw_if_index 1 admin-up
sw_interface_set_flags sw_if_index 4 admin-up
sw_interface_set_flags sw_if_index 3 admin-up
sw_interface_dump
ip_add_del_route 10.0.0.1/24 via 20.0.0.3 sw_if_index 4 multipath vrf 9 create-vrf
ip_add_del_route 10.0.0.2/24 via 20.0.0.4 sw_if_index 3 multipath vrf 99 create-vrf
sw_interface_set_table sw_if_index 4 vrf 9
sw_interface_set_table sw_if_index 3 vrf 99
sw_interface_set_table sw_if_index 2 vrf 9
sw_interface_set_table sw_if_index 1 vrf 99
sw_interface_add_del_address sw_if_index 2 30.0.0.3/24
sw_interface_add_del_address sw_if_index 1 30.0.0.4/24
sw_interface_add_del_address sw_if_index 4 20.0.0.3/24
sw_interface_add_del_address sw_if_index 3 20.0.0.4/24
ip_neighbor_add_del sw_if_index 2 dst 30.0.0.1 mac fa:16:3e:9e:94:e4
ip_neighbor_add_del sw_if_index 4 dst 20.0.0.1 mac fa:16:3e:86:b5:a5
ip_neighbor_add_del sw_if_index 1 dst 30.0.0.2 mac fa:16:3e:12:d2:d2
ip_neighbor_add_del sw_if_index 3 dst 20.0.0.2 mac fa:16:3e:fa:75:75
ip_add_del_route 10.0.0.1/24 via 20.0.0.1 vrf 9 sw_if_index 4 resolve-attempts 10 count 1
ip_add_del_route 10.0.0.2/24 via 20.0.0.2 vrf 99 sw_if_index 3 resolve-attempts 10 count 1
TC04: TG packets routed to DUT2 egress interface through DUT1, VPP configured with two VRFs
 DUT1: 
sw_interface_set_flags sw_if_index 2 admin-up
sw_interface_set_flags sw_if_index 1 admin-up
sw_interface_set_flags sw_if_index 4 admin-up
sw_interface_set_flags sw_if_index 3 admin-up
sw_interface_dump
ip_add_del_route 30.0.0.1/24 via 20.0.0.3 sw_if_index 4 multipath vrf 9 create-vrf
ip_add_del_route 30.0.0.2/24 via 20.0.0.2 sw_if_index 3 multipath vrf 99 create-vrf
sw_interface_set_table sw_if_index 4 vrf 9
sw_interface_set_table sw_if_index 3 vrf 99
sw_interface_set_table sw_if_index 2 vrf 9
sw_interface_set_table sw_if_index 1 vrf 99
sw_interface_add_del_address sw_if_index 2 10.0.0.3/24
sw_interface_add_del_address sw_if_index 1 10.0.0.4/24
sw_interface_add_del_address sw_if_index 4 20.0.0.1/24
sw_interface_add_del_address sw_if_index 3 20.0.0.2/24
ip_neighbor_add_del sw_if_index 2 dst 10.0.0.1 mac fa:16:3e:6b:a9:9f
ip_neighbor_add_del sw_if_index 4 dst 20.0.0.3 mac fa:16:3e:f6:ad:84
ip_neighbor_add_del sw_if_index 1 dst 10.0.0.2 mac fa:16:3e:6a:a9:9f
ip_neighbor_add_del sw_if_index 3 dst 20.0.0.4 mac fa:16:3e:3c:b4:31
ip_add_del_route 30.0.0.1/24 via 20.0.0.3 vrf 9 sw_if_index 4 resolve-attempts 10 count 1
ip_add_del_route 30.0.0.2/24 via 20.0.0.4 vrf 99 sw_if_index 3 resolve-attempts 10 count 1

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up
sw_interface_set_flags sw_if_index 1 admin-up
sw_interface_set_flags sw_if_index 4 admin-up
sw_interface_set_flags sw_if_index 3 admin-up
sw_interface_dump
ip_add_del_route 10.0.0.1/24 via 20.0.0.3 sw_if_index 4 multipath vrf 9 create-vrf
ip_add_del_route 10.0.0.2/24 via 20.0.0.4 sw_if_index 3 multipath vrf 99 create-vrf
sw_interface_set_table sw_if_index 4 vrf 9
sw_interface_set_table sw_if_index 3 vrf 99
sw_interface_set_table sw_if_index 2 vrf 9
sw_interface_set_table sw_if_index 1 vrf 99
sw_interface_add_del_address sw_if_index 2 30.0.0.3/24
sw_interface_add_del_address sw_if_index 1 30.0.0.4/24
sw_interface_add_del_address sw_if_index 4 20.0.0.3/24
sw_interface_add_del_address sw_if_index 3 20.0.0.4/24
ip_neighbor_add_del sw_if_index 2 dst 30.0.0.1 mac fa:16:3e:9e:94:e4
ip_neighbor_add_del sw_if_index 4 dst 20.0.0.1 mac fa:16:3e:86:b5:a5
ip_neighbor_add_del sw_if_index 1 dst 30.0.0.2 mac fa:16:3e:12:d2:d2
ip_neighbor_add_del sw_if_index 3 dst 20.0.0.2 mac fa:16:3e:fa:75:75
ip_add_del_route 10.0.0.1/24 via 20.0.0.1 vrf 9 sw_if_index 4 resolve-attempts 10 count 1
ip_add_del_route 10.0.0.2/24 via 20.0.0.2 vrf 99 sw_if_index 3 resolve-attempts 10 count 1
TC05: TG packets routed to TG through DUT1 and DUT2, VPP configured with two VRFs
 DUT1: 
sw_interface_set_flags sw_if_index 2 admin-up
sw_interface_set_flags sw_if_index 1 admin-up
sw_interface_set_flags sw_if_index 4 admin-up
sw_interface_set_flags sw_if_index 3 admin-up
sw_interface_dump
ip_add_del_route 30.0.0.1/24 via 20.0.0.3 sw_if_index 4 multipath vrf 9 create-vrf
ip_add_del_route 30.0.0.2/24 via 20.0.0.2 sw_if_index 3 multipath vrf 99 create-vrf
sw_interface_set_table sw_if_index 4 vrf 9
sw_interface_set_table sw_if_index 3 vrf 99
sw_interface_set_table sw_if_index 2 vrf 9
sw_interface_set_table sw_if_index 1 vrf 99
sw_interface_add_del_address sw_if_index 2 10.0.0.3/24
sw_interface_add_del_address sw_if_index 1 10.0.0.4/24
sw_interface_add_del_address sw_if_index 4 20.0.0.1/24
sw_interface_add_del_address sw_if_index 3 20.0.0.2/24
ip_neighbor_add_del sw_if_index 2 dst 10.0.0.1 mac fa:16:3e:6b:a9:9f
ip_neighbor_add_del sw_if_index 4 dst 20.0.0.3 mac fa:16:3e:f6:ad:84
ip_neighbor_add_del sw_if_index 1 dst 10.0.0.2 mac fa:16:3e:6a:a9:9f
ip_neighbor_add_del sw_if_index 3 dst 20.0.0.4 mac fa:16:3e:3c:b4:31
ip_add_del_route 30.0.0.1/24 via 20.0.0.3 vrf 9 sw_if_index 4 resolve-attempts 10 count 1
ip_add_del_route 30.0.0.2/24 via 20.0.0.4 vrf 99 sw_if_index 3 resolve-attempts 10 count 1

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up
sw_interface_set_flags sw_if_index 1 admin-up
sw_interface_set_flags sw_if_index 4 admin-up
sw_interface_set_flags sw_if_index 3 admin-up
sw_interface_dump
ip_add_del_route 10.0.0.1/24 via 20.0.0.3 sw_if_index 4 multipath vrf 9 create-vrf
ip_add_del_route 10.0.0.2/24 via 20.0.0.4 sw_if_index 3 multipath vrf 99 create-vrf
sw_interface_set_table sw_if_index 4 vrf 9
sw_interface_set_table sw_if_index 3 vrf 99
sw_interface_set_table sw_if_index 2 vrf 9
sw_interface_set_table sw_if_index 1 vrf 99
sw_interface_add_del_address sw_if_index 2 30.0.0.3/24
sw_interface_add_del_address sw_if_index 1 30.0.0.4/24
sw_interface_add_del_address sw_if_index 4 20.0.0.3/24
sw_interface_add_del_address sw_if_index 3 20.0.0.4/24
ip_neighbor_add_del sw_if_index 2 dst 30.0.0.1 mac fa:16:3e:9e:94:e4
ip_neighbor_add_del sw_if_index 4 dst 20.0.0.1 mac fa:16:3e:86:b5:a5
ip_neighbor_add_del sw_if_index 1 dst 30.0.0.2 mac fa:16:3e:12:d2:d2
ip_neighbor_add_del sw_if_index 3 dst 20.0.0.2 mac fa:16:3e:fa:75:75
ip_add_del_route 10.0.0.1/24 via 20.0.0.1 vrf 9 sw_if_index 4 resolve-attempts 10 count 1
ip_add_del_route 10.0.0.2/24 via 20.0.0.2 vrf 99 sw_if_index 3 resolve-attempts 10 count 1

8.2.17.2. eth2p-ethip6-ip6basevrf-func

Vpn routed forwarding - baseline IPv6

  • [Top] Network Topologies: TG=DUT1=DUT2=TG 3-node topology with two links in between nodes.
  • [Enc] Packet Encapsulations: Eth-IPv6-ICMPv6
  • [Cfg] DUT configuration: Each DUT is configured with two VRF tables; Separation of traffic is tested by IP packets; Neighbors and Routes are set on DUT nodes; IP addresses are set on DUT interfaces.
  • [Ver] TG verification: Test ICMPv6 Echo Request packets are sent by TG on link to DUT1, DUT2 or back to TG; On receipt TG verifies packets for correctness and their IPv6 src-addr, dst-addr, and MAC addresses.
  • [Ref] Applicable standard specifications:
Name VPP API Test (VAT) Commands History - Commands Used Per Test Case
TC01: TG packets routed to DUT ingress interface, VPP configured with two VRFs
 DUT1: 
sw_interface_set_flags sw_if_index 2 admin-up
sw_interface_set_flags sw_if_index 1 admin-up
sw_interface_set_flags sw_if_index 4 admin-up
sw_interface_set_flags sw_if_index 3 admin-up
sw_interface_dump
sw_interface_set_table sw_if_index 4 vrf 9 ipv6
sw_interface_set_table sw_if_index 3 vrf 99 ipv6
sw_interface_set_table sw_if_index 2 vrf 9 ipv6
sw_interface_set_table sw_if_index 1 vrf 99 ipv6
sw_interface_add_del_address sw_if_index 2 2001:62::3/64
sw_interface_add_del_address sw_if_index 1 2001:62::4/64
sw_interface_add_del_address sw_if_index 4 2002:62::1/64
sw_interface_add_del_address sw_if_index 3 2002:62::2/64
ip_neighbor_add_del sw_if_index 2 dst 2001:62::1 mac fa:16:3e:6b:a9:9f
ip_neighbor_add_del sw_if_index 4 dst 2002:62::3 mac fa:16:3e:f6:ad:84
ip_neighbor_add_del sw_if_index 1 dst 2001:62::2 mac fa:16:3e:6a:a9:9f
ip_neighbor_add_del sw_if_index 3 dst 2002:62::4 mac fa:16:3e:3c:b4:31
ip_add_del_route 2003:62::1/64 via 2002:62::3 vrf 9 sw_if_index 4 resolve-attempts 10 count 1
ip_add_del_route 2003:62::2/64 via 2002:62::4 vrf 99 sw_if_index 3 resolve-attempts 10 count 1
sw_interface_ip6nd_ra_config sw_if_index 4 surpress
sw_interface_ip6nd_ra_config sw_if_index 2 surpress
sw_interface_ip6nd_ra_config sw_if_index 3 surpress
sw_interface_ip6nd_ra_config sw_if_index 1 surpress

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up
sw_interface_set_flags sw_if_index 1 admin-up
sw_interface_set_flags sw_if_index 4 admin-up
sw_interface_set_flags sw_if_index 3 admin-up
sw_interface_dump
sw_interface_set_table sw_if_index 4 vrf 9 ipv6
sw_interface_set_table sw_if_index 3 vrf 99 ipv6
sw_interface_set_table sw_if_index 2 vrf 9 ipv6
sw_interface_set_table sw_if_index 1 vrf 99 ipv6
sw_interface_add_del_address sw_if_index 2 2003:62::3/64
sw_interface_add_del_address sw_if_index 1 2003:62::4/64
sw_interface_add_del_address sw_if_index 4 2002:62::3/64
sw_interface_add_del_address sw_if_index 3 2002:62::4/64
ip_neighbor_add_del sw_if_index 2 dst 2003:62::1 mac fa:16:3e:9e:94:e4
ip_neighbor_add_del sw_if_index 4 dst 2002:62::1 mac fa:16:3e:86:b5:a5
ip_neighbor_add_del sw_if_index 1 dst 2003:62::2 mac fa:16:3e:12:d2:d2
ip_neighbor_add_del sw_if_index 3 dst 2002:62::2 mac fa:16:3e:fa:75:75
ip_add_del_route 2001:62::1/64 via 2002:62::1 vrf 9 sw_if_index 4 resolve-attempts 10 count 1
ip_add_del_route 2001:62::2/64 via 2002:62::2 vrf 99 sw_if_index 3 resolve-attempts 10 count 1
sw_interface_ip6nd_ra_config sw_if_index 4 surpress
sw_interface_ip6nd_ra_config sw_if_index 2 surpress
sw_interface_ip6nd_ra_config sw_if_index 3 surpress
sw_interface_ip6nd_ra_config sw_if_index 1 surpress
TC02: TG packets routed to DUT egress interface, VPP configured with two VRFs
 DUT1: 
sw_interface_set_flags sw_if_index 2 admin-up
sw_interface_set_flags sw_if_index 1 admin-up
sw_interface_set_flags sw_if_index 4 admin-up
sw_interface_set_flags sw_if_index 3 admin-up
sw_interface_dump
sw_interface_set_table sw_if_index 4 vrf 9 ipv6
sw_interface_set_table sw_if_index 3 vrf 99 ipv6
sw_interface_set_table sw_if_index 2 vrf 9 ipv6
sw_interface_set_table sw_if_index 1 vrf 99 ipv6
sw_interface_add_del_address sw_if_index 2 2001:62::3/64
sw_interface_add_del_address sw_if_index 1 2001:62::4/64
sw_interface_add_del_address sw_if_index 4 2002:62::1/64
sw_interface_add_del_address sw_if_index 3 2002:62::2/64
ip_neighbor_add_del sw_if_index 2 dst 2001:62::1 mac fa:16:3e:6b:a9:9f
ip_neighbor_add_del sw_if_index 4 dst 2002:62::3 mac fa:16:3e:f6:ad:84
ip_neighbor_add_del sw_if_index 1 dst 2001:62::2 mac fa:16:3e:6a:a9:9f
ip_neighbor_add_del sw_if_index 3 dst 2002:62::4 mac fa:16:3e:3c:b4:31
ip_add_del_route 2003:62::1/64 via 2002:62::3 vrf 9 sw_if_index 4 resolve-attempts 10 count 1
ip_add_del_route 2003:62::2/64 via 2002:62::4 vrf 99 sw_if_index 3 resolve-attempts 10 count 1
sw_interface_ip6nd_ra_config sw_if_index 4 surpress
sw_interface_ip6nd_ra_config sw_if_index 2 surpress
sw_interface_ip6nd_ra_config sw_if_index 3 surpress
sw_interface_ip6nd_ra_config sw_if_index 1 surpress

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up
sw_interface_set_flags sw_if_index 1 admin-up
sw_interface_set_flags sw_if_index 4 admin-up
sw_interface_set_flags sw_if_index 3 admin-up
sw_interface_dump
sw_interface_set_table sw_if_index 4 vrf 9 ipv6
sw_interface_set_table sw_if_index 3 vrf 99 ipv6
sw_interface_set_table sw_if_index 2 vrf 9 ipv6
sw_interface_set_table sw_if_index 1 vrf 99 ipv6
sw_interface_add_del_address sw_if_index 2 2003:62::3/64
sw_interface_add_del_address sw_if_index 1 2003:62::4/64
sw_interface_add_del_address sw_if_index 4 2002:62::3/64
sw_interface_add_del_address sw_if_index 3 2002:62::4/64
ip_neighbor_add_del sw_if_index 2 dst 2003:62::1 mac fa:16:3e:9e:94:e4
ip_neighbor_add_del sw_if_index 4 dst 2002:62::1 mac fa:16:3e:86:b5:a5
ip_neighbor_add_del sw_if_index 1 dst 2003:62::2 mac fa:16:3e:12:d2:d2
ip_neighbor_add_del sw_if_index 3 dst 2002:62::2 mac fa:16:3e:fa:75:75
ip_add_del_route 2001:62::1/64 via 2002:62::1 vrf 9 sw_if_index 4 resolve-attempts 10 count 1
ip_add_del_route 2001:62::2/64 via 2002:62::2 vrf 99 sw_if_index 3 resolve-attempts 10 count 1
sw_interface_ip6nd_ra_config sw_if_index 4 surpress
sw_interface_ip6nd_ra_config sw_if_index 2 surpress
sw_interface_ip6nd_ra_config sw_if_index 3 surpress
sw_interface_ip6nd_ra_config sw_if_index 1 surpress
TC03: TG packets routed to DUT2 ingress interface through DUT1, VPP configured with two VRFs
 DUT1: 
sw_interface_set_flags sw_if_index 2 admin-up
sw_interface_set_flags sw_if_index 1 admin-up
sw_interface_set_flags sw_if_index 4 admin-up
sw_interface_set_flags sw_if_index 3 admin-up
sw_interface_dump
sw_interface_set_table sw_if_index 4 vrf 9 ipv6
sw_interface_set_table sw_if_index 3 vrf 99 ipv6
sw_interface_set_table sw_if_index 2 vrf 9 ipv6
sw_interface_set_table sw_if_index 1 vrf 99 ipv6
sw_interface_add_del_address sw_if_index 2 2001:62::3/64
sw_interface_add_del_address sw_if_index 1 2001:62::4/64
sw_interface_add_del_address sw_if_index 4 2002:62::1/64
sw_interface_add_del_address sw_if_index 3 2002:62::2/64
ip_neighbor_add_del sw_if_index 2 dst 2001:62::1 mac fa:16:3e:6b:a9:9f
ip_neighbor_add_del sw_if_index 4 dst 2002:62::3 mac fa:16:3e:f6:ad:84
ip_neighbor_add_del sw_if_index 1 dst 2001:62::2 mac fa:16:3e:6a:a9:9f
ip_neighbor_add_del sw_if_index 3 dst 2002:62::4 mac fa:16:3e:3c:b4:31
ip_add_del_route 2003:62::1/64 via 2002:62::3 vrf 9 sw_if_index 4 resolve-attempts 10 count 1
ip_add_del_route 2003:62::2/64 via 2002:62::4 vrf 99 sw_if_index 3 resolve-attempts 10 count 1
sw_interface_ip6nd_ra_config sw_if_index 4 surpress
sw_interface_ip6nd_ra_config sw_if_index 2 surpress
sw_interface_ip6nd_ra_config sw_if_index 3 surpress
sw_interface_ip6nd_ra_config sw_if_index 1 surpress

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up
sw_interface_set_flags sw_if_index 1 admin-up
sw_interface_set_flags sw_if_index 4 admin-up
sw_interface_set_flags sw_if_index 3 admin-up
sw_interface_dump
sw_interface_set_table sw_if_index 4 vrf 9 ipv6
sw_interface_set_table sw_if_index 3 vrf 99 ipv6
sw_interface_set_table sw_if_index 2 vrf 9 ipv6
sw_interface_set_table sw_if_index 1 vrf 99 ipv6
sw_interface_add_del_address sw_if_index 2 2003:62::3/64
sw_interface_add_del_address sw_if_index 1 2003:62::4/64
sw_interface_add_del_address sw_if_index 4 2002:62::3/64
sw_interface_add_del_address sw_if_index 3 2002:62::4/64
ip_neighbor_add_del sw_if_index 2 dst 2003:62::1 mac fa:16:3e:9e:94:e4
ip_neighbor_add_del sw_if_index 4 dst 2002:62::1 mac fa:16:3e:86:b5:a5
ip_neighbor_add_del sw_if_index 1 dst 2003:62::2 mac fa:16:3e:12:d2:d2
ip_neighbor_add_del sw_if_index 3 dst 2002:62::2 mac fa:16:3e:fa:75:75
ip_add_del_route 2001:62::1/64 via 2002:62::1 vrf 9 sw_if_index 4 resolve-attempts 10 count 1
ip_add_del_route 2001:62::2/64 via 2002:62::2 vrf 99 sw_if_index 3 resolve-attempts 10 count 1
sw_interface_ip6nd_ra_config sw_if_index 4 surpress
sw_interface_ip6nd_ra_config sw_if_index 2 surpress
sw_interface_ip6nd_ra_config sw_if_index 3 surpress
sw_interface_ip6nd_ra_config sw_if_index 1 surpress
TC04: TG packets routed to DUT2 egress interface through DUT1, VPP configured with two VRFs
 DUT1: 
sw_interface_set_flags sw_if_index 2 admin-up
sw_interface_set_flags sw_if_index 1 admin-up
sw_interface_set_flags sw_if_index 4 admin-up
sw_interface_set_flags sw_if_index 3 admin-up
sw_interface_dump
sw_interface_set_table sw_if_index 4 vrf 9 ipv6
sw_interface_set_table sw_if_index 3 vrf 99 ipv6
sw_interface_set_table sw_if_index 2 vrf 9 ipv6
sw_interface_set_table sw_if_index 1 vrf 99 ipv6
sw_interface_add_del_address sw_if_index 2 2001:62::3/64
sw_interface_add_del_address sw_if_index 1 2001:62::4/64
sw_interface_add_del_address sw_if_index 4 2002:62::1/64
sw_interface_add_del_address sw_if_index 3 2002:62::2/64
ip_neighbor_add_del sw_if_index 2 dst 2001:62::1 mac fa:16:3e:6b:a9:9f
ip_neighbor_add_del sw_if_index 4 dst 2002:62::3 mac fa:16:3e:f6:ad:84
ip_neighbor_add_del sw_if_index 1 dst 2001:62::2 mac fa:16:3e:6a:a9:9f
ip_neighbor_add_del sw_if_index 3 dst 2002:62::4 mac fa:16:3e:3c:b4:31
ip_add_del_route 2003:62::1/64 via 2002:62::3 vrf 9 sw_if_index 4 resolve-attempts 10 count 1
ip_add_del_route 2003:62::2/64 via 2002:62::4 vrf 99 sw_if_index 3 resolve-attempts 10 count 1
sw_interface_ip6nd_ra_config sw_if_index 4 surpress
sw_interface_ip6nd_ra_config sw_if_index 2 surpress
sw_interface_ip6nd_ra_config sw_if_index 3 surpress
sw_interface_ip6nd_ra_config sw_if_index 1 surpress

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up
sw_interface_set_flags sw_if_index 1 admin-up
sw_interface_set_flags sw_if_index 4 admin-up
sw_interface_set_flags sw_if_index 3 admin-up
sw_interface_dump
sw_interface_set_table sw_if_index 4 vrf 9 ipv6
sw_interface_set_table sw_if_index 3 vrf 99 ipv6
sw_interface_set_table sw_if_index 2 vrf 9 ipv6
sw_interface_set_table sw_if_index 1 vrf 99 ipv6
sw_interface_add_del_address sw_if_index 2 2003:62::3/64
sw_interface_add_del_address sw_if_index 1 2003:62::4/64
sw_interface_add_del_address sw_if_index 4 2002:62::3/64
sw_interface_add_del_address sw_if_index 3 2002:62::4/64
ip_neighbor_add_del sw_if_index 2 dst 2003:62::1 mac fa:16:3e:9e:94:e4
ip_neighbor_add_del sw_if_index 4 dst 2002:62::1 mac fa:16:3e:86:b5:a5
ip_neighbor_add_del sw_if_index 1 dst 2003:62::2 mac fa:16:3e:12:d2:d2
ip_neighbor_add_del sw_if_index 3 dst 2002:62::2 mac fa:16:3e:fa:75:75
ip_add_del_route 2001:62::1/64 via 2002:62::1 vrf 9 sw_if_index 4 resolve-attempts 10 count 1
ip_add_del_route 2001:62::2/64 via 2002:62::2 vrf 99 sw_if_index 3 resolve-attempts 10 count 1
sw_interface_ip6nd_ra_config sw_if_index 4 surpress
sw_interface_ip6nd_ra_config sw_if_index 2 surpress
sw_interface_ip6nd_ra_config sw_if_index 3 surpress
sw_interface_ip6nd_ra_config sw_if_index 1 surpress
TC05: TG packets routed to TG through DUT1 and DUT2, VPP configured with two VRFs
 DUT1: 
sw_interface_set_flags sw_if_index 2 admin-up
sw_interface_set_flags sw_if_index 1 admin-up
sw_interface_set_flags sw_if_index 4 admin-up
sw_interface_set_flags sw_if_index 3 admin-up
sw_interface_dump
sw_interface_set_table sw_if_index 4 vrf 9 ipv6
sw_interface_set_table sw_if_index 3 vrf 99 ipv6
sw_interface_set_table sw_if_index 2 vrf 9 ipv6
sw_interface_set_table sw_if_index 1 vrf 99 ipv6
sw_interface_add_del_address sw_if_index 2 2001:62::3/64
sw_interface_add_del_address sw_if_index 1 2001:62::4/64
sw_interface_add_del_address sw_if_index 4 2002:62::1/64
sw_interface_add_del_address sw_if_index 3 2002:62::2/64
ip_neighbor_add_del sw_if_index 2 dst 2001:62::1 mac fa:16:3e:6b:a9:9f
ip_neighbor_add_del sw_if_index 4 dst 2002:62::3 mac fa:16:3e:f6:ad:84
ip_neighbor_add_del sw_if_index 1 dst 2001:62::2 mac fa:16:3e:6a:a9:9f
ip_neighbor_add_del sw_if_index 3 dst 2002:62::4 mac fa:16:3e:3c:b4:31
ip_add_del_route 2003:62::1/64 via 2002:62::3 vrf 9 sw_if_index 4 resolve-attempts 10 count 1
ip_add_del_route 2003:62::2/64 via 2002:62::4 vrf 99 sw_if_index 3 resolve-attempts 10 count 1
sw_interface_ip6nd_ra_config sw_if_index 4 surpress
sw_interface_ip6nd_ra_config sw_if_index 2 surpress
sw_interface_ip6nd_ra_config sw_if_index 3 surpress
sw_interface_ip6nd_ra_config sw_if_index 1 surpress

DUT2:
sw_interface_set_flags sw_if_index 2 admin-up
sw_interface_set_flags sw_if_index 1 admin-up
sw_interface_set_flags sw_if_index 4 admin-up
sw_interface_set_flags sw_if_index 3 admin-up
sw_interface_dump
sw_interface_set_table sw_if_index 4 vrf 9 ipv6
sw_interface_set_table sw_if_index 3 vrf 99 ipv6
sw_interface_set_table sw_if_index 2 vrf 9 ipv6
sw_interface_set_table sw_if_index 1 vrf 99 ipv6
sw_interface_add_del_address sw_if_index 2 2003:62::3/64
sw_interface_add_del_address sw_if_index 1 2003:62::4/64
sw_interface_add_del_address sw_if_index 4 2002:62::3/64
sw_interface_add_del_address sw_if_index 3 2002:62::4/64
ip_neighbor_add_del sw_if_index 2 dst 2003:62::1 mac fa:16:3e:9e:94:e4
ip_neighbor_add_del sw_if_index 4 dst 2002:62::1 mac fa:16:3e:86:b5:a5
ip_neighbor_add_del sw_if_index 1 dst 2003:62::2 mac fa:16:3e:12:d2:d2
ip_neighbor_add_del sw_if_index 3 dst 2002:62::2 mac fa:16:3e:fa:75:75
ip_add_del_route 2001:62::1/64 via 2002:62::1 vrf 9 sw_if_index 4 resolve-attempts 10 count 1
ip_add_del_route 2001:62::2/64 via 2002:62::2 vrf 99 sw_if_index 3 resolve-attempts 10 count 1
sw_interface_ip6nd_ra_config sw_if_index 4 surpress
sw_interface_ip6nd_ra_config sw_if_index 2 surpress
sw_interface_ip6nd_ra_config sw_if_index 3 surpress
sw_interface_ip6nd_ra_config sw_if_index 1 surpress