3n-skx-xxv710

25ge2p1xxv710-avf-ethip4ipsec10000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-avf-ethip4ipsec10000tnlsw- 
ip4base-int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-2t1c-avf-ethip4ipsec10000tnlsw- 
ip4base-int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t1c-avf-ethip4ipsec10000tnlsw- 
ip4base-int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-avf-ethip4ipsec10000tnlsw-ip4base-int-aes128gcm-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-avf-ethip4ipsec10000tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-4t2c-avf-ethip4ipsec10000tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-8t4c-avf-ethip4ipsec10000tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-2t1c-avf-ethip4ipsec10000tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-4t2c-avf-ethip4ipsec10000tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t1c-avf-ethip4ipsec10000tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-4t2c-avf-ethip4ipsec10000tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-8t4c-avf-ethip4ipsec10000tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-avf-ethip4ipsec10000tnlsw-ip4base-int-aes256gcm-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-avf-ethip4ipsec10000tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-4t2c-avf-ethip4ipsec10000tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-8t4c-avf-ethip4ipsec10000tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-2t1c-avf-ethip4ipsec10000tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-4t2c-avf-ethip4ipsec10000tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t1c-avf-ethip4ipsec10000tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-4t2c-avf-ethip4ipsec10000tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-8t4c-avf-ethip4ipsec10000tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-avf-ethip4ipsec1000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-avf-ethip4ipsec1000tnlsw- 
ip4base-int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-2t1c-avf-ethip4ipsec1000tnlsw- 
ip4base-int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t1c-avf-ethip4ipsec1000tnlsw- 
ip4base-int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-avf-ethip4ipsec1000tnlsw-ip4base-int-aes128gcm-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-avf-ethip4ipsec1000tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-4t2c-avf-ethip4ipsec1000tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-8t4c-avf-ethip4ipsec1000tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-2t1c-avf-ethip4ipsec1000tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-4t2c-avf-ethip4ipsec1000tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t1c-avf-ethip4ipsec1000tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-4t2c-avf-ethip4ipsec1000tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-8t4c-avf-ethip4ipsec1000tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-avf-ethip4ipsec1000tnlsw-ip4base-int-aes256gcm-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-avf-ethip4ipsec1000tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-4t2c-avf-ethip4ipsec1000tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-8t4c-avf-ethip4ipsec1000tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-2t1c-avf-ethip4ipsec1000tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-4t2c-avf-ethip4ipsec1000tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t1c-avf-ethip4ipsec1000tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-4t2c-avf-ethip4ipsec1000tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-8t4c-avf-ethip4ipsec1000tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-avf-ethip4ipsec1000tnlsw-ip4base-policy-aes256gcm-ndrpdr

IPv4 IPsec tunnel mode performance test suite.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

25ge2p1xxv710-avf-ethip4ipsec1tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-avf-ethip4ipsec1tnlsw- 
ip4base-int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f8:fd:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’BlxkXayorOWHikmh’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’rvgrFSDBZCAaqAVALTjfOiidtUDMftzzHllxKYmmLPZqLWqVKelVRiYmoKcEEUvM’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’BlxkXayorOWHikmh’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’rvgrFSDBZCAaqAVALTjfOiidtUDMftzzHllxKYmmLPZqLWqVKelVRiYmoKcEEUvM’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’BlxkXayorOWHikmh’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’rvgrFSDBZCAaqAVALTjfOiidtUDMftzzHllxKYmmLPZqLWqVKelVRiYmoKcEEUvM’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’BlxkXayorOWHikmh’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’rvgrFSDBZCAaqAVALTjfOiidtUDMftzzHllxKYmmLPZqLWqVKelVRiYmoKcEEUvM’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-2t1c-avf-ethip4ipsec1tnlsw- 
ip4base-int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f8:fd:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’KoRMkZSweUvQOCWU’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’EpKcicYBMNLlDUOaCgBlHvpqljvPywPOwLbdOxURktUlvCaxtIphSnoZhoSxYTuZ’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’KoRMkZSweUvQOCWU’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’EpKcicYBMNLlDUOaCgBlHvpqljvPywPOwLbdOxURktUlvCaxtIphSnoZhoSxYTuZ’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’KoRMkZSweUvQOCWU’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’EpKcicYBMNLlDUOaCgBlHvpqljvPywPOwLbdOxURktUlvCaxtIphSnoZhoSxYTuZ’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’KoRMkZSweUvQOCWU’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’EpKcicYBMNLlDUOaCgBlHvpqljvPywPOwLbdOxURktUlvCaxtIphSnoZhoSxYTuZ’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t1c-avf-ethip4ipsec1tnlsw- 
ip4base-int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f8:fd:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’EUJhvjanGNrNMgLR’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’lIrzIEbNNBmZfsfMNyMUzGqBvEkZIyGAATjWGhysbtlJfVLlxDwTHEUYWXmxMraA’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’EUJhvjanGNrNMgLR’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’lIrzIEbNNBmZfsfMNyMUzGqBvEkZIyGAATjWGhysbtlJfVLlxDwTHEUYWXmxMraA’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’EUJhvjanGNrNMgLR’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’lIrzIEbNNBmZfsfMNyMUzGqBvEkZIyGAATjWGhysbtlJfVLlxDwTHEUYWXmxMraA’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’EUJhvjanGNrNMgLR’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’lIrzIEbNNBmZfsfMNyMUzGqBvEkZIyGAATjWGhysbtlJfVLlxDwTHEUYWXmxMraA’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-avf-ethip4ipsec1tnlsw-ip4base-int-aes128gcm-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-avf-ethip4ipsec1tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f8:fd:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’gjHovmTrFMOExNTU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’gjHovmTrFMOExNTU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’gjHovmTrFMOExNTU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’gjHovmTrFMOExNTU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-4t2c-avf-ethip4ipsec1tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f8:fd:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’jWZveVWxlMBRQZiE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’jWZveVWxlMBRQZiE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’jWZveVWxlMBRQZiE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’jWZveVWxlMBRQZiE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-8t4c-avf-ethip4ipsec1tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f8:fd:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’iESerGAoKxcXoknV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’iESerGAoKxcXoknV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’iESerGAoKxcXoknV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’iESerGAoKxcXoknV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-2t1c-avf-ethip4ipsec1tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f8:fd:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’JYJrRDPGdoMiRYro’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’JYJrRDPGdoMiRYro’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’JYJrRDPGdoMiRYro’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’JYJrRDPGdoMiRYro’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-4t2c-avf-ethip4ipsec1tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f8:fd:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’mQQuCvnhVLIvioQu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’mQQuCvnhVLIvioQu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’mQQuCvnhVLIvioQu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’mQQuCvnhVLIvioQu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t1c-avf-ethip4ipsec1tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f8:fd:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’NsBbroWapZfaKCpj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’NsBbroWapZfaKCpj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’NsBbroWapZfaKCpj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’NsBbroWapZfaKCpj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-4t2c-avf-ethip4ipsec1tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f8:fd:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’WnzOlIwWDrhVuCvO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’WnzOlIwWDrhVuCvO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’WnzOlIwWDrhVuCvO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’WnzOlIwWDrhVuCvO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-8t4c-avf-ethip4ipsec1tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f8:fd:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’KpztWlufLWQxhcWS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’KpztWlufLWQxhcWS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’KpztWlufLWQxhcWS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’KpztWlufLWQxhcWS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-avf-ethip4ipsec1tnlsw-ip4base-int-aes256gcm-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-avf-ethip4ipsec1tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f8:fd:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’mQPEuDvdVYwFYhlBFJqgKkoivmQmRRWv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’mQPEuDvdVYwFYhlBFJqgKkoivmQmRRWv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’mQPEuDvdVYwFYhlBFJqgKkoivmQmRRWv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’mQPEuDvdVYwFYhlBFJqgKkoivmQmRRWv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-4t2c-avf-ethip4ipsec1tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f8:fd:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’qOkKAKLWHVTbVAIUBLQOrpCUAfFskTic’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’qOkKAKLWHVTbVAIUBLQOrpCUAfFskTic’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’qOkKAKLWHVTbVAIUBLQOrpCUAfFskTic’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’qOkKAKLWHVTbVAIUBLQOrpCUAfFskTic’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-8t4c-avf-ethip4ipsec1tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f8:fd:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’mQOqZfXOrAkIcXIedYgSQHKooMayLfKy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’mQOqZfXOrAkIcXIedYgSQHKooMayLfKy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’mQOqZfXOrAkIcXIedYgSQHKooMayLfKy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’mQOqZfXOrAkIcXIedYgSQHKooMayLfKy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-2t1c-avf-ethip4ipsec1tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f8:fd:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’LLWWJMLsMSNQGMjilrqluNECAphTabUx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’LLWWJMLsMSNQGMjilrqluNECAphTabUx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’LLWWJMLsMSNQGMjilrqluNECAphTabUx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’LLWWJMLsMSNQGMjilrqluNECAphTabUx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-4t2c-avf-ethip4ipsec1tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f8:fd:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’AzeMfBEljLYgbjWkugEQEUbCjRCwYIae’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’AzeMfBEljLYgbjWkugEQEUbCjRCwYIae’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’AzeMfBEljLYgbjWkugEQEUbCjRCwYIae’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’AzeMfBEljLYgbjWkugEQEUbCjRCwYIae’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t1c-avf-ethip4ipsec1tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f8:fd:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’PffVybrYNLvwQsYDSqwyRRTQDhNbrLUX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’PffVybrYNLvwQsYDSqwyRRTQDhNbrLUX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’PffVybrYNLvwQsYDSqwyRRTQDhNbrLUX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’PffVybrYNLvwQsYDSqwyRRTQDhNbrLUX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-4t2c-avf-ethip4ipsec1tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f8:fd:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’ccNpyGfBZsCGqHHhOIJlrpCuNOOkTtcm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’ccNpyGfBZsCGqHHhOIJlrpCuNOOkTtcm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’ccNpyGfBZsCGqHHhOIJlrpCuNOOkTtcm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’ccNpyGfBZsCGqHHhOIJlrpCuNOOkTtcm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-8t4c-avf-ethip4ipsec1tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f8:fd:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’SFzhdbznmloFubYKerIqFZnlgfENWbRJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’SFzhdbznmloFubYKerIqFZnlgfENWbRJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’SFzhdbznmloFubYKerIqFZnlgfENWbRJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’SFzhdbznmloFubYKerIqFZnlgfENWbRJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-avf-ethip4ipsec1tnlsw-ip4base-policy-aes256gcm-ndrpdr

IPv4 IPsec tunnel mode performance test suite.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-avf-ethip4ipsec1tnlsw- 
ip4base-policy-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’dx00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f8:fd:00’, ‘ip_address’: IPv4Address(‘100.0.0.2’)})
ipsec_spd_add_del(is_add=True,spd_id=1)
ipsec_interface_add_del_spd(is_add=True,sw_if_index=2,spd_id=1)
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 100, ‘is_outbound’: True, ‘sa_id’: 0, ‘policy’: 0, ‘protocol’: 50, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 100, ‘is_outbound’: False, ‘sa_id’: 0, ‘policy’: 0, ‘protocol’: 50, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 300000, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’ksNqvgdAUuhOfxkclUjffUrJrTeVQXjG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘100.0.0.1’, ‘dst’: ‘100.0.0.2’, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘protocol’: 50, ‘udp_src_port’: 4500, ‘udp_dst_port’: 4500})
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 10, ‘is_outbound’: True, ‘sa_id’: 100000, ‘policy’: 3, ‘protocol’: 0, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xffxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 200000, ‘spi’: 400000, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’ksNqvgdAUuhOfxkclUjffUrJrTeVQXjG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘100.0.0.2’, ‘dst’: ‘100.0.0.1’, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘protocol’: 50, ‘udp_src_port’: 4500, ‘udp_dst_port’: 4500})
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 10, ‘is_outbound’: False, ‘sa_id’: 200000, ‘policy’: 3, ‘protocol’: 0, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xffxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x02’}}})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’dx00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ipsec_spd_add_del(is_add=True,spd_id=1)
ipsec_interface_add_del_spd(is_add=True,sw_if_index=1,spd_id=1)
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 100, ‘is_outbound’: True, ‘sa_id’: 0, ‘policy’: 0, ‘protocol’: 50, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 100, ‘is_outbound’: False, ‘sa_id’: 0, ‘policy’: 0, ‘protocol’: 50, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 300000, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’ksNqvgdAUuhOfxkclUjffUrJrTeVQXjG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘100.0.0.1’, ‘dst’: ‘100.0.0.2’, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘protocol’: 50, ‘udp_src_port’: 4500, ‘udp_dst_port’: 4500})
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 10, ‘is_outbound’: False, ‘sa_id’: 100000, ‘policy’: 3, ‘protocol’: 0, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xffxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 200000, ‘spi’: 400000, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’ksNqvgdAUuhOfxkclUjffUrJrTeVQXjG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘100.0.0.2’, ‘dst’: ‘100.0.0.1’, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘protocol’: 50, ‘udp_src_port’: 4500, ‘udp_dst_port’: 4500})
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 10, ‘is_outbound’: True, ‘sa_id’: 200000, ‘policy’: 3, ‘protocol’: 0, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xffxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})

 1518b-2t1c-avf-ethip4ipsec1tnlsw- 
ip4base-policy-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’dx00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f8:fd:00’, ‘ip_address’: IPv4Address(‘100.0.0.2’)})
ipsec_spd_add_del(is_add=True,spd_id=1)
ipsec_interface_add_del_spd(is_add=True,sw_if_index=2,spd_id=1)
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 100, ‘is_outbound’: True, ‘sa_id’: 0, ‘policy’: 0, ‘protocol’: 50, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 100, ‘is_outbound’: False, ‘sa_id’: 0, ‘policy’: 0, ‘protocol’: 50, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 300000, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’dIbxdVJcBVrdukWsYtzaYpzIqbhhLuWF’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘100.0.0.1’, ‘dst’: ‘100.0.0.2’, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘protocol’: 50, ‘udp_src_port’: 4500, ‘udp_dst_port’: 4500})
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 10, ‘is_outbound’: True, ‘sa_id’: 100000, ‘policy’: 3, ‘protocol’: 0, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xffxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 200000, ‘spi’: 400000, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’dIbxdVJcBVrdukWsYtzaYpzIqbhhLuWF’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘100.0.0.2’, ‘dst’: ‘100.0.0.1’, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘protocol’: 50, ‘udp_src_port’: 4500, ‘udp_dst_port’: 4500})
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 10, ‘is_outbound’: False, ‘sa_id’: 200000, ‘policy’: 3, ‘protocol’: 0, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xffxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x02’}}})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’dx00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ipsec_spd_add_del(is_add=True,spd_id=1)
ipsec_interface_add_del_spd(is_add=True,sw_if_index=1,spd_id=1)
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 100, ‘is_outbound’: True, ‘sa_id’: 0, ‘policy’: 0, ‘protocol’: 50, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 100, ‘is_outbound’: False, ‘sa_id’: 0, ‘policy’: 0, ‘protocol’: 50, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 300000, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’dIbxdVJcBVrdukWsYtzaYpzIqbhhLuWF’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘100.0.0.1’, ‘dst’: ‘100.0.0.2’, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘protocol’: 50, ‘udp_src_port’: 4500, ‘udp_dst_port’: 4500})
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 10, ‘is_outbound’: False, ‘sa_id’: 100000, ‘policy’: 3, ‘protocol’: 0, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xffxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 200000, ‘spi’: 400000, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’dIbxdVJcBVrdukWsYtzaYpzIqbhhLuWF’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘100.0.0.2’, ‘dst’: ‘100.0.0.1’, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘protocol’: 50, ‘udp_src_port’: 4500, ‘udp_dst_port’: 4500})
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 10, ‘is_outbound’: True, ‘sa_id’: 200000, ‘policy’: 3, ‘protocol’: 0, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xffxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})

 imix-2t1c-avf-ethip4ipsec1tnlsw- 
ip4base-policy-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’dx00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f8:fd:00’, ‘ip_address’: IPv4Address(‘100.0.0.2’)})
ipsec_spd_add_del(is_add=True,spd_id=1)
ipsec_interface_add_del_spd(is_add=True,sw_if_index=2,spd_id=1)
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 100, ‘is_outbound’: True, ‘sa_id’: 0, ‘policy’: 0, ‘protocol’: 50, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 100, ‘is_outbound’: False, ‘sa_id’: 0, ‘policy’: 0, ‘protocol’: 50, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 300000, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’AEyBmFjLRMIHrnazFFxLRmEoKHyrQZJo’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘100.0.0.1’, ‘dst’: ‘100.0.0.2’, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘protocol’: 50, ‘udp_src_port’: 4500, ‘udp_dst_port’: 4500})
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 10, ‘is_outbound’: True, ‘sa_id’: 100000, ‘policy’: 3, ‘protocol’: 0, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xffxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 200000, ‘spi’: 400000, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’AEyBmFjLRMIHrnazFFxLRmEoKHyrQZJo’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘100.0.0.2’, ‘dst’: ‘100.0.0.1’, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘protocol’: 50, ‘udp_src_port’: 4500, ‘udp_dst_port’: 4500})
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 10, ‘is_outbound’: False, ‘sa_id’: 200000, ‘policy’: 3, ‘protocol’: 0, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xffxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x02’}}})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’dx00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ipsec_spd_add_del(is_add=True,spd_id=1)
ipsec_interface_add_del_spd(is_add=True,sw_if_index=1,spd_id=1)
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 100, ‘is_outbound’: True, ‘sa_id’: 0, ‘policy’: 0, ‘protocol’: 50, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 100, ‘is_outbound’: False, ‘sa_id’: 0, ‘policy’: 0, ‘protocol’: 50, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 300000, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’AEyBmFjLRMIHrnazFFxLRmEoKHyrQZJo’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘100.0.0.1’, ‘dst’: ‘100.0.0.2’, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘protocol’: 50, ‘udp_src_port’: 4500, ‘udp_dst_port’: 4500})
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 10, ‘is_outbound’: False, ‘sa_id’: 100000, ‘policy’: 3, ‘protocol’: 0, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xffxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 200000, ‘spi’: 400000, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’AEyBmFjLRMIHrnazFFxLRmEoKHyrQZJo’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘100.0.0.2’, ‘dst’: ‘100.0.0.1’, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘protocol’: 50, ‘udp_src_port’: 4500, ‘udp_dst_port’: 4500})
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 10, ‘is_outbound’: True, ‘sa_id’: 200000, ‘policy’: 3, ‘protocol’: 0, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xffxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})

25ge2p1xxv710-avf-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t2c-avf-ethip4ipsec1tnlswasync-scheduler- 
ip4base-int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’mqPKrgSiIBKmASNc’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’oSbLSxQLDvbPbuzDcsfqOahcnGBndZLHCeqlXuanXhOPRhTcaxtclcxkzMcrLrYj’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’mqPKrgSiIBKmASNc’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’oSbLSxQLDvbPbuzDcsfqOahcnGBndZLHCeqlXuanXhOPRhTcaxtclcxkzMcrLrYj’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’mqPKrgSiIBKmASNc’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’oSbLSxQLDvbPbuzDcsfqOahcnGBndZLHCeqlXuanXhOPRhTcaxtclcxkzMcrLrYj’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’mqPKrgSiIBKmASNc’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’oSbLSxQLDvbPbuzDcsfqOahcnGBndZLHCeqlXuanXhOPRhTcaxtclcxkzMcrLrYj’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-2t4c-avf-ethip4ipsec1tnlswasync-scheduler- 
ip4base-int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’GnFzebTYhtWUPfCD’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’hdvfVfkqbqGNgytlOEBHpypLECkafxRzXEhzfWheuaTjMoHYzFiVDCXmGWsSxsCU’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’GnFzebTYhtWUPfCD’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’hdvfVfkqbqGNgytlOEBHpypLECkafxRzXEhzfWheuaTjMoHYzFiVDCXmGWsSxsCU’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’GnFzebTYhtWUPfCD’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’hdvfVfkqbqGNgytlOEBHpypLECkafxRzXEhzfWheuaTjMoHYzFiVDCXmGWsSxsCU’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’GnFzebTYhtWUPfCD’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’hdvfVfkqbqGNgytlOEBHpypLECkafxRzXEhzfWheuaTjMoHYzFiVDCXmGWsSxsCU’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t4c-avf-ethip4ipsec1tnlswasync-scheduler- 
ip4base-int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’XngNhfojtjXDJZJm’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’hALDLybPfcAtaxEcbEhRlqVEsHZGEiSpYSmDrMUmXiaGDlsfaBiKsHxGLFreSsey’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’XngNhfojtjXDJZJm’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’hALDLybPfcAtaxEcbEhRlqVEsHZGEiSpYSmDrMUmXiaGDlsfaBiKsHxGLFreSsey’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’XngNhfojtjXDJZJm’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’hALDLybPfcAtaxEcbEhRlqVEsHZGEiSpYSmDrMUmXiaGDlsfaBiKsHxGLFreSsey’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’XngNhfojtjXDJZJm’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’hALDLybPfcAtaxEcbEhRlqVEsHZGEiSpYSmDrMUmXiaGDlsfaBiKsHxGLFreSsey’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-avf-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t2c-avf-ethip4ipsec1tnlswasync- 
scheduler-ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’pxHgKdsbkGypHkIR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’pxHgKdsbkGypHkIR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’pxHgKdsbkGypHkIR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’pxHgKdsbkGypHkIR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-2t4c-avf-ethip4ipsec1tnlswasync- 
scheduler-ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’VEclGydEZDvKYzQI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’VEclGydEZDvKYzQI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’VEclGydEZDvKYzQI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’VEclGydEZDvKYzQI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t2c-avf-ethip4ipsec1tnlswasync- 
scheduler-ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’PkNVOqeuGkEjBKaa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’PkNVOqeuGkEjBKaa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’PkNVOqeuGkEjBKaa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’PkNVOqeuGkEjBKaa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t4c-avf-ethip4ipsec1tnlswasync- 
scheduler-ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’pDcdtTfLIEEkABOz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’pDcdtTfLIEEkABOz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’pDcdtTfLIEEkABOz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’pDcdtTfLIEEkABOz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-avf-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t2c-avf-ethip4ipsec1tnlswasync- 
scheduler-ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’tMgkBlKLOXsYgzDlChdPPPmrFjSBoPKj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’tMgkBlKLOXsYgzDlChdPPPmrFjSBoPKj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’tMgkBlKLOXsYgzDlChdPPPmrFjSBoPKj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’tMgkBlKLOXsYgzDlChdPPPmrFjSBoPKj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-2t4c-avf-ethip4ipsec1tnlswasync- 
scheduler-ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’LGrVkqqqzWtHfFvKravplUhIxyRoLNwx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’LGrVkqqqzWtHfFvKravplUhIxyRoLNwx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’LGrVkqqqzWtHfFvKravplUhIxyRoLNwx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’LGrVkqqqzWtHfFvKravplUhIxyRoLNwx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t2c-avf-ethip4ipsec1tnlswasync- 
scheduler-ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’jGuGybixUaVEMAHxzDyTlqJoYLdbNbeB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’jGuGybixUaVEMAHxzDyTlqJoYLdbNbeB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’jGuGybixUaVEMAHxzDyTlqJoYLdbNbeB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’jGuGybixUaVEMAHxzDyTlqJoYLdbNbeB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t4c-avf-ethip4ipsec1tnlswasync- 
scheduler-ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’noOinmaXMwrFSxcUAOSisixVRaKnHGhg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’noOinmaXMwrFSxcUAOSisixVRaKnHGhg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’noOinmaXMwrFSxcUAOSisixVRaKnHGhg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’noOinmaXMwrFSxcUAOSisixVRaKnHGhg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-avf-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t2c-avf-ethip4ipsec2tnlswasync-scheduler- 
ip4base-int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’lReOjdpwUImomKAa’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’LwNZRgQNEDOztJQKSYotfnzMQvoEXPHimEMWrkAQUVHMJYadDWUVUUhVLRJWvoVC’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’lReOjdpwUImomKAa’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’LwNZRgQNEDOztJQKSYotfnzMQvoEXPHimEMWrkAQUVHMJYadDWUVUUhVLRJWvoVC’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’deqwKPXbscQiVkBs’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’xawryKxgKkwbkHUAyPErXvoBAGOogjHdxzbqMgBSWbotdaPTmiHVOKFjcCmbezDs’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’deqwKPXbscQiVkBs’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’xawryKxgKkwbkHUAyPErXvoBAGOogjHdxzbqMgBSWbotdaPTmiHVOKFjcCmbezDs’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’lReOjdpwUImomKAa’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’LwNZRgQNEDOztJQKSYotfnzMQvoEXPHimEMWrkAQUVHMJYadDWUVUUhVLRJWvoVC’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’lReOjdpwUImomKAa’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’LwNZRgQNEDOztJQKSYotfnzMQvoEXPHimEMWrkAQUVHMJYadDWUVUUhVLRJWvoVC’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’deqwKPXbscQiVkBs’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’xawryKxgKkwbkHUAyPErXvoBAGOogjHdxzbqMgBSWbotdaPTmiHVOKFjcCmbezDs’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’deqwKPXbscQiVkBs’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’xawryKxgKkwbkHUAyPErXvoBAGOogjHdxzbqMgBSWbotdaPTmiHVOKFjcCmbezDs’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-2t4c-avf-ethip4ipsec2tnlswasync-scheduler- 
ip4base-int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’YymAYfxHOpnXaaEV’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’sNvFkUwgskYdybMGhBkJCaEqYgTXLbTSQiNxcSvMEIvEFnlSLQAvSLcUxVAZJMAP’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’YymAYfxHOpnXaaEV’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’sNvFkUwgskYdybMGhBkJCaEqYgTXLbTSQiNxcSvMEIvEFnlSLQAvSLcUxVAZJMAP’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’jCNveqHtJWQvsggO’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’XxVgDHcKedTVTHMEEHLCaYiwuJlrVxZpBfAECfnbjANHoALpgJdzBnNdPvtzjdJR’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’jCNveqHtJWQvsggO’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’XxVgDHcKedTVTHMEEHLCaYiwuJlrVxZpBfAECfnbjANHoALpgJdzBnNdPvtzjdJR’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’YymAYfxHOpnXaaEV’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’sNvFkUwgskYdybMGhBkJCaEqYgTXLbTSQiNxcSvMEIvEFnlSLQAvSLcUxVAZJMAP’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’YymAYfxHOpnXaaEV’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’sNvFkUwgskYdybMGhBkJCaEqYgTXLbTSQiNxcSvMEIvEFnlSLQAvSLcUxVAZJMAP’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’jCNveqHtJWQvsggO’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’XxVgDHcKedTVTHMEEHLCaYiwuJlrVxZpBfAECfnbjANHoALpgJdzBnNdPvtzjdJR’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’jCNveqHtJWQvsggO’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’XxVgDHcKedTVTHMEEHLCaYiwuJlrVxZpBfAECfnbjANHoALpgJdzBnNdPvtzjdJR’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t4c-avf-ethip4ipsec2tnlswasync-scheduler- 
ip4base-int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’FhoFqxfNTUpjFDDe’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’asboxbvQffDejazqtIXcrYelQiTTvgQlOrxVrCYtEDEaCGcaUXOADjpWqZljikEf’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’FhoFqxfNTUpjFDDe’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’asboxbvQffDejazqtIXcrYelQiTTvgQlOrxVrCYtEDEaCGcaUXOADjpWqZljikEf’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’kHAcQmMEEYuKPOnf’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ZaIKhZFGIzLrnwMALzYsiHeOqGqPtoHsOeJTQuwgeIuKbxVNnOkhkkWPQXsqIyYa’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’kHAcQmMEEYuKPOnf’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ZaIKhZFGIzLrnwMALzYsiHeOqGqPtoHsOeJTQuwgeIuKbxVNnOkhkkWPQXsqIyYa’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’FhoFqxfNTUpjFDDe’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’asboxbvQffDejazqtIXcrYelQiTTvgQlOrxVrCYtEDEaCGcaUXOADjpWqZljikEf’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’FhoFqxfNTUpjFDDe’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’asboxbvQffDejazqtIXcrYelQiTTvgQlOrxVrCYtEDEaCGcaUXOADjpWqZljikEf’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’kHAcQmMEEYuKPOnf’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ZaIKhZFGIzLrnwMALzYsiHeOqGqPtoHsOeJTQuwgeIuKbxVNnOkhkkWPQXsqIyYa’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’kHAcQmMEEYuKPOnf’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ZaIKhZFGIzLrnwMALzYsiHeOqGqPtoHsOeJTQuwgeIuKbxVNnOkhkkWPQXsqIyYa’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-avf-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t2c-avf-ethip4ipsec2tnlswasync- 
scheduler-ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’qwYItNRJpBXXGewe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’qwYItNRJpBXXGewe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’dThxxLttyZYAmpco’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’dThxxLttyZYAmpco’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’qwYItNRJpBXXGewe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’qwYItNRJpBXXGewe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’dThxxLttyZYAmpco’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’dThxxLttyZYAmpco’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-2t4c-avf-ethip4ipsec2tnlswasync- 
scheduler-ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’erkZiaxTmZsGvLua’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’erkZiaxTmZsGvLua’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’hYnxDqShfTDykmXH’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’hYnxDqShfTDykmXH’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’erkZiaxTmZsGvLua’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’erkZiaxTmZsGvLua’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’hYnxDqShfTDykmXH’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’hYnxDqShfTDykmXH’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t2c-avf-ethip4ipsec2tnlswasync- 
scheduler-ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’tVdMaPOmCqaqMrKt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’tVdMaPOmCqaqMrKt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’OHVVOWJZEYpyWNEE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’OHVVOWJZEYpyWNEE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’tVdMaPOmCqaqMrKt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’tVdMaPOmCqaqMrKt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’OHVVOWJZEYpyWNEE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’OHVVOWJZEYpyWNEE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t4c-avf-ethip4ipsec2tnlswasync- 
scheduler-ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’tkbpJcalCrTVUIUe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’tkbpJcalCrTVUIUe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’EWDcukImWGOtDmrU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’EWDcukImWGOtDmrU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’tkbpJcalCrTVUIUe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’tkbpJcalCrTVUIUe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’EWDcukImWGOtDmrU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’EWDcukImWGOtDmrU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-avf-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t2c-avf-ethip4ipsec2tnlswasync- 
scheduler-ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’uJwMgCaaNSEadsLgJcxWiUFdZDAwZPqd’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’uJwMgCaaNSEadsLgJcxWiUFdZDAwZPqd’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’uzJNjEwZRTENXstsGljobzLCerYUguSG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’uzJNjEwZRTENXstsGljobzLCerYUguSG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’uJwMgCaaNSEadsLgJcxWiUFdZDAwZPqd’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’uJwMgCaaNSEadsLgJcxWiUFdZDAwZPqd’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’uzJNjEwZRTENXstsGljobzLCerYUguSG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’uzJNjEwZRTENXstsGljobzLCerYUguSG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-2t4c-avf-ethip4ipsec2tnlswasync- 
scheduler-ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’SrPKLCnCNlHHHWpJqcHqiWPJoSAjFspx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’SrPKLCnCNlHHHWpJqcHqiWPJoSAjFspx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’jqIqgoMuBqlMeGjnoPhMWkFiFonYbVbS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’jqIqgoMuBqlMeGjnoPhMWkFiFonYbVbS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’SrPKLCnCNlHHHWpJqcHqiWPJoSAjFspx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’SrPKLCnCNlHHHWpJqcHqiWPJoSAjFspx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’jqIqgoMuBqlMeGjnoPhMWkFiFonYbVbS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’jqIqgoMuBqlMeGjnoPhMWkFiFonYbVbS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t2c-avf-ethip4ipsec2tnlswasync- 
scheduler-ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’NblGfKGDyfpbFRxAPdLqlArDisuhjSaS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’NblGfKGDyfpbFRxAPdLqlArDisuhjSaS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’HGvSqMKYCbKgPMDdziKfLOErrvhxXdkU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’HGvSqMKYCbKgPMDdziKfLOErrvhxXdkU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’NblGfKGDyfpbFRxAPdLqlArDisuhjSaS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’NblGfKGDyfpbFRxAPdLqlArDisuhjSaS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’HGvSqMKYCbKgPMDdziKfLOErrvhxXdkU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’HGvSqMKYCbKgPMDdziKfLOErrvhxXdkU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t4c-avf-ethip4ipsec2tnlswasync- 
scheduler-ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’bIdamiSVGGPmLsOosJBfYwpDGxqXnGsU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’bIdamiSVGGPmLsOosJBfYwpDGxqXnGsU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’DSpJgNVyNCtWlIYufdlAzTvIVxjcLKev’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’DSpJgNVyNCtWlIYufdlAzTvIVxjcLKev’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’bIdamiSVGGPmLsOosJBfYwpDGxqXnGsU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’bIdamiSVGGPmLsOosJBfYwpDGxqXnGsU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’DSpJgNVyNCtWlIYufdlAzTvIVxjcLKev’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’DSpJgNVyNCtWlIYufdlAzTvIVxjcLKev’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-avf-ethip4ipsec40tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-avf-ethip4ipsec40tnlsw- 
ip4base-int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec create loopback interface
exec set interface state loop0 up
exec set interface ip address avf-0/3b/a/0 200.0.0.1/24
exec set ip neighbor avf-0/3b/a/0 200.0.0.2 3c:fe:bd:f8:fd:00 static
exec set interface ip address loop0 100.0.0.1/32
exec create ipip tunnel src 100.0.0.1 dst 200.0.0.2 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-cbc-128 crypto-key 5058664b536a71464e4f465766744a69 integ-alg sha-512-256 integ-key 5a4d665a657a496c4c4f5569476251677a6166794b52496c766a4a416f4c456c464745624a67755a486c6178547859625a6b6159466979514e6a6e4953584c52 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-cbc-128 crypto-key 5058664b536a71464e4f465766744a69 integ-alg sha-512-256 integ-key 5a4d665a657a496c4c4f5569476251677a6166794b52496c766a4a416f4c456c464745624a67755a486c6178547859625a6b6159466979514e6a6e4953584c52 esp
exec ipsec tunnel protect ipip0 sa-out 0 sa-in 100000 add
exec set interface ip address loop0 100.0.1.1/32
exec create ipip tunnel src 100.0.1.1 dst 200.0.0.2 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-cbc-128 crypto-key 69466f67707443775753544768746b71 integ-alg sha-512-256 integ-key 455364715364534d68574c416c4f6c567155516a7863787158676a575a4a5a66474b49476e4156794d4b534f7468667842677a424f4449506476754270506b76 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-cbc-128 crypto-key 69466f67707443775753544768746b71 integ-alg sha-512-256 integ-key 455364715364534d68574c416c4f6c567155516a7863787158676a575a4a5a66474b49476e4156794d4b534f7468667842677a424f4449506476754270506b76 esp
exec ipsec tunnel protect ipip1 sa-out 1 sa-in 100001 add
exec set interface ip address loop0 100.0.2.1/32
exec create ipip tunnel src 100.0.2.1 dst 200.0.0.2 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-cbc-128 crypto-key 6a6b594353786f4968634a6f754a4f6c integ-alg sha-512-256 integ-key 4664636a66415a7348594b7465544961574f69764e756773444f56426f524965756f4c7541674e4955524675524375736a504979475348446f4c7869796d666a esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-cbc-128 crypto-key 6a6b594353786f4968634a6f754a4f6c integ-alg sha-512-256 integ-key 4664636a66415a7348594b7465544961574f69764e756773444f56426f524965756f4c7541674e4955524675524375736a504979475348446f4c7869796d666a esp
exec ipsec tunnel protect ipip2 sa-out 2 sa-in 100002 add
exec set interface ip address loop0 100.0.3.1/32
exec create ipip tunnel src 100.0.3.1 dst 200.0.0.2 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-cbc-128 crypto-key 4e465543617a44644c4c67594a754a74 integ-alg sha-512-256 integ-key 6a6a596a6c6875434e674646546b7344524d616452656e5a4c5265714350526b626158754b7976515872546b41456f6e49447668454c5a4c78684c4847645a45 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-cbc-128 crypto-key 4e465543617a44644c4c67594a754a74 integ-alg sha-512-256 integ-key 6a6a596a6c6875434e674646546b7344524d616452656e5a4c5265714350526b626158754b7976515872546b41456f6e49447668454c5a4c78684c4847645a45 esp
exec ipsec tunnel protect ipip3 sa-out 3 sa-in 100003 add
exec set interface ip address loop0 100.0.4.1/32
exec create ipip tunnel src 100.0.4.1 dst 200.0.0.2 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-cbc-128 crypto-key 5142516f516b6d73757270414f577462 integ-alg sha-512-256 integ-key 76525364644d55636a5a61504e4461737a4369674a6242724742784152786c576256426c6b62737a534c766e47645a6c6e664e6e6b546d7850496a62666c4949 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-cbc-128 crypto-key 5142516f516b6d73757270414f577462 integ-alg sha-512-256 integ-key 76525364644d55636a5a61504e4461737a4369674a6242724742784152786c576256426c6b62737a534c766e47645a6c6e664e6e6b546d7850496a62666c4949 esp
exec ipsec tunnel protect ipip4 sa-out 4 sa-in 100004 add
exec set interface ip address loop0 100.0.5.1/32
exec create ipip tunnel src 100.0.5.1 dst 200.0.0.2 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-cbc-128 crypto-key 7355456e784445694d74737676794d6f integ-alg sha-512-256 integ-key 717053455a76787a5466617871646e70704e414a7469757674574a56797448774d58544452446c7368556e665a4753526358636e63656f625a767a5071647a62 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-cbc-128 crypto-key 7355456e784445694d74737676794d6f integ-alg sha-512-256 integ-key 717053455a76787a5466617871646e70704e414a7469757674574a56797448774d58544452446c7368556e665a4753526358636e63656f625a767a5071647a62 esp
exec ipsec tunnel protect ipip5 sa-out 5 sa-in 100005 add
exec set interface ip address loop0 100.0.6.1/32
exec create ipip tunnel src 100.0.6.1 dst 200.0.0.2 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-cbc-128 crypto-key 58444d4d484a747a795361517a417146 integ-alg sha-512-256 integ-key 656a6568546d73714856734f5374517a4c4f4b774a51426669616573724b50594642734b45516544716f54686f784c6d41786b724e5566676754696c51557a63 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-cbc-128 crypto-key 58444d4d484a747a795361517a417146 integ-alg sha-512-256 integ-key 656a6568546d73714856734f5374517a4c4f4b774a51426669616573724b50594642734b45516544716f54686f784c6d41786b724e5566676754696c51557a63 esp
exec ipsec tunnel protect ipip6 sa-out 6 sa-in 100006 add
exec set interface ip address loop0 100.0.7.1/32
exec create ipip tunnel src 100.0.7.1 dst 200.0.0.2 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-cbc-128 crypto-key 4f68717072676162566b715a4a4c7452 integ-alg sha-512-256 integ-key 4169656e4773525469544e78427341584f4c6b4a794b73726a714355796f4f486b686f6c5854756e745646654665464a626c796f61456f676c5661755577686e esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-cbc-128 crypto-key 4f68717072676162566b715a4a4c7452 integ-alg sha-512-256 integ-key 4169656e4773525469544e78427341584f4c6b4a794b73726a714355796f4f486b686f6c5854756e745646654665464a626c796f61456f676c5661755577686e esp
exec ipsec tunnel protect ipip7 sa-out 7 sa-in 100007 add
exec set interface ip address loop0 100.0.8.1/32
exec create ipip tunnel src 100.0.8.1 dst 200.0.0.2 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-cbc-128 crypto-key 496c586c6d78696854595a6b5279566c integ-alg sha-512-256 integ-key 795077784445716b47514d6c654b42446d69774d7641754652446348634e727155416d6f566e7467707357735874504f54506d4d6a7746484b6576517557716b esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-cbc-128 crypto-key 496c586c6d78696854595a6b5279566c integ-alg sha-512-256 integ-key 795077784445716b47514d6c654b42446d69774d7641754652446348634e727155416d6f566e7467707357735874504f54506d4d6a7746484b6576517557716b esp
exec ipsec tunnel protect ipip8 sa-out 8 sa-in 100008 add
exec set interface ip address loop0 100.0.9.1/32
exec create ipip tunnel src 100.0.9.1 dst 200.0.0.2 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-cbc-128 crypto-key 626e646a724871416f446c7448554e63 integ-alg sha-512-256 integ-key 7743707a4a65636b716b4f555041427469674b78456b616d4c6e455067474c4c7046595a7076686e4879714f7848744d777a4e6e7855565a794243757445464b esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-cbc-128 crypto-key 626e646a724871416f446c7448554e63 integ-alg sha-512-256 integ-key 7743707a4a65636b716b4f555041427469674b78456b616d4c6e455067474c4c7046595a7076686e4879714f7848744d777a4e6e7855565a794243757445464b esp
exec ipsec tunnel protect ipip9 sa-out 9 sa-in 100009 add
exec set interface ip address loop0 100.0.10.1/32
exec create ipip tunnel src 100.0.10.1 dst 200.0.0.2 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-cbc-128 crypto-key 4c637468767661567747475978685572 integ-alg sha-512-256 integ-key 4d64696e50506e727154554849464d53454851596f476162586c516a46776d764f4f4a6f6377696a7866474c4d7261557a794f636b707946594742456c664b52 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-cbc-128 crypto-key 4c637468767661567747475978685572 integ-alg sha-512-256 integ-key 4d64696e50506e727154554849464d53454851596f476162586c516a46776d764f4f4a6f6377696a7866474c4d7261557a794f636b707946594742456c664b52 esp
exec ipsec tunnel protect ipip10 sa-out 10 sa-in 100010 add
exec set interface ip address loop0 100.0.11.1/32
exec create ipip tunnel src 100.0.11.1 dst 200.0.0.2 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-cbc-128 crypto-key 426b53704b746e5067616766534a5a48 integ-alg sha-512-256 integ-key 4955707a5a56664c496b716363757a6a665945566b4b6a786b735251546c735364616254506979525a4145456476746868567058547363447a52644b7755776b esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-cbc-128 crypto-key 426b53704b746e5067616766534a5a48 integ-alg sha-512-256 integ-key 4955707a5a56664c496b716363757a6a665945566b4b6a786b735251546c735364616254506979525a4145456476746868567058547363447a52644b7755776b esp
exec ipsec tunnel protect ipip11 sa-out 11 sa-in 100011 add
exec set interface ip address loop0 100.0.12.1/32
exec create ipip tunnel src 100.0.12.1 dst 200.0.0.2 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-cbc-128 crypto-key 5073744a64507145756a754f6a6c6a73 integ-alg sha-512-256 integ-key 55776e7968694d716b4f765258766b796a794a50525a4a6c51456f754179714a6b5266485844586e7a4f6166504a4156544f644477715478465a436367575645 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-cbc-128 crypto-key 5073744a64507145756a754f6a6c6a73 integ-alg sha-512-256 integ-key 55776e7968694d716b4f765258766b796a794a50525a4a6c51456f754179714a6b5266485844586e7a4f6166504a4156544f644477715478465a436367575645 esp
exec ipsec tunnel protect ipip12 sa-out 12 sa-in 100012 add
exec set interface ip address loop0 100.0.13.1/32
exec create ipip tunnel src 100.0.13.1 dst 200.0.0.2 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-cbc-128 crypto-key 564247596b4a454d516e44616450616b integ-alg sha-512-256 integ-key 7477646d70614b6b6b4d5653724a76486b7673464e614e707a4b76616e7567444d4f74617867596b6b7549474370474868684273697277796d5978685977414c esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-cbc-128 crypto-key 564247596b4a454d516e44616450616b integ-alg sha-512-256 integ-key 7477646d70614b6b6b4d5653724a76486b7673464e614e707a4b76616e7567444d4f74617867596b6b7549474370474868684273697277796d5978685977414c esp
exec ipsec tunnel protect ipip13 sa-out 13 sa-in 100013 add
exec set interface ip address loop0 100.0.14.1/32
exec create ipip tunnel src 100.0.14.1 dst 200.0.0.2 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-cbc-128 crypto-key 724f597170546f6e4341746772497357 integ-alg sha-512-256 integ-key 6e63566843525a54576c7a567452444d4a775a4a745a446e634b44556c69506c6a674841634e5345566a794b51734d4244456e7346476548775679705865514f esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-cbc-128 crypto-key 724f597170546f6e4341746772497357 integ-alg sha-512-256 integ-key 6e63566843525a54576c7a567452444d4a775a4a745a446e634b44556c69506c6a674841634e5345566a794b51734d4244456e7346476548775679705865514f esp
exec ipsec tunnel protect ipip14 sa-out 14 sa-in 100014 add
exec set interface ip address loop0 100.0.15.1/32
exec create ipip tunnel src 100.0.15.1 dst 200.0.0.2 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-cbc-128 crypto-key 585258774c6c4241534245594e554c57 integ-alg sha-512-256 integ-key 5161697653796d77446d49554970616a4c4a43516d7379514a51786f4474557974714a48454b757a704c424d5562505742797242466565624945535261644e63 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-cbc-128 crypto-key 585258774c6c4241534245594e554c57 integ-alg sha-512-256 integ-key 5161697653796d77446d49554970616a4c4a43516d7379514a51786f4474557974714a48454b757a704c424d5562505742797242466565624945535261644e63 esp
exec ipsec tunnel protect ipip15 sa-out 15 sa-in 100015 add
exec set interface ip address loop0 100.0.16.1/32
exec create ipip tunnel src 100.0.16.1 dst 200.0.0.2 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-cbc-128 crypto-key 5954706d4a5a79655164726e7372536c integ-alg sha-512-256 integ-key 644a6f7975666e424b4d54554e4f496d42546f6d694a4478637170666b726e7254716165627161684d784345484e516f6c4d516e4a6544494f73467375424479 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-cbc-128 crypto-key 5954706d4a5a79655164726e7372536c integ-alg sha-512-256 integ-key 644a6f7975666e424b4d54554e4f496d42546f6d694a4478637170666b726e7254716165627161684d784345484e516f6c4d516e4a6544494f73467375424479 esp
exec ipsec tunnel protect ipip16 sa-out 16 sa-in 100016 add
exec set interface ip address loop0 100.0.17.1/32
exec create ipip tunnel src 100.0.17.1 dst 200.0.0.2 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-cbc-128 crypto-key 7a63467561517a4963564a5a65485061 integ-alg sha-512-256 integ-key 5859616b6661574d446674506a5156527a6c4772776e456151717a6a4e4d74696a5473716b666b755661437479596d6f44724a705848624b7a666f43777a6655 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-cbc-128 crypto-key 7a63467561517a4963564a5a65485061 integ-alg sha-512-256 integ-key 5859616b6661574d446674506a5156527a6c4772776e456151717a6a4e4d74696a5473716b666b755661437479596d6f44724a705848624b7a666f43777a6655 esp
exec ipsec tunnel protect ipip17 sa-out 17 sa-in 100017 add
exec set interface ip address loop0 100.0.18.1/32
exec create ipip tunnel src 100.0.18.1 dst 200.0.0.2 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-cbc-128 crypto-key 5847555842744a6c4247426277524b56 integ-alg sha-512-256 integ-key 79626542535748496e6c5159586b4f6d5770684a774970636f554d646b745a4649485175447a6c4c4d47446e4a76556969426447795162545a4b55494b506846 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-cbc-128 crypto-key 5847555842744a6c4247426277524b56 integ-alg sha-512-256 integ-key 79626542535748496e6c5159586b4f6d5770684a774970636f554d646b745a4649485175447a6c4c4d47446e4a76556969426447795162545a4b55494b506846 esp
exec ipsec tunnel protect ipip18 sa-out 18 sa-in 100018 add
exec set interface ip address loop0 100.0.19.1/32
exec create ipip tunnel src 100.0.19.1 dst 200.0.0.2 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-cbc-128 crypto-key 597853784653784e6c526359684d7a69 integ-alg sha-512-256 integ-key 596a735a6f47556b6d466a64776746426a4553516141755878796351775a64644564574e4c74724c5a5a766a77444848584663476b6a7357504a5868565a6150 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-cbc-128 crypto-key 597853784653784e6c526359684d7a69 integ-alg sha-512-256 integ-key 596a735a6f47556b6d466a64776746426a4553516141755878796351775a64644564574e4c74724c5a5a766a77444848584663476b6a7357504a5868565a6150 esp
exec ipsec tunnel protect ipip19 sa-out 19 sa-in 100019 add
exec set interface ip address loop0 100.0.20.1/32
exec create ipip tunnel src 100.0.20.1 dst 200.0.0.2 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-cbc-128 crypto-key 445a4c6844664d78674e6b7069426162 integ-alg sha-512-256 integ-key 54426b6c616f4b7a425266616a564a63597a6264776d6b5a6e5a4e7362446469494a627179636379737177784c64434c63736b4b55636d685a4f53756478614a esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-cbc-128 crypto-key 445a4c6844664d78674e6b7069426162 integ-alg sha-512-256 integ-key 54426b6c616f4b7a425266616a564a63597a6264776d6b5a6e5a4e7362446469494a627179636379737177784c64434c63736b4b55636d685a4f53756478614a esp
exec ipsec tunnel protect ipip20 sa-out 20 sa-in 100020 add
exec set interface ip address loop0 100.0.21.1/32
exec create ipip tunnel src 100.0.21.1 dst 200.0.0.2 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-cbc-128 crypto-key 49735a6746454b58794b51696c624b72 integ-alg sha-512-256 integ-key 4e7847624d44556f454b7a644d4d6d6a4369595870526661676a457746485878464f694a4b4649627867785065496256526a4a786178436b6e44556d49517462 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-cbc-128 crypto-key 49735a6746454b58794b51696c624b72 integ-alg sha-512-256 integ-key 4e7847624d44556f454b7a644d4d6d6a4369595870526661676a457746485878464f694a4b4649627867785065496256526a4a786178436b6e44556d49517462 esp
exec ipsec tunnel protect ipip21 sa-out 21 sa-in 100021 add
exec set interface ip address loop0 100.0.22.1/32
exec create ipip tunnel src 100.0.22.1 dst 200.0.0.2 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-cbc-128 crypto-key 66526f5a63436652745757647a6a6e41 integ-alg sha-512-256 integ-key 7644426a6b59677168464c50756a6e4a556e46674967664a6d795a64556d4b6d46654849665946564c71776663464f7850574b4a676b646a48636353436b6345 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-cbc-128 crypto-key 66526f5a63436652745757647a6a6e41 integ-alg sha-512-256 integ-key 7644426a6b59677168464c50756a6e4a556e46674967664a6d795a64556d4b6d46654849665946564c71776663464f7850574b4a676b646a48636353436b6345 esp
exec ipsec tunnel protect ipip22 sa-out 22 sa-in 100022 add
exec set interface ip address loop0 100.0.23.1/32
exec create ipip tunnel src 100.0.23.1 dst 200.0.0.2 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-cbc-128 crypto-key 7a467453674a4e4c6a4e737264557653 integ-alg sha-512-256 integ-key 7943775566496d4c4a716e5364494547614e71675a4b727058787779624d6e7a6d4f66734d79504f4a496b4b654747646d70656351637a686770416f536f4e57 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-cbc-128 crypto-key 7a467453674a4e4c6a4e737264557653 integ-alg sha-512-256 integ-key 7943775566496d4c4a716e5364494547614e71675a4b727058787779624d6e7a6d4f66734d79504f4a496b4b654747646d70656351637a686770416f536f4e57 esp
exec ipsec tunnel protect ipip23 sa-out 23 sa-in 100023 add
exec set interface ip address loop0 100.0.24.1/32
exec create ipip tunnel src 100.0.24.1 dst 200.0.0.2 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-cbc-128 crypto-key 704b696956765972705278744c4f446c integ-alg sha-512-256 integ-key 576f65425a6c725a7a586d6e53556e6e634d476255796f776b586d644579615556525077666662446a6a7471484a786f754b53766c5556487552497445455364 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-cbc-128 crypto-key 704b696956765972705278744c4f446c integ-alg sha-512-256 integ-key 576f65425a6c725a7a586d6e53556e6e634d476255796f776b586d644579615556525077666662446a6a7471484a786f754b53766c5556487552497445455364 esp
exec ipsec tunnel protect ipip24 sa-out 24 sa-in 100024 add
exec set interface ip address loop0 100.0.25.1/32
exec create ipip tunnel src 100.0.25.1 dst 200.0.0.2 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-cbc-128 crypto-key 6a5874774e6b55726362424a6d526e6c integ-alg sha-512-256 integ-key 54414559786f6944464455426f744c71427a47417356594f52656f7177476a66615778516168467577685266564f6c646e4f726b416e47496d49487a78514952 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-cbc-128 crypto-key 6a5874774e6b55726362424a6d526e6c integ-alg sha-512-256 integ-key 54414559786f6944464455426f744c71427a47417356594f52656f7177476a66615778516168467577685266564f6c646e4f726b416e47496d49487a78514952 esp
exec ipsec tunnel protect ipip25 sa-out 25 sa-in 100025 add
exec set interface ip address loop0 100.0.26.1/32
exec create ipip tunnel src 100.0.26.1 dst 200.0.0.2 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-cbc-128 crypto-key 454b567a4b52456b67524e6575506b56 integ-alg sha-512-256 integ-key 797a5245546e67716742707558454a4645485142426a47586f4f626f4167674a767945424a68504a4f66574d6b635251777266464851676a64497666514c415a esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-cbc-128 crypto-key 454b567a4b52456b67524e6575506b56 integ-alg sha-512-256 integ-key 797a5245546e67716742707558454a4645485142426a47586f4f626f4167674a767945424a68504a4f66574d6b635251777266464851676a64497666514c415a esp
exec ipsec tunnel protect ipip26 sa-out 26 sa-in 100026 add
exec set interface ip address loop0 100.0.27.1/32
exec create ipip tunnel src 100.0.27.1 dst 200.0.0.2 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-cbc-128 crypto-key 526670506b65476a797155507a456b51 integ-alg sha-512-256 integ-key 70717679446b466349716a725956416f7253684d6f4555464e47795a4b50574166454c626b4d4f556c6e426f53467077705748486864714c464f547548416862 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-cbc-128 crypto-key 526670506b65476a797155507a456b51 integ-alg sha-512-256 integ-key 70717679446b466349716a725956416f7253684d6f4555464e47795a4b50574166454c626b4d4f556c6e426f53467077705748486864714c464f547548416862 esp
exec ipsec tunnel protect ipip27 sa-out 27 sa-in 100027 add
exec set interface ip address loop0 100.0.28.1/32
exec create ipip tunnel src 100.0.28.1 dst 200.0.0.2 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-cbc-128 crypto-key 4f6c636f7a477753754e704466766843 integ-alg sha-512-256 integ-key 59434e70525672426479734379646e4b43684b6148656b4a75657a49734e6768777372636768786875594a57736c754b757a786a6a7665617557664c56457a53 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-cbc-128 crypto-key 4f6c636f7a477753754e704466766843 integ-alg sha-512-256 integ-key 59434e70525672426479734379646e4b43684b6148656b4a75657a49734e6768777372636768786875594a57736c754b757a786a6a7665617557664c56457a53 esp
exec ipsec tunnel protect ipip28 sa-out 28 sa-in 100028 add
exec set interface ip address loop0 100.0.29.1/32
exec create ipip tunnel src 100.0.29.1 dst 200.0.0.2 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-cbc-128 crypto-key 6c684a656b424a574851735650595a6f integ-alg sha-512-256 integ-key 577277596b62546c52687742684b7a57534c5251574874704b536e6d735075536358554b6f55656a7a776e7141587858667147746e795375536a527264617554 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-cbc-128 crypto-key 6c684a656b424a574851735650595a6f integ-alg sha-512-256 integ-key 577277596b62546c52687742684b7a57534c5251574874704b536e6d735075536358554b6f55656a7a776e7141587858667147746e795375536a527264617554 esp
exec ipsec tunnel protect ipip29 sa-out 29 sa-in 100029 add
exec set interface ip address loop0 100.0.30.1/32
exec create ipip tunnel src 100.0.30.1 dst 200.0.0.2 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-cbc-128 crypto-key 415a6b556578696e4343446166757649 integ-alg sha-512-256 integ-key 62494c50495241514f6851506650434952517942436c71557755446a444e45644e48436361754a5876594a6a727a744f6269527a686469487571425265566361 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-cbc-128 crypto-key 415a6b556578696e4343446166757649 integ-alg sha-512-256 integ-key 62494c50495241514f6851506650434952517942436c71557755446a444e45644e48436361754a5876594a6a727a744f6269527a686469487571425265566361 esp
exec ipsec tunnel protect ipip30 sa-out 30 sa-in 100030 add
exec set interface ip address loop0 100.0.31.1/32
exec create ipip tunnel src 100.0.31.1 dst 200.0.0.2 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-cbc-128 crypto-key 6670634a7a4772667861544d41554141 integ-alg sha-512-256 integ-key 656155696a6f475758724371516f4e744e634b51716b654b735575716375756e477648584a7546476f646e4e59625a5946565175764a47517a49797565646442 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-cbc-128 crypto-key 6670634a7a4772667861544d41554141 integ-alg sha-512-256 integ-key 656155696a6f475758724371516f4e744e634b51716b654b735575716375756e477648584a7546476f646e4e59625a5946565175764a47517a49797565646442 esp
exec ipsec tunnel protect ipip31 sa-out 31 sa-in 100031 add
exec set interface ip address loop0 100.0.32.1/32
exec create ipip tunnel src 100.0.32.1 dst 200.0.0.2 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-cbc-128 crypto-key 6d544c5a506b4a5064706657437a5975 integ-alg sha-512-256 integ-key 5247486d6e764a4854444b6850724d4d766368446a53616e596f41484942414448444f62534b787a6e586a664b4678736b70596f69594b56527a41474e465656 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-cbc-128 crypto-key 6d544c5a506b4a5064706657437a5975 integ-alg sha-512-256 integ-key 5247486d6e764a4854444b6850724d4d766368446a53616e596f41484942414448444f62534b787a6e586a664b4678736b70596f69594b56527a41474e465656 esp
exec ipsec tunnel protect ipip32 sa-out 32 sa-in 100032 add
exec set interface ip address loop0 100.0.33.1/32
exec create ipip tunnel src 100.0.33.1 dst 200.0.0.2 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-cbc-128 crypto-key 6e534861794a4257674c4878726c7341 integ-alg sha-512-256 integ-key 775266716458477148756e6344554842756d5255564c6f6f6263475952727a6d514b6c624e77454a7050646a714f5942746675617652725a6b67574d696b467a esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-cbc-128 crypto-key 6e534861794a4257674c4878726c7341 integ-alg sha-512-256 integ-key 775266716458477148756e6344554842756d5255564c6f6f6263475952727a6d514b6c624e77454a7050646a714f5942746675617652725a6b67574d696b467a esp
exec ipsec tunnel protect ipip33 sa-out 33 sa-in 100033 add
exec set interface ip address loop0 100.0.34.1/32
exec create ipip tunnel src 100.0.34.1 dst 200.0.0.2 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-cbc-128 crypto-key 45786f616757635976427769494f4855 integ-alg sha-512-256 integ-key 6c61524655796d784f644a4e724275446946626d6975516e754b6a5a7375715353727a5a6f774a714c4f4f6c634c6f5a776c575a6353626d4d796b43586e5a43 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-cbc-128 crypto-key 45786f616757635976427769494f4855 integ-alg sha-512-256 integ-key 6c61524655796d784f644a4e724275446946626d6975516e754b6a5a7375715353727a5a6f774a714c4f4f6c634c6f5a776c575a6353626d4d796b43586e5a43 esp
exec ipsec tunnel protect ipip34 sa-out 34 sa-in 100034 add
exec set interface ip address loop0 100.0.35.1/32
exec create ipip tunnel src 100.0.35.1 dst 200.0.0.2 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-cbc-128 crypto-key 767847786e7064566c575a574e796e41 integ-alg sha-512-256 integ-key 746c506c4959694b505a557061596e754e51507a6a7457584d6267475a4f666879684a524e5371635645746c5044764e7a59435053476746495055414b435651 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-cbc-128 crypto-key 767847786e7064566c575a574e796e41 integ-alg sha-512-256 integ-key 746c506c4959694b505a557061596e754e51507a6a7457584d6267475a4f666879684a524e5371635645746c5044764e7a59435053476746495055414b435651 esp
exec ipsec tunnel protect ipip35 sa-out 35 sa-in 100035 add
exec set interface ip address loop0 100.0.36.1/32
exec create ipip tunnel src 100.0.36.1 dst 200.0.0.2 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-cbc-128 crypto-key 4b414d796e496b5944756343656f654f integ-alg sha-512-256 integ-key 4f4c716e76474c687550675a736e6d47727a7941796f4d71526b486b7065786949716c4b43714541466661677556564e6548594175574c506346676d466e6f76 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-cbc-128 crypto-key 4b414d796e496b5944756343656f654f integ-alg sha-512-256 integ-key 4f4c716e76474c687550675a736e6d47727a7941796f4d71526b486b7065786949716c4b43714541466661677556564e6548594175574c506346676d466e6f76 esp
exec ipsec tunnel protect ipip36 sa-out 36 sa-in 100036 add
exec set interface ip address loop0 100.0.37.1/32
exec create ipip tunnel src 100.0.37.1 dst 200.0.0.2 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-cbc-128 crypto-key 4d476c735a6f424b4f68666f766c4f79 integ-alg sha-512-256 integ-key 4366716d7a74544756426475726a565553597654677753434d6247595550544e726a76436a577863694b65636b4f4b62565478576355444e78717967656f7a6c esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-cbc-128 crypto-key 4d476c735a6f424b4f68666f766c4f79 integ-alg sha-512-256 integ-key 4366716d7a74544756426475726a565553597654677753434d6247595550544e726a76436a577863694b65636b4f4b62565478576355444e78717967656f7a6c esp
exec ipsec tunnel protect ipip37 sa-out 37 sa-in 100037 add
exec set interface ip address loop0 100.0.38.1/32
exec create ipip tunnel src 100.0.38.1 dst 200.0.0.2 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-cbc-128 crypto-key 65757673667843617645436c64547967 integ-alg sha-512-256 integ-key 5841697954576c6c52765a4c7454634757644e65734c6d61415074637645546a616e5573466163637a7a656f77494470635156484e51647772505341546d6352 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-cbc-128 crypto-key 65757673667843617645436c64547967 integ-alg sha-512-256 integ-key 5841697954576c6c52765a4c7454634757644e65734c6d61415074637645546a616e5573466163637a7a656f77494470635156484e51647772505341546d6352 esp
exec ipsec tunnel protect ipip38 sa-out 38 sa-in 100038 add
exec set interface ip address loop0 100.0.39.1/32
exec create ipip tunnel src 100.0.39.1 dst 200.0.0.2 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-cbc-128 crypto-key 455673644778646f4d7377576d564b78 integ-alg sha-512-256 integ-key 546145714e7148474962466e4e757147744f536777745a6e767948434e4b636167547a595170474f64734a475950516d774f4a4877774957774372487a576e53 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-cbc-128 crypto-key 455673644778646f4d7377576d564b78 integ-alg sha-512-256 integ-key 546145714e7148474962466e4e757147744f536777745a6e767948434e4b636167547a595170474f64734a475950516d774f4a4877774957774372487a576e53 esp
exec ipsec tunnel protect ipip39 sa-out 39 sa-in 100039 add
exec set interface unnumbered ipip0 use avf-0/3b/a/0
exec set interface state ipip0 up
exec ip route add 20.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use avf-0/3b/a/0
exec set interface state ipip1 up
exec ip route add 20.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use avf-0/3b/a/0
exec set interface state ipip2 up
exec ip route add 20.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use avf-0/3b/a/0
exec set interface state ipip3 up
exec ip route add 20.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use avf-0/3b/a/0
exec set interface state ipip4 up
exec ip route add 20.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use avf-0/3b/a/0
exec set interface state ipip5 up
exec ip route add 20.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use avf-0/3b/a/0
exec set interface state ipip6 up
exec ip route add 20.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use avf-0/3b/a/0
exec set interface state ipip7 up
exec ip route add 20.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use avf-0/3b/a/0
exec set interface state ipip8 up
exec ip route add 20.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use avf-0/3b/a/0
exec set interface state ipip9 up
exec ip route add 20.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use avf-0/3b/a/0
exec set interface state ipip10 up
exec ip route add 20.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use avf-0/3b/a/0
exec set interface state ipip11 up
exec ip route add 20.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use avf-0/3b/a/0
exec set interface state ipip12 up
exec ip route add 20.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use avf-0/3b/a/0
exec set interface state ipip13 up
exec ip route add 20.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use avf-0/3b/a/0
exec set interface state ipip14 up
exec ip route add 20.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use avf-0/3b/a/0
exec set interface state ipip15 up
exec ip route add 20.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use avf-0/3b/a/0
exec set interface state ipip16 up
exec ip route add 20.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use avf-0/3b/a/0
exec set interface state ipip17 up
exec ip route add 20.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use avf-0/3b/a/0
exec set interface state ipip18 up
exec ip route add 20.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use avf-0/3b/a/0
exec set interface state ipip19 up
exec ip route add 20.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use avf-0/3b/a/0
exec set interface state ipip20 up
exec ip route add 20.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use avf-0/3b/a/0
exec set interface state ipip21 up
exec ip route add 20.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use avf-0/3b/a/0
exec set interface state ipip22 up
exec ip route add 20.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use avf-0/3b/a/0
exec set interface state ipip23 up
exec ip route add 20.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use avf-0/3b/a/0
exec set interface state ipip24 up
exec ip route add 20.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use avf-0/3b/a/0
exec set interface state ipip25 up
exec ip route add 20.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use avf-0/3b/a/0
exec set interface state ipip26 up
exec ip route add 20.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use avf-0/3b/a/0
exec set interface state ipip27 up
exec ip route add 20.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use avf-0/3b/a/0
exec set interface state ipip28 up
exec ip route add 20.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use avf-0/3b/a/0
exec set interface state ipip29 up
exec ip route add 20.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use avf-0/3b/a/0
exec set interface state ipip30 up
exec ip route add 20.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use avf-0/3b/a/0
exec set interface state ipip31 up
exec ip route add 20.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use avf-0/3b/a/0
exec set interface state ipip32 up
exec ip route add 20.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use avf-0/3b/a/0
exec set interface state ipip33 up
exec ip route add 20.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use avf-0/3b/a/0
exec set interface state ipip34 up
exec ip route add 20.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use avf-0/3b/a/0
exec set interface state ipip35 up
exec ip route add 20.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use avf-0/3b/a/0
exec set interface state ipip36 up
exec ip route add 20.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use avf-0/3b/a/0
exec set interface state ipip37 up
exec ip route add 20.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use avf-0/3b/a/0
exec set interface state ipip38 up
exec ip route add 20.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use avf-0/3b/a/0
exec set interface state ipip39 up
exec ip route add 20.0.0.39/32 via ipip39
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec set interface ip address avf-0/3b/a/0 200.0.0.2/24.0
exec create ipip tunnel src 200.0.0.2 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-cbc-128 crypto-key 5058664b536a71464e4f465766744a69 integ-alg sha-512-256 integ-key 5a4d665a657a496c4c4f5569476251677a6166794b52496c766a4a416f4c456c464745624a67755a486c6178547859625a6b6159466979514e6a6e4953584c52 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-cbc-128 crypto-key 5058664b536a71464e4f465766744a69 integ-alg sha-512-256 integ-key 5a4d665a657a496c4c4f5569476251677a6166794b52496c766a4a416f4c456c464745624a67755a486c6178547859625a6b6159466979514e6a6e4953584c52 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-cbc-128 crypto-key 69466f67707443775753544768746b71 integ-alg sha-512-256 integ-key 455364715364534d68574c416c4f6c567155516a7863787158676a575a4a5a66474b49476e4156794d4b534f7468667842677a424f4449506476754270506b76 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-cbc-128 crypto-key 69466f67707443775753544768746b71 integ-alg sha-512-256 integ-key 455364715364534d68574c416c4f6c567155516a7863787158676a575a4a5a66474b49476e4156794d4b534f7468667842677a424f4449506476754270506b76 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-cbc-128 crypto-key 6a6b594353786f4968634a6f754a4f6c integ-alg sha-512-256 integ-key 4664636a66415a7348594b7465544961574f69764e756773444f56426f524965756f4c7541674e4955524675524375736a504979475348446f4c7869796d666a esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-cbc-128 crypto-key 6a6b594353786f4968634a6f754a4f6c integ-alg sha-512-256 integ-key 4664636a66415a7348594b7465544961574f69764e756773444f56426f524965756f4c7541674e4955524675524375736a504979475348446f4c7869796d666a esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-cbc-128 crypto-key 4e465543617a44644c4c67594a754a74 integ-alg sha-512-256 integ-key 6a6a596a6c6875434e674646546b7344524d616452656e5a4c5265714350526b626158754b7976515872546b41456f6e49447668454c5a4c78684c4847645a45 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-cbc-128 crypto-key 4e465543617a44644c4c67594a754a74 integ-alg sha-512-256 integ-key 6a6a596a6c6875434e674646546b7344524d616452656e5a4c5265714350526b626158754b7976515872546b41456f6e49447668454c5a4c78684c4847645a45 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-cbc-128 crypto-key 5142516f516b6d73757270414f577462 integ-alg sha-512-256 integ-key 76525364644d55636a5a61504e4461737a4369674a6242724742784152786c576256426c6b62737a534c766e47645a6c6e664e6e6b546d7850496a62666c4949 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-cbc-128 crypto-key 5142516f516b6d73757270414f577462 integ-alg sha-512-256 integ-key 76525364644d55636a5a61504e4461737a4369674a6242724742784152786c576256426c6b62737a534c766e47645a6c6e664e6e6b546d7850496a62666c4949 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-cbc-128 crypto-key 7355456e784445694d74737676794d6f integ-alg sha-512-256 integ-key 717053455a76787a5466617871646e70704e414a7469757674574a56797448774d58544452446c7368556e665a4753526358636e63656f625a767a5071647a62 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-cbc-128 crypto-key 7355456e784445694d74737676794d6f integ-alg sha-512-256 integ-key 717053455a76787a5466617871646e70704e414a7469757674574a56797448774d58544452446c7368556e665a4753526358636e63656f625a767a5071647a62 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-cbc-128 crypto-key 58444d4d484a747a795361517a417146 integ-alg sha-512-256 integ-key 656a6568546d73714856734f5374517a4c4f4b774a51426669616573724b50594642734b45516544716f54686f784c6d41786b724e5566676754696c51557a63 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-cbc-128 crypto-key 58444d4d484a747a795361517a417146 integ-alg sha-512-256 integ-key 656a6568546d73714856734f5374517a4c4f4b774a51426669616573724b50594642734b45516544716f54686f784c6d41786b724e5566676754696c51557a63 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-cbc-128 crypto-key 4f68717072676162566b715a4a4c7452 integ-alg sha-512-256 integ-key 4169656e4773525469544e78427341584f4c6b4a794b73726a714355796f4f486b686f6c5854756e745646654665464a626c796f61456f676c5661755577686e esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-cbc-128 crypto-key 4f68717072676162566b715a4a4c7452 integ-alg sha-512-256 integ-key 4169656e4773525469544e78427341584f4c6b4a794b73726a714355796f4f486b686f6c5854756e745646654665464a626c796f61456f676c5661755577686e esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-cbc-128 crypto-key 496c586c6d78696854595a6b5279566c integ-alg sha-512-256 integ-key 795077784445716b47514d6c654b42446d69774d7641754652446348634e727155416d6f566e7467707357735874504f54506d4d6a7746484b6576517557716b esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-cbc-128 crypto-key 496c586c6d78696854595a6b5279566c integ-alg sha-512-256 integ-key 795077784445716b47514d6c654b42446d69774d7641754652446348634e727155416d6f566e7467707357735874504f54506d4d6a7746484b6576517557716b esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-cbc-128 crypto-key 626e646a724871416f446c7448554e63 integ-alg sha-512-256 integ-key 7743707a4a65636b716b4f555041427469674b78456b616d4c6e455067474c4c7046595a7076686e4879714f7848744d777a4e6e7855565a794243757445464b esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-cbc-128 crypto-key 626e646a724871416f446c7448554e63 integ-alg sha-512-256 integ-key 7743707a4a65636b716b4f555041427469674b78456b616d4c6e455067474c4c7046595a7076686e4879714f7848744d777a4e6e7855565a794243757445464b esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-cbc-128 crypto-key 4c637468767661567747475978685572 integ-alg sha-512-256 integ-key 4d64696e50506e727154554849464d53454851596f476162586c516a46776d764f4f4a6f6377696a7866474c4d7261557a794f636b707946594742456c664b52 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-cbc-128 crypto-key 4c637468767661567747475978685572 integ-alg sha-512-256 integ-key 4d64696e50506e727154554849464d53454851596f476162586c516a46776d764f4f4a6f6377696a7866474c4d7261557a794f636b707946594742456c664b52 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-cbc-128 crypto-key 426b53704b746e5067616766534a5a48 integ-alg sha-512-256 integ-key 4955707a5a56664c496b716363757a6a665945566b4b6a786b735251546c735364616254506979525a4145456476746868567058547363447a52644b7755776b esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-cbc-128 crypto-key 426b53704b746e5067616766534a5a48 integ-alg sha-512-256 integ-key 4955707a5a56664c496b716363757a6a665945566b4b6a786b735251546c735364616254506979525a4145456476746868567058547363447a52644b7755776b esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-cbc-128 crypto-key 5073744a64507145756a754f6a6c6a73 integ-alg sha-512-256 integ-key 55776e7968694d716b4f765258766b796a794a50525a4a6c51456f754179714a6b5266485844586e7a4f6166504a4156544f644477715478465a436367575645 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-cbc-128 crypto-key 5073744a64507145756a754f6a6c6a73 integ-alg sha-512-256 integ-key 55776e7968694d716b4f765258766b796a794a50525a4a6c51456f754179714a6b5266485844586e7a4f6166504a4156544f644477715478465a436367575645 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-cbc-128 crypto-key 564247596b4a454d516e44616450616b integ-alg sha-512-256 integ-key 7477646d70614b6b6b4d5653724a76486b7673464e614e707a4b76616e7567444d4f74617867596b6b7549474370474868684273697277796d5978685977414c esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-cbc-128 crypto-key 564247596b4a454d516e44616450616b integ-alg sha-512-256 integ-key 7477646d70614b6b6b4d5653724a76486b7673464e614e707a4b76616e7567444d4f74617867596b6b7549474370474868684273697277796d5978685977414c esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-cbc-128 crypto-key 724f597170546f6e4341746772497357 integ-alg sha-512-256 integ-key 6e63566843525a54576c7a567452444d4a775a4a745a446e634b44556c69506c6a674841634e5345566a794b51734d4244456e7346476548775679705865514f esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-cbc-128 crypto-key 724f597170546f6e4341746772497357 integ-alg sha-512-256 integ-key 6e63566843525a54576c7a567452444d4a775a4a745a446e634b44556c69506c6a674841634e5345566a794b51734d4244456e7346476548775679705865514f esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-cbc-128 crypto-key 585258774c6c4241534245594e554c57 integ-alg sha-512-256 integ-key 5161697653796d77446d49554970616a4c4a43516d7379514a51786f4474557974714a48454b757a704c424d5562505742797242466565624945535261644e63 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-cbc-128 crypto-key 585258774c6c4241534245594e554c57 integ-alg sha-512-256 integ-key 5161697653796d77446d49554970616a4c4a43516d7379514a51786f4474557974714a48454b757a704c424d5562505742797242466565624945535261644e63 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-cbc-128 crypto-key 5954706d4a5a79655164726e7372536c integ-alg sha-512-256 integ-key 644a6f7975666e424b4d54554e4f496d42546f6d694a4478637170666b726e7254716165627161684d784345484e516f6c4d516e4a6544494f73467375424479 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-cbc-128 crypto-key 5954706d4a5a79655164726e7372536c integ-alg sha-512-256 integ-key 644a6f7975666e424b4d54554e4f496d42546f6d694a4478637170666b726e7254716165627161684d784345484e516f6c4d516e4a6544494f73467375424479 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-cbc-128 crypto-key 7a63467561517a4963564a5a65485061 integ-alg sha-512-256 integ-key 5859616b6661574d446674506a5156527a6c4772776e456151717a6a4e4d74696a5473716b666b755661437479596d6f44724a705848624b7a666f43777a6655 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-cbc-128 crypto-key 7a63467561517a4963564a5a65485061 integ-alg sha-512-256 integ-key 5859616b6661574d446674506a5156527a6c4772776e456151717a6a4e4d74696a5473716b666b755661437479596d6f44724a705848624b7a666f43777a6655 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-cbc-128 crypto-key 5847555842744a6c4247426277524b56 integ-alg sha-512-256 integ-key 79626542535748496e6c5159586b4f6d5770684a774970636f554d646b745a4649485175447a6c4c4d47446e4a76556969426447795162545a4b55494b506846 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-cbc-128 crypto-key 5847555842744a6c4247426277524b56 integ-alg sha-512-256 integ-key 79626542535748496e6c5159586b4f6d5770684a774970636f554d646b745a4649485175447a6c4c4d47446e4a76556969426447795162545a4b55494b506846 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-cbc-128 crypto-key 597853784653784e6c526359684d7a69 integ-alg sha-512-256 integ-key 596a735a6f47556b6d466a64776746426a4553516141755878796351775a64644564574e4c74724c5a5a766a77444848584663476b6a7357504a5868565a6150 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-cbc-128 crypto-key 597853784653784e6c526359684d7a69 integ-alg sha-512-256 integ-key 596a735a6f47556b6d466a64776746426a4553516141755878796351775a64644564574e4c74724c5a5a766a77444848584663476b6a7357504a5868565a6150 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-cbc-128 crypto-key 445a4c6844664d78674e6b7069426162 integ-alg sha-512-256 integ-key 54426b6c616f4b7a425266616a564a63597a6264776d6b5a6e5a4e7362446469494a627179636379737177784c64434c63736b4b55636d685a4f53756478614a esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-cbc-128 crypto-key 445a4c6844664d78674e6b7069426162 integ-alg sha-512-256 integ-key 54426b6c616f4b7a425266616a564a63597a6264776d6b5a6e5a4e7362446469494a627179636379737177784c64434c63736b4b55636d685a4f53756478614a esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-cbc-128 crypto-key 49735a6746454b58794b51696c624b72 integ-alg sha-512-256 integ-key 4e7847624d44556f454b7a644d4d6d6a4369595870526661676a457746485878464f694a4b4649627867785065496256526a4a786178436b6e44556d49517462 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-cbc-128 crypto-key 49735a6746454b58794b51696c624b72 integ-alg sha-512-256 integ-key 4e7847624d44556f454b7a644d4d6d6a4369595870526661676a457746485878464f694a4b4649627867785065496256526a4a786178436b6e44556d49517462 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-cbc-128 crypto-key 66526f5a63436652745757647a6a6e41 integ-alg sha-512-256 integ-key 7644426a6b59677168464c50756a6e4a556e46674967664a6d795a64556d4b6d46654849665946564c71776663464f7850574b4a676b646a48636353436b6345 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-cbc-128 crypto-key 66526f5a63436652745757647a6a6e41 integ-alg sha-512-256 integ-key 7644426a6b59677168464c50756a6e4a556e46674967664a6d795a64556d4b6d46654849665946564c71776663464f7850574b4a676b646a48636353436b6345 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-cbc-128 crypto-key 7a467453674a4e4c6a4e737264557653 integ-alg sha-512-256 integ-key 7943775566496d4c4a716e5364494547614e71675a4b727058787779624d6e7a6d4f66734d79504f4a496b4b654747646d70656351637a686770416f536f4e57 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-cbc-128 crypto-key 7a467453674a4e4c6a4e737264557653 integ-alg sha-512-256 integ-key 7943775566496d4c4a716e5364494547614e71675a4b727058787779624d6e7a6d4f66734d79504f4a496b4b654747646d70656351637a686770416f536f4e57 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-cbc-128 crypto-key 704b696956765972705278744c4f446c integ-alg sha-512-256 integ-key 576f65425a6c725a7a586d6e53556e6e634d476255796f776b586d644579615556525077666662446a6a7471484a786f754b53766c5556487552497445455364 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-cbc-128 crypto-key 704b696956765972705278744c4f446c integ-alg sha-512-256 integ-key 576f65425a6c725a7a586d6e53556e6e634d476255796f776b586d644579615556525077666662446a6a7471484a786f754b53766c5556487552497445455364 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-cbc-128 crypto-key 6a5874774e6b55726362424a6d526e6c integ-alg sha-512-256 integ-key 54414559786f6944464455426f744c71427a47417356594f52656f7177476a66615778516168467577685266564f6c646e4f726b416e47496d49487a78514952 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-cbc-128 crypto-key 6a5874774e6b55726362424a6d526e6c integ-alg sha-512-256 integ-key 54414559786f6944464455426f744c71427a47417356594f52656f7177476a66615778516168467577685266564f6c646e4f726b416e47496d49487a78514952 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-cbc-128 crypto-key 454b567a4b52456b67524e6575506b56 integ-alg sha-512-256 integ-key 797a5245546e67716742707558454a4645485142426a47586f4f626f4167674a767945424a68504a4f66574d6b635251777266464851676a64497666514c415a esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-cbc-128 crypto-key 454b567a4b52456b67524e6575506b56 integ-alg sha-512-256 integ-key 797a5245546e67716742707558454a4645485142426a47586f4f626f4167674a767945424a68504a4f66574d6b635251777266464851676a64497666514c415a esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-cbc-128 crypto-key 526670506b65476a797155507a456b51 integ-alg sha-512-256 integ-key 70717679446b466349716a725956416f7253684d6f4555464e47795a4b50574166454c626b4d4f556c6e426f53467077705748486864714c464f547548416862 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-cbc-128 crypto-key 526670506b65476a797155507a456b51 integ-alg sha-512-256 integ-key 70717679446b466349716a725956416f7253684d6f4555464e47795a4b50574166454c626b4d4f556c6e426f53467077705748486864714c464f547548416862 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-cbc-128 crypto-key 4f6c636f7a477753754e704466766843 integ-alg sha-512-256 integ-key 59434e70525672426479734379646e4b43684b6148656b4a75657a49734e6768777372636768786875594a57736c754b757a786a6a7665617557664c56457a53 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-cbc-128 crypto-key 4f6c636f7a477753754e704466766843 integ-alg sha-512-256 integ-key 59434e70525672426479734379646e4b43684b6148656b4a75657a49734e6768777372636768786875594a57736c754b757a786a6a7665617557664c56457a53 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-cbc-128 crypto-key 6c684a656b424a574851735650595a6f integ-alg sha-512-256 integ-key 577277596b62546c52687742684b7a57534c5251574874704b536e6d735075536358554b6f55656a7a776e7141587858667147746e795375536a527264617554 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-cbc-128 crypto-key 6c684a656b424a574851735650595a6f integ-alg sha-512-256 integ-key 577277596b62546c52687742684b7a57534c5251574874704b536e6d735075536358554b6f55656a7a776e7141587858667147746e795375536a527264617554 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-cbc-128 crypto-key 415a6b556578696e4343446166757649 integ-alg sha-512-256 integ-key 62494c50495241514f6851506650434952517942436c71557755446a444e45644e48436361754a5876594a6a727a744f6269527a686469487571425265566361 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-cbc-128 crypto-key 415a6b556578696e4343446166757649 integ-alg sha-512-256 integ-key 62494c50495241514f6851506650434952517942436c71557755446a444e45644e48436361754a5876594a6a727a744f6269527a686469487571425265566361 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-cbc-128 crypto-key 6670634a7a4772667861544d41554141 integ-alg sha-512-256 integ-key 656155696a6f475758724371516f4e744e634b51716b654b735575716375756e477648584a7546476f646e4e59625a5946565175764a47517a49797565646442 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-cbc-128 crypto-key 6670634a7a4772667861544d41554141 integ-alg sha-512-256 integ-key 656155696a6f475758724371516f4e744e634b51716b654b735575716375756e477648584a7546476f646e4e59625a5946565175764a47517a49797565646442 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-cbc-128 crypto-key 6d544c5a506b4a5064706657437a5975 integ-alg sha-512-256 integ-key 5247486d6e764a4854444b6850724d4d766368446a53616e596f41484942414448444f62534b787a6e586a664b4678736b70596f69594b56527a41474e465656 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-cbc-128 crypto-key 6d544c5a506b4a5064706657437a5975 integ-alg sha-512-256 integ-key 5247486d6e764a4854444b6850724d4d766368446a53616e596f41484942414448444f62534b787a6e586a664b4678736b70596f69594b56527a41474e465656 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-cbc-128 crypto-key 6e534861794a4257674c4878726c7341 integ-alg sha-512-256 integ-key 775266716458477148756e6344554842756d5255564c6f6f6263475952727a6d514b6c624e77454a7050646a714f5942746675617652725a6b67574d696b467a esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-cbc-128 crypto-key 6e534861794a4257674c4878726c7341 integ-alg sha-512-256 integ-key 775266716458477148756e6344554842756d5255564c6f6f6263475952727a6d514b6c624e77454a7050646a714f5942746675617652725a6b67574d696b467a esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-cbc-128 crypto-key 45786f616757635976427769494f4855 integ-alg sha-512-256 integ-key 6c61524655796d784f644a4e724275446946626d6975516e754b6a5a7375715353727a5a6f774a714c4f4f6c634c6f5a776c575a6353626d4d796b43586e5a43 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-cbc-128 crypto-key 45786f616757635976427769494f4855 integ-alg sha-512-256 integ-key 6c61524655796d784f644a4e724275446946626d6975516e754b6a5a7375715353727a5a6f774a714c4f4f6c634c6f5a776c575a6353626d4d796b43586e5a43 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-cbc-128 crypto-key 767847786e7064566c575a574e796e41 integ-alg sha-512-256 integ-key 746c506c4959694b505a557061596e754e51507a6a7457584d6267475a4f666879684a524e5371635645746c5044764e7a59435053476746495055414b435651 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-cbc-128 crypto-key 767847786e7064566c575a574e796e41 integ-alg sha-512-256 integ-key 746c506c4959694b505a557061596e754e51507a6a7457584d6267475a4f666879684a524e5371635645746c5044764e7a59435053476746495055414b435651 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-cbc-128 crypto-key 4b414d796e496b5944756343656f654f integ-alg sha-512-256 integ-key 4f4c716e76474c687550675a736e6d47727a7941796f4d71526b486b7065786949716c4b43714541466661677556564e6548594175574c506346676d466e6f76 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-cbc-128 crypto-key 4b414d796e496b5944756343656f654f integ-alg sha-512-256 integ-key 4f4c716e76474c687550675a736e6d47727a7941796f4d71526b486b7065786949716c4b43714541466661677556564e6548594175574c506346676d466e6f76 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-cbc-128 crypto-key 4d476c735a6f424b4f68666f766c4f79 integ-alg sha-512-256 integ-key 4366716d7a74544756426475726a565553597654677753434d6247595550544e726a76436a577863694b65636b4f4b62565478576355444e78717967656f7a6c esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-cbc-128 crypto-key 4d476c735a6f424b4f68666f766c4f79 integ-alg sha-512-256 integ-key 4366716d7a74544756426475726a565553597654677753434d6247595550544e726a76436a577863694b65636b4f4b62565478576355444e78717967656f7a6c esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-cbc-128 crypto-key 65757673667843617645436c64547967 integ-alg sha-512-256 integ-key 5841697954576c6c52765a4c7454634757644e65734c6d61415074637645546a616e5573466163637a7a656f77494470635156484e51647772505341546d6352 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-cbc-128 crypto-key 65757673667843617645436c64547967 integ-alg sha-512-256 integ-key 5841697954576c6c52765a4c7454634757644e65734c6d61415074637645546a616e5573466163637a7a656f77494470635156484e51647772505341546d6352 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-cbc-128 crypto-key 455673644778646f4d7377576d564b78 integ-alg sha-512-256 integ-key 546145714e7148474962466e4e757147744f536777745a6e767948434e4b636167547a595170474f64734a475950516d774f4a4877774957774372487a576e53 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-cbc-128 crypto-key 455673644778646f4d7377576d564b78 integ-alg sha-512-256 integ-key 546145714e7148474962466e4e757147744f536777745a6e767948434e4b636167547a595170474f64734a475950516d774f4a4877774957774372487a576e53 esp
exec ipsec tunnel protect ipip39 sa-out 100039 sa-in 39 add
exec ip route add 100.0.0.1/8 via 200.0.0.1 avf-0/3b/a/0
exec set interface unnumbered ipip0 use avf-0/3b/a/0
exec set interface state ipip0 up
exec ip route add 10.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use avf-0/3b/a/0
exec set interface state ipip1 up
exec ip route add 10.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use avf-0/3b/a/0
exec set interface state ipip2 up
exec ip route add 10.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use avf-0/3b/a/0
exec set interface state ipip3 up
exec ip route add 10.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use avf-0/3b/a/0
exec set interface state ipip4 up
exec ip route add 10.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use avf-0/3b/a/0
exec set interface state ipip5 up
exec ip route add 10.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use avf-0/3b/a/0
exec set interface state ipip6 up
exec ip route add 10.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use avf-0/3b/a/0
exec set interface state ipip7 up
exec ip route add 10.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use avf-0/3b/a/0
exec set interface state ipip8 up
exec ip route add 10.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use avf-0/3b/a/0
exec set interface state ipip9 up
exec ip route add 10.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use avf-0/3b/a/0
exec set interface state ipip10 up
exec ip route add 10.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use avf-0/3b/a/0
exec set interface state ipip11 up
exec ip route add 10.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use avf-0/3b/a/0
exec set interface state ipip12 up
exec ip route add 10.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use avf-0/3b/a/0
exec set interface state ipip13 up
exec ip route add 10.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use avf-0/3b/a/0
exec set interface state ipip14 up
exec ip route add 10.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use avf-0/3b/a/0
exec set interface state ipip15 up
exec ip route add 10.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use avf-0/3b/a/0
exec set interface state ipip16 up
exec ip route add 10.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use avf-0/3b/a/0
exec set interface state ipip17 up
exec ip route add 10.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use avf-0/3b/a/0
exec set interface state ipip18 up
exec ip route add 10.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use avf-0/3b/a/0
exec set interface state ipip19 up
exec ip route add 10.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use avf-0/3b/a/0
exec set interface state ipip20 up
exec ip route add 10.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use avf-0/3b/a/0
exec set interface state ipip21 up
exec ip route add 10.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use avf-0/3b/a/0
exec set interface state ipip22 up
exec ip route add 10.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use avf-0/3b/a/0
exec set interface state ipip23 up
exec ip route add 10.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use avf-0/3b/a/0
exec set interface state ipip24 up
exec ip route add 10.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use avf-0/3b/a/0
exec set interface state ipip25 up
exec ip route add 10.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use avf-0/3b/a/0
exec set interface state ipip26 up
exec ip route add 10.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use avf-0/3b/a/0
exec set interface state ipip27 up
exec ip route add 10.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use avf-0/3b/a/0
exec set interface state ipip28 up
exec ip route add 10.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use avf-0/3b/a/0
exec set interface state ipip29 up
exec ip route add 10.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use avf-0/3b/a/0
exec set interface state ipip30 up
exec ip route add 10.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use avf-0/3b/a/0
exec set interface state ipip31 up
exec ip route add 10.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use avf-0/3b/a/0
exec set interface state ipip32 up
exec ip route add 10.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use avf-0/3b/a/0
exec set interface state ipip33 up
exec ip route add 10.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use avf-0/3b/a/0
exec set interface state ipip34 up
exec ip route add 10.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use avf-0/3b/a/0
exec set interface state ipip35 up
exec ip route add 10.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use avf-0/3b/a/0
exec set interface state ipip36 up
exec ip route add 10.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use avf-0/3b/a/0
exec set interface state ipip37 up
exec ip route add 10.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use avf-0/3b/a/0
exec set interface state ipip38 up
exec ip route add 10.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use avf-0/3b/a/0
exec set interface state ipip39 up
exec ip route add 10.0.0.39/32 via ipip39

 1518b-2t1c-avf-ethip4ipsec40tnlsw- 
ip4base-int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec create loopback interface
exec set interface state loop0 up
exec set interface ip address avf-0/3b/a/0 200.0.0.1/24
exec set ip neighbor avf-0/3b/a/0 200.0.0.2 3c:fe:bd:f8:fd:00 static
exec set interface ip address loop0 100.0.0.1/32
exec create ipip tunnel src 100.0.0.1 dst 200.0.0.2 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-cbc-128 crypto-key 7a6a414d6355506a48764f6a454e7869 integ-alg sha-512-256 integ-key 57616f567a62786f59706f6f794e6d45474c45746c787a596255726a594670497177764a485868417274554869585077434d766b554a446659476b6665506864 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-cbc-128 crypto-key 7a6a414d6355506a48764f6a454e7869 integ-alg sha-512-256 integ-key 57616f567a62786f59706f6f794e6d45474c45746c787a596255726a594670497177764a485868417274554869585077434d766b554a446659476b6665506864 esp
exec ipsec tunnel protect ipip0 sa-out 0 sa-in 100000 add
exec set interface ip address loop0 100.0.1.1/32
exec create ipip tunnel src 100.0.1.1 dst 200.0.0.2 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-cbc-128 crypto-key 436c49686e785766587245624c517477 integ-alg sha-512-256 integ-key 647058614e636d4a477151644d456e614c476f4e42496d474c725854504d43784d5775654b6565716e566f4e73756d4943564943755a6473626b734a4d707455 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-cbc-128 crypto-key 436c49686e785766587245624c517477 integ-alg sha-512-256 integ-key 647058614e636d4a477151644d456e614c476f4e42496d474c725854504d43784d5775654b6565716e566f4e73756d4943564943755a6473626b734a4d707455 esp
exec ipsec tunnel protect ipip1 sa-out 1 sa-in 100001 add
exec set interface ip address loop0 100.0.2.1/32
exec create ipip tunnel src 100.0.2.1 dst 200.0.0.2 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-cbc-128 crypto-key 45534c484c757764534d4e7150666955 integ-alg sha-512-256 integ-key 7a4541776b7359454b6a6444554e48486c7647667865705a4e745376776671694b4747554d625a686d5151666b6c65554642724b6349466775664c537564574e esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-cbc-128 crypto-key 45534c484c757764534d4e7150666955 integ-alg sha-512-256 integ-key 7a4541776b7359454b6a6444554e48486c7647667865705a4e745376776671694b4747554d625a686d5151666b6c65554642724b6349466775664c537564574e esp
exec ipsec tunnel protect ipip2 sa-out 2 sa-in 100002 add
exec set interface ip address loop0 100.0.3.1/32
exec create ipip tunnel src 100.0.3.1 dst 200.0.0.2 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-cbc-128 crypto-key 6e64704f6a6d574a544b745a4e4d4a6f integ-alg sha-512-256 integ-key 4d6b48586a416a4f46526b72784d4b587141466978544666465063644e4a64654c42514c726f6f4771716e766d6a4c57644445686d577755504d736379594e4c esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-cbc-128 crypto-key 6e64704f6a6d574a544b745a4e4d4a6f integ-alg sha-512-256 integ-key 4d6b48586a416a4f46526b72784d4b587141466978544666465063644e4a64654c42514c726f6f4771716e766d6a4c57644445686d577755504d736379594e4c esp
exec ipsec tunnel protect ipip3 sa-out 3 sa-in 100003 add
exec set interface ip address loop0 100.0.4.1/32
exec create ipip tunnel src 100.0.4.1 dst 200.0.0.2 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-cbc-128 crypto-key 79756c4744786f66564f5677414d4a41 integ-alg sha-512-256 integ-key 6454536b4a4746424b6857477756687469577372746b6a6a564e68784b48515351676e41767a4963775055486f736c6a464a626254535a457a46697a4d574759 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-cbc-128 crypto-key 79756c4744786f66564f5677414d4a41 integ-alg sha-512-256 integ-key 6454536b4a4746424b6857477756687469577372746b6a6a564e68784b48515351676e41767a4963775055486f736c6a464a626254535a457a46697a4d574759 esp
exec ipsec tunnel protect ipip4 sa-out 4 sa-in 100004 add
exec set interface ip address loop0 100.0.5.1/32
exec create ipip tunnel src 100.0.5.1 dst 200.0.0.2 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-cbc-128 crypto-key 51736c735143747379424f5276754f41 integ-alg sha-512-256 integ-key 7465794c6b767177454f576e6f485154635249786e724e726f7247594c64654f536d436e57465471737747766742554375695747726d5558416c4a456b574f41 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-cbc-128 crypto-key 51736c735143747379424f5276754f41 integ-alg sha-512-256 integ-key 7465794c6b767177454f576e6f485154635249786e724e726f7247594c64654f536d436e57465471737747766742554375695747726d5558416c4a456b574f41 esp
exec ipsec tunnel protect ipip5 sa-out 5 sa-in 100005 add
exec set interface ip address loop0 100.0.6.1/32
exec create ipip tunnel src 100.0.6.1 dst 200.0.0.2 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-cbc-128 crypto-key 79494858596b4571766b57696d4e5774 integ-alg sha-512-256 integ-key 4d6c464d544f78477a636b62467643726b4454734169774650714b65585765467966507755705a4c724b5067496d6a5372767845564446517459437957725874 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-cbc-128 crypto-key 79494858596b4571766b57696d4e5774 integ-alg sha-512-256 integ-key 4d6c464d544f78477a636b62467643726b4454734169774650714b65585765467966507755705a4c724b5067496d6a5372767845564446517459437957725874 esp
exec ipsec tunnel protect ipip6 sa-out 6 sa-in 100006 add
exec set interface ip address loop0 100.0.7.1/32
exec create ipip tunnel src 100.0.7.1 dst 200.0.0.2 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-cbc-128 crypto-key 5341736164567559766f737066746862 integ-alg sha-512-256 integ-key 466c73564749437878427943456d6b54694d4e53596e596b44575a5042516f486b52596b4b7673644646434f424c6e5149487a7a767a72496f69686256485953 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-cbc-128 crypto-key 5341736164567559766f737066746862 integ-alg sha-512-256 integ-key 466c73564749437878427943456d6b54694d4e53596e596b44575a5042516f486b52596b4b7673644646434f424c6e5149487a7a767a72496f69686256485953 esp
exec ipsec tunnel protect ipip7 sa-out 7 sa-in 100007 add
exec set interface ip address loop0 100.0.8.1/32
exec create ipip tunnel src 100.0.8.1 dst 200.0.0.2 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-cbc-128 crypto-key 4c446144784f6d614c71495541734448 integ-alg sha-512-256 integ-key 614d505563636a4d6c4879426a4a73645561794e415a436d6452467a42594146596c7856787467726d61567057736d716d6c4843566a6753524c6b4663466850 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-cbc-128 crypto-key 4c446144784f6d614c71495541734448 integ-alg sha-512-256 integ-key 614d505563636a4d6c4879426a4a73645561794e415a436d6452467a42594146596c7856787467726d61567057736d716d6c4843566a6753524c6b4663466850 esp
exec ipsec tunnel protect ipip8 sa-out 8 sa-in 100008 add
exec set interface ip address loop0 100.0.9.1/32
exec create ipip tunnel src 100.0.9.1 dst 200.0.0.2 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-cbc-128 crypto-key 6a686e524770744e7a71796c564d776d integ-alg sha-512-256 integ-key 57716e687550714a547471725a744b62466f6155505655704e496c65586952766374666e54535a726a7461484c536341425a6243585450447a6649484a655366 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-cbc-128 crypto-key 6a686e524770744e7a71796c564d776d integ-alg sha-512-256 integ-key 57716e687550714a547471725a744b62466f6155505655704e496c65586952766374666e54535a726a7461484c536341425a6243585450447a6649484a655366 esp
exec ipsec tunnel protect ipip9 sa-out 9 sa-in 100009 add
exec set interface ip address loop0 100.0.10.1/32
exec create ipip tunnel src 100.0.10.1 dst 200.0.0.2 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-cbc-128 crypto-key 465558576b77555a464d4c50727a4868 integ-alg sha-512-256 integ-key 566c795a73754758467953414e686e707a4a447946494a46756e6d504a50514b6a476968764d496779776e6765465669714b4e5a555171655966527270664245 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-cbc-128 crypto-key 465558576b77555a464d4c50727a4868 integ-alg sha-512-256 integ-key 566c795a73754758467953414e686e707a4a447946494a46756e6d504a50514b6a476968764d496779776e6765465669714b4e5a555171655966527270664245 esp
exec ipsec tunnel protect ipip10 sa-out 10 sa-in 100010 add
exec set interface ip address loop0 100.0.11.1/32
exec create ipip tunnel src 100.0.11.1 dst 200.0.0.2 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-cbc-128 crypto-key 54436e69434843707754637042596f6c integ-alg sha-512-256 integ-key 47624a48597a71686f776876424277704c766c4c6674776876774d5957614546644b646a70576e4863766858655a6e4b564957476457504c5261714661737559 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-cbc-128 crypto-key 54436e69434843707754637042596f6c integ-alg sha-512-256 integ-key 47624a48597a71686f776876424277704c766c4c6674776876774d5957614546644b646a70576e4863766858655a6e4b564957476457504c5261714661737559 esp
exec ipsec tunnel protect ipip11 sa-out 11 sa-in 100011 add
exec set interface ip address loop0 100.0.12.1/32
exec create ipip tunnel src 100.0.12.1 dst 200.0.0.2 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-cbc-128 crypto-key 6a697964746e4778756e65664d696a69 integ-alg sha-512-256 integ-key 6878456957677969434852506a4d59616865647a7171687a66496f576168506f6a4f636a6b75635261496d45757071434f76554246644c576248714148566c6a esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-cbc-128 crypto-key 6a697964746e4778756e65664d696a69 integ-alg sha-512-256 integ-key 6878456957677969434852506a4d59616865647a7171687a66496f576168506f6a4f636a6b75635261496d45757071434f76554246644c576248714148566c6a esp
exec ipsec tunnel protect ipip12 sa-out 12 sa-in 100012 add
exec set interface ip address loop0 100.0.13.1/32
exec create ipip tunnel src 100.0.13.1 dst 200.0.0.2 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-cbc-128 crypto-key 61556b597a4d64634243734374516b6e integ-alg sha-512-256 integ-key 484747537a4841764f5557447577685971426f614b77514a624c616d7557426e4d706e776848787245656859686d425361624d474e70694f79764c784578644f esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-cbc-128 crypto-key 61556b597a4d64634243734374516b6e integ-alg sha-512-256 integ-key 484747537a4841764f5557447577685971426f614b77514a624c616d7557426e4d706e776848787245656859686d425361624d474e70694f79764c784578644f esp
exec ipsec tunnel protect ipip13 sa-out 13 sa-in 100013 add
exec set interface ip address loop0 100.0.14.1/32
exec create ipip tunnel src 100.0.14.1 dst 200.0.0.2 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-cbc-128 crypto-key 78474a534c6b7356644d457866614d63 integ-alg sha-512-256 integ-key 4a4e7859744b496e4d77524a5a63647671636f466d594f4c41474b6574557a4d6a7662666f6c4d554e6e506f6f656b446c514575744e71436166554e6647735a esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-cbc-128 crypto-key 78474a534c6b7356644d457866614d63 integ-alg sha-512-256 integ-key 4a4e7859744b496e4d77524a5a63647671636f466d594f4c41474b6574557a4d6a7662666f6c4d554e6e506f6f656b446c514575744e71436166554e6647735a esp
exec ipsec tunnel protect ipip14 sa-out 14 sa-in 100014 add
exec set interface ip address loop0 100.0.15.1/32
exec create ipip tunnel src 100.0.15.1 dst 200.0.0.2 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-cbc-128 crypto-key 74624f61414d7a596441544d50547344 integ-alg sha-512-256 integ-key 45484c6e436e4c706e497473556f5a677450554f7345696f705a744f4d726659655258734263764d5a77566f62476774434f6c416d5751634367567578647878 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-cbc-128 crypto-key 74624f61414d7a596441544d50547344 integ-alg sha-512-256 integ-key 45484c6e436e4c706e497473556f5a677450554f7345696f705a744f4d726659655258734263764d5a77566f62476774434f6c416d5751634367567578647878 esp
exec ipsec tunnel protect ipip15 sa-out 15 sa-in 100015 add
exec set interface ip address loop0 100.0.16.1/32
exec create ipip tunnel src 100.0.16.1 dst 200.0.0.2 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-cbc-128 crypto-key 6b4b6c6d624977756c7579416357774d integ-alg sha-512-256 integ-key 52554677636c766e6b4375796f4e6e616f51657a6e68554e647a786373767a757a535552745a6c497870445a4774777370784876727a6d477573517676466a76 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-cbc-128 crypto-key 6b4b6c6d624977756c7579416357774d integ-alg sha-512-256 integ-key 52554677636c766e6b4375796f4e6e616f51657a6e68554e647a786373767a757a535552745a6c497870445a4774777370784876727a6d477573517676466a76 esp
exec ipsec tunnel protect ipip16 sa-out 16 sa-in 100016 add
exec set interface ip address loop0 100.0.17.1/32
exec create ipip tunnel src 100.0.17.1 dst 200.0.0.2 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-cbc-128 crypto-key 635048697a4172434571737a664d6761 integ-alg sha-512-256 integ-key 42477858596545674d4577506f596a726453794753574e42515264654162656e777a66784a4b6245747656497a634556527a4a645a50614c7a635a7a7a525545 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-cbc-128 crypto-key 635048697a4172434571737a664d6761 integ-alg sha-512-256 integ-key 42477858596545674d4577506f596a726453794753574e42515264654162656e777a66784a4b6245747656497a634556527a4a645a50614c7a635a7a7a525545 esp
exec ipsec tunnel protect ipip17 sa-out 17 sa-in 100017 add
exec set interface ip address loop0 100.0.18.1/32
exec create ipip tunnel src 100.0.18.1 dst 200.0.0.2 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-cbc-128 crypto-key 4d6370676a74446c496864464b584479 integ-alg sha-512-256 integ-key 6a42494c6264496c6856696c58696256716d766f6d45676a416f556e75495858474a4b4b7379636158774f7667584a4c53745863724b4255547a79477258716a esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-cbc-128 crypto-key 4d6370676a74446c496864464b584479 integ-alg sha-512-256 integ-key 6a42494c6264496c6856696c58696256716d766f6d45676a416f556e75495858474a4b4b7379636158774f7667584a4c53745863724b4255547a79477258716a esp
exec ipsec tunnel protect ipip18 sa-out 18 sa-in 100018 add
exec set interface ip address loop0 100.0.19.1/32
exec create ipip tunnel src 100.0.19.1 dst 200.0.0.2 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-cbc-128 crypto-key 4455526a65594f4a7a4e794f70764176 integ-alg sha-512-256 integ-key 667043445147527959574e6c5a4e42534b7a676143766d72666964505557764c62526b6b7343656476725a7158494c58584b7551724a69444b4578776359495a esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-cbc-128 crypto-key 4455526a65594f4a7a4e794f70764176 integ-alg sha-512-256 integ-key 667043445147527959574e6c5a4e42534b7a676143766d72666964505557764c62526b6b7343656476725a7158494c58584b7551724a69444b4578776359495a esp
exec ipsec tunnel protect ipip19 sa-out 19 sa-in 100019 add
exec set interface ip address loop0 100.0.20.1/32
exec create ipip tunnel src 100.0.20.1 dst 200.0.0.2 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-cbc-128 crypto-key 6c686169474d46525357516779586570 integ-alg sha-512-256 integ-key 4c504971766971726d53504b54775a6249687a7268567162697753505a7977794e7a524959554965644e4e75754d7675536a5458546c664d6c787a4753775570 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-cbc-128 crypto-key 6c686169474d46525357516779586570 integ-alg sha-512-256 integ-key 4c504971766971726d53504b54775a6249687a7268567162697753505a7977794e7a524959554965644e4e75754d7675536a5458546c664d6c787a4753775570 esp
exec ipsec tunnel protect ipip20 sa-out 20 sa-in 100020 add
exec set interface ip address loop0 100.0.21.1/32
exec create ipip tunnel src 100.0.21.1 dst 200.0.0.2 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-cbc-128 crypto-key 71615451596568477373507957567365 integ-alg sha-512-256 integ-key 416853766d50706e5878704b63766b4a71484d646274754a62536247524e6d5346675a486e736a547a76564e6f50586f41586a66654f6a734d4d526a42484251 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-cbc-128 crypto-key 71615451596568477373507957567365 integ-alg sha-512-256 integ-key 416853766d50706e5878704b63766b4a71484d646274754a62536247524e6d5346675a486e736a547a76564e6f50586f41586a66654f6a734d4d526a42484251 esp
exec ipsec tunnel protect ipip21 sa-out 21 sa-in 100021 add
exec set interface ip address loop0 100.0.22.1/32
exec create ipip tunnel src 100.0.22.1 dst 200.0.0.2 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-cbc-128 crypto-key 5a73564b6f4a4a4652454a704d535a77 integ-alg sha-512-256 integ-key 526e544754714e70544e495678566a714e70526948787945525a4e7552677867426144744442635551595575434b6672746562506152687a6d414964467a4445 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-cbc-128 crypto-key 5a73564b6f4a4a4652454a704d535a77 integ-alg sha-512-256 integ-key 526e544754714e70544e495678566a714e70526948787945525a4e7552677867426144744442635551595575434b6672746562506152687a6d414964467a4445 esp
exec ipsec tunnel protect ipip22 sa-out 22 sa-in 100022 add
exec set interface ip address loop0 100.0.23.1/32
exec create ipip tunnel src 100.0.23.1 dst 200.0.0.2 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-cbc-128 crypto-key 6e6356516a4f70754a4b74594e575351 integ-alg sha-512-256 integ-key 706c73634d4a536d54667778744e4841464d67564a665678754f796b6e71616a656346796273764a56735559455343686b55764b656d576d4768417671786f41 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-cbc-128 crypto-key 6e6356516a4f70754a4b74594e575351 integ-alg sha-512-256 integ-key 706c73634d4a536d54667778744e4841464d67564a665678754f796b6e71616a656346796273764a56735559455343686b55764b656d576d4768417671786f41 esp
exec ipsec tunnel protect ipip23 sa-out 23 sa-in 100023 add
exec set interface ip address loop0 100.0.24.1/32
exec create ipip tunnel src 100.0.24.1 dst 200.0.0.2 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-cbc-128 crypto-key 636673534e464c6973506877574c6566 integ-alg sha-512-256 integ-key 71657065767a42504b4f79754a584d6f4d59716977795946516555534e5965566b77474444534a5a777a447057646b657079524b7579744b7477676a58435250 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-cbc-128 crypto-key 636673534e464c6973506877574c6566 integ-alg sha-512-256 integ-key 71657065767a42504b4f79754a584d6f4d59716977795946516555534e5965566b77474444534a5a777a447057646b657079524b7579744b7477676a58435250 esp
exec ipsec tunnel protect ipip24 sa-out 24 sa-in 100024 add
exec set interface ip address loop0 100.0.25.1/32
exec create ipip tunnel src 100.0.25.1 dst 200.0.0.2 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-cbc-128 crypto-key 646979684c5743524872517964447549 integ-alg sha-512-256 integ-key 466776766556645242684d6a7370534479684d576e56436f47786943667066515058797273455469746f6757495041436e494d73707144624a4a726862584f6e esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-cbc-128 crypto-key 646979684c5743524872517964447549 integ-alg sha-512-256 integ-key 466776766556645242684d6a7370534479684d576e56436f47786943667066515058797273455469746f6757495041436e494d73707144624a4a726862584f6e esp
exec ipsec tunnel protect ipip25 sa-out 25 sa-in 100025 add
exec set interface ip address loop0 100.0.26.1/32
exec create ipip tunnel src 100.0.26.1 dst 200.0.0.2 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-cbc-128 crypto-key 4b6243624c4b4c6e59435a4943774670 integ-alg sha-512-256 integ-key 5a72564b78716b4e684963665862576970486f716b6a544f7547524e7a476c53467658416d7a4e74436d446c6e684666727364717774764e436a72497a486973 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-cbc-128 crypto-key 4b6243624c4b4c6e59435a4943774670 integ-alg sha-512-256 integ-key 5a72564b78716b4e684963665862576970486f716b6a544f7547524e7a476c53467658416d7a4e74436d446c6e684666727364717774764e436a72497a486973 esp
exec ipsec tunnel protect ipip26 sa-out 26 sa-in 100026 add
exec set interface ip address loop0 100.0.27.1/32
exec create ipip tunnel src 100.0.27.1 dst 200.0.0.2 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-cbc-128 crypto-key 6773615866504c75714e61594d436f54 integ-alg sha-512-256 integ-key 65446f6641567757504d755a59565250736d4f73786350636e48656d665758716a73746c64767071526779666174516a41754166644a7a6d4a4147556e614c78 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-cbc-128 crypto-key 6773615866504c75714e61594d436f54 integ-alg sha-512-256 integ-key 65446f6641567757504d755a59565250736d4f73786350636e48656d665758716a73746c64767071526779666174516a41754166644a7a6d4a4147556e614c78 esp
exec ipsec tunnel protect ipip27 sa-out 27 sa-in 100027 add
exec set interface ip address loop0 100.0.28.1/32
exec create ipip tunnel src 100.0.28.1 dst 200.0.0.2 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-cbc-128 crypto-key 425247645069766e42494445704c7953 integ-alg sha-512-256 integ-key 6f56617a4c6a4a7a51534842644a637751774168725961746b465370706b75586e6f54624a7867586f626a4d737758776a75445565624d68417a55527a594877 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-cbc-128 crypto-key 425247645069766e42494445704c7953 integ-alg sha-512-256 integ-key 6f56617a4c6a4a7a51534842644a637751774168725961746b465370706b75586e6f54624a7867586f626a4d737758776a75445565624d68417a55527a594877 esp
exec ipsec tunnel protect ipip28 sa-out 28 sa-in 100028 add
exec set interface ip address loop0 100.0.29.1/32
exec create ipip tunnel src 100.0.29.1 dst 200.0.0.2 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-cbc-128 crypto-key 47735154734451487343726c7a516777 integ-alg sha-512-256 integ-key 5a6b77634771477270694744656d6c624974666a7647725a4e41684b6a4551525a6b71437961445a77795950636674697a44465274567662654a4d5159476668 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-cbc-128 crypto-key 47735154734451487343726c7a516777 integ-alg sha-512-256 integ-key 5a6b77634771477270694744656d6c624974666a7647725a4e41684b6a4551525a6b71437961445a77795950636674697a44465274567662654a4d5159476668 esp
exec ipsec tunnel protect ipip29 sa-out 29 sa-in 100029 add
exec set interface ip address loop0 100.0.30.1/32
exec create ipip tunnel src 100.0.30.1 dst 200.0.0.2 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-cbc-128 crypto-key 5667756d657567465a55724177446d6b integ-alg sha-512-256 integ-key 7371414e70494c57476552614452547659474e4e494b51797a446b646559534d6c6750667a73524c4d645643655776427a597172586a4d62474b637761504b59 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-cbc-128 crypto-key 5667756d657567465a55724177446d6b integ-alg sha-512-256 integ-key 7371414e70494c57476552614452547659474e4e494b51797a446b646559534d6c6750667a73524c4d645643655776427a597172586a4d62474b637761504b59 esp
exec ipsec tunnel protect ipip30 sa-out 30 sa-in 100030 add
exec set interface ip address loop0 100.0.31.1/32
exec create ipip tunnel src 100.0.31.1 dst 200.0.0.2 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-cbc-128 crypto-key 584b4f504d576a4b4351474d4a53544d integ-alg sha-512-256 integ-key 5a62706542667954644367524668656263776b576b55514a5778614d466c47567268624b4d4e69444b70574e53514c706842644577414169694a5342574a6f51 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-cbc-128 crypto-key 584b4f504d576a4b4351474d4a53544d integ-alg sha-512-256 integ-key 5a62706542667954644367524668656263776b576b55514a5778614d466c47567268624b4d4e69444b70574e53514c706842644577414169694a5342574a6f51 esp
exec ipsec tunnel protect ipip31 sa-out 31 sa-in 100031 add
exec set interface ip address loop0 100.0.32.1/32
exec create ipip tunnel src 100.0.32.1 dst 200.0.0.2 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-cbc-128 crypto-key 567452647067584d70526868456c6654 integ-alg sha-512-256 integ-key 6c7368666b425254495761695748595045475263794a737a454542474c47627262474358425a66486f6a6b48496d78725178794b78654e5071556f6348425251 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-cbc-128 crypto-key 567452647067584d70526868456c6654 integ-alg sha-512-256 integ-key 6c7368666b425254495761695748595045475263794a737a454542474c47627262474358425a66486f6a6b48496d78725178794b78654e5071556f6348425251 esp
exec ipsec tunnel protect ipip32 sa-out 32 sa-in 100032 add
exec set interface ip address loop0 100.0.33.1/32
exec create ipip tunnel src 100.0.33.1 dst 200.0.0.2 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-cbc-128 crypto-key 66446147524d4165456579444a476362 integ-alg sha-512-256 integ-key 4e564e6867556359504e69665673547559766468746e4869514c54674a684d5a7641466c55536d644b52677a5841657156794e7974415145616a4b5644755443 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-cbc-128 crypto-key 66446147524d4165456579444a476362 integ-alg sha-512-256 integ-key 4e564e6867556359504e69665673547559766468746e4869514c54674a684d5a7641466c55536d644b52677a5841657156794e7974415145616a4b5644755443 esp
exec ipsec tunnel protect ipip33 sa-out 33 sa-in 100033 add
exec set interface ip address loop0 100.0.34.1/32
exec create ipip tunnel src 100.0.34.1 dst 200.0.0.2 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-cbc-128 crypto-key 436c4d50446c67595057416b78775973 integ-alg sha-512-256 integ-key 73446b50677a7774745352494f64784e5a6e414674794a46556e4278784972577844724d6250776458775a646f51624b5a454b6c4d4143444c756b4d55514176 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-cbc-128 crypto-key 436c4d50446c67595057416b78775973 integ-alg sha-512-256 integ-key 73446b50677a7774745352494f64784e5a6e414674794a46556e4278784972577844724d6250776458775a646f51624b5a454b6c4d4143444c756b4d55514176 esp
exec ipsec tunnel protect ipip34 sa-out 34 sa-in 100034 add
exec set interface ip address loop0 100.0.35.1/32
exec create ipip tunnel src 100.0.35.1 dst 200.0.0.2 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-cbc-128 crypto-key 4d457a4576517a516d6d76684d414869 integ-alg sha-512-256 integ-key 654676637566506c486b6645797a51684f796879417857644943674d5048544b485457505278714c6263704271416c45714b447253467352544e4c4768616173 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-cbc-128 crypto-key 4d457a4576517a516d6d76684d414869 integ-alg sha-512-256 integ-key 654676637566506c486b6645797a51684f796879417857644943674d5048544b485457505278714c6263704271416c45714b447253467352544e4c4768616173 esp
exec ipsec tunnel protect ipip35 sa-out 35 sa-in 100035 add
exec set interface ip address loop0 100.0.36.1/32
exec create ipip tunnel src 100.0.36.1 dst 200.0.0.2 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-cbc-128 crypto-key 656e79634a4472444b4b4e516f777755 integ-alg sha-512-256 integ-key 69584c4264594646704e6f6c5147634b714747676368726570434579695a4e5163424c4c62534d766d6c556f496e67794d79576558584b626365536d66775849 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-cbc-128 crypto-key 656e79634a4472444b4b4e516f777755 integ-alg sha-512-256 integ-key 69584c4264594646704e6f6c5147634b714747676368726570434579695a4e5163424c4c62534d766d6c556f496e67794d79576558584b626365536d66775849 esp
exec ipsec tunnel protect ipip36 sa-out 36 sa-in 100036 add
exec set interface ip address loop0 100.0.37.1/32
exec create ipip tunnel src 100.0.37.1 dst 200.0.0.2 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-cbc-128 crypto-key 4d45496468656d6454564e4b49725041 integ-alg sha-512-256 integ-key 5476754e7a74784d594258536c796f7757494162414651786d6b5742495764416c4b7753684771514f77734a4575746d6b7749636c6473434370447369615a50 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-cbc-128 crypto-key 4d45496468656d6454564e4b49725041 integ-alg sha-512-256 integ-key 5476754e7a74784d594258536c796f7757494162414651786d6b5742495764416c4b7753684771514f77734a4575746d6b7749636c6473434370447369615a50 esp
exec ipsec tunnel protect ipip37 sa-out 37 sa-in 100037 add
exec set interface ip address loop0 100.0.38.1/32
exec create ipip tunnel src 100.0.38.1 dst 200.0.0.2 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-cbc-128 crypto-key 556d6c47616e52526c436e694d434150 integ-alg sha-512-256 integ-key 4463527a78556965686e655374435251557079797364597173505757666c4e6e5a557146664b47556f555861646c5566504c52675054624d736a454b544f6f75 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-cbc-128 crypto-key 556d6c47616e52526c436e694d434150 integ-alg sha-512-256 integ-key 4463527a78556965686e655374435251557079797364597173505757666c4e6e5a557146664b47556f555861646c5566504c52675054624d736a454b544f6f75 esp
exec ipsec tunnel protect ipip38 sa-out 38 sa-in 100038 add
exec set interface ip address loop0 100.0.39.1/32
exec create ipip tunnel src 100.0.39.1 dst 200.0.0.2 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-cbc-128 crypto-key 5375644c6b43756d57507a645542734d integ-alg sha-512-256 integ-key 76564e7a6454724e6e4d624a596e79596f6e4a494f477846714753504d636258635a4d59744578617272744f61777068685753584c6a567a53614e4745704758 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-cbc-128 crypto-key 5375644c6b43756d57507a645542734d integ-alg sha-512-256 integ-key 76564e7a6454724e6e4d624a596e79596f6e4a494f477846714753504d636258635a4d59744578617272744f61777068685753584c6a567a53614e4745704758 esp
exec ipsec tunnel protect ipip39 sa-out 39 sa-in 100039 add
exec set interface unnumbered ipip0 use avf-0/3b/a/0
exec set interface state ipip0 up
exec ip route add 20.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use avf-0/3b/a/0
exec set interface state ipip1 up
exec ip route add 20.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use avf-0/3b/a/0
exec set interface state ipip2 up
exec ip route add 20.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use avf-0/3b/a/0
exec set interface state ipip3 up
exec ip route add 20.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use avf-0/3b/a/0
exec set interface state ipip4 up
exec ip route add 20.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use avf-0/3b/a/0
exec set interface state ipip5 up
exec ip route add 20.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use avf-0/3b/a/0
exec set interface state ipip6 up
exec ip route add 20.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use avf-0/3b/a/0
exec set interface state ipip7 up
exec ip route add 20.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use avf-0/3b/a/0
exec set interface state ipip8 up
exec ip route add 20.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use avf-0/3b/a/0
exec set interface state ipip9 up
exec ip route add 20.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use avf-0/3b/a/0
exec set interface state ipip10 up
exec ip route add 20.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use avf-0/3b/a/0
exec set interface state ipip11 up
exec ip route add 20.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use avf-0/3b/a/0
exec set interface state ipip12 up
exec ip route add 20.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use avf-0/3b/a/0
exec set interface state ipip13 up
exec ip route add 20.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use avf-0/3b/a/0
exec set interface state ipip14 up
exec ip route add 20.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use avf-0/3b/a/0
exec set interface state ipip15 up
exec ip route add 20.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use avf-0/3b/a/0
exec set interface state ipip16 up
exec ip route add 20.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use avf-0/3b/a/0
exec set interface state ipip17 up
exec ip route add 20.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use avf-0/3b/a/0
exec set interface state ipip18 up
exec ip route add 20.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use avf-0/3b/a/0
exec set interface state ipip19 up
exec ip route add 20.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use avf-0/3b/a/0
exec set interface state ipip20 up
exec ip route add 20.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use avf-0/3b/a/0
exec set interface state ipip21 up
exec ip route add 20.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use avf-0/3b/a/0
exec set interface state ipip22 up
exec ip route add 20.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use avf-0/3b/a/0
exec set interface state ipip23 up
exec ip route add 20.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use avf-0/3b/a/0
exec set interface state ipip24 up
exec ip route add 20.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use avf-0/3b/a/0
exec set interface state ipip25 up
exec ip route add 20.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use avf-0/3b/a/0
exec set interface state ipip26 up
exec ip route add 20.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use avf-0/3b/a/0
exec set interface state ipip27 up
exec ip route add 20.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use avf-0/3b/a/0
exec set interface state ipip28 up
exec ip route add 20.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use avf-0/3b/a/0
exec set interface state ipip29 up
exec ip route add 20.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use avf-0/3b/a/0
exec set interface state ipip30 up
exec ip route add 20.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use avf-0/3b/a/0
exec set interface state ipip31 up
exec ip route add 20.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use avf-0/3b/a/0
exec set interface state ipip32 up
exec ip route add 20.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use avf-0/3b/a/0
exec set interface state ipip33 up
exec ip route add 20.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use avf-0/3b/a/0
exec set interface state ipip34 up
exec ip route add 20.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use avf-0/3b/a/0
exec set interface state ipip35 up
exec ip route add 20.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use avf-0/3b/a/0
exec set interface state ipip36 up
exec ip route add 20.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use avf-0/3b/a/0
exec set interface state ipip37 up
exec ip route add 20.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use avf-0/3b/a/0
exec set interface state ipip38 up
exec ip route add 20.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use avf-0/3b/a/0
exec set interface state ipip39 up
exec ip route add 20.0.0.39/32 via ipip39
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec set interface ip address avf-0/3b/a/0 200.0.0.2/24.0
exec create ipip tunnel src 200.0.0.2 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-cbc-128 crypto-key 7a6a414d6355506a48764f6a454e7869 integ-alg sha-512-256 integ-key 57616f567a62786f59706f6f794e6d45474c45746c787a596255726a594670497177764a485868417274554869585077434d766b554a446659476b6665506864 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-cbc-128 crypto-key 7a6a414d6355506a48764f6a454e7869 integ-alg sha-512-256 integ-key 57616f567a62786f59706f6f794e6d45474c45746c787a596255726a594670497177764a485868417274554869585077434d766b554a446659476b6665506864 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-cbc-128 crypto-key 436c49686e785766587245624c517477 integ-alg sha-512-256 integ-key 647058614e636d4a477151644d456e614c476f4e42496d474c725854504d43784d5775654b6565716e566f4e73756d4943564943755a6473626b734a4d707455 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-cbc-128 crypto-key 436c49686e785766587245624c517477 integ-alg sha-512-256 integ-key 647058614e636d4a477151644d456e614c476f4e42496d474c725854504d43784d5775654b6565716e566f4e73756d4943564943755a6473626b734a4d707455 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-cbc-128 crypto-key 45534c484c757764534d4e7150666955 integ-alg sha-512-256 integ-key 7a4541776b7359454b6a6444554e48486c7647667865705a4e745376776671694b4747554d625a686d5151666b6c65554642724b6349466775664c537564574e esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-cbc-128 crypto-key 45534c484c757764534d4e7150666955 integ-alg sha-512-256 integ-key 7a4541776b7359454b6a6444554e48486c7647667865705a4e745376776671694b4747554d625a686d5151666b6c65554642724b6349466775664c537564574e esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-cbc-128 crypto-key 6e64704f6a6d574a544b745a4e4d4a6f integ-alg sha-512-256 integ-key 4d6b48586a416a4f46526b72784d4b587141466978544666465063644e4a64654c42514c726f6f4771716e766d6a4c57644445686d577755504d736379594e4c esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-cbc-128 crypto-key 6e64704f6a6d574a544b745a4e4d4a6f integ-alg sha-512-256 integ-key 4d6b48586a416a4f46526b72784d4b587141466978544666465063644e4a64654c42514c726f6f4771716e766d6a4c57644445686d577755504d736379594e4c esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-cbc-128 crypto-key 79756c4744786f66564f5677414d4a41 integ-alg sha-512-256 integ-key 6454536b4a4746424b6857477756687469577372746b6a6a564e68784b48515351676e41767a4963775055486f736c6a464a626254535a457a46697a4d574759 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-cbc-128 crypto-key 79756c4744786f66564f5677414d4a41 integ-alg sha-512-256 integ-key 6454536b4a4746424b6857477756687469577372746b6a6a564e68784b48515351676e41767a4963775055486f736c6a464a626254535a457a46697a4d574759 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-cbc-128 crypto-key 51736c735143747379424f5276754f41 integ-alg sha-512-256 integ-key 7465794c6b767177454f576e6f485154635249786e724e726f7247594c64654f536d436e57465471737747766742554375695747726d5558416c4a456b574f41 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-cbc-128 crypto-key 51736c735143747379424f5276754f41 integ-alg sha-512-256 integ-key 7465794c6b767177454f576e6f485154635249786e724e726f7247594c64654f536d436e57465471737747766742554375695747726d5558416c4a456b574f41 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-cbc-128 crypto-key 79494858596b4571766b57696d4e5774 integ-alg sha-512-256 integ-key 4d6c464d544f78477a636b62467643726b4454734169774650714b65585765467966507755705a4c724b5067496d6a5372767845564446517459437957725874 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-cbc-128 crypto-key 79494858596b4571766b57696d4e5774 integ-alg sha-512-256 integ-key 4d6c464d544f78477a636b62467643726b4454734169774650714b65585765467966507755705a4c724b5067496d6a5372767845564446517459437957725874 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-cbc-128 crypto-key 5341736164567559766f737066746862 integ-alg sha-512-256 integ-key 466c73564749437878427943456d6b54694d4e53596e596b44575a5042516f486b52596b4b7673644646434f424c6e5149487a7a767a72496f69686256485953 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-cbc-128 crypto-key 5341736164567559766f737066746862 integ-alg sha-512-256 integ-key 466c73564749437878427943456d6b54694d4e53596e596b44575a5042516f486b52596b4b7673644646434f424c6e5149487a7a767a72496f69686256485953 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-cbc-128 crypto-key 4c446144784f6d614c71495541734448 integ-alg sha-512-256 integ-key 614d505563636a4d6c4879426a4a73645561794e415a436d6452467a42594146596c7856787467726d61567057736d716d6c4843566a6753524c6b4663466850 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-cbc-128 crypto-key 4c446144784f6d614c71495541734448 integ-alg sha-512-256 integ-key 614d505563636a4d6c4879426a4a73645561794e415a436d6452467a42594146596c7856787467726d61567057736d716d6c4843566a6753524c6b4663466850 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-cbc-128 crypto-key 6a686e524770744e7a71796c564d776d integ-alg sha-512-256 integ-key 57716e687550714a547471725a744b62466f6155505655704e496c65586952766374666e54535a726a7461484c536341425a6243585450447a6649484a655366 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-cbc-128 crypto-key 6a686e524770744e7a71796c564d776d integ-alg sha-512-256 integ-key 57716e687550714a547471725a744b62466f6155505655704e496c65586952766374666e54535a726a7461484c536341425a6243585450447a6649484a655366 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-cbc-128 crypto-key 465558576b77555a464d4c50727a4868 integ-alg sha-512-256 integ-key 566c795a73754758467953414e686e707a4a447946494a46756e6d504a50514b6a476968764d496779776e6765465669714b4e5a555171655966527270664245 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-cbc-128 crypto-key 465558576b77555a464d4c50727a4868 integ-alg sha-512-256 integ-key 566c795a73754758467953414e686e707a4a447946494a46756e6d504a50514b6a476968764d496779776e6765465669714b4e5a555171655966527270664245 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-cbc-128 crypto-key 54436e69434843707754637042596f6c integ-alg sha-512-256 integ-key 47624a48597a71686f776876424277704c766c4c6674776876774d5957614546644b646a70576e4863766858655a6e4b564957476457504c5261714661737559 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-cbc-128 crypto-key 54436e69434843707754637042596f6c integ-alg sha-512-256 integ-key 47624a48597a71686f776876424277704c766c4c6674776876774d5957614546644b646a70576e4863766858655a6e4b564957476457504c5261714661737559 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-cbc-128 crypto-key 6a697964746e4778756e65664d696a69 integ-alg sha-512-256 integ-key 6878456957677969434852506a4d59616865647a7171687a66496f576168506f6a4f636a6b75635261496d45757071434f76554246644c576248714148566c6a esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-cbc-128 crypto-key 6a697964746e4778756e65664d696a69 integ-alg sha-512-256 integ-key 6878456957677969434852506a4d59616865647a7171687a66496f576168506f6a4f636a6b75635261496d45757071434f76554246644c576248714148566c6a esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-cbc-128 crypto-key 61556b597a4d64634243734374516b6e integ-alg sha-512-256 integ-key 484747537a4841764f5557447577685971426f614b77514a624c616d7557426e4d706e776848787245656859686d425361624d474e70694f79764c784578644f esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-cbc-128 crypto-key 61556b597a4d64634243734374516b6e integ-alg sha-512-256 integ-key 484747537a4841764f5557447577685971426f614b77514a624c616d7557426e4d706e776848787245656859686d425361624d474e70694f79764c784578644f esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-cbc-128 crypto-key 78474a534c6b7356644d457866614d63 integ-alg sha-512-256 integ-key 4a4e7859744b496e4d77524a5a63647671636f466d594f4c41474b6574557a4d6a7662666f6c4d554e6e506f6f656b446c514575744e71436166554e6647735a esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-cbc-128 crypto-key 78474a534c6b7356644d457866614d63 integ-alg sha-512-256 integ-key 4a4e7859744b496e4d77524a5a63647671636f466d594f4c41474b6574557a4d6a7662666f6c4d554e6e506f6f656b446c514575744e71436166554e6647735a esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-cbc-128 crypto-key 74624f61414d7a596441544d50547344 integ-alg sha-512-256 integ-key 45484c6e436e4c706e497473556f5a677450554f7345696f705a744f4d726659655258734263764d5a77566f62476774434f6c416d5751634367567578647878 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-cbc-128 crypto-key 74624f61414d7a596441544d50547344 integ-alg sha-512-256 integ-key 45484c6e436e4c706e497473556f5a677450554f7345696f705a744f4d726659655258734263764d5a77566f62476774434f6c416d5751634367567578647878 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-cbc-128 crypto-key 6b4b6c6d624977756c7579416357774d integ-alg sha-512-256 integ-key 52554677636c766e6b4375796f4e6e616f51657a6e68554e647a786373767a757a535552745a6c497870445a4774777370784876727a6d477573517676466a76 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-cbc-128 crypto-key 6b4b6c6d624977756c7579416357774d integ-alg sha-512-256 integ-key 52554677636c766e6b4375796f4e6e616f51657a6e68554e647a786373767a757a535552745a6c497870445a4774777370784876727a6d477573517676466a76 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-cbc-128 crypto-key 635048697a4172434571737a664d6761 integ-alg sha-512-256 integ-key 42477858596545674d4577506f596a726453794753574e42515264654162656e777a66784a4b6245747656497a634556527a4a645a50614c7a635a7a7a525545 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-cbc-128 crypto-key 635048697a4172434571737a664d6761 integ-alg sha-512-256 integ-key 42477858596545674d4577506f596a726453794753574e42515264654162656e777a66784a4b6245747656497a634556527a4a645a50614c7a635a7a7a525545 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-cbc-128 crypto-key 4d6370676a74446c496864464b584479 integ-alg sha-512-256 integ-key 6a42494c6264496c6856696c58696256716d766f6d45676a416f556e75495858474a4b4b7379636158774f7667584a4c53745863724b4255547a79477258716a esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-cbc-128 crypto-key 4d6370676a74446c496864464b584479 integ-alg sha-512-256 integ-key 6a42494c6264496c6856696c58696256716d766f6d45676a416f556e75495858474a4b4b7379636158774f7667584a4c53745863724b4255547a79477258716a esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-cbc-128 crypto-key 4455526a65594f4a7a4e794f70764176 integ-alg sha-512-256 integ-key 667043445147527959574e6c5a4e42534b7a676143766d72666964505557764c62526b6b7343656476725a7158494c58584b7551724a69444b4578776359495a esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-cbc-128 crypto-key 4455526a65594f4a7a4e794f70764176 integ-alg sha-512-256 integ-key 667043445147527959574e6c5a4e42534b7a676143766d72666964505557764c62526b6b7343656476725a7158494c58584b7551724a69444b4578776359495a esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-cbc-128 crypto-key 6c686169474d46525357516779586570 integ-alg sha-512-256 integ-key 4c504971766971726d53504b54775a6249687a7268567162697753505a7977794e7a524959554965644e4e75754d7675536a5458546c664d6c787a4753775570 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-cbc-128 crypto-key 6c686169474d46525357516779586570 integ-alg sha-512-256 integ-key 4c504971766971726d53504b54775a6249687a7268567162697753505a7977794e7a524959554965644e4e75754d7675536a5458546c664d6c787a4753775570 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-cbc-128 crypto-key 71615451596568477373507957567365 integ-alg sha-512-256 integ-key 416853766d50706e5878704b63766b4a71484d646274754a62536247524e6d5346675a486e736a547a76564e6f50586f41586a66654f6a734d4d526a42484251 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-cbc-128 crypto-key 71615451596568477373507957567365 integ-alg sha-512-256 integ-key 416853766d50706e5878704b63766b4a71484d646274754a62536247524e6d5346675a486e736a547a76564e6f50586f41586a66654f6a734d4d526a42484251 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-cbc-128 crypto-key 5a73564b6f4a4a4652454a704d535a77 integ-alg sha-512-256 integ-key 526e544754714e70544e495678566a714e70526948787945525a4e7552677867426144744442635551595575434b6672746562506152687a6d414964467a4445 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-cbc-128 crypto-key 5a73564b6f4a4a4652454a704d535a77 integ-alg sha-512-256 integ-key 526e544754714e70544e495678566a714e70526948787945525a4e7552677867426144744442635551595575434b6672746562506152687a6d414964467a4445 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-cbc-128 crypto-key 6e6356516a4f70754a4b74594e575351 integ-alg sha-512-256 integ-key 706c73634d4a536d54667778744e4841464d67564a665678754f796b6e71616a656346796273764a56735559455343686b55764b656d576d4768417671786f41 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-cbc-128 crypto-key 6e6356516a4f70754a4b74594e575351 integ-alg sha-512-256 integ-key 706c73634d4a536d54667778744e4841464d67564a665678754f796b6e71616a656346796273764a56735559455343686b55764b656d576d4768417671786f41 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-cbc-128 crypto-key 636673534e464c6973506877574c6566 integ-alg sha-512-256 integ-key 71657065767a42504b4f79754a584d6f4d59716977795946516555534e5965566b77474444534a5a777a447057646b657079524b7579744b7477676a58435250 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-cbc-128 crypto-key 636673534e464c6973506877574c6566 integ-alg sha-512-256 integ-key 71657065767a42504b4f79754a584d6f4d59716977795946516555534e5965566b77474444534a5a777a447057646b657079524b7579744b7477676a58435250 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-cbc-128 crypto-key 646979684c5743524872517964447549 integ-alg sha-512-256 integ-key 466776766556645242684d6a7370534479684d576e56436f47786943667066515058797273455469746f6757495041436e494d73707144624a4a726862584f6e esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-cbc-128 crypto-key 646979684c5743524872517964447549 integ-alg sha-512-256 integ-key 466776766556645242684d6a7370534479684d576e56436f47786943667066515058797273455469746f6757495041436e494d73707144624a4a726862584f6e esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-cbc-128 crypto-key 4b6243624c4b4c6e59435a4943774670 integ-alg sha-512-256 integ-key 5a72564b78716b4e684963665862576970486f716b6a544f7547524e7a476c53467658416d7a4e74436d446c6e684666727364717774764e436a72497a486973 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-cbc-128 crypto-key 4b6243624c4b4c6e59435a4943774670 integ-alg sha-512-256 integ-key 5a72564b78716b4e684963665862576970486f716b6a544f7547524e7a476c53467658416d7a4e74436d446c6e684666727364717774764e436a72497a486973 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-cbc-128 crypto-key 6773615866504c75714e61594d436f54 integ-alg sha-512-256 integ-key 65446f6641567757504d755a59565250736d4f73786350636e48656d665758716a73746c64767071526779666174516a41754166644a7a6d4a4147556e614c78 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-cbc-128 crypto-key 6773615866504c75714e61594d436f54 integ-alg sha-512-256 integ-key 65446f6641567757504d755a59565250736d4f73786350636e48656d665758716a73746c64767071526779666174516a41754166644a7a6d4a4147556e614c78 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-cbc-128 crypto-key 425247645069766e42494445704c7953 integ-alg sha-512-256 integ-key 6f56617a4c6a4a7a51534842644a637751774168725961746b465370706b75586e6f54624a7867586f626a4d737758776a75445565624d68417a55527a594877 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-cbc-128 crypto-key 425247645069766e42494445704c7953 integ-alg sha-512-256 integ-key 6f56617a4c6a4a7a51534842644a637751774168725961746b465370706b75586e6f54624a7867586f626a4d737758776a75445565624d68417a55527a594877 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-cbc-128 crypto-key 47735154734451487343726c7a516777 integ-alg sha-512-256 integ-key 5a6b77634771477270694744656d6c624974666a7647725a4e41684b6a4551525a6b71437961445a77795950636674697a44465274567662654a4d5159476668 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-cbc-128 crypto-key 47735154734451487343726c7a516777 integ-alg sha-512-256 integ-key 5a6b77634771477270694744656d6c624974666a7647725a4e41684b6a4551525a6b71437961445a77795950636674697a44465274567662654a4d5159476668 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-cbc-128 crypto-key 5667756d657567465a55724177446d6b integ-alg sha-512-256 integ-key 7371414e70494c57476552614452547659474e4e494b51797a446b646559534d6c6750667a73524c4d645643655776427a597172586a4d62474b637761504b59 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-cbc-128 crypto-key 5667756d657567465a55724177446d6b integ-alg sha-512-256 integ-key 7371414e70494c57476552614452547659474e4e494b51797a446b646559534d6c6750667a73524c4d645643655776427a597172586a4d62474b637761504b59 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-cbc-128 crypto-key 584b4f504d576a4b4351474d4a53544d integ-alg sha-512-256 integ-key 5a62706542667954644367524668656263776b576b55514a5778614d466c47567268624b4d4e69444b70574e53514c706842644577414169694a5342574a6f51 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-cbc-128 crypto-key 584b4f504d576a4b4351474d4a53544d integ-alg sha-512-256 integ-key 5a62706542667954644367524668656263776b576b55514a5778614d466c47567268624b4d4e69444b70574e53514c706842644577414169694a5342574a6f51 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-cbc-128 crypto-key 567452647067584d70526868456c6654 integ-alg sha-512-256 integ-key 6c7368666b425254495761695748595045475263794a737a454542474c47627262474358425a66486f6a6b48496d78725178794b78654e5071556f6348425251 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-cbc-128 crypto-key 567452647067584d70526868456c6654 integ-alg sha-512-256 integ-key 6c7368666b425254495761695748595045475263794a737a454542474c47627262474358425a66486f6a6b48496d78725178794b78654e5071556f6348425251 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-cbc-128 crypto-key 66446147524d4165456579444a476362 integ-alg sha-512-256 integ-key 4e564e6867556359504e69665673547559766468746e4869514c54674a684d5a7641466c55536d644b52677a5841657156794e7974415145616a4b5644755443 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-cbc-128 crypto-key 66446147524d4165456579444a476362 integ-alg sha-512-256 integ-key 4e564e6867556359504e69665673547559766468746e4869514c54674a684d5a7641466c55536d644b52677a5841657156794e7974415145616a4b5644755443 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-cbc-128 crypto-key 436c4d50446c67595057416b78775973 integ-alg sha-512-256 integ-key 73446b50677a7774745352494f64784e5a6e414674794a46556e4278784972577844724d6250776458775a646f51624b5a454b6c4d4143444c756b4d55514176 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-cbc-128 crypto-key 436c4d50446c67595057416b78775973 integ-alg sha-512-256 integ-key 73446b50677a7774745352494f64784e5a6e414674794a46556e4278784972577844724d6250776458775a646f51624b5a454b6c4d4143444c756b4d55514176 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-cbc-128 crypto-key 4d457a4576517a516d6d76684d414869 integ-alg sha-512-256 integ-key 654676637566506c486b6645797a51684f796879417857644943674d5048544b485457505278714c6263704271416c45714b447253467352544e4c4768616173 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-cbc-128 crypto-key 4d457a4576517a516d6d76684d414869 integ-alg sha-512-256 integ-key 654676637566506c486b6645797a51684f796879417857644943674d5048544b485457505278714c6263704271416c45714b447253467352544e4c4768616173 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-cbc-128 crypto-key 656e79634a4472444b4b4e516f777755 integ-alg sha-512-256 integ-key 69584c4264594646704e6f6c5147634b714747676368726570434579695a4e5163424c4c62534d766d6c556f496e67794d79576558584b626365536d66775849 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-cbc-128 crypto-key 656e79634a4472444b4b4e516f777755 integ-alg sha-512-256 integ-key 69584c4264594646704e6f6c5147634b714747676368726570434579695a4e5163424c4c62534d766d6c556f496e67794d79576558584b626365536d66775849 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-cbc-128 crypto-key 4d45496468656d6454564e4b49725041 integ-alg sha-512-256 integ-key 5476754e7a74784d594258536c796f7757494162414651786d6b5742495764416c4b7753684771514f77734a4575746d6b7749636c6473434370447369615a50 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-cbc-128 crypto-key 4d45496468656d6454564e4b49725041 integ-alg sha-512-256 integ-key 5476754e7a74784d594258536c796f7757494162414651786d6b5742495764416c4b7753684771514f77734a4575746d6b7749636c6473434370447369615a50 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-cbc-128 crypto-key 556d6c47616e52526c436e694d434150 integ-alg sha-512-256 integ-key 4463527a78556965686e655374435251557079797364597173505757666c4e6e5a557146664b47556f555861646c5566504c52675054624d736a454b544f6f75 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-cbc-128 crypto-key 556d6c47616e52526c436e694d434150 integ-alg sha-512-256 integ-key 4463527a78556965686e655374435251557079797364597173505757666c4e6e5a557146664b47556f555861646c5566504c52675054624d736a454b544f6f75 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-cbc-128 crypto-key 5375644c6b43756d57507a645542734d integ-alg sha-512-256 integ-key 76564e7a6454724e6e4d624a596e79596f6e4a494f477846714753504d636258635a4d59744578617272744f61777068685753584c6a567a53614e4745704758 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-cbc-128 crypto-key 5375644c6b43756d57507a645542734d integ-alg sha-512-256 integ-key 76564e7a6454724e6e4d624a596e79596f6e4a494f477846714753504d636258635a4d59744578617272744f61777068685753584c6a567a53614e4745704758 esp
exec ipsec tunnel protect ipip39 sa-out 100039 sa-in 39 add
exec ip route add 100.0.0.1/8 via 200.0.0.1 avf-0/3b/a/0
exec set interface unnumbered ipip0 use avf-0/3b/a/0
exec set interface state ipip0 up
exec ip route add 10.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use avf-0/3b/a/0
exec set interface state ipip1 up
exec ip route add 10.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use avf-0/3b/a/0
exec set interface state ipip2 up
exec ip route add 10.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use avf-0/3b/a/0
exec set interface state ipip3 up
exec ip route add 10.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use avf-0/3b/a/0
exec set interface state ipip4 up
exec ip route add 10.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use avf-0/3b/a/0
exec set interface state ipip5 up
exec ip route add 10.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use avf-0/3b/a/0
exec set interface state ipip6 up
exec ip route add 10.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use avf-0/3b/a/0
exec set interface state ipip7 up
exec ip route add 10.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use avf-0/3b/a/0
exec set interface state ipip8 up
exec ip route add 10.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use avf-0/3b/a/0
exec set interface state ipip9 up
exec ip route add 10.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use avf-0/3b/a/0
exec set interface state ipip10 up
exec ip route add 10.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use avf-0/3b/a/0
exec set interface state ipip11 up
exec ip route add 10.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use avf-0/3b/a/0
exec set interface state ipip12 up
exec ip route add 10.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use avf-0/3b/a/0
exec set interface state ipip13 up
exec ip route add 10.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use avf-0/3b/a/0
exec set interface state ipip14 up
exec ip route add 10.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use avf-0/3b/a/0
exec set interface state ipip15 up
exec ip route add 10.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use avf-0/3b/a/0
exec set interface state ipip16 up
exec ip route add 10.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use avf-0/3b/a/0
exec set interface state ipip17 up
exec ip route add 10.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use avf-0/3b/a/0
exec set interface state ipip18 up
exec ip route add 10.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use avf-0/3b/a/0
exec set interface state ipip19 up
exec ip route add 10.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use avf-0/3b/a/0
exec set interface state ipip20 up
exec ip route add 10.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use avf-0/3b/a/0
exec set interface state ipip21 up
exec ip route add 10.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use avf-0/3b/a/0
exec set interface state ipip22 up
exec ip route add 10.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use avf-0/3b/a/0
exec set interface state ipip23 up
exec ip route add 10.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use avf-0/3b/a/0
exec set interface state ipip24 up
exec ip route add 10.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use avf-0/3b/a/0
exec set interface state ipip25 up
exec ip route add 10.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use avf-0/3b/a/0
exec set interface state ipip26 up
exec ip route add 10.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use avf-0/3b/a/0
exec set interface state ipip27 up
exec ip route add 10.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use avf-0/3b/a/0
exec set interface state ipip28 up
exec ip route add 10.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use avf-0/3b/a/0
exec set interface state ipip29 up
exec ip route add 10.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use avf-0/3b/a/0
exec set interface state ipip30 up
exec ip route add 10.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use avf-0/3b/a/0
exec set interface state ipip31 up
exec ip route add 10.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use avf-0/3b/a/0
exec set interface state ipip32 up
exec ip route add 10.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use avf-0/3b/a/0
exec set interface state ipip33 up
exec ip route add 10.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use avf-0/3b/a/0
exec set interface state ipip34 up
exec ip route add 10.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use avf-0/3b/a/0
exec set interface state ipip35 up
exec ip route add 10.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use avf-0/3b/a/0
exec set interface state ipip36 up
exec ip route add 10.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use avf-0/3b/a/0
exec set interface state ipip37 up
exec ip route add 10.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use avf-0/3b/a/0
exec set interface state ipip38 up
exec ip route add 10.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use avf-0/3b/a/0
exec set interface state ipip39 up
exec ip route add 10.0.0.39/32 via ipip39

 imix-2t1c-avf-ethip4ipsec40tnlsw- 
ip4base-int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec create loopback interface
exec set interface state loop0 up
exec set interface ip address avf-0/3b/a/0 200.0.0.1/24
exec set ip neighbor avf-0/3b/a/0 200.0.0.2 3c:fe:bd:f8:fd:00 static
exec set interface ip address loop0 100.0.0.1/32
exec create ipip tunnel src 100.0.0.1 dst 200.0.0.2 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-cbc-128 crypto-key 595673734a64445179566172586f6443 integ-alg sha-512-256 integ-key 49735148596564597a496d49686c7763516e6a5a676b77694e53776b4952556452746867677946735a4577596e56514777746e586466685658546a6f75795249 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-cbc-128 crypto-key 595673734a64445179566172586f6443 integ-alg sha-512-256 integ-key 49735148596564597a496d49686c7763516e6a5a676b77694e53776b4952556452746867677946735a4577596e56514777746e586466685658546a6f75795249 esp
exec ipsec tunnel protect ipip0 sa-out 0 sa-in 100000 add
exec set interface ip address loop0 100.0.1.1/32
exec create ipip tunnel src 100.0.1.1 dst 200.0.0.2 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-cbc-128 crypto-key 5152675649474d5a784a6e4279737275 integ-alg sha-512-256 integ-key 4c6c5478724b4e64447947504d646a564d43425855756c7373584b416c725464524d6d58537a434248696c464d756c59697969567a6a714d5a7a706a66704a49 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-cbc-128 crypto-key 5152675649474d5a784a6e4279737275 integ-alg sha-512-256 integ-key 4c6c5478724b4e64447947504d646a564d43425855756c7373584b416c725464524d6d58537a434248696c464d756c59697969567a6a714d5a7a706a66704a49 esp
exec ipsec tunnel protect ipip1 sa-out 1 sa-in 100001 add
exec set interface ip address loop0 100.0.2.1/32
exec create ipip tunnel src 100.0.2.1 dst 200.0.0.2 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-cbc-128 crypto-key 6e4e4d566448764d4265697361487353 integ-alg sha-512-256 integ-key 5654637278666b664b5552704e586c6f6954686b6d4342784b48477463756a54507a70794865696248625a5a724757437946645a4e5a6567635a4370625a486d esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-cbc-128 crypto-key 6e4e4d566448764d4265697361487353 integ-alg sha-512-256 integ-key 5654637278666b664b5552704e586c6f6954686b6d4342784b48477463756a54507a70794865696248625a5a724757437946645a4e5a6567635a4370625a486d esp
exec ipsec tunnel protect ipip2 sa-out 2 sa-in 100002 add
exec set interface ip address loop0 100.0.3.1/32
exec create ipip tunnel src 100.0.3.1 dst 200.0.0.2 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-cbc-128 crypto-key 6247687a6c48616e595659514c565056 integ-alg sha-512-256 integ-key 7952484b78596d4766634d504b7474556a4b6a74775a47796b4b625246744956796f4f66745752614d756a684b49445a76484177687163536d4362794872754c esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-cbc-128 crypto-key 6247687a6c48616e595659514c565056 integ-alg sha-512-256 integ-key 7952484b78596d4766634d504b7474556a4b6a74775a47796b4b625246744956796f4f66745752614d756a684b49445a76484177687163536d4362794872754c esp
exec ipsec tunnel protect ipip3 sa-out 3 sa-in 100003 add
exec set interface ip address loop0 100.0.4.1/32
exec create ipip tunnel src 100.0.4.1 dst 200.0.0.2 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-cbc-128 crypto-key 525a5343636241467378414a67794c50 integ-alg sha-512-256 integ-key 457a675a665678586d724b62676d4b774a79725346687044545743525546624947784e6275684f51585646676255486b77746f49524b4279714d56676a697641 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-cbc-128 crypto-key 525a5343636241467378414a67794c50 integ-alg sha-512-256 integ-key 457a675a665678586d724b62676d4b774a79725346687044545743525546624947784e6275684f51585646676255486b77746f49524b4279714d56676a697641 esp
exec ipsec tunnel protect ipip4 sa-out 4 sa-in 100004 add
exec set interface ip address loop0 100.0.5.1/32
exec create ipip tunnel src 100.0.5.1 dst 200.0.0.2 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-cbc-128 crypto-key 49754d73735a796f7074707a6e476b71 integ-alg sha-512-256 integ-key 6e6653564951487964797547655347646b7356635a5447484350427a545a51664d5648506d6e7a6f517469657376794a6e4e664172634a6761506d464a667979 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-cbc-128 crypto-key 49754d73735a796f7074707a6e476b71 integ-alg sha-512-256 integ-key 6e6653564951487964797547655347646b7356635a5447484350427a545a51664d5648506d6e7a6f517469657376794a6e4e664172634a6761506d464a667979 esp
exec ipsec tunnel protect ipip5 sa-out 5 sa-in 100005 add
exec set interface ip address loop0 100.0.6.1/32
exec create ipip tunnel src 100.0.6.1 dst 200.0.0.2 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-cbc-128 crypto-key 4946486c736c5464757474556a574e46 integ-alg sha-512-256 integ-key 777650486f616c4b787361754a7052724d72454f75516e425a42456e75764f5757665a716658466b574e77487361726a49525853666a457a4e4f56485a424e4d esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-cbc-128 crypto-key 4946486c736c5464757474556a574e46 integ-alg sha-512-256 integ-key 777650486f616c4b787361754a7052724d72454f75516e425a42456e75764f5757665a716658466b574e77487361726a49525853666a457a4e4f56485a424e4d esp
exec ipsec tunnel protect ipip6 sa-out 6 sa-in 100006 add
exec set interface ip address loop0 100.0.7.1/32
exec create ipip tunnel src 100.0.7.1 dst 200.0.0.2 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-cbc-128 crypto-key 4247744b716652424f6c704d7a715874 integ-alg sha-512-256 integ-key 72726773446a58496c44636d5053616d636d69495167786e4f6d494f6c6e414e45434a455051627343706a6751707545516e64787170745848764b684151786c esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-cbc-128 crypto-key 4247744b716652424f6c704d7a715874 integ-alg sha-512-256 integ-key 72726773446a58496c44636d5053616d636d69495167786e4f6d494f6c6e414e45434a455051627343706a6751707545516e64787170745848764b684151786c esp
exec ipsec tunnel protect ipip7 sa-out 7 sa-in 100007 add
exec set interface ip address loop0 100.0.8.1/32
exec create ipip tunnel src 100.0.8.1 dst 200.0.0.2 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-cbc-128 crypto-key 756463657769595a50414b6a51516d57 integ-alg sha-512-256 integ-key 7375536e57424c664158734a756c49434649645a6c73424175777355494657634154754362754e4c59685a43584d614467524a7955515a546b66544b67594270 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-cbc-128 crypto-key 756463657769595a50414b6a51516d57 integ-alg sha-512-256 integ-key 7375536e57424c664158734a756c49434649645a6c73424175777355494657634154754362754e4c59685a43584d614467524a7955515a546b66544b67594270 esp
exec ipsec tunnel protect ipip8 sa-out 8 sa-in 100008 add
exec set interface ip address loop0 100.0.9.1/32
exec create ipip tunnel src 100.0.9.1 dst 200.0.0.2 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-cbc-128 crypto-key 7a4b5942724d636a63414662794e496c integ-alg sha-512-256 integ-key 7046694a4e41434c615966705a725347654a72695a725a6a6b5a6154665777497a7545547857756251657059446a4b76415a5a46444c4a6852534d70464c4762 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-cbc-128 crypto-key 7a4b5942724d636a63414662794e496c integ-alg sha-512-256 integ-key 7046694a4e41434c615966705a725347654a72695a725a6a6b5a6154665777497a7545547857756251657059446a4b76415a5a46444c4a6852534d70464c4762 esp
exec ipsec tunnel protect ipip9 sa-out 9 sa-in 100009 add
exec set interface ip address loop0 100.0.10.1/32
exec create ipip tunnel src 100.0.10.1 dst 200.0.0.2 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-cbc-128 crypto-key 4d77514a52586659784c5a52416a4159 integ-alg sha-512-256 integ-key 6657535a4c7a664a77687076734646767a6a586e74654f61536863634d54564c67736f784c79574c414c457a794d526a76525a46426d5a4249526d6f73687748 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-cbc-128 crypto-key 4d77514a52586659784c5a52416a4159 integ-alg sha-512-256 integ-key 6657535a4c7a664a77687076734646767a6a586e74654f61536863634d54564c67736f784c79574c414c457a794d526a76525a46426d5a4249526d6f73687748 esp
exec ipsec tunnel protect ipip10 sa-out 10 sa-in 100010 add
exec set interface ip address loop0 100.0.11.1/32
exec create ipip tunnel src 100.0.11.1 dst 200.0.0.2 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-cbc-128 crypto-key 6b6e4247466b74696676524a4c5a4650 integ-alg sha-512-256 integ-key 4d734576445145784750536d78524d4a56547862626f51486c56667355516e584a587a736c6f524563436a726670444a525773694c4d4942557a57536a4f6e55 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-cbc-128 crypto-key 6b6e4247466b74696676524a4c5a4650 integ-alg sha-512-256 integ-key 4d734576445145784750536d78524d4a56547862626f51486c56667355516e584a587a736c6f524563436a726670444a525773694c4d4942557a57536a4f6e55 esp
exec ipsec tunnel protect ipip11 sa-out 11 sa-in 100011 add
exec set interface ip address loop0 100.0.12.1/32
exec create ipip tunnel src 100.0.12.1 dst 200.0.0.2 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-cbc-128 crypto-key 707976767651554d434a6e6c466a476b integ-alg sha-512-256 integ-key 4158665772714b776f61554858687268634d56646b43544b5979534c7a4661586a7676786c4f6c5048787574657141414e4770546449596b5a41654271766b41 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-cbc-128 crypto-key 707976767651554d434a6e6c466a476b integ-alg sha-512-256 integ-key 4158665772714b776f61554858687268634d56646b43544b5979534c7a4661586a7676786c4f6c5048787574657141414e4770546449596b5a41654271766b41 esp
exec ipsec tunnel protect ipip12 sa-out 12 sa-in 100012 add
exec set interface ip address loop0 100.0.13.1/32
exec create ipip tunnel src 100.0.13.1 dst 200.0.0.2 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-cbc-128 crypto-key 57596e5744615876534a595377785458 integ-alg sha-512-256 integ-key 5a64557451554e5645524e4e6f796c657978705647664146636e7a63726741626a584e4b6c434367567a4a514a4f56786b797647796459497464787449624e6b esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-cbc-128 crypto-key 57596e5744615876534a595377785458 integ-alg sha-512-256 integ-key 5a64557451554e5645524e4e6f796c657978705647664146636e7a63726741626a584e4b6c434367567a4a514a4f56786b797647796459497464787449624e6b esp
exec ipsec tunnel protect ipip13 sa-out 13 sa-in 100013 add
exec set interface ip address loop0 100.0.14.1/32
exec create ipip tunnel src 100.0.14.1 dst 200.0.0.2 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-cbc-128 crypto-key 734c716f445146507774714c50594569 integ-alg sha-512-256 integ-key 4d77685461686666486d6168675443667555634c416e5970437353657249486a41485a4f6a53795a42796369775a737241714453756969585657764c70417751 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-cbc-128 crypto-key 734c716f445146507774714c50594569 integ-alg sha-512-256 integ-key 4d77685461686666486d6168675443667555634c416e5970437353657249486a41485a4f6a53795a42796369775a737241714453756969585657764c70417751 esp
exec ipsec tunnel protect ipip14 sa-out 14 sa-in 100014 add
exec set interface ip address loop0 100.0.15.1/32
exec create ipip tunnel src 100.0.15.1 dst 200.0.0.2 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-cbc-128 crypto-key 666341475347744f627546655244426b integ-alg sha-512-256 integ-key 415a745357574b47536c717044667049436879416e66647257736349625157744e4e4b56766b544b524c76697a4c414c755a4e49554b734356784a4843645971 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-cbc-128 crypto-key 666341475347744f627546655244426b integ-alg sha-512-256 integ-key 415a745357574b47536c717044667049436879416e66647257736349625157744e4e4b56766b544b524c76697a4c414c755a4e49554b734356784a4843645971 esp
exec ipsec tunnel protect ipip15 sa-out 15 sa-in 100015 add
exec set interface ip address loop0 100.0.16.1/32
exec create ipip tunnel src 100.0.16.1 dst 200.0.0.2 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-cbc-128 crypto-key 6c564258514647566a5061506d745648 integ-alg sha-512-256 integ-key 627a5670787a534258575a69465a5679594d53564c494b42525576697158486e6752444a62634a704771587062656f78744159536b665947664b457449466650 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-cbc-128 crypto-key 6c564258514647566a5061506d745648 integ-alg sha-512-256 integ-key 627a5670787a534258575a69465a5679594d53564c494b42525576697158486e6752444a62634a704771587062656f78744159536b665947664b457449466650 esp
exec ipsec tunnel protect ipip16 sa-out 16 sa-in 100016 add
exec set interface ip address loop0 100.0.17.1/32
exec create ipip tunnel src 100.0.17.1 dst 200.0.0.2 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-cbc-128 crypto-key 746365766670595272697555684a7443 integ-alg sha-512-256 integ-key 4a4376465479505451664742526c6a56676c4f6a696656574e79674d524648506a51717a775a4d6162576479794a6461754b4474514e58514d6e516a4e4b4468 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-cbc-128 crypto-key 746365766670595272697555684a7443 integ-alg sha-512-256 integ-key 4a4376465479505451664742526c6a56676c4f6a696656574e79674d524648506a51717a775a4d6162576479794a6461754b4474514e58514d6e516a4e4b4468 esp
exec ipsec tunnel protect ipip17 sa-out 17 sa-in 100017 add
exec set interface ip address loop0 100.0.18.1/32
exec create ipip tunnel src 100.0.18.1 dst 200.0.0.2 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-cbc-128 crypto-key 4164646a7365436b6e6e416657615871 integ-alg sha-512-256 integ-key 566c6a5178585574714847465968764c6a525a71784d746f4377644c6f5a47696959516372567066774446414a59616f7a6f4c475476564d7171517852584a73 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-cbc-128 crypto-key 4164646a7365436b6e6e416657615871 integ-alg sha-512-256 integ-key 566c6a5178585574714847465968764c6a525a71784d746f4377644c6f5a47696959516372567066774446414a59616f7a6f4c475476564d7171517852584a73 esp
exec ipsec tunnel protect ipip18 sa-out 18 sa-in 100018 add
exec set interface ip address loop0 100.0.19.1/32
exec create ipip tunnel src 100.0.19.1 dst 200.0.0.2 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-cbc-128 crypto-key 656b424d62467170734a44524a75786d integ-alg sha-512-256 integ-key 554961787746494b615772436c63796a534c5548546969546a584e545156776e52797567546f4675415167704875655055567255687a656f664758495573435a esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-cbc-128 crypto-key 656b424d62467170734a44524a75786d integ-alg sha-512-256 integ-key 554961787746494b615772436c63796a534c5548546969546a584e545156776e52797567546f4675415167704875655055567255687a656f664758495573435a esp
exec ipsec tunnel protect ipip19 sa-out 19 sa-in 100019 add
exec set interface ip address loop0 100.0.20.1/32
exec create ipip tunnel src 100.0.20.1 dst 200.0.0.2 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-cbc-128 crypto-key 736442695a7441597a4d636b6c646573 integ-alg sha-512-256 integ-key 586b564270546e464649447964666c45627064704d7156656e43467062445259427368506c63506b5874684f5550504e457962786a636f664e4c6a7059426e47 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-cbc-128 crypto-key 736442695a7441597a4d636b6c646573 integ-alg sha-512-256 integ-key 586b564270546e464649447964666c45627064704d7156656e43467062445259427368506c63506b5874684f5550504e457962786a636f664e4c6a7059426e47 esp
exec ipsec tunnel protect ipip20 sa-out 20 sa-in 100020 add
exec set interface ip address loop0 100.0.21.1/32
exec create ipip tunnel src 100.0.21.1 dst 200.0.0.2 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-cbc-128 crypto-key 72456c4c424a76427442534843584d49 integ-alg sha-512-256 integ-key 434a6765776445484e53716552477a4378727563774750526a5a4f4d5961644455756e655765595647564a7955514572637971514b474e5a57746b546d4e6644 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-cbc-128 crypto-key 72456c4c424a76427442534843584d49 integ-alg sha-512-256 integ-key 434a6765776445484e53716552477a4378727563774750526a5a4f4d5961644455756e655765595647564a7955514572637971514b474e5a57746b546d4e6644 esp
exec ipsec tunnel protect ipip21 sa-out 21 sa-in 100021 add
exec set interface ip address loop0 100.0.22.1/32
exec create ipip tunnel src 100.0.22.1 dst 200.0.0.2 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-cbc-128 crypto-key 77774b4e6578586f6d4d6d6947516645 integ-alg sha-512-256 integ-key 735468706b50796b616a644a42686278744a6971544a46526b427a6444707970656546477543444873534e6248554b4e55744f78664c7148616d797479516b78 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-cbc-128 crypto-key 77774b4e6578586f6d4d6d6947516645 integ-alg sha-512-256 integ-key 735468706b50796b616a644a42686278744a6971544a46526b427a6444707970656546477543444873534e6248554b4e55744f78664c7148616d797479516b78 esp
exec ipsec tunnel protect ipip22 sa-out 22 sa-in 100022 add
exec set interface ip address loop0 100.0.23.1/32
exec create ipip tunnel src 100.0.23.1 dst 200.0.0.2 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-cbc-128 crypto-key 44747247744d67734c7565434f786479 integ-alg sha-512-256 integ-key 6c416b4d65484d4d6b6e446e485a737449504b425673566a63547a614963654e6f496b6c704a6c4e5678446778616e48724f627943414875435567614c616c75 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-cbc-128 crypto-key 44747247744d67734c7565434f786479 integ-alg sha-512-256 integ-key 6c416b4d65484d4d6b6e446e485a737449504b425673566a63547a614963654e6f496b6c704a6c4e5678446778616e48724f627943414875435567614c616c75 esp
exec ipsec tunnel protect ipip23 sa-out 23 sa-in 100023 add
exec set interface ip address loop0 100.0.24.1/32
exec create ipip tunnel src 100.0.24.1 dst 200.0.0.2 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-cbc-128 crypto-key 796563674f4c686d647075426f4a717a integ-alg sha-512-256 integ-key 5a4b5056557a486e6f6a5653546b416b4f55674c6573565774657076637a4657657650516672646c54786454474a4a4756486a4c77564f527365504955617552 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-cbc-128 crypto-key 796563674f4c686d647075426f4a717a integ-alg sha-512-256 integ-key 5a4b5056557a486e6f6a5653546b416b4f55674c6573565774657076637a4657657650516672646c54786454474a4a4756486a4c77564f527365504955617552 esp
exec ipsec tunnel protect ipip24 sa-out 24 sa-in 100024 add
exec set interface ip address loop0 100.0.25.1/32
exec create ipip tunnel src 100.0.25.1 dst 200.0.0.2 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-cbc-128 crypto-key 766b434d594a4d636f6b537749726f53 integ-alg sha-512-256 integ-key 6749707755595544555749486548534168467a574a627a617279657a4652424e7468695162477a486464686554776b775a585866644272454b59465470545875 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-cbc-128 crypto-key 766b434d594a4d636f6b537749726f53 integ-alg sha-512-256 integ-key 6749707755595544555749486548534168467a574a627a617279657a4652424e7468695162477a486464686554776b775a585866644272454b59465470545875 esp
exec ipsec tunnel protect ipip25 sa-out 25 sa-in 100025 add
exec set interface ip address loop0 100.0.26.1/32
exec create ipip tunnel src 100.0.26.1 dst 200.0.0.2 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-cbc-128 crypto-key 524643465371694e76766a596a6d547a integ-alg sha-512-256 integ-key 45565a4c6743476a4469754e416c6c6f4663444f4846786c566f73484a5a5148794e686179665951646f65487a764b72426f477870796e4d4654447777684262 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-cbc-128 crypto-key 524643465371694e76766a596a6d547a integ-alg sha-512-256 integ-key 45565a4c6743476a4469754e416c6c6f4663444f4846786c566f73484a5a5148794e686179665951646f65487a764b72426f477870796e4d4654447777684262 esp
exec ipsec tunnel protect ipip26 sa-out 26 sa-in 100026 add
exec set interface ip address loop0 100.0.27.1/32
exec create ipip tunnel src 100.0.27.1 dst 200.0.0.2 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-cbc-128 crypto-key 457845594d66774a644579574d6d516a integ-alg sha-512-256 integ-key 434b4178775a5a714f4d484874594b4b76787661644d766c70687546474a6d5372485243795958456c626b5556714350794d69716b44555067724a706b475773 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-cbc-128 crypto-key 457845594d66774a644579574d6d516a integ-alg sha-512-256 integ-key 434b4178775a5a714f4d484874594b4b76787661644d766c70687546474a6d5372485243795958456c626b5556714350794d69716b44555067724a706b475773 esp
exec ipsec tunnel protect ipip27 sa-out 27 sa-in 100027 add
exec set interface ip address loop0 100.0.28.1/32
exec create ipip tunnel src 100.0.28.1 dst 200.0.0.2 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-cbc-128 crypto-key 5965726e596674474f4c744361435a67 integ-alg sha-512-256 integ-key 665553694f4478734a7765505178687a6d656a5178455968685552545a796775616b734b4c704471454c535044504b666466767a517941615066744d71494b74 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-cbc-128 crypto-key 5965726e596674474f4c744361435a67 integ-alg sha-512-256 integ-key 665553694f4478734a7765505178687a6d656a5178455968685552545a796775616b734b4c704471454c535044504b666466767a517941615066744d71494b74 esp
exec ipsec tunnel protect ipip28 sa-out 28 sa-in 100028 add
exec set interface ip address loop0 100.0.29.1/32
exec create ipip tunnel src 100.0.29.1 dst 200.0.0.2 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-cbc-128 crypto-key 6779536d75476a4d5757506c7044504e integ-alg sha-512-256 integ-key 62516a465442776a424b78456c6c797a694349414870684c67784678677a424470474d4b566548576f6c787370516d464f535a5a6f786375594c766c65565167 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-cbc-128 crypto-key 6779536d75476a4d5757506c7044504e integ-alg sha-512-256 integ-key 62516a465442776a424b78456c6c797a694349414870684c67784678677a424470474d4b566548576f6c787370516d464f535a5a6f786375594c766c65565167 esp
exec ipsec tunnel protect ipip29 sa-out 29 sa-in 100029 add
exec set interface ip address loop0 100.0.30.1/32
exec create ipip tunnel src 100.0.30.1 dst 200.0.0.2 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-cbc-128 crypto-key 6f6a516f436e645068724a4353775776 integ-alg sha-512-256 integ-key 714946686b4f6b47796e6d54517854726e754849706a67637174435271666d444a66624d4b6e624a6e6c73675942464e6a6b46654a7a67414a5265654f524c75 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-cbc-128 crypto-key 6f6a516f436e645068724a4353775776 integ-alg sha-512-256 integ-key 714946686b4f6b47796e6d54517854726e754849706a67637174435271666d444a66624d4b6e624a6e6c73675942464e6a6b46654a7a67414a5265654f524c75 esp
exec ipsec tunnel protect ipip30 sa-out 30 sa-in 100030 add
exec set interface ip address loop0 100.0.31.1/32
exec create ipip tunnel src 100.0.31.1 dst 200.0.0.2 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-cbc-128 crypto-key 5361646d7562616d49447a4d566f5a61 integ-alg sha-512-256 integ-key 64456c787242744c43455151784871766d514f465a72714d76494361464d6153636f655665674643796665535147524a4b687276454b576656494c5563726472 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-cbc-128 crypto-key 5361646d7562616d49447a4d566f5a61 integ-alg sha-512-256 integ-key 64456c787242744c43455151784871766d514f465a72714d76494361464d6153636f655665674643796665535147524a4b687276454b576656494c5563726472 esp
exec ipsec tunnel protect ipip31 sa-out 31 sa-in 100031 add
exec set interface ip address loop0 100.0.32.1/32
exec create ipip tunnel src 100.0.32.1 dst 200.0.0.2 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-cbc-128 crypto-key 494b75704c767773706977447a71584a integ-alg sha-512-256 integ-key 46654775554d4f52486a696a4d534c46554f50694e72526e7656436259666e574152544d6b6274544a636d63686864736e4a716a73545658584249714f697366 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-cbc-128 crypto-key 494b75704c767773706977447a71584a integ-alg sha-512-256 integ-key 46654775554d4f52486a696a4d534c46554f50694e72526e7656436259666e574152544d6b6274544a636d63686864736e4a716a73545658584249714f697366 esp
exec ipsec tunnel protect ipip32 sa-out 32 sa-in 100032 add
exec set interface ip address loop0 100.0.33.1/32
exec create ipip tunnel src 100.0.33.1 dst 200.0.0.2 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-cbc-128 crypto-key 794e51496d7541655259754469706272 integ-alg sha-512-256 integ-key 5764464b50784d4c50436b4d73656865704b6b675747584847594e776a4461695679774667556772794b6367647a717950705947414e71646f7168677746666a esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-cbc-128 crypto-key 794e51496d7541655259754469706272 integ-alg sha-512-256 integ-key 5764464b50784d4c50436b4d73656865704b6b675747584847594e776a4461695679774667556772794b6367647a717950705947414e71646f7168677746666a esp
exec ipsec tunnel protect ipip33 sa-out 33 sa-in 100033 add
exec set interface ip address loop0 100.0.34.1/32
exec create ipip tunnel src 100.0.34.1 dst 200.0.0.2 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-cbc-128 crypto-key 78726977556e4b5462554d6557467970 integ-alg sha-512-256 integ-key 65584e6258476b617945774278785257496770677a425478574a6f53515075537043554a734c54686e5a47765a75654d6477686d427968515346724e4a416368 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-cbc-128 crypto-key 78726977556e4b5462554d6557467970 integ-alg sha-512-256 integ-key 65584e6258476b617945774278785257496770677a425478574a6f53515075537043554a734c54686e5a47765a75654d6477686d427968515346724e4a416368 esp
exec ipsec tunnel protect ipip34 sa-out 34 sa-in 100034 add
exec set interface ip address loop0 100.0.35.1/32
exec create ipip tunnel src 100.0.35.1 dst 200.0.0.2 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-cbc-128 crypto-key 67757976636649666e6d756151477a69 integ-alg sha-512-256 integ-key 7278566d78505470474247615a5a6d52794b7a646c4a5967737272765a68537a4a6758505a796a7665685661517075584d417079414f695153495a6a7a595061 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-cbc-128 crypto-key 67757976636649666e6d756151477a69 integ-alg sha-512-256 integ-key 7278566d78505470474247615a5a6d52794b7a646c4a5967737272765a68537a4a6758505a796a7665685661517075584d417079414f695153495a6a7a595061 esp
exec ipsec tunnel protect ipip35 sa-out 35 sa-in 100035 add
exec set interface ip address loop0 100.0.36.1/32
exec create ipip tunnel src 100.0.36.1 dst 200.0.0.2 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-cbc-128 crypto-key 4c446169747879554a55587058505145 integ-alg sha-512-256 integ-key 6b694c467851664d676e6f536d4a4761686e7752507646796b6d657a4263696675626a725765764348496f6e54756c6850756d77484f456c50654e726e71554a esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-cbc-128 crypto-key 4c446169747879554a55587058505145 integ-alg sha-512-256 integ-key 6b694c467851664d676e6f536d4a4761686e7752507646796b6d657a4263696675626a725765764348496f6e54756c6850756d77484f456c50654e726e71554a esp
exec ipsec tunnel protect ipip36 sa-out 36 sa-in 100036 add
exec set interface ip address loop0 100.0.37.1/32
exec create ipip tunnel src 100.0.37.1 dst 200.0.0.2 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-cbc-128 crypto-key 445463584c6b53667277785457575845 integ-alg sha-512-256 integ-key 586644464c4246437a714a6d5547516165684c77434a636b544f656e4f554f676f637251646556566d48786f62614b4d484563415361666f684f437953765a4b esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-cbc-128 crypto-key 445463584c6b53667277785457575845 integ-alg sha-512-256 integ-key 586644464c4246437a714a6d5547516165684c77434a636b544f656e4f554f676f637251646556566d48786f62614b4d484563415361666f684f437953765a4b esp
exec ipsec tunnel protect ipip37 sa-out 37 sa-in 100037 add
exec set interface ip address loop0 100.0.38.1/32
exec create ipip tunnel src 100.0.38.1 dst 200.0.0.2 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-cbc-128 crypto-key 446b576644434d74627668646362557a integ-alg sha-512-256 integ-key 4f68477372424d434e68787543676c6f42567a52565361785557767a724571614a506c4b44694f6a59506969757a74614f516b566e767653664476784a424646 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-cbc-128 crypto-key 446b576644434d74627668646362557a integ-alg sha-512-256 integ-key 4f68477372424d434e68787543676c6f42567a52565361785557767a724571614a506c4b44694f6a59506969757a74614f516b566e767653664476784a424646 esp
exec ipsec tunnel protect ipip38 sa-out 38 sa-in 100038 add
exec set interface ip address loop0 100.0.39.1/32
exec create ipip tunnel src 100.0.39.1 dst 200.0.0.2 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-cbc-128 crypto-key 4550454b745053425868725770625875 integ-alg sha-512-256 integ-key 554d77724f48474f4768555253565652537a614c57564c74767451614b6d4b44486f4a6e4e786b4c427a4358424e764179686c796941484266546e65426e6f76 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-cbc-128 crypto-key 4550454b745053425868725770625875 integ-alg sha-512-256 integ-key 554d77724f48474f4768555253565652537a614c57564c74767451614b6d4b44486f4a6e4e786b4c427a4358424e764179686c796941484266546e65426e6f76 esp
exec ipsec tunnel protect ipip39 sa-out 39 sa-in 100039 add
exec set interface unnumbered ipip0 use avf-0/3b/a/0
exec set interface state ipip0 up
exec ip route add 20.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use avf-0/3b/a/0
exec set interface state ipip1 up
exec ip route add 20.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use avf-0/3b/a/0
exec set interface state ipip2 up
exec ip route add 20.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use avf-0/3b/a/0
exec set interface state ipip3 up
exec ip route add 20.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use avf-0/3b/a/0
exec set interface state ipip4 up
exec ip route add 20.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use avf-0/3b/a/0
exec set interface state ipip5 up
exec ip route add 20.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use avf-0/3b/a/0
exec set interface state ipip6 up
exec ip route add 20.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use avf-0/3b/a/0
exec set interface state ipip7 up
exec ip route add 20.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use avf-0/3b/a/0
exec set interface state ipip8 up
exec ip route add 20.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use avf-0/3b/a/0
exec set interface state ipip9 up
exec ip route add 20.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use avf-0/3b/a/0
exec set interface state ipip10 up
exec ip route add 20.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use avf-0/3b/a/0
exec set interface state ipip11 up
exec ip route add 20.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use avf-0/3b/a/0
exec set interface state ipip12 up
exec ip route add 20.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use avf-0/3b/a/0
exec set interface state ipip13 up
exec ip route add 20.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use avf-0/3b/a/0
exec set interface state ipip14 up
exec ip route add 20.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use avf-0/3b/a/0
exec set interface state ipip15 up
exec ip route add 20.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use avf-0/3b/a/0
exec set interface state ipip16 up
exec ip route add 20.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use avf-0/3b/a/0
exec set interface state ipip17 up
exec ip route add 20.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use avf-0/3b/a/0
exec set interface state ipip18 up
exec ip route add 20.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use avf-0/3b/a/0
exec set interface state ipip19 up
exec ip route add 20.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use avf-0/3b/a/0
exec set interface state ipip20 up
exec ip route add 20.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use avf-0/3b/a/0
exec set interface state ipip21 up
exec ip route add 20.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use avf-0/3b/a/0
exec set interface state ipip22 up
exec ip route add 20.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use avf-0/3b/a/0
exec set interface state ipip23 up
exec ip route add 20.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use avf-0/3b/a/0
exec set interface state ipip24 up
exec ip route add 20.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use avf-0/3b/a/0
exec set interface state ipip25 up
exec ip route add 20.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use avf-0/3b/a/0
exec set interface state ipip26 up
exec ip route add 20.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use avf-0/3b/a/0
exec set interface state ipip27 up
exec ip route add 20.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use avf-0/3b/a/0
exec set interface state ipip28 up
exec ip route add 20.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use avf-0/3b/a/0
exec set interface state ipip29 up
exec ip route add 20.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use avf-0/3b/a/0
exec set interface state ipip30 up
exec ip route add 20.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use avf-0/3b/a/0
exec set interface state ipip31 up
exec ip route add 20.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use avf-0/3b/a/0
exec set interface state ipip32 up
exec ip route add 20.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use avf-0/3b/a/0
exec set interface state ipip33 up
exec ip route add 20.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use avf-0/3b/a/0
exec set interface state ipip34 up
exec ip route add 20.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use avf-0/3b/a/0
exec set interface state ipip35 up
exec ip route add 20.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use avf-0/3b/a/0
exec set interface state ipip36 up
exec ip route add 20.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use avf-0/3b/a/0
exec set interface state ipip37 up
exec ip route add 20.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use avf-0/3b/a/0
exec set interface state ipip38 up
exec ip route add 20.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use avf-0/3b/a/0
exec set interface state ipip39 up
exec ip route add 20.0.0.39/32 via ipip39
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec set interface ip address avf-0/3b/a/0 200.0.0.2/24.0
exec create ipip tunnel src 200.0.0.2 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-cbc-128 crypto-key 595673734a64445179566172586f6443 integ-alg sha-512-256 integ-key 49735148596564597a496d49686c7763516e6a5a676b77694e53776b4952556452746867677946735a4577596e56514777746e586466685658546a6f75795249 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-cbc-128 crypto-key 595673734a64445179566172586f6443 integ-alg sha-512-256 integ-key 49735148596564597a496d49686c7763516e6a5a676b77694e53776b4952556452746867677946735a4577596e56514777746e586466685658546a6f75795249 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-cbc-128 crypto-key 5152675649474d5a784a6e4279737275 integ-alg sha-512-256 integ-key 4c6c5478724b4e64447947504d646a564d43425855756c7373584b416c725464524d6d58537a434248696c464d756c59697969567a6a714d5a7a706a66704a49 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-cbc-128 crypto-key 5152675649474d5a784a6e4279737275 integ-alg sha-512-256 integ-key 4c6c5478724b4e64447947504d646a564d43425855756c7373584b416c725464524d6d58537a434248696c464d756c59697969567a6a714d5a7a706a66704a49 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-cbc-128 crypto-key 6e4e4d566448764d4265697361487353 integ-alg sha-512-256 integ-key 5654637278666b664b5552704e586c6f6954686b6d4342784b48477463756a54507a70794865696248625a5a724757437946645a4e5a6567635a4370625a486d esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-cbc-128 crypto-key 6e4e4d566448764d4265697361487353 integ-alg sha-512-256 integ-key 5654637278666b664b5552704e586c6f6954686b6d4342784b48477463756a54507a70794865696248625a5a724757437946645a4e5a6567635a4370625a486d esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-cbc-128 crypto-key 6247687a6c48616e595659514c565056 integ-alg sha-512-256 integ-key 7952484b78596d4766634d504b7474556a4b6a74775a47796b4b625246744956796f4f66745752614d756a684b49445a76484177687163536d4362794872754c esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-cbc-128 crypto-key 6247687a6c48616e595659514c565056 integ-alg sha-512-256 integ-key 7952484b78596d4766634d504b7474556a4b6a74775a47796b4b625246744956796f4f66745752614d756a684b49445a76484177687163536d4362794872754c esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-cbc-128 crypto-key 525a5343636241467378414a67794c50 integ-alg sha-512-256 integ-key 457a675a665678586d724b62676d4b774a79725346687044545743525546624947784e6275684f51585646676255486b77746f49524b4279714d56676a697641 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-cbc-128 crypto-key 525a5343636241467378414a67794c50 integ-alg sha-512-256 integ-key 457a675a665678586d724b62676d4b774a79725346687044545743525546624947784e6275684f51585646676255486b77746f49524b4279714d56676a697641 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-cbc-128 crypto-key 49754d73735a796f7074707a6e476b71 integ-alg sha-512-256 integ-key 6e6653564951487964797547655347646b7356635a5447484350427a545a51664d5648506d6e7a6f517469657376794a6e4e664172634a6761506d464a667979 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-cbc-128 crypto-key 49754d73735a796f7074707a6e476b71 integ-alg sha-512-256 integ-key 6e6653564951487964797547655347646b7356635a5447484350427a545a51664d5648506d6e7a6f517469657376794a6e4e664172634a6761506d464a667979 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-cbc-128 crypto-key 4946486c736c5464757474556a574e46 integ-alg sha-512-256 integ-key 777650486f616c4b787361754a7052724d72454f75516e425a42456e75764f5757665a716658466b574e77487361726a49525853666a457a4e4f56485a424e4d esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-cbc-128 crypto-key 4946486c736c5464757474556a574e46 integ-alg sha-512-256 integ-key 777650486f616c4b787361754a7052724d72454f75516e425a42456e75764f5757665a716658466b574e77487361726a49525853666a457a4e4f56485a424e4d esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-cbc-128 crypto-key 4247744b716652424f6c704d7a715874 integ-alg sha-512-256 integ-key 72726773446a58496c44636d5053616d636d69495167786e4f6d494f6c6e414e45434a455051627343706a6751707545516e64787170745848764b684151786c esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-cbc-128 crypto-key 4247744b716652424f6c704d7a715874 integ-alg sha-512-256 integ-key 72726773446a58496c44636d5053616d636d69495167786e4f6d494f6c6e414e45434a455051627343706a6751707545516e64787170745848764b684151786c esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-cbc-128 crypto-key 756463657769595a50414b6a51516d57 integ-alg sha-512-256 integ-key 7375536e57424c664158734a756c49434649645a6c73424175777355494657634154754362754e4c59685a43584d614467524a7955515a546b66544b67594270 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-cbc-128 crypto-key 756463657769595a50414b6a51516d57 integ-alg sha-512-256 integ-key 7375536e57424c664158734a756c49434649645a6c73424175777355494657634154754362754e4c59685a43584d614467524a7955515a546b66544b67594270 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-cbc-128 crypto-key 7a4b5942724d636a63414662794e496c integ-alg sha-512-256 integ-key 7046694a4e41434c615966705a725347654a72695a725a6a6b5a6154665777497a7545547857756251657059446a4b76415a5a46444c4a6852534d70464c4762 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-cbc-128 crypto-key 7a4b5942724d636a63414662794e496c integ-alg sha-512-256 integ-key 7046694a4e41434c615966705a725347654a72695a725a6a6b5a6154665777497a7545547857756251657059446a4b76415a5a46444c4a6852534d70464c4762 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-cbc-128 crypto-key 4d77514a52586659784c5a52416a4159 integ-alg sha-512-256 integ-key 6657535a4c7a664a77687076734646767a6a586e74654f61536863634d54564c67736f784c79574c414c457a794d526a76525a46426d5a4249526d6f73687748 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-cbc-128 crypto-key 4d77514a52586659784c5a52416a4159 integ-alg sha-512-256 integ-key 6657535a4c7a664a77687076734646767a6a586e74654f61536863634d54564c67736f784c79574c414c457a794d526a76525a46426d5a4249526d6f73687748 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-cbc-128 crypto-key 6b6e4247466b74696676524a4c5a4650 integ-alg sha-512-256 integ-key 4d734576445145784750536d78524d4a56547862626f51486c56667355516e584a587a736c6f524563436a726670444a525773694c4d4942557a57536a4f6e55 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-cbc-128 crypto-key 6b6e4247466b74696676524a4c5a4650 integ-alg sha-512-256 integ-key 4d734576445145784750536d78524d4a56547862626f51486c56667355516e584a587a736c6f524563436a726670444a525773694c4d4942557a57536a4f6e55 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-cbc-128 crypto-key 707976767651554d434a6e6c466a476b integ-alg sha-512-256 integ-key 4158665772714b776f61554858687268634d56646b43544b5979534c7a4661586a7676786c4f6c5048787574657141414e4770546449596b5a41654271766b41 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-cbc-128 crypto-key 707976767651554d434a6e6c466a476b integ-alg sha-512-256 integ-key 4158665772714b776f61554858687268634d56646b43544b5979534c7a4661586a7676786c4f6c5048787574657141414e4770546449596b5a41654271766b41 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-cbc-128 crypto-key 57596e5744615876534a595377785458 integ-alg sha-512-256 integ-key 5a64557451554e5645524e4e6f796c657978705647664146636e7a63726741626a584e4b6c434367567a4a514a4f56786b797647796459497464787449624e6b esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-cbc-128 crypto-key 57596e5744615876534a595377785458 integ-alg sha-512-256 integ-key 5a64557451554e5645524e4e6f796c657978705647664146636e7a63726741626a584e4b6c434367567a4a514a4f56786b797647796459497464787449624e6b esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-cbc-128 crypto-key 734c716f445146507774714c50594569 integ-alg sha-512-256 integ-key 4d77685461686666486d6168675443667555634c416e5970437353657249486a41485a4f6a53795a42796369775a737241714453756969585657764c70417751 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-cbc-128 crypto-key 734c716f445146507774714c50594569 integ-alg sha-512-256 integ-key 4d77685461686666486d6168675443667555634c416e5970437353657249486a41485a4f6a53795a42796369775a737241714453756969585657764c70417751 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-cbc-128 crypto-key 666341475347744f627546655244426b integ-alg sha-512-256 integ-key 415a745357574b47536c717044667049436879416e66647257736349625157744e4e4b56766b544b524c76697a4c414c755a4e49554b734356784a4843645971 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-cbc-128 crypto-key 666341475347744f627546655244426b integ-alg sha-512-256 integ-key 415a745357574b47536c717044667049436879416e66647257736349625157744e4e4b56766b544b524c76697a4c414c755a4e49554b734356784a4843645971 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-cbc-128 crypto-key 6c564258514647566a5061506d745648 integ-alg sha-512-256 integ-key 627a5670787a534258575a69465a5679594d53564c494b42525576697158486e6752444a62634a704771587062656f78744159536b665947664b457449466650 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-cbc-128 crypto-key 6c564258514647566a5061506d745648 integ-alg sha-512-256 integ-key 627a5670787a534258575a69465a5679594d53564c494b42525576697158486e6752444a62634a704771587062656f78744159536b665947664b457449466650 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-cbc-128 crypto-key 746365766670595272697555684a7443 integ-alg sha-512-256 integ-key 4a4376465479505451664742526c6a56676c4f6a696656574e79674d524648506a51717a775a4d6162576479794a6461754b4474514e58514d6e516a4e4b4468 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-cbc-128 crypto-key 746365766670595272697555684a7443 integ-alg sha-512-256 integ-key 4a4376465479505451664742526c6a56676c4f6a696656574e79674d524648506a51717a775a4d6162576479794a6461754b4474514e58514d6e516a4e4b4468 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-cbc-128 crypto-key 4164646a7365436b6e6e416657615871 integ-alg sha-512-256 integ-key 566c6a5178585574714847465968764c6a525a71784d746f4377644c6f5a47696959516372567066774446414a59616f7a6f4c475476564d7171517852584a73 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-cbc-128 crypto-key 4164646a7365436b6e6e416657615871 integ-alg sha-512-256 integ-key 566c6a5178585574714847465968764c6a525a71784d746f4377644c6f5a47696959516372567066774446414a59616f7a6f4c475476564d7171517852584a73 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-cbc-128 crypto-key 656b424d62467170734a44524a75786d integ-alg sha-512-256 integ-key 554961787746494b615772436c63796a534c5548546969546a584e545156776e52797567546f4675415167704875655055567255687a656f664758495573435a esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-cbc-128 crypto-key 656b424d62467170734a44524a75786d integ-alg sha-512-256 integ-key 554961787746494b615772436c63796a534c5548546969546a584e545156776e52797567546f4675415167704875655055567255687a656f664758495573435a esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-cbc-128 crypto-key 736442695a7441597a4d636b6c646573 integ-alg sha-512-256 integ-key 586b564270546e464649447964666c45627064704d7156656e43467062445259427368506c63506b5874684f5550504e457962786a636f664e4c6a7059426e47 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-cbc-128 crypto-key 736442695a7441597a4d636b6c646573 integ-alg sha-512-256 integ-key 586b564270546e464649447964666c45627064704d7156656e43467062445259427368506c63506b5874684f5550504e457962786a636f664e4c6a7059426e47 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-cbc-128 crypto-key 72456c4c424a76427442534843584d49 integ-alg sha-512-256 integ-key 434a6765776445484e53716552477a4378727563774750526a5a4f4d5961644455756e655765595647564a7955514572637971514b474e5a57746b546d4e6644 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-cbc-128 crypto-key 72456c4c424a76427442534843584d49 integ-alg sha-512-256 integ-key 434a6765776445484e53716552477a4378727563774750526a5a4f4d5961644455756e655765595647564a7955514572637971514b474e5a57746b546d4e6644 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-cbc-128 crypto-key 77774b4e6578586f6d4d6d6947516645 integ-alg sha-512-256 integ-key 735468706b50796b616a644a42686278744a6971544a46526b427a6444707970656546477543444873534e6248554b4e55744f78664c7148616d797479516b78 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-cbc-128 crypto-key 77774b4e6578586f6d4d6d6947516645 integ-alg sha-512-256 integ-key 735468706b50796b616a644a42686278744a6971544a46526b427a6444707970656546477543444873534e6248554b4e55744f78664c7148616d797479516b78 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-cbc-128 crypto-key 44747247744d67734c7565434f786479 integ-alg sha-512-256 integ-key 6c416b4d65484d4d6b6e446e485a737449504b425673566a63547a614963654e6f496b6c704a6c4e5678446778616e48724f627943414875435567614c616c75 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-cbc-128 crypto-key 44747247744d67734c7565434f786479 integ-alg sha-512-256 integ-key 6c416b4d65484d4d6b6e446e485a737449504b425673566a63547a614963654e6f496b6c704a6c4e5678446778616e48724f627943414875435567614c616c75 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-cbc-128 crypto-key 796563674f4c686d647075426f4a717a integ-alg sha-512-256 integ-key 5a4b5056557a486e6f6a5653546b416b4f55674c6573565774657076637a4657657650516672646c54786454474a4a4756486a4c77564f527365504955617552 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-cbc-128 crypto-key 796563674f4c686d647075426f4a717a integ-alg sha-512-256 integ-key 5a4b5056557a486e6f6a5653546b416b4f55674c6573565774657076637a4657657650516672646c54786454474a4a4756486a4c77564f527365504955617552 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-cbc-128 crypto-key 766b434d594a4d636f6b537749726f53 integ-alg sha-512-256 integ-key 6749707755595544555749486548534168467a574a627a617279657a4652424e7468695162477a486464686554776b775a585866644272454b59465470545875 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-cbc-128 crypto-key 766b434d594a4d636f6b537749726f53 integ-alg sha-512-256 integ-key 6749707755595544555749486548534168467a574a627a617279657a4652424e7468695162477a486464686554776b775a585866644272454b59465470545875 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-cbc-128 crypto-key 524643465371694e76766a596a6d547a integ-alg sha-512-256 integ-key 45565a4c6743476a4469754e416c6c6f4663444f4846786c566f73484a5a5148794e686179665951646f65487a764b72426f477870796e4d4654447777684262 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-cbc-128 crypto-key 524643465371694e76766a596a6d547a integ-alg sha-512-256 integ-key 45565a4c6743476a4469754e416c6c6f4663444f4846786c566f73484a5a5148794e686179665951646f65487a764b72426f477870796e4d4654447777684262 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-cbc-128 crypto-key 457845594d66774a644579574d6d516a integ-alg sha-512-256 integ-key 434b4178775a5a714f4d484874594b4b76787661644d766c70687546474a6d5372485243795958456c626b5556714350794d69716b44555067724a706b475773 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-cbc-128 crypto-key 457845594d66774a644579574d6d516a integ-alg sha-512-256 integ-key 434b4178775a5a714f4d484874594b4b76787661644d766c70687546474a6d5372485243795958456c626b5556714350794d69716b44555067724a706b475773 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-cbc-128 crypto-key 5965726e596674474f4c744361435a67 integ-alg sha-512-256 integ-key 665553694f4478734a7765505178687a6d656a5178455968685552545a796775616b734b4c704471454c535044504b666466767a517941615066744d71494b74 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-cbc-128 crypto-key 5965726e596674474f4c744361435a67 integ-alg sha-512-256 integ-key 665553694f4478734a7765505178687a6d656a5178455968685552545a796775616b734b4c704471454c535044504b666466767a517941615066744d71494b74 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-cbc-128 crypto-key 6779536d75476a4d5757506c7044504e integ-alg sha-512-256 integ-key 62516a465442776a424b78456c6c797a694349414870684c67784678677a424470474d4b566548576f6c787370516d464f535a5a6f786375594c766c65565167 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-cbc-128 crypto-key 6779536d75476a4d5757506c7044504e integ-alg sha-512-256 integ-key 62516a465442776a424b78456c6c797a694349414870684c67784678677a424470474d4b566548576f6c787370516d464f535a5a6f786375594c766c65565167 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-cbc-128 crypto-key 6f6a516f436e645068724a4353775776 integ-alg sha-512-256 integ-key 714946686b4f6b47796e6d54517854726e754849706a67637174435271666d444a66624d4b6e624a6e6c73675942464e6a6b46654a7a67414a5265654f524c75 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-cbc-128 crypto-key 6f6a516f436e645068724a4353775776 integ-alg sha-512-256 integ-key 714946686b4f6b47796e6d54517854726e754849706a67637174435271666d444a66624d4b6e624a6e6c73675942464e6a6b46654a7a67414a5265654f524c75 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-cbc-128 crypto-key 5361646d7562616d49447a4d566f5a61 integ-alg sha-512-256 integ-key 64456c787242744c43455151784871766d514f465a72714d76494361464d6153636f655665674643796665535147524a4b687276454b576656494c5563726472 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-cbc-128 crypto-key 5361646d7562616d49447a4d566f5a61 integ-alg sha-512-256 integ-key 64456c787242744c43455151784871766d514f465a72714d76494361464d6153636f655665674643796665535147524a4b687276454b576656494c5563726472 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-cbc-128 crypto-key 494b75704c767773706977447a71584a integ-alg sha-512-256 integ-key 46654775554d4f52486a696a4d534c46554f50694e72526e7656436259666e574152544d6b6274544a636d63686864736e4a716a73545658584249714f697366 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-cbc-128 crypto-key 494b75704c767773706977447a71584a integ-alg sha-512-256 integ-key 46654775554d4f52486a696a4d534c46554f50694e72526e7656436259666e574152544d6b6274544a636d63686864736e4a716a73545658584249714f697366 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-cbc-128 crypto-key 794e51496d7541655259754469706272 integ-alg sha-512-256 integ-key 5764464b50784d4c50436b4d73656865704b6b675747584847594e776a4461695679774667556772794b6367647a717950705947414e71646f7168677746666a esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-cbc-128 crypto-key 794e51496d7541655259754469706272 integ-alg sha-512-256 integ-key 5764464b50784d4c50436b4d73656865704b6b675747584847594e776a4461695679774667556772794b6367647a717950705947414e71646f7168677746666a esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-cbc-128 crypto-key 78726977556e4b5462554d6557467970 integ-alg sha-512-256 integ-key 65584e6258476b617945774278785257496770677a425478574a6f53515075537043554a734c54686e5a47765a75654d6477686d427968515346724e4a416368 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-cbc-128 crypto-key 78726977556e4b5462554d6557467970 integ-alg sha-512-256 integ-key 65584e6258476b617945774278785257496770677a425478574a6f53515075537043554a734c54686e5a47765a75654d6477686d427968515346724e4a416368 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-cbc-128 crypto-key 67757976636649666e6d756151477a69 integ-alg sha-512-256 integ-key 7278566d78505470474247615a5a6d52794b7a646c4a5967737272765a68537a4a6758505a796a7665685661517075584d417079414f695153495a6a7a595061 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-cbc-128 crypto-key 67757976636649666e6d756151477a69 integ-alg sha-512-256 integ-key 7278566d78505470474247615a5a6d52794b7a646c4a5967737272765a68537a4a6758505a796a7665685661517075584d417079414f695153495a6a7a595061 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-cbc-128 crypto-key 4c446169747879554a55587058505145 integ-alg sha-512-256 integ-key 6b694c467851664d676e6f536d4a4761686e7752507646796b6d657a4263696675626a725765764348496f6e54756c6850756d77484f456c50654e726e71554a esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-cbc-128 crypto-key 4c446169747879554a55587058505145 integ-alg sha-512-256 integ-key 6b694c467851664d676e6f536d4a4761686e7752507646796b6d657a4263696675626a725765764348496f6e54756c6850756d77484f456c50654e726e71554a esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-cbc-128 crypto-key 445463584c6b53667277785457575845 integ-alg sha-512-256 integ-key 586644464c4246437a714a6d5547516165684c77434a636b544f656e4f554f676f637251646556566d48786f62614b4d484563415361666f684f437953765a4b esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-cbc-128 crypto-key 445463584c6b53667277785457575845 integ-alg sha-512-256 integ-key 586644464c4246437a714a6d5547516165684c77434a636b544f656e4f554f676f637251646556566d48786f62614b4d484563415361666f684f437953765a4b esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-cbc-128 crypto-key 446b576644434d74627668646362557a integ-alg sha-512-256 integ-key 4f68477372424d434e68787543676c6f42567a52565361785557767a724571614a506c4b44694f6a59506969757a74614f516b566e767653664476784a424646 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-cbc-128 crypto-key 446b576644434d74627668646362557a integ-alg sha-512-256 integ-key 4f68477372424d434e68787543676c6f42567a52565361785557767a724571614a506c4b44694f6a59506969757a74614f516b566e767653664476784a424646 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-cbc-128 crypto-key 4550454b745053425868725770625875 integ-alg sha-512-256 integ-key 554d77724f48474f4768555253565652537a614c57564c74767451614b6d4b44486f4a6e4e786b4c427a4358424e764179686c796941484266546e65426e6f76 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-cbc-128 crypto-key 4550454b745053425868725770625875 integ-alg sha-512-256 integ-key 554d77724f48474f4768555253565652537a614c57564c74767451614b6d4b44486f4a6e4e786b4c427a4358424e764179686c796941484266546e65426e6f76 esp
exec ipsec tunnel protect ipip39 sa-out 100039 sa-in 39 add
exec ip route add 100.0.0.1/8 via 200.0.0.1 avf-0/3b/a/0
exec set interface unnumbered ipip0 use avf-0/3b/a/0
exec set interface state ipip0 up
exec ip route add 10.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use avf-0/3b/a/0
exec set interface state ipip1 up
exec ip route add 10.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use avf-0/3b/a/0
exec set interface state ipip2 up
exec ip route add 10.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use avf-0/3b/a/0
exec set interface state ipip3 up
exec ip route add 10.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use avf-0/3b/a/0
exec set interface state ipip4 up
exec ip route add 10.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use avf-0/3b/a/0
exec set interface state ipip5 up
exec ip route add 10.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use avf-0/3b/a/0
exec set interface state ipip6 up
exec ip route add 10.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use avf-0/3b/a/0
exec set interface state ipip7 up
exec ip route add 10.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use avf-0/3b/a/0
exec set interface state ipip8 up
exec ip route add 10.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use avf-0/3b/a/0
exec set interface state ipip9 up
exec ip route add 10.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use avf-0/3b/a/0
exec set interface state ipip10 up
exec ip route add 10.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use avf-0/3b/a/0
exec set interface state ipip11 up
exec ip route add 10.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use avf-0/3b/a/0
exec set interface state ipip12 up
exec ip route add 10.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use avf-0/3b/a/0
exec set interface state ipip13 up
exec ip route add 10.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use avf-0/3b/a/0
exec set interface state ipip14 up
exec ip route add 10.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use avf-0/3b/a/0
exec set interface state ipip15 up
exec ip route add 10.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use avf-0/3b/a/0
exec set interface state ipip16 up
exec ip route add 10.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use avf-0/3b/a/0
exec set interface state ipip17 up
exec ip route add 10.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use avf-0/3b/a/0
exec set interface state ipip18 up
exec ip route add 10.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use avf-0/3b/a/0
exec set interface state ipip19 up
exec ip route add 10.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use avf-0/3b/a/0
exec set interface state ipip20 up
exec ip route add 10.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use avf-0/3b/a/0
exec set interface state ipip21 up
exec ip route add 10.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use avf-0/3b/a/0
exec set interface state ipip22 up
exec ip route add 10.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use avf-0/3b/a/0
exec set interface state ipip23 up
exec ip route add 10.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use avf-0/3b/a/0
exec set interface state ipip24 up
exec ip route add 10.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use avf-0/3b/a/0
exec set interface state ipip25 up
exec ip route add 10.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use avf-0/3b/a/0
exec set interface state ipip26 up
exec ip route add 10.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use avf-0/3b/a/0
exec set interface state ipip27 up
exec ip route add 10.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use avf-0/3b/a/0
exec set interface state ipip28 up
exec ip route add 10.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use avf-0/3b/a/0
exec set interface state ipip29 up
exec ip route add 10.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use avf-0/3b/a/0
exec set interface state ipip30 up
exec ip route add 10.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use avf-0/3b/a/0
exec set interface state ipip31 up
exec ip route add 10.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use avf-0/3b/a/0
exec set interface state ipip32 up
exec ip route add 10.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use avf-0/3b/a/0
exec set interface state ipip33 up
exec ip route add 10.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use avf-0/3b/a/0
exec set interface state ipip34 up
exec ip route add 10.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use avf-0/3b/a/0
exec set interface state ipip35 up
exec ip route add 10.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use avf-0/3b/a/0
exec set interface state ipip36 up
exec ip route add 10.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use avf-0/3b/a/0
exec set interface state ipip37 up
exec ip route add 10.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use avf-0/3b/a/0
exec set interface state ipip38 up
exec ip route add 10.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use avf-0/3b/a/0
exec set interface state ipip39 up
exec ip route add 10.0.0.39/32 via ipip39

25ge2p1xxv710-avf-ethip4ipsec40tnlsw-ip4base-int-aes128gcm-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-avf-ethip4ipsec40tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec create loopback interface
exec set interface state loop0 up
exec set interface ip address avf-0/3b/a/0 200.0.0.1/24
exec set ip neighbor avf-0/3b/a/0 200.0.0.2 3c:fe:bd:f8:fd:00 static
exec set interface ip address loop0 100.0.0.1/32
exec create ipip tunnel src 100.0.0.1 dst 200.0.0.2 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 465562596e534d735474587766517762 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 465562596e534d735474587766517762 esp
exec ipsec tunnel protect ipip0 sa-out 0 sa-in 100000 add
exec set interface ip address loop0 100.0.1.1/32
exec create ipip tunnel src 100.0.1.1 dst 200.0.0.2 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 774a4d6b5172435269704d564d76784c esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 774a4d6b5172435269704d564d76784c esp
exec ipsec tunnel protect ipip1 sa-out 1 sa-in 100001 add
exec set interface ip address loop0 100.0.2.1/32
exec create ipip tunnel src 100.0.2.1 dst 200.0.0.2 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 635671566470474268746643546b584a esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 635671566470474268746643546b584a esp
exec ipsec tunnel protect ipip2 sa-out 2 sa-in 100002 add
exec set interface ip address loop0 100.0.3.1/32
exec create ipip tunnel src 100.0.3.1 dst 200.0.0.2 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 645a4175466e6e6a67736a6e79526a45 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 645a4175466e6e6a67736a6e79526a45 esp
exec ipsec tunnel protect ipip3 sa-out 3 sa-in 100003 add
exec set interface ip address loop0 100.0.4.1/32
exec create ipip tunnel src 100.0.4.1 dst 200.0.0.2 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 545444515a4a6f644655416a65554b46 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 545444515a4a6f644655416a65554b46 esp
exec ipsec tunnel protect ipip4 sa-out 4 sa-in 100004 add
exec set interface ip address loop0 100.0.5.1/32
exec create ipip tunnel src 100.0.5.1 dst 200.0.0.2 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 6b644f414c484d6e7a4c6c747962496d esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 6b644f414c484d6e7a4c6c747962496d esp
exec ipsec tunnel protect ipip5 sa-out 5 sa-in 100005 add
exec set interface ip address loop0 100.0.6.1/32
exec create ipip tunnel src 100.0.6.1 dst 200.0.0.2 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 734a616155764572625674424149597a esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 734a616155764572625674424149597a esp
exec ipsec tunnel protect ipip6 sa-out 6 sa-in 100006 add
exec set interface ip address loop0 100.0.7.1/32
exec create ipip tunnel src 100.0.7.1 dst 200.0.0.2 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 4c52634c6d695069627a4a646a466a62 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 4c52634c6d695069627a4a646a466a62 esp
exec ipsec tunnel protect ipip7 sa-out 7 sa-in 100007 add
exec set interface ip address loop0 100.0.8.1/32
exec create ipip tunnel src 100.0.8.1 dst 200.0.0.2 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 57586d76766478446a56676f516d796a esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 57586d76766478446a56676f516d796a esp
exec ipsec tunnel protect ipip8 sa-out 8 sa-in 100008 add
exec set interface ip address loop0 100.0.9.1/32
exec create ipip tunnel src 100.0.9.1 dst 200.0.0.2 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 6d6950464c466966624472426858527a esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 6d6950464c466966624472426858527a esp
exec ipsec tunnel protect ipip9 sa-out 9 sa-in 100009 add
exec set interface ip address loop0 100.0.10.1/32
exec create ipip tunnel src 100.0.10.1 dst 200.0.0.2 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 734d694e647748487150685165656d73 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 734d694e647748487150685165656d73 esp
exec ipsec tunnel protect ipip10 sa-out 10 sa-in 100010 add
exec set interface ip address loop0 100.0.11.1/32
exec create ipip tunnel src 100.0.11.1 dst 200.0.0.2 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 715855496d48597a4a79616275467576 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 715855496d48597a4a79616275467576 esp
exec ipsec tunnel protect ipip11 sa-out 11 sa-in 100011 add
exec set interface ip address loop0 100.0.12.1/32
exec create ipip tunnel src 100.0.12.1 dst 200.0.0.2 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 7a6f5a59644d4e45794d4e4676654679 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 7a6f5a59644d4e45794d4e4676654679 esp
exec ipsec tunnel protect ipip12 sa-out 12 sa-in 100012 add
exec set interface ip address loop0 100.0.13.1/32
exec create ipip tunnel src 100.0.13.1 dst 200.0.0.2 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 615164745242505a5849486b524d7278 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 615164745242505a5849486b524d7278 esp
exec ipsec tunnel protect ipip13 sa-out 13 sa-in 100013 add
exec set interface ip address loop0 100.0.14.1/32
exec create ipip tunnel src 100.0.14.1 dst 200.0.0.2 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 566b6954746550455054716d53594862 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 566b6954746550455054716d53594862 esp
exec ipsec tunnel protect ipip14 sa-out 14 sa-in 100014 add
exec set interface ip address loop0 100.0.15.1/32
exec create ipip tunnel src 100.0.15.1 dst 200.0.0.2 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 495a4f4557765947546b56756a6b466f esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 495a4f4557765947546b56756a6b466f esp
exec ipsec tunnel protect ipip15 sa-out 15 sa-in 100015 add
exec set interface ip address loop0 100.0.16.1/32
exec create ipip tunnel src 100.0.16.1 dst 200.0.0.2 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 41654a4c61556e7751676f6b5741736d esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 41654a4c61556e7751676f6b5741736d esp
exec ipsec tunnel protect ipip16 sa-out 16 sa-in 100016 add
exec set interface ip address loop0 100.0.17.1/32
exec create ipip tunnel src 100.0.17.1 dst 200.0.0.2 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 5465707251774c7276714963786d5461 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 5465707251774c7276714963786d5461 esp
exec ipsec tunnel protect ipip17 sa-out 17 sa-in 100017 add
exec set interface ip address loop0 100.0.18.1/32
exec create ipip tunnel src 100.0.18.1 dst 200.0.0.2 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 4e42444a72624a734d6e495143676750 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 4e42444a72624a734d6e495143676750 esp
exec ipsec tunnel protect ipip18 sa-out 18 sa-in 100018 add
exec set interface ip address loop0 100.0.19.1/32
exec create ipip tunnel src 100.0.19.1 dst 200.0.0.2 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 5256596b437841794e594e414672576d esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 5256596b437841794e594e414672576d esp
exec ipsec tunnel protect ipip19 sa-out 19 sa-in 100019 add
exec set interface ip address loop0 100.0.20.1/32
exec create ipip tunnel src 100.0.20.1 dst 200.0.0.2 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 684967746a4b5348764c5a6f46635670 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 684967746a4b5348764c5a6f46635670 esp
exec ipsec tunnel protect ipip20 sa-out 20 sa-in 100020 add
exec set interface ip address loop0 100.0.21.1/32
exec create ipip tunnel src 100.0.21.1 dst 200.0.0.2 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 764a53677046475079584c6c43584964 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 764a53677046475079584c6c43584964 esp
exec ipsec tunnel protect ipip21 sa-out 21 sa-in 100021 add
exec set interface ip address loop0 100.0.22.1/32
exec create ipip tunnel src 100.0.22.1 dst 200.0.0.2 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 757555736a6666696d6e76544f766947 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 757555736a6666696d6e76544f766947 esp
exec ipsec tunnel protect ipip22 sa-out 22 sa-in 100022 add
exec set interface ip address loop0 100.0.23.1/32
exec create ipip tunnel src 100.0.23.1 dst 200.0.0.2 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 574f436d4676666670535176466b4374 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 574f436d4676666670535176466b4374 esp
exec ipsec tunnel protect ipip23 sa-out 23 sa-in 100023 add
exec set interface ip address loop0 100.0.24.1/32
exec create ipip tunnel src 100.0.24.1 dst 200.0.0.2 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 496f675266745556424c61796f654e49 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 496f675266745556424c61796f654e49 esp
exec ipsec tunnel protect ipip24 sa-out 24 sa-in 100024 add
exec set interface ip address loop0 100.0.25.1/32
exec create ipip tunnel src 100.0.25.1 dst 200.0.0.2 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 475a424b4a7970454f6d56424e766956 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 475a424b4a7970454f6d56424e766956 esp
exec ipsec tunnel protect ipip25 sa-out 25 sa-in 100025 add
exec set interface ip address loop0 100.0.26.1/32
exec create ipip tunnel src 100.0.26.1 dst 200.0.0.2 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 576d534f57576c5555526e4b46544d73 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 576d534f57576c5555526e4b46544d73 esp
exec ipsec tunnel protect ipip26 sa-out 26 sa-in 100026 add
exec set interface ip address loop0 100.0.27.1/32
exec create ipip tunnel src 100.0.27.1 dst 200.0.0.2 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 7845724e444957676b7843786b427948 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 7845724e444957676b7843786b427948 esp
exec ipsec tunnel protect ipip27 sa-out 27 sa-in 100027 add
exec set interface ip address loop0 100.0.28.1/32
exec create ipip tunnel src 100.0.28.1 dst 200.0.0.2 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 495146754c4c4857694f5968735a4845 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 495146754c4c4857694f5968735a4845 esp
exec ipsec tunnel protect ipip28 sa-out 28 sa-in 100028 add
exec set interface ip address loop0 100.0.29.1/32
exec create ipip tunnel src 100.0.29.1 dst 200.0.0.2 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 77624a4661645a425255595977466b70 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 77624a4661645a425255595977466b70 esp
exec ipsec tunnel protect ipip29 sa-out 29 sa-in 100029 add
exec set interface ip address loop0 100.0.30.1/32
exec create ipip tunnel src 100.0.30.1 dst 200.0.0.2 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 49745a506b436b654a59507368774556 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 49745a506b436b654a59507368774556 esp
exec ipsec tunnel protect ipip30 sa-out 30 sa-in 100030 add
exec set interface ip address loop0 100.0.31.1/32
exec create ipip tunnel src 100.0.31.1 dst 200.0.0.2 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 74717475446f774c696b53744c427a51 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 74717475446f774c696b53744c427a51 esp
exec ipsec tunnel protect ipip31 sa-out 31 sa-in 100031 add
exec set interface ip address loop0 100.0.32.1/32
exec create ipip tunnel src 100.0.32.1 dst 200.0.0.2 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 524a6c7347677557434149736b78484d esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 524a6c7347677557434149736b78484d esp
exec ipsec tunnel protect ipip32 sa-out 32 sa-in 100032 add
exec set interface ip address loop0 100.0.33.1/32
exec create ipip tunnel src 100.0.33.1 dst 200.0.0.2 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 496f4c4a6963724b654f4c7872575043 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 496f4c4a6963724b654f4c7872575043 esp
exec ipsec tunnel protect ipip33 sa-out 33 sa-in 100033 add
exec set interface ip address loop0 100.0.34.1/32
exec create ipip tunnel src 100.0.34.1 dst 200.0.0.2 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 6a7365427a474b487a67536f64744741 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 6a7365427a474b487a67536f64744741 esp
exec ipsec tunnel protect ipip34 sa-out 34 sa-in 100034 add
exec set interface ip address loop0 100.0.35.1/32
exec create ipip tunnel src 100.0.35.1 dst 200.0.0.2 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 49637467714c595842557a5661584967 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 49637467714c595842557a5661584967 esp
exec ipsec tunnel protect ipip35 sa-out 35 sa-in 100035 add
exec set interface ip address loop0 100.0.36.1/32
exec create ipip tunnel src 100.0.36.1 dst 200.0.0.2 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 6e4d5275666970586644516975497650 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 6e4d5275666970586644516975497650 esp
exec ipsec tunnel protect ipip36 sa-out 36 sa-in 100036 add
exec set interface ip address loop0 100.0.37.1/32
exec create ipip tunnel src 100.0.37.1 dst 200.0.0.2 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 54574b615a7874447769534274737a57 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 54574b615a7874447769534274737a57 esp
exec ipsec tunnel protect ipip37 sa-out 37 sa-in 100037 add
exec set interface ip address loop0 100.0.38.1/32
exec create ipip tunnel src 100.0.38.1 dst 200.0.0.2 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 545944657178744b5443744a77715463 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 545944657178744b5443744a77715463 esp
exec ipsec tunnel protect ipip38 sa-out 38 sa-in 100038 add
exec set interface ip address loop0 100.0.39.1/32
exec create ipip tunnel src 100.0.39.1 dst 200.0.0.2 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 595149546548535275516579597a4f69 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 595149546548535275516579597a4f69 esp
exec ipsec tunnel protect ipip39 sa-out 39 sa-in 100039 add
exec set interface unnumbered ipip0 use avf-0/3b/a/0
exec set interface state ipip0 up
exec ip route add 20.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use avf-0/3b/a/0
exec set interface state ipip1 up
exec ip route add 20.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use avf-0/3b/a/0
exec set interface state ipip2 up
exec ip route add 20.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use avf-0/3b/a/0
exec set interface state ipip3 up
exec ip route add 20.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use avf-0/3b/a/0
exec set interface state ipip4 up
exec ip route add 20.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use avf-0/3b/a/0
exec set interface state ipip5 up
exec ip route add 20.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use avf-0/3b/a/0
exec set interface state ipip6 up
exec ip route add 20.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use avf-0/3b/a/0
exec set interface state ipip7 up
exec ip route add 20.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use avf-0/3b/a/0
exec set interface state ipip8 up
exec ip route add 20.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use avf-0/3b/a/0
exec set interface state ipip9 up
exec ip route add 20.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use avf-0/3b/a/0
exec set interface state ipip10 up
exec ip route add 20.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use avf-0/3b/a/0
exec set interface state ipip11 up
exec ip route add 20.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use avf-0/3b/a/0
exec set interface state ipip12 up
exec ip route add 20.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use avf-0/3b/a/0
exec set interface state ipip13 up
exec ip route add 20.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use avf-0/3b/a/0
exec set interface state ipip14 up
exec ip route add 20.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use avf-0/3b/a/0
exec set interface state ipip15 up
exec ip route add 20.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use avf-0/3b/a/0
exec set interface state ipip16 up
exec ip route add 20.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use avf-0/3b/a/0
exec set interface state ipip17 up
exec ip route add 20.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use avf-0/3b/a/0
exec set interface state ipip18 up
exec ip route add 20.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use avf-0/3b/a/0
exec set interface state ipip19 up
exec ip route add 20.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use avf-0/3b/a/0
exec set interface state ipip20 up
exec ip route add 20.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use avf-0/3b/a/0
exec set interface state ipip21 up
exec ip route add 20.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use avf-0/3b/a/0
exec set interface state ipip22 up
exec ip route add 20.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use avf-0/3b/a/0
exec set interface state ipip23 up
exec ip route add 20.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use avf-0/3b/a/0
exec set interface state ipip24 up
exec ip route add 20.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use avf-0/3b/a/0
exec set interface state ipip25 up
exec ip route add 20.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use avf-0/3b/a/0
exec set interface state ipip26 up
exec ip route add 20.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use avf-0/3b/a/0
exec set interface state ipip27 up
exec ip route add 20.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use avf-0/3b/a/0
exec set interface state ipip28 up
exec ip route add 20.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use avf-0/3b/a/0
exec set interface state ipip29 up
exec ip route add 20.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use avf-0/3b/a/0
exec set interface state ipip30 up
exec ip route add 20.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use avf-0/3b/a/0
exec set interface state ipip31 up
exec ip route add 20.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use avf-0/3b/a/0
exec set interface state ipip32 up
exec ip route add 20.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use avf-0/3b/a/0
exec set interface state ipip33 up
exec ip route add 20.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use avf-0/3b/a/0
exec set interface state ipip34 up
exec ip route add 20.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use avf-0/3b/a/0
exec set interface state ipip35 up
exec ip route add 20.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use avf-0/3b/a/0
exec set interface state ipip36 up
exec ip route add 20.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use avf-0/3b/a/0
exec set interface state ipip37 up
exec ip route add 20.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use avf-0/3b/a/0
exec set interface state ipip38 up
exec ip route add 20.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use avf-0/3b/a/0
exec set interface state ipip39 up
exec ip route add 20.0.0.39/32 via ipip39
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec set interface ip address avf-0/3b/a/0 200.0.0.2/24.0
exec create ipip tunnel src 200.0.0.2 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 465562596e534d735474587766517762 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 465562596e534d735474587766517762 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 774a4d6b5172435269704d564d76784c esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 774a4d6b5172435269704d564d76784c esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 635671566470474268746643546b584a esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 635671566470474268746643546b584a esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 645a4175466e6e6a67736a6e79526a45 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 645a4175466e6e6a67736a6e79526a45 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 545444515a4a6f644655416a65554b46 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 545444515a4a6f644655416a65554b46 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 6b644f414c484d6e7a4c6c747962496d esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 6b644f414c484d6e7a4c6c747962496d esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 734a616155764572625674424149597a esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 734a616155764572625674424149597a esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 4c52634c6d695069627a4a646a466a62 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 4c52634c6d695069627a4a646a466a62 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 57586d76766478446a56676f516d796a esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 57586d76766478446a56676f516d796a esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 6d6950464c466966624472426858527a esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 6d6950464c466966624472426858527a esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 734d694e647748487150685165656d73 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 734d694e647748487150685165656d73 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 715855496d48597a4a79616275467576 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 715855496d48597a4a79616275467576 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 7a6f5a59644d4e45794d4e4676654679 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 7a6f5a59644d4e45794d4e4676654679 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 615164745242505a5849486b524d7278 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 615164745242505a5849486b524d7278 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 566b6954746550455054716d53594862 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 566b6954746550455054716d53594862 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 495a4f4557765947546b56756a6b466f esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 495a4f4557765947546b56756a6b466f esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 41654a4c61556e7751676f6b5741736d esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 41654a4c61556e7751676f6b5741736d esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 5465707251774c7276714963786d5461 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 5465707251774c7276714963786d5461 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 4e42444a72624a734d6e495143676750 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 4e42444a72624a734d6e495143676750 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 5256596b437841794e594e414672576d esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 5256596b437841794e594e414672576d esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 684967746a4b5348764c5a6f46635670 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 684967746a4b5348764c5a6f46635670 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 764a53677046475079584c6c43584964 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 764a53677046475079584c6c43584964 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 757555736a6666696d6e76544f766947 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 757555736a6666696d6e76544f766947 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 574f436d4676666670535176466b4374 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 574f436d4676666670535176466b4374 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 496f675266745556424c61796f654e49 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 496f675266745556424c61796f654e49 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 475a424b4a7970454f6d56424e766956 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 475a424b4a7970454f6d56424e766956 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 576d534f57576c5555526e4b46544d73 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 576d534f57576c5555526e4b46544d73 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 7845724e444957676b7843786b427948 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 7845724e444957676b7843786b427948 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 495146754c4c4857694f5968735a4845 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 495146754c4c4857694f5968735a4845 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 77624a4661645a425255595977466b70 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 77624a4661645a425255595977466b70 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 49745a506b436b654a59507368774556 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 49745a506b436b654a59507368774556 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 74717475446f774c696b53744c427a51 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 74717475446f774c696b53744c427a51 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 524a6c7347677557434149736b78484d esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 524a6c7347677557434149736b78484d esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 496f4c4a6963724b654f4c7872575043 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 496f4c4a6963724b654f4c7872575043 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 6a7365427a474b487a67536f64744741 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 6a7365427a474b487a67536f64744741 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 49637467714c595842557a5661584967 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 49637467714c595842557a5661584967 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 6e4d5275666970586644516975497650 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 6e4d5275666970586644516975497650 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 54574b615a7874447769534274737a57 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 54574b615a7874447769534274737a57 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 545944657178744b5443744a77715463 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 545944657178744b5443744a77715463 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 595149546548535275516579597a4f69 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 595149546548535275516579597a4f69 esp
exec ipsec tunnel protect ipip39 sa-out 100039 sa-in 39 add
exec ip route add 100.0.0.1/8 via 200.0.0.1 avf-0/3b/a/0
exec set interface unnumbered ipip0 use avf-0/3b/a/0
exec set interface state ipip0 up
exec ip route add 10.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use avf-0/3b/a/0
exec set interface state ipip1 up
exec ip route add 10.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use avf-0/3b/a/0
exec set interface state ipip2 up
exec ip route add 10.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use avf-0/3b/a/0
exec set interface state ipip3 up
exec ip route add 10.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use avf-0/3b/a/0
exec set interface state ipip4 up
exec ip route add 10.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use avf-0/3b/a/0
exec set interface state ipip5 up
exec ip route add 10.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use avf-0/3b/a/0
exec set interface state ipip6 up
exec ip route add 10.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use avf-0/3b/a/0
exec set interface state ipip7 up
exec ip route add 10.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use avf-0/3b/a/0
exec set interface state ipip8 up
exec ip route add 10.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use avf-0/3b/a/0
exec set interface state ipip9 up
exec ip route add 10.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use avf-0/3b/a/0
exec set interface state ipip10 up
exec ip route add 10.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use avf-0/3b/a/0
exec set interface state ipip11 up
exec ip route add 10.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use avf-0/3b/a/0
exec set interface state ipip12 up
exec ip route add 10.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use avf-0/3b/a/0
exec set interface state ipip13 up
exec ip route add 10.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use avf-0/3b/a/0
exec set interface state ipip14 up
exec ip route add 10.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use avf-0/3b/a/0
exec set interface state ipip15 up
exec ip route add 10.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use avf-0/3b/a/0
exec set interface state ipip16 up
exec ip route add 10.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use avf-0/3b/a/0
exec set interface state ipip17 up
exec ip route add 10.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use avf-0/3b/a/0
exec set interface state ipip18 up
exec ip route add 10.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use avf-0/3b/a/0
exec set interface state ipip19 up
exec ip route add 10.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use avf-0/3b/a/0
exec set interface state ipip20 up
exec ip route add 10.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use avf-0/3b/a/0
exec set interface state ipip21 up
exec ip route add 10.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use avf-0/3b/a/0
exec set interface state ipip22 up
exec ip route add 10.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use avf-0/3b/a/0
exec set interface state ipip23 up
exec ip route add 10.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use avf-0/3b/a/0
exec set interface state ipip24 up
exec ip route add 10.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use avf-0/3b/a/0
exec set interface state ipip25 up
exec ip route add 10.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use avf-0/3b/a/0
exec set interface state ipip26 up
exec ip route add 10.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use avf-0/3b/a/0
exec set interface state ipip27 up
exec ip route add 10.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use avf-0/3b/a/0
exec set interface state ipip28 up
exec ip route add 10.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use avf-0/3b/a/0
exec set interface state ipip29 up
exec ip route add 10.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use avf-0/3b/a/0
exec set interface state ipip30 up
exec ip route add 10.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use avf-0/3b/a/0
exec set interface state ipip31 up
exec ip route add 10.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use avf-0/3b/a/0
exec set interface state ipip32 up
exec ip route add 10.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use avf-0/3b/a/0
exec set interface state ipip33 up
exec ip route add 10.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use avf-0/3b/a/0
exec set interface state ipip34 up
exec ip route add 10.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use avf-0/3b/a/0
exec set interface state ipip35 up
exec ip route add 10.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use avf-0/3b/a/0
exec set interface state ipip36 up
exec ip route add 10.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use avf-0/3b/a/0
exec set interface state ipip37 up
exec ip route add 10.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use avf-0/3b/a/0
exec set interface state ipip38 up
exec ip route add 10.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use avf-0/3b/a/0
exec set interface state ipip39 up
exec ip route add 10.0.0.39/32 via ipip39

 64b-4t2c-avf-ethip4ipsec40tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec create loopback interface
exec set interface state loop0 up
exec set interface ip address avf-0/3b/a/0 200.0.0.1/24
exec set ip neighbor avf-0/3b/a/0 200.0.0.2 3c:fe:bd:f8:fd:00 static
exec set interface ip address loop0 100.0.0.1/32
exec create ipip tunnel src 100.0.0.1 dst 200.0.0.2 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 7471794b6673486b52646e764d756c64 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 7471794b6673486b52646e764d756c64 esp
exec ipsec tunnel protect ipip0 sa-out 0 sa-in 100000 add
exec set interface ip address loop0 100.0.1.1/32
exec create ipip tunnel src 100.0.1.1 dst 200.0.0.2 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 4c5a784f52497a635166744669564b68 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 4c5a784f52497a635166744669564b68 esp
exec ipsec tunnel protect ipip1 sa-out 1 sa-in 100001 add
exec set interface ip address loop0 100.0.2.1/32
exec create ipip tunnel src 100.0.2.1 dst 200.0.0.2 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 6c435056797041694c68654c4e555651 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 6c435056797041694c68654c4e555651 esp
exec ipsec tunnel protect ipip2 sa-out 2 sa-in 100002 add
exec set interface ip address loop0 100.0.3.1/32
exec create ipip tunnel src 100.0.3.1 dst 200.0.0.2 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 64736d5356494e49556c556965487a51 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 64736d5356494e49556c556965487a51 esp
exec ipsec tunnel protect ipip3 sa-out 3 sa-in 100003 add
exec set interface ip address loop0 100.0.4.1/32
exec create ipip tunnel src 100.0.4.1 dst 200.0.0.2 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 6774667850727442574e416478546a7a esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 6774667850727442574e416478546a7a esp
exec ipsec tunnel protect ipip4 sa-out 4 sa-in 100004 add
exec set interface ip address loop0 100.0.5.1/32
exec create ipip tunnel src 100.0.5.1 dst 200.0.0.2 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 72416356554a7a675850747663595876 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 72416356554a7a675850747663595876 esp
exec ipsec tunnel protect ipip5 sa-out 5 sa-in 100005 add
exec set interface ip address loop0 100.0.6.1/32
exec create ipip tunnel src 100.0.6.1 dst 200.0.0.2 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 547161484f71614d4d7562464d444f6d esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 547161484f71614d4d7562464d444f6d esp
exec ipsec tunnel protect ipip6 sa-out 6 sa-in 100006 add
exec set interface ip address loop0 100.0.7.1/32
exec create ipip tunnel src 100.0.7.1 dst 200.0.0.2 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 49535a4d6273644f7847475051554c57 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 49535a4d6273644f7847475051554c57 esp
exec ipsec tunnel protect ipip7 sa-out 7 sa-in 100007 add
exec set interface ip address loop0 100.0.8.1/32
exec create ipip tunnel src 100.0.8.1 dst 200.0.0.2 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 4e7a57787a516d6d547858646e45516a esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 4e7a57787a516d6d547858646e45516a esp
exec ipsec tunnel protect ipip8 sa-out 8 sa-in 100008 add
exec set interface ip address loop0 100.0.9.1/32
exec create ipip tunnel src 100.0.9.1 dst 200.0.0.2 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 567075706f67416778576252666c6949 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 567075706f67416778576252666c6949 esp
exec ipsec tunnel protect ipip9 sa-out 9 sa-in 100009 add
exec set interface ip address loop0 100.0.10.1/32
exec create ipip tunnel src 100.0.10.1 dst 200.0.0.2 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 596a51694a686f6d5269544a65595067 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 596a51694a686f6d5269544a65595067 esp
exec ipsec tunnel protect ipip10 sa-out 10 sa-in 100010 add
exec set interface ip address loop0 100.0.11.1/32
exec create ipip tunnel src 100.0.11.1 dst 200.0.0.2 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 7a554a61756a444a466952434b506467 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 7a554a61756a444a466952434b506467 esp
exec ipsec tunnel protect ipip11 sa-out 11 sa-in 100011 add
exec set interface ip address loop0 100.0.12.1/32
exec create ipip tunnel src 100.0.12.1 dst 200.0.0.2 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 6c70636c44556d6d5a444f674b517663 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 6c70636c44556d6d5a444f674b517663 esp
exec ipsec tunnel protect ipip12 sa-out 12 sa-in 100012 add
exec set interface ip address loop0 100.0.13.1/32
exec create ipip tunnel src 100.0.13.1 dst 200.0.0.2 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 66556d7249556f654756535558506a62 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 66556d7249556f654756535558506a62 esp
exec ipsec tunnel protect ipip13 sa-out 13 sa-in 100013 add
exec set interface ip address loop0 100.0.14.1/32
exec create ipip tunnel src 100.0.14.1 dst 200.0.0.2 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 4f6549455774644a584e555a45504a58 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 4f6549455774644a584e555a45504a58 esp
exec ipsec tunnel protect ipip14 sa-out 14 sa-in 100014 add
exec set interface ip address loop0 100.0.15.1/32
exec create ipip tunnel src 100.0.15.1 dst 200.0.0.2 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 52416e526d717363505277784c4b7849 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 52416e526d717363505277784c4b7849 esp
exec ipsec tunnel protect ipip15 sa-out 15 sa-in 100015 add
exec set interface ip address loop0 100.0.16.1/32
exec create ipip tunnel src 100.0.16.1 dst 200.0.0.2 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 4148494275506644474b676c4d6b6358 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 4148494275506644474b676c4d6b6358 esp
exec ipsec tunnel protect ipip16 sa-out 16 sa-in 100016 add
exec set interface ip address loop0 100.0.17.1/32
exec create ipip tunnel src 100.0.17.1 dst 200.0.0.2 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 6a4b48657a6147616a4b6b7264795542 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 6a4b48657a6147616a4b6b7264795542 esp
exec ipsec tunnel protect ipip17 sa-out 17 sa-in 100017 add
exec set interface ip address loop0 100.0.18.1/32
exec create ipip tunnel src 100.0.18.1 dst 200.0.0.2 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 546657625451704c4f6d424d656b6c4a esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 546657625451704c4f6d424d656b6c4a esp
exec ipsec tunnel protect ipip18 sa-out 18 sa-in 100018 add
exec set interface ip address loop0 100.0.19.1/32
exec create ipip tunnel src 100.0.19.1 dst 200.0.0.2 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 624d6b487547466b564d627961726a53 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 624d6b487547466b564d627961726a53 esp
exec ipsec tunnel protect ipip19 sa-out 19 sa-in 100019 add
exec set interface ip address loop0 100.0.20.1/32
exec create ipip tunnel src 100.0.20.1 dst 200.0.0.2 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 6f6863554e6169637a72696d7946744b esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 6f6863554e6169637a72696d7946744b esp
exec ipsec tunnel protect ipip20 sa-out 20 sa-in 100020 add
exec set interface ip address loop0 100.0.21.1/32
exec create ipip tunnel src 100.0.21.1 dst 200.0.0.2 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 7568797a6b584b707156534a6c525350 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 7568797a6b584b707156534a6c525350 esp
exec ipsec tunnel protect ipip21 sa-out 21 sa-in 100021 add
exec set interface ip address loop0 100.0.22.1/32
exec create ipip tunnel src 100.0.22.1 dst 200.0.0.2 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 4d4e6a67775357436c79636149627157 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 4d4e6a67775357436c79636149627157 esp
exec ipsec tunnel protect ipip22 sa-out 22 sa-in 100022 add
exec set interface ip address loop0 100.0.23.1/32
exec create ipip tunnel src 100.0.23.1 dst 200.0.0.2 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 4d6a4c5649524c5656784f6d4d4e5067 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 4d6a4c5649524c5656784f6d4d4e5067 esp
exec ipsec tunnel protect ipip23 sa-out 23 sa-in 100023 add
exec set interface ip address loop0 100.0.24.1/32
exec create ipip tunnel src 100.0.24.1 dst 200.0.0.2 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 65636673474156725270747746625056 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 65636673474156725270747746625056 esp
exec ipsec tunnel protect ipip24 sa-out 24 sa-in 100024 add
exec set interface ip address loop0 100.0.25.1/32
exec create ipip tunnel src 100.0.25.1 dst 200.0.0.2 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 47644e6c69736d6376724e5248534d4e esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 47644e6c69736d6376724e5248534d4e esp
exec ipsec tunnel protect ipip25 sa-out 25 sa-in 100025 add
exec set interface ip address loop0 100.0.26.1/32
exec create ipip tunnel src 100.0.26.1 dst 200.0.0.2 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 4a697a56725141525a4368766d475956 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 4a697a56725141525a4368766d475956 esp
exec ipsec tunnel protect ipip26 sa-out 26 sa-in 100026 add
exec set interface ip address loop0 100.0.27.1/32
exec create ipip tunnel src 100.0.27.1 dst 200.0.0.2 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 5476537a46704b79796a426d57466650 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 5476537a46704b79796a426d57466650 esp
exec ipsec tunnel protect ipip27 sa-out 27 sa-in 100027 add
exec set interface ip address loop0 100.0.28.1/32
exec create ipip tunnel src 100.0.28.1 dst 200.0.0.2 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 4e63555a4d6775477656636f476b6d66 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 4e63555a4d6775477656636f476b6d66 esp
exec ipsec tunnel protect ipip28 sa-out 28 sa-in 100028 add
exec set interface ip address loop0 100.0.29.1/32
exec create ipip tunnel src 100.0.29.1 dst 200.0.0.2 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 76595175644365557144665a5241506a esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 76595175644365557144665a5241506a esp
exec ipsec tunnel protect ipip29 sa-out 29 sa-in 100029 add
exec set interface ip address loop0 100.0.30.1/32
exec create ipip tunnel src 100.0.30.1 dst 200.0.0.2 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 43446a6b66755878624f716c6b434751 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 43446a6b66755878624f716c6b434751 esp
exec ipsec tunnel protect ipip30 sa-out 30 sa-in 100030 add
exec set interface ip address loop0 100.0.31.1/32
exec create ipip tunnel src 100.0.31.1 dst 200.0.0.2 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 456c76435278474d636b747a6975506f esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 456c76435278474d636b747a6975506f esp
exec ipsec tunnel protect ipip31 sa-out 31 sa-in 100031 add
exec set interface ip address loop0 100.0.32.1/32
exec create ipip tunnel src 100.0.32.1 dst 200.0.0.2 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 4f495a67526165446b6d477a5573484b esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 4f495a67526165446b6d477a5573484b esp
exec ipsec tunnel protect ipip32 sa-out 32 sa-in 100032 add
exec set interface ip address loop0 100.0.33.1/32
exec create ipip tunnel src 100.0.33.1 dst 200.0.0.2 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 4b6b734d6f716757596d4b5266584f4b esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 4b6b734d6f716757596d4b5266584f4b esp
exec ipsec tunnel protect ipip33 sa-out 33 sa-in 100033 add
exec set interface ip address loop0 100.0.34.1/32
exec create ipip tunnel src 100.0.34.1 dst 200.0.0.2 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 4454524c634d43537061767955754477 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 4454524c634d43537061767955754477 esp
exec ipsec tunnel protect ipip34 sa-out 34 sa-in 100034 add
exec set interface ip address loop0 100.0.35.1/32
exec create ipip tunnel src 100.0.35.1 dst 200.0.0.2 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 69734f434e4a5255786155564e724375 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 69734f434e4a5255786155564e724375 esp
exec ipsec tunnel protect ipip35 sa-out 35 sa-in 100035 add
exec set interface ip address loop0 100.0.36.1/32
exec create ipip tunnel src 100.0.36.1 dst 200.0.0.2 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 495a684258524d4951447a5848637670 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 495a684258524d4951447a5848637670 esp
exec ipsec tunnel protect ipip36 sa-out 36 sa-in 100036 add
exec set interface ip address loop0 100.0.37.1/32
exec create ipip tunnel src 100.0.37.1 dst 200.0.0.2 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 794f61526c494c676544566b504a6668 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 794f61526c494c676544566b504a6668 esp
exec ipsec tunnel protect ipip37 sa-out 37 sa-in 100037 add
exec set interface ip address loop0 100.0.38.1/32
exec create ipip tunnel src 100.0.38.1 dst 200.0.0.2 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 5357597755646b7579574c6c46477166 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 5357597755646b7579574c6c46477166 esp
exec ipsec tunnel protect ipip38 sa-out 38 sa-in 100038 add
exec set interface ip address loop0 100.0.39.1/32
exec create ipip tunnel src 100.0.39.1 dst 200.0.0.2 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 414e75535863744a54486f707a525246 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 414e75535863744a54486f707a525246 esp
exec ipsec tunnel protect ipip39 sa-out 39 sa-in 100039 add
exec set interface unnumbered ipip0 use avf-0/3b/a/0
exec set interface state ipip0 up
exec ip route add 20.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use avf-0/3b/a/0
exec set interface state ipip1 up
exec ip route add 20.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use avf-0/3b/a/0
exec set interface state ipip2 up
exec ip route add 20.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use avf-0/3b/a/0
exec set interface state ipip3 up
exec ip route add 20.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use avf-0/3b/a/0
exec set interface state ipip4 up
exec ip route add 20.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use avf-0/3b/a/0
exec set interface state ipip5 up
exec ip route add 20.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use avf-0/3b/a/0
exec set interface state ipip6 up
exec ip route add 20.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use avf-0/3b/a/0
exec set interface state ipip7 up
exec ip route add 20.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use avf-0/3b/a/0
exec set interface state ipip8 up
exec ip route add 20.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use avf-0/3b/a/0
exec set interface state ipip9 up
exec ip route add 20.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use avf-0/3b/a/0
exec set interface state ipip10 up
exec ip route add 20.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use avf-0/3b/a/0
exec set interface state ipip11 up
exec ip route add 20.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use avf-0/3b/a/0
exec set interface state ipip12 up
exec ip route add 20.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use avf-0/3b/a/0
exec set interface state ipip13 up
exec ip route add 20.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use avf-0/3b/a/0
exec set interface state ipip14 up
exec ip route add 20.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use avf-0/3b/a/0
exec set interface state ipip15 up
exec ip route add 20.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use avf-0/3b/a/0
exec set interface state ipip16 up
exec ip route add 20.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use avf-0/3b/a/0
exec set interface state ipip17 up
exec ip route add 20.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use avf-0/3b/a/0
exec set interface state ipip18 up
exec ip route add 20.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use avf-0/3b/a/0
exec set interface state ipip19 up
exec ip route add 20.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use avf-0/3b/a/0
exec set interface state ipip20 up
exec ip route add 20.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use avf-0/3b/a/0
exec set interface state ipip21 up
exec ip route add 20.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use avf-0/3b/a/0
exec set interface state ipip22 up
exec ip route add 20.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use avf-0/3b/a/0
exec set interface state ipip23 up
exec ip route add 20.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use avf-0/3b/a/0
exec set interface state ipip24 up
exec ip route add 20.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use avf-0/3b/a/0
exec set interface state ipip25 up
exec ip route add 20.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use avf-0/3b/a/0
exec set interface state ipip26 up
exec ip route add 20.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use avf-0/3b/a/0
exec set interface state ipip27 up
exec ip route add 20.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use avf-0/3b/a/0
exec set interface state ipip28 up
exec ip route add 20.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use avf-0/3b/a/0
exec set interface state ipip29 up
exec ip route add 20.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use avf-0/3b/a/0
exec set interface state ipip30 up
exec ip route add 20.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use avf-0/3b/a/0
exec set interface state ipip31 up
exec ip route add 20.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use avf-0/3b/a/0
exec set interface state ipip32 up
exec ip route add 20.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use avf-0/3b/a/0
exec set interface state ipip33 up
exec ip route add 20.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use avf-0/3b/a/0
exec set interface state ipip34 up
exec ip route add 20.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use avf-0/3b/a/0
exec set interface state ipip35 up
exec ip route add 20.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use avf-0/3b/a/0
exec set interface state ipip36 up
exec ip route add 20.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use avf-0/3b/a/0
exec set interface state ipip37 up
exec ip route add 20.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use avf-0/3b/a/0
exec set interface state ipip38 up
exec ip route add 20.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use avf-0/3b/a/0
exec set interface state ipip39 up
exec ip route add 20.0.0.39/32 via ipip39
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec set interface ip address avf-0/3b/a/0 200.0.0.2/24.0
exec create ipip tunnel src 200.0.0.2 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 7471794b6673486b52646e764d756c64 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 7471794b6673486b52646e764d756c64 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 4c5a784f52497a635166744669564b68 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 4c5a784f52497a635166744669564b68 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 6c435056797041694c68654c4e555651 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 6c435056797041694c68654c4e555651 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 64736d5356494e49556c556965487a51 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 64736d5356494e49556c556965487a51 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 6774667850727442574e416478546a7a esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 6774667850727442574e416478546a7a esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 72416356554a7a675850747663595876 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 72416356554a7a675850747663595876 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 547161484f71614d4d7562464d444f6d esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 547161484f71614d4d7562464d444f6d esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 49535a4d6273644f7847475051554c57 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 49535a4d6273644f7847475051554c57 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 4e7a57787a516d6d547858646e45516a esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 4e7a57787a516d6d547858646e45516a esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 567075706f67416778576252666c6949 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 567075706f67416778576252666c6949 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 596a51694a686f6d5269544a65595067 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 596a51694a686f6d5269544a65595067 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 7a554a61756a444a466952434b506467 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 7a554a61756a444a466952434b506467 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 6c70636c44556d6d5a444f674b517663 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 6c70636c44556d6d5a444f674b517663 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 66556d7249556f654756535558506a62 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 66556d7249556f654756535558506a62 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 4f6549455774644a584e555a45504a58 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 4f6549455774644a584e555a45504a58 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 52416e526d717363505277784c4b7849 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 52416e526d717363505277784c4b7849 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 4148494275506644474b676c4d6b6358 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 4148494275506644474b676c4d6b6358 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 6a4b48657a6147616a4b6b7264795542 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 6a4b48657a6147616a4b6b7264795542 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 546657625451704c4f6d424d656b6c4a esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 546657625451704c4f6d424d656b6c4a esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 624d6b487547466b564d627961726a53 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 624d6b487547466b564d627961726a53 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 6f6863554e6169637a72696d7946744b esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 6f6863554e6169637a72696d7946744b esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 7568797a6b584b707156534a6c525350 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 7568797a6b584b707156534a6c525350 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 4d4e6a67775357436c79636149627157 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 4d4e6a67775357436c79636149627157 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 4d6a4c5649524c5656784f6d4d4e5067 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 4d6a4c5649524c5656784f6d4d4e5067 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 65636673474156725270747746625056 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 65636673474156725270747746625056 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 47644e6c69736d6376724e5248534d4e esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 47644e6c69736d6376724e5248534d4e esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 4a697a56725141525a4368766d475956 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 4a697a56725141525a4368766d475956 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 5476537a46704b79796a426d57466650 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 5476537a46704b79796a426d57466650 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 4e63555a4d6775477656636f476b6d66 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 4e63555a4d6775477656636f476b6d66 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 76595175644365557144665a5241506a esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 76595175644365557144665a5241506a esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 43446a6b66755878624f716c6b434751 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 43446a6b66755878624f716c6b434751 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 456c76435278474d636b747a6975506f esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 456c76435278474d636b747a6975506f esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 4f495a67526165446b6d477a5573484b esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 4f495a67526165446b6d477a5573484b esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 4b6b734d6f716757596d4b5266584f4b esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 4b6b734d6f716757596d4b5266584f4b esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 4454524c634d43537061767955754477 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 4454524c634d43537061767955754477 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 69734f434e4a5255786155564e724375 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 69734f434e4a5255786155564e724375 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 495a684258524d4951447a5848637670 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 495a684258524d4951447a5848637670 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 794f61526c494c676544566b504a6668 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 794f61526c494c676544566b504a6668 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 5357597755646b7579574c6c46477166 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 5357597755646b7579574c6c46477166 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 414e75535863744a54486f707a525246 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 414e75535863744a54486f707a525246 esp
exec ipsec tunnel protect ipip39 sa-out 100039 sa-in 39 add
exec ip route add 100.0.0.1/8 via 200.0.0.1 avf-0/3b/a/0
exec set interface unnumbered ipip0 use avf-0/3b/a/0
exec set interface state ipip0 up
exec ip route add 10.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use avf-0/3b/a/0
exec set interface state ipip1 up
exec ip route add 10.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use avf-0/3b/a/0
exec set interface state ipip2 up
exec ip route add 10.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use avf-0/3b/a/0
exec set interface state ipip3 up
exec ip route add 10.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use avf-0/3b/a/0
exec set interface state ipip4 up
exec ip route add 10.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use avf-0/3b/a/0
exec set interface state ipip5 up
exec ip route add 10.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use avf-0/3b/a/0
exec set interface state ipip6 up
exec ip route add 10.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use avf-0/3b/a/0
exec set interface state ipip7 up
exec ip route add 10.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use avf-0/3b/a/0
exec set interface state ipip8 up
exec ip route add 10.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use avf-0/3b/a/0
exec set interface state ipip9 up
exec ip route add 10.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use avf-0/3b/a/0
exec set interface state ipip10 up
exec ip route add 10.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use avf-0/3b/a/0
exec set interface state ipip11 up
exec ip route add 10.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use avf-0/3b/a/0
exec set interface state ipip12 up
exec ip route add 10.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use avf-0/3b/a/0
exec set interface state ipip13 up
exec ip route add 10.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use avf-0/3b/a/0
exec set interface state ipip14 up
exec ip route add 10.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use avf-0/3b/a/0
exec set interface state ipip15 up
exec ip route add 10.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use avf-0/3b/a/0
exec set interface state ipip16 up
exec ip route add 10.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use avf-0/3b/a/0
exec set interface state ipip17 up
exec ip route add 10.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use avf-0/3b/a/0
exec set interface state ipip18 up
exec ip route add 10.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use avf-0/3b/a/0
exec set interface state ipip19 up
exec ip route add 10.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use avf-0/3b/a/0
exec set interface state ipip20 up
exec ip route add 10.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use avf-0/3b/a/0
exec set interface state ipip21 up
exec ip route add 10.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use avf-0/3b/a/0
exec set interface state ipip22 up
exec ip route add 10.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use avf-0/3b/a/0
exec set interface state ipip23 up
exec ip route add 10.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use avf-0/3b/a/0
exec set interface state ipip24 up
exec ip route add 10.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use avf-0/3b/a/0
exec set interface state ipip25 up
exec ip route add 10.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use avf-0/3b/a/0
exec set interface state ipip26 up
exec ip route add 10.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use avf-0/3b/a/0
exec set interface state ipip27 up
exec ip route add 10.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use avf-0/3b/a/0
exec set interface state ipip28 up
exec ip route add 10.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use avf-0/3b/a/0
exec set interface state ipip29 up
exec ip route add 10.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use avf-0/3b/a/0
exec set interface state ipip30 up
exec ip route add 10.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use avf-0/3b/a/0
exec set interface state ipip31 up
exec ip route add 10.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use avf-0/3b/a/0
exec set interface state ipip32 up
exec ip route add 10.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use avf-0/3b/a/0
exec set interface state ipip33 up
exec ip route add 10.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use avf-0/3b/a/0
exec set interface state ipip34 up
exec ip route add 10.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use avf-0/3b/a/0
exec set interface state ipip35 up
exec ip route add 10.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use avf-0/3b/a/0
exec set interface state ipip36 up
exec ip route add 10.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use avf-0/3b/a/0
exec set interface state ipip37 up
exec ip route add 10.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use avf-0/3b/a/0
exec set interface state ipip38 up
exec ip route add 10.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use avf-0/3b/a/0
exec set interface state ipip39 up
exec ip route add 10.0.0.39/32 via ipip39

 64b-8t4c-avf-ethip4ipsec40tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec create loopback interface
exec set interface state loop0 up
exec set interface ip address avf-0/3b/a/0 200.0.0.1/24
exec set ip neighbor avf-0/3b/a/0 200.0.0.2 3c:fe:bd:f8:fd:00 static
exec set interface ip address loop0 100.0.0.1/32
exec create ipip tunnel src 100.0.0.1 dst 200.0.0.2 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 7962424a584e4358786758566e6f4164 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 7962424a584e4358786758566e6f4164 esp
exec ipsec tunnel protect ipip0 sa-out 0 sa-in 100000 add
exec set interface ip address loop0 100.0.1.1/32
exec create ipip tunnel src 100.0.1.1 dst 200.0.0.2 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 654f464157457251777971546d436374 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 654f464157457251777971546d436374 esp
exec ipsec tunnel protect ipip1 sa-out 1 sa-in 100001 add
exec set interface ip address loop0 100.0.2.1/32
exec create ipip tunnel src 100.0.2.1 dst 200.0.0.2 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 6163524477714c4f464e5259504a6c7a esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 6163524477714c4f464e5259504a6c7a esp
exec ipsec tunnel protect ipip2 sa-out 2 sa-in 100002 add
exec set interface ip address loop0 100.0.3.1/32
exec create ipip tunnel src 100.0.3.1 dst 200.0.0.2 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 7a58767152437a6445736b7347725468 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 7a58767152437a6445736b7347725468 esp
exec ipsec tunnel protect ipip3 sa-out 3 sa-in 100003 add
exec set interface ip address loop0 100.0.4.1/32
exec create ipip tunnel src 100.0.4.1 dst 200.0.0.2 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 6b7473636e4f684c5868744a7a565455 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 6b7473636e4f684c5868744a7a565455 esp
exec ipsec tunnel protect ipip4 sa-out 4 sa-in 100004 add
exec set interface ip address loop0 100.0.5.1/32
exec create ipip tunnel src 100.0.5.1 dst 200.0.0.2 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 4552424c6f5846744b6e6e565859646e esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 4552424c6f5846744b6e6e565859646e esp
exec ipsec tunnel protect ipip5 sa-out 5 sa-in 100005 add
exec set interface ip address loop0 100.0.6.1/32
exec create ipip tunnel src 100.0.6.1 dst 200.0.0.2 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 4a456971546a74546476446c56736a67 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 4a456971546a74546476446c56736a67 esp
exec ipsec tunnel protect ipip6 sa-out 6 sa-in 100006 add
exec set interface ip address loop0 100.0.7.1/32
exec create ipip tunnel src 100.0.7.1 dst 200.0.0.2 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 4f5659436b4f446e4f49616e7a41456e esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 4f5659436b4f446e4f49616e7a41456e esp
exec ipsec tunnel protect ipip7 sa-out 7 sa-in 100007 add
exec set interface ip address loop0 100.0.8.1/32
exec create ipip tunnel src 100.0.8.1 dst 200.0.0.2 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 72454d5446746177766b756745656561 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 72454d5446746177766b756745656561 esp
exec ipsec tunnel protect ipip8 sa-out 8 sa-in 100008 add
exec set interface ip address loop0 100.0.9.1/32
exec create ipip tunnel src 100.0.9.1 dst 200.0.0.2 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 5556444a72515a52724b505572715554 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 5556444a72515a52724b505572715554 esp
exec ipsec tunnel protect ipip9 sa-out 9 sa-in 100009 add
exec set interface ip address loop0 100.0.10.1/32
exec create ipip tunnel src 100.0.10.1 dst 200.0.0.2 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 56656473467a5970456152424552466c esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 56656473467a5970456152424552466c esp
exec ipsec tunnel protect ipip10 sa-out 10 sa-in 100010 add
exec set interface ip address loop0 100.0.11.1/32
exec create ipip tunnel src 100.0.11.1 dst 200.0.0.2 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 6b434559644f504f706478667a54495a esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 6b434559644f504f706478667a54495a esp
exec ipsec tunnel protect ipip11 sa-out 11 sa-in 100011 add
exec set interface ip address loop0 100.0.12.1/32
exec create ipip tunnel src 100.0.12.1 dst 200.0.0.2 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 59794b537a5a704e534c6253496c7342 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 59794b537a5a704e534c6253496c7342 esp
exec ipsec tunnel protect ipip12 sa-out 12 sa-in 100012 add
exec set interface ip address loop0 100.0.13.1/32
exec create ipip tunnel src 100.0.13.1 dst 200.0.0.2 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 57505155414e6a79696b6e4d614f516b esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 57505155414e6a79696b6e4d614f516b esp
exec ipsec tunnel protect ipip13 sa-out 13 sa-in 100013 add
exec set interface ip address loop0 100.0.14.1/32
exec create ipip tunnel src 100.0.14.1 dst 200.0.0.2 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 496b57527941616c5364416841595864 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 496b57527941616c5364416841595864 esp
exec ipsec tunnel protect ipip14 sa-out 14 sa-in 100014 add
exec set interface ip address loop0 100.0.15.1/32
exec create ipip tunnel src 100.0.15.1 dst 200.0.0.2 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 6c504c6275525761537a4b5477636151 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 6c504c6275525761537a4b5477636151 esp
exec ipsec tunnel protect ipip15 sa-out 15 sa-in 100015 add
exec set interface ip address loop0 100.0.16.1/32
exec create ipip tunnel src 100.0.16.1 dst 200.0.0.2 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 79746b6f625654496f46475777765148 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 79746b6f625654496f46475777765148 esp
exec ipsec tunnel protect ipip16 sa-out 16 sa-in 100016 add
exec set interface ip address loop0 100.0.17.1/32
exec create ipip tunnel src 100.0.17.1 dst 200.0.0.2 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 5878547348544f5057635575696d6e73 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 5878547348544f5057635575696d6e73 esp
exec ipsec tunnel protect ipip17 sa-out 17 sa-in 100017 add
exec set interface ip address loop0 100.0.18.1/32
exec create ipip tunnel src 100.0.18.1 dst 200.0.0.2 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 7a5141654c595a4a767841634b456f4f esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 7a5141654c595a4a767841634b456f4f esp
exec ipsec tunnel protect ipip18 sa-out 18 sa-in 100018 add
exec set interface ip address loop0 100.0.19.1/32
exec create ipip tunnel src 100.0.19.1 dst 200.0.0.2 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 7270795553624f43786946584a5a646c esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 7270795553624f43786946584a5a646c esp
exec ipsec tunnel protect ipip19 sa-out 19 sa-in 100019 add
exec set interface ip address loop0 100.0.20.1/32
exec create ipip tunnel src 100.0.20.1 dst 200.0.0.2 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 544e6a6d6446764d4153656a4562784f esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 544e6a6d6446764d4153656a4562784f esp
exec ipsec tunnel protect ipip20 sa-out 20 sa-in 100020 add
exec set interface ip address loop0 100.0.21.1/32
exec create ipip tunnel src 100.0.21.1 dst 200.0.0.2 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 74756b72465a5261714f54635955756a esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 74756b72465a5261714f54635955756a esp
exec ipsec tunnel protect ipip21 sa-out 21 sa-in 100021 add
exec set interface ip address loop0 100.0.22.1/32
exec create ipip tunnel src 100.0.22.1 dst 200.0.0.2 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 6e78775678557a4b5747474f78444b54 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 6e78775678557a4b5747474f78444b54 esp
exec ipsec tunnel protect ipip22 sa-out 22 sa-in 100022 add
exec set interface ip address loop0 100.0.23.1/32
exec create ipip tunnel src 100.0.23.1 dst 200.0.0.2 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 505254475955686d53437846726f6457 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 505254475955686d53437846726f6457 esp
exec ipsec tunnel protect ipip23 sa-out 23 sa-in 100023 add
exec set interface ip address loop0 100.0.24.1/32
exec create ipip tunnel src 100.0.24.1 dst 200.0.0.2 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 416a704e6a4365617451614471434f51 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 416a704e6a4365617451614471434f51 esp
exec ipsec tunnel protect ipip24 sa-out 24 sa-in 100024 add
exec set interface ip address loop0 100.0.25.1/32
exec create ipip tunnel src 100.0.25.1 dst 200.0.0.2 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 564163496a7a796f5467686b61774b47 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 564163496a7a796f5467686b61774b47 esp
exec ipsec tunnel protect ipip25 sa-out 25 sa-in 100025 add
exec set interface ip address loop0 100.0.26.1/32
exec create ipip tunnel src 100.0.26.1 dst 200.0.0.2 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 464f6f6c4f4c5a444e427049624c5364 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 464f6f6c4f4c5a444e427049624c5364 esp
exec ipsec tunnel protect ipip26 sa-out 26 sa-in 100026 add
exec set interface ip address loop0 100.0.27.1/32
exec create ipip tunnel src 100.0.27.1 dst 200.0.0.2 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 474549504f574d4c7478506b5873576c esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 474549504f574d4c7478506b5873576c esp
exec ipsec tunnel protect ipip27 sa-out 27 sa-in 100027 add
exec set interface ip address loop0 100.0.28.1/32
exec create ipip tunnel src 100.0.28.1 dst 200.0.0.2 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 626c586a576c474750724b6349497644 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 626c586a576c474750724b6349497644 esp
exec ipsec tunnel protect ipip28 sa-out 28 sa-in 100028 add
exec set interface ip address loop0 100.0.29.1/32
exec create ipip tunnel src 100.0.29.1 dst 200.0.0.2 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 475a6f615a5963574567484549746e62 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 475a6f615a5963574567484549746e62 esp
exec ipsec tunnel protect ipip29 sa-out 29 sa-in 100029 add
exec set interface ip address loop0 100.0.30.1/32
exec create ipip tunnel src 100.0.30.1 dst 200.0.0.2 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 4e4f69776e6c447979464c4d4a557875 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 4e4f69776e6c447979464c4d4a557875 esp
exec ipsec tunnel protect ipip30 sa-out 30 sa-in 100030 add
exec set interface ip address loop0 100.0.31.1/32
exec create ipip tunnel src 100.0.31.1 dst 200.0.0.2 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 7573744e555856496c674279636c7845 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 7573744e555856496c674279636c7845 esp
exec ipsec tunnel protect ipip31 sa-out 31 sa-in 100031 add
exec set interface ip address loop0 100.0.32.1/32
exec create ipip tunnel src 100.0.32.1 dst 200.0.0.2 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 4f63586655646c776d41655a4e47416d esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 4f63586655646c776d41655a4e47416d esp
exec ipsec tunnel protect ipip32 sa-out 32 sa-in 100032 add
exec set interface ip address loop0 100.0.33.1/32
exec create ipip tunnel src 100.0.33.1 dst 200.0.0.2 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 615761734f68626c7a45716976426466 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 615761734f68626c7a45716976426466 esp
exec ipsec tunnel protect ipip33 sa-out 33 sa-in 100033 add
exec set interface ip address loop0 100.0.34.1/32
exec create ipip tunnel src 100.0.34.1 dst 200.0.0.2 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 58645268554959476e45504457776b52 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 58645268554959476e45504457776b52 esp
exec ipsec tunnel protect ipip34 sa-out 34 sa-in 100034 add
exec set interface ip address loop0 100.0.35.1/32
exec create ipip tunnel src 100.0.35.1 dst 200.0.0.2 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 45474a576e616a5a6d4b7a46474a4477 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 45474a576e616a5a6d4b7a46474a4477 esp
exec ipsec tunnel protect ipip35 sa-out 35 sa-in 100035 add
exec set interface ip address loop0 100.0.36.1/32
exec create ipip tunnel src 100.0.36.1 dst 200.0.0.2 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 714275424a726c577456495666726a6c esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 714275424a726c577456495666726a6c esp
exec ipsec tunnel protect ipip36 sa-out 36 sa-in 100036 add
exec set interface ip address loop0 100.0.37.1/32
exec create ipip tunnel src 100.0.37.1 dst 200.0.0.2 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 684f7375464b76627750486f6645447a esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 684f7375464b76627750486f6645447a esp
exec ipsec tunnel protect ipip37 sa-out 37 sa-in 100037 add
exec set interface ip address loop0 100.0.38.1/32
exec create ipip tunnel src 100.0.38.1 dst 200.0.0.2 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 736b704c4f614d4956504655526a4b63 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 736b704c4f614d4956504655526a4b63 esp
exec ipsec tunnel protect ipip38 sa-out 38 sa-in 100038 add
exec set interface ip address loop0 100.0.39.1/32
exec create ipip tunnel src 100.0.39.1 dst 200.0.0.2 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 5166424675624d6d574c4e6143784a52 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 5166424675624d6d574c4e6143784a52 esp
exec ipsec tunnel protect ipip39 sa-out 39 sa-in 100039 add
exec set interface unnumbered ipip0 use avf-0/3b/a/0
exec set interface state ipip0 up
exec ip route add 20.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use avf-0/3b/a/0
exec set interface state ipip1 up
exec ip route add 20.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use avf-0/3b/a/0
exec set interface state ipip2 up
exec ip route add 20.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use avf-0/3b/a/0
exec set interface state ipip3 up
exec ip route add 20.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use avf-0/3b/a/0
exec set interface state ipip4 up
exec ip route add 20.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use avf-0/3b/a/0
exec set interface state ipip5 up
exec ip route add 20.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use avf-0/3b/a/0
exec set interface state ipip6 up
exec ip route add 20.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use avf-0/3b/a/0
exec set interface state ipip7 up
exec ip route add 20.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use avf-0/3b/a/0
exec set interface state ipip8 up
exec ip route add 20.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use avf-0/3b/a/0
exec set interface state ipip9 up
exec ip route add 20.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use avf-0/3b/a/0
exec set interface state ipip10 up
exec ip route add 20.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use avf-0/3b/a/0
exec set interface state ipip11 up
exec ip route add 20.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use avf-0/3b/a/0
exec set interface state ipip12 up
exec ip route add 20.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use avf-0/3b/a/0
exec set interface state ipip13 up
exec ip route add 20.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use avf-0/3b/a/0
exec set interface state ipip14 up
exec ip route add 20.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use avf-0/3b/a/0
exec set interface state ipip15 up
exec ip route add 20.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use avf-0/3b/a/0
exec set interface state ipip16 up
exec ip route add 20.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use avf-0/3b/a/0
exec set interface state ipip17 up
exec ip route add 20.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use avf-0/3b/a/0
exec set interface state ipip18 up
exec ip route add 20.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use avf-0/3b/a/0
exec set interface state ipip19 up
exec ip route add 20.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use avf-0/3b/a/0
exec set interface state ipip20 up
exec ip route add 20.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use avf-0/3b/a/0
exec set interface state ipip21 up
exec ip route add 20.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use avf-0/3b/a/0
exec set interface state ipip22 up
exec ip route add 20.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use avf-0/3b/a/0
exec set interface state ipip23 up
exec ip route add 20.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use avf-0/3b/a/0
exec set interface state ipip24 up
exec ip route add 20.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use avf-0/3b/a/0
exec set interface state ipip25 up
exec ip route add 20.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use avf-0/3b/a/0
exec set interface state ipip26 up
exec ip route add 20.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use avf-0/3b/a/0
exec set interface state ipip27 up
exec ip route add 20.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use avf-0/3b/a/0
exec set interface state ipip28 up
exec ip route add 20.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use avf-0/3b/a/0
exec set interface state ipip29 up
exec ip route add 20.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use avf-0/3b/a/0
exec set interface state ipip30 up
exec ip route add 20.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use avf-0/3b/a/0
exec set interface state ipip31 up
exec ip route add 20.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use avf-0/3b/a/0
exec set interface state ipip32 up
exec ip route add 20.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use avf-0/3b/a/0
exec set interface state ipip33 up
exec ip route add 20.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use avf-0/3b/a/0
exec set interface state ipip34 up
exec ip route add 20.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use avf-0/3b/a/0
exec set interface state ipip35 up
exec ip route add 20.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use avf-0/3b/a/0
exec set interface state ipip36 up
exec ip route add 20.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use avf-0/3b/a/0
exec set interface state ipip37 up
exec ip route add 20.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use avf-0/3b/a/0
exec set interface state ipip38 up
exec ip route add 20.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use avf-0/3b/a/0
exec set interface state ipip39 up
exec ip route add 20.0.0.39/32 via ipip39
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec set interface ip address avf-0/3b/a/0 200.0.0.2/24.0
exec create ipip tunnel src 200.0.0.2 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 7962424a584e4358786758566e6f4164 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 7962424a584e4358786758566e6f4164 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 654f464157457251777971546d436374 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 654f464157457251777971546d436374 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 6163524477714c4f464e5259504a6c7a esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 6163524477714c4f464e5259504a6c7a esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 7a58767152437a6445736b7347725468 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 7a58767152437a6445736b7347725468 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 6b7473636e4f684c5868744a7a565455 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 6b7473636e4f684c5868744a7a565455 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 4552424c6f5846744b6e6e565859646e esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 4552424c6f5846744b6e6e565859646e esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 4a456971546a74546476446c56736a67 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 4a456971546a74546476446c56736a67 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 4f5659436b4f446e4f49616e7a41456e esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 4f5659436b4f446e4f49616e7a41456e esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 72454d5446746177766b756745656561 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 72454d5446746177766b756745656561 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 5556444a72515a52724b505572715554 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 5556444a72515a52724b505572715554 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 56656473467a5970456152424552466c esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 56656473467a5970456152424552466c esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 6b434559644f504f706478667a54495a esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 6b434559644f504f706478667a54495a esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 59794b537a5a704e534c6253496c7342 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 59794b537a5a704e534c6253496c7342 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 57505155414e6a79696b6e4d614f516b esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 57505155414e6a79696b6e4d614f516b esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 496b57527941616c5364416841595864 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 496b57527941616c5364416841595864 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 6c504c6275525761537a4b5477636151 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 6c504c6275525761537a4b5477636151 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 79746b6f625654496f46475777765148 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 79746b6f625654496f46475777765148 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 5878547348544f5057635575696d6e73 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 5878547348544f5057635575696d6e73 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 7a5141654c595a4a767841634b456f4f esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 7a5141654c595a4a767841634b456f4f esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 7270795553624f43786946584a5a646c esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 7270795553624f43786946584a5a646c esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 544e6a6d6446764d4153656a4562784f esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 544e6a6d6446764d4153656a4562784f esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 74756b72465a5261714f54635955756a esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 74756b72465a5261714f54635955756a esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 6e78775678557a4b5747474f78444b54 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 6e78775678557a4b5747474f78444b54 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 505254475955686d53437846726f6457 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 505254475955686d53437846726f6457 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 416a704e6a4365617451614471434f51 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 416a704e6a4365617451614471434f51 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 564163496a7a796f5467686b61774b47 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 564163496a7a796f5467686b61774b47 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 464f6f6c4f4c5a444e427049624c5364 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 464f6f6c4f4c5a444e427049624c5364 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 474549504f574d4c7478506b5873576c esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 474549504f574d4c7478506b5873576c esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 626c586a576c474750724b6349497644 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 626c586a576c474750724b6349497644 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 475a6f615a5963574567484549746e62 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 475a6f615a5963574567484549746e62 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 4e4f69776e6c447979464c4d4a557875 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 4e4f69776e6c447979464c4d4a557875 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 7573744e555856496c674279636c7845 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 7573744e555856496c674279636c7845 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 4f63586655646c776d41655a4e47416d esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 4f63586655646c776d41655a4e47416d esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 615761734f68626c7a45716976426466 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 615761734f68626c7a45716976426466 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 58645268554959476e45504457776b52 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 58645268554959476e45504457776b52 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 45474a576e616a5a6d4b7a46474a4477 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 45474a576e616a5a6d4b7a46474a4477 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 714275424a726c577456495666726a6c esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 714275424a726c577456495666726a6c esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 684f7375464b76627750486f6645447a esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 684f7375464b76627750486f6645447a esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 736b704c4f614d4956504655526a4b63 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 736b704c4f614d4956504655526a4b63 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 5166424675624d6d574c4e6143784a52 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 5166424675624d6d574c4e6143784a52 esp
exec ipsec tunnel protect ipip39 sa-out 100039 sa-in 39 add
exec ip route add 100.0.0.1/8 via 200.0.0.1 avf-0/3b/a/0
exec set interface unnumbered ipip0 use avf-0/3b/a/0
exec set interface state ipip0 up
exec ip route add 10.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use avf-0/3b/a/0
exec set interface state ipip1 up
exec ip route add 10.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use avf-0/3b/a/0
exec set interface state ipip2 up
exec ip route add 10.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use avf-0/3b/a/0
exec set interface state ipip3 up
exec ip route add 10.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use avf-0/3b/a/0
exec set interface state ipip4 up
exec ip route add 10.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use avf-0/3b/a/0
exec set interface state ipip5 up
exec ip route add 10.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use avf-0/3b/a/0
exec set interface state ipip6 up
exec ip route add 10.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use avf-0/3b/a/0
exec set interface state ipip7 up
exec ip route add 10.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use avf-0/3b/a/0
exec set interface state ipip8 up
exec ip route add 10.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use avf-0/3b/a/0
exec set interface state ipip9 up
exec ip route add 10.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use avf-0/3b/a/0
exec set interface state ipip10 up
exec ip route add 10.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use avf-0/3b/a/0
exec set interface state ipip11 up
exec ip route add 10.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use avf-0/3b/a/0
exec set interface state ipip12 up
exec ip route add 10.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use avf-0/3b/a/0
exec set interface state ipip13 up
exec ip route add 10.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use avf-0/3b/a/0
exec set interface state ipip14 up
exec ip route add 10.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use avf-0/3b/a/0
exec set interface state ipip15 up
exec ip route add 10.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use avf-0/3b/a/0
exec set interface state ipip16 up
exec ip route add 10.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use avf-0/3b/a/0
exec set interface state ipip17 up
exec ip route add 10.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use avf-0/3b/a/0
exec set interface state ipip18 up
exec ip route add 10.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use avf-0/3b/a/0
exec set interface state ipip19 up
exec ip route add 10.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use avf-0/3b/a/0
exec set interface state ipip20 up
exec ip route add 10.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use avf-0/3b/a/0
exec set interface state ipip21 up
exec ip route add 10.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use avf-0/3b/a/0
exec set interface state ipip22 up
exec ip route add 10.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use avf-0/3b/a/0
exec set interface state ipip23 up
exec ip route add 10.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use avf-0/3b/a/0
exec set interface state ipip24 up
exec ip route add 10.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use avf-0/3b/a/0
exec set interface state ipip25 up
exec ip route add 10.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use avf-0/3b/a/0
exec set interface state ipip26 up
exec ip route add 10.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use avf-0/3b/a/0
exec set interface state ipip27 up
exec ip route add 10.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use avf-0/3b/a/0
exec set interface state ipip28 up
exec ip route add 10.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use avf-0/3b/a/0
exec set interface state ipip29 up
exec ip route add 10.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use avf-0/3b/a/0
exec set interface state ipip30 up
exec ip route add 10.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use avf-0/3b/a/0
exec set interface state ipip31 up
exec ip route add 10.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use avf-0/3b/a/0
exec set interface state ipip32 up
exec ip route add 10.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use avf-0/3b/a/0
exec set interface state ipip33 up
exec ip route add 10.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use avf-0/3b/a/0
exec set interface state ipip34 up
exec ip route add 10.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use avf-0/3b/a/0
exec set interface state ipip35 up
exec ip route add 10.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use avf-0/3b/a/0
exec set interface state ipip36 up
exec ip route add 10.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use avf-0/3b/a/0
exec set interface state ipip37 up
exec ip route add 10.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use avf-0/3b/a/0
exec set interface state ipip38 up
exec ip route add 10.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use avf-0/3b/a/0
exec set interface state ipip39 up
exec ip route add 10.0.0.39/32 via ipip39

 1518b-2t1c-avf-ethip4ipsec40tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec create loopback interface
exec set interface state loop0 up
exec set interface ip address avf-0/3b/a/0 200.0.0.1/24
exec set ip neighbor avf-0/3b/a/0 200.0.0.2 3c:fe:bd:f8:fd:00 static
exec set interface ip address loop0 100.0.0.1/32
exec create ipip tunnel src 100.0.0.1 dst 200.0.0.2 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 4d5269667a53566347775a4347694571 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 4d5269667a53566347775a4347694571 esp
exec ipsec tunnel protect ipip0 sa-out 0 sa-in 100000 add
exec set interface ip address loop0 100.0.1.1/32
exec create ipip tunnel src 100.0.1.1 dst 200.0.0.2 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 4d7253505a527957654e7a754a6b6b77 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 4d7253505a527957654e7a754a6b6b77 esp
exec ipsec tunnel protect ipip1 sa-out 1 sa-in 100001 add
exec set interface ip address loop0 100.0.2.1/32
exec create ipip tunnel src 100.0.2.1 dst 200.0.0.2 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 6b734a4e754477426c47776e454f4943 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 6b734a4e754477426c47776e454f4943 esp
exec ipsec tunnel protect ipip2 sa-out 2 sa-in 100002 add
exec set interface ip address loop0 100.0.3.1/32
exec create ipip tunnel src 100.0.3.1 dst 200.0.0.2 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 446c5561744f59507870654e64745858 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 446c5561744f59507870654e64745858 esp
exec ipsec tunnel protect ipip3 sa-out 3 sa-in 100003 add
exec set interface ip address loop0 100.0.4.1/32
exec create ipip tunnel src 100.0.4.1 dst 200.0.0.2 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 6f624174496c6e5772794a715a614148 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 6f624174496c6e5772794a715a614148 esp
exec ipsec tunnel protect ipip4 sa-out 4 sa-in 100004 add
exec set interface ip address loop0 100.0.5.1/32
exec create ipip tunnel src 100.0.5.1 dst 200.0.0.2 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 4269544470656d71516a6a7a46734854 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 4269544470656d71516a6a7a46734854 esp
exec ipsec tunnel protect ipip5 sa-out 5 sa-in 100005 add
exec set interface ip address loop0 100.0.6.1/32
exec create ipip tunnel src 100.0.6.1 dst 200.0.0.2 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 4d436f77465844676d59546f6f667653 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 4d436f77465844676d59546f6f667653 esp
exec ipsec tunnel protect ipip6 sa-out 6 sa-in 100006 add
exec set interface ip address loop0 100.0.7.1/32
exec create ipip tunnel src 100.0.7.1 dst 200.0.0.2 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 70794152414f5047704e76485a4e7774 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 70794152414f5047704e76485a4e7774 esp
exec ipsec tunnel protect ipip7 sa-out 7 sa-in 100007 add
exec set interface ip address loop0 100.0.8.1/32
exec create ipip tunnel src 100.0.8.1 dst 200.0.0.2 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 68526a6f6768506a7950464679716241 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 68526a6f6768506a7950464679716241 esp
exec ipsec tunnel protect ipip8 sa-out 8 sa-in 100008 add
exec set interface ip address loop0 100.0.9.1/32
exec create ipip tunnel src 100.0.9.1 dst 200.0.0.2 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 7876546f4e53594f4159726b6d754167 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 7876546f4e53594f4159726b6d754167 esp
exec ipsec tunnel protect ipip9 sa-out 9 sa-in 100009 add
exec set interface ip address loop0 100.0.10.1/32
exec create ipip tunnel src 100.0.10.1 dst 200.0.0.2 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 4a4d496e6b426355787246476a676e6e esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 4a4d496e6b426355787246476a676e6e esp
exec ipsec tunnel protect ipip10 sa-out 10 sa-in 100010 add
exec set interface ip address loop0 100.0.11.1/32
exec create ipip tunnel src 100.0.11.1 dst 200.0.0.2 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 686e44766a71797877496b6965476b71 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 686e44766a71797877496b6965476b71 esp
exec ipsec tunnel protect ipip11 sa-out 11 sa-in 100011 add
exec set interface ip address loop0 100.0.12.1/32
exec create ipip tunnel src 100.0.12.1 dst 200.0.0.2 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 6f5872415a735a7a6446797574436352 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 6f5872415a735a7a6446797574436352 esp
exec ipsec tunnel protect ipip12 sa-out 12 sa-in 100012 add
exec set interface ip address loop0 100.0.13.1/32
exec create ipip tunnel src 100.0.13.1 dst 200.0.0.2 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 72474555614e4649636d437157527161 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 72474555614e4649636d437157527161 esp
exec ipsec tunnel protect ipip13 sa-out 13 sa-in 100013 add
exec set interface ip address loop0 100.0.14.1/32
exec create ipip tunnel src 100.0.14.1 dst 200.0.0.2 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 4e4e6178574d4d70556e4d4a42656253 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 4e4e6178574d4d70556e4d4a42656253 esp
exec ipsec tunnel protect ipip14 sa-out 14 sa-in 100014 add
exec set interface ip address loop0 100.0.15.1/32
exec create ipip tunnel src 100.0.15.1 dst 200.0.0.2 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 64706a75684244625454486362736c6d esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 64706a75684244625454486362736c6d esp
exec ipsec tunnel protect ipip15 sa-out 15 sa-in 100015 add
exec set interface ip address loop0 100.0.16.1/32
exec create ipip tunnel src 100.0.16.1 dst 200.0.0.2 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 696f615a684965696776585047705569 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 696f615a684965696776585047705569 esp
exec ipsec tunnel protect ipip16 sa-out 16 sa-in 100016 add
exec set interface ip address loop0 100.0.17.1/32
exec create ipip tunnel src 100.0.17.1 dst 200.0.0.2 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 75486163657472555a745a45796c634a esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 75486163657472555a745a45796c634a esp
exec ipsec tunnel protect ipip17 sa-out 17 sa-in 100017 add
exec set interface ip address loop0 100.0.18.1/32
exec create ipip tunnel src 100.0.18.1 dst 200.0.0.2 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 77646a7663794c79424b46545968534a esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 77646a7663794c79424b46545968534a esp
exec ipsec tunnel protect ipip18 sa-out 18 sa-in 100018 add
exec set interface ip address loop0 100.0.19.1/32
exec create ipip tunnel src 100.0.19.1 dst 200.0.0.2 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 414c4f727352464f71784e4f52415046 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 414c4f727352464f71784e4f52415046 esp
exec ipsec tunnel protect ipip19 sa-out 19 sa-in 100019 add
exec set interface ip address loop0 100.0.20.1/32
exec create ipip tunnel src 100.0.20.1 dst 200.0.0.2 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 5a496c63536d5a54646f58436d576577 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 5a496c63536d5a54646f58436d576577 esp
exec ipsec tunnel protect ipip20 sa-out 20 sa-in 100020 add
exec set interface ip address loop0 100.0.21.1/32
exec create ipip tunnel src 100.0.21.1 dst 200.0.0.2 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 5a7147484945536b466d505154645541 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 5a7147484945536b466d505154645541 esp
exec ipsec tunnel protect ipip21 sa-out 21 sa-in 100021 add
exec set interface ip address loop0 100.0.22.1/32
exec create ipip tunnel src 100.0.22.1 dst 200.0.0.2 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 47425a45544e465a6843477a41616a6a esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 47425a45544e465a6843477a41616a6a esp
exec ipsec tunnel protect ipip22 sa-out 22 sa-in 100022 add
exec set interface ip address loop0 100.0.23.1/32
exec create ipip tunnel src 100.0.23.1 dst 200.0.0.2 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 4c6252786c6e5a686c7072684e545a43 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 4c6252786c6e5a686c7072684e545a43 esp
exec ipsec tunnel protect ipip23 sa-out 23 sa-in 100023 add
exec set interface ip address loop0 100.0.24.1/32
exec create ipip tunnel src 100.0.24.1 dst 200.0.0.2 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 424148624d67614f654b75586d6a464a esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 424148624d67614f654b75586d6a464a esp
exec ipsec tunnel protect ipip24 sa-out 24 sa-in 100024 add
exec set interface ip address loop0 100.0.25.1/32
exec create ipip tunnel src 100.0.25.1 dst 200.0.0.2 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 546c6443534d467571637955424c486c esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 546c6443534d467571637955424c486c esp
exec ipsec tunnel protect ipip25 sa-out 25 sa-in 100025 add
exec set interface ip address loop0 100.0.26.1/32
exec create ipip tunnel src 100.0.26.1 dst 200.0.0.2 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 496679764d6372477377624270796b4f esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 496679764d6372477377624270796b4f esp
exec ipsec tunnel protect ipip26 sa-out 26 sa-in 100026 add
exec set interface ip address loop0 100.0.27.1/32
exec create ipip tunnel src 100.0.27.1 dst 200.0.0.2 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 64484d546355756a4a5864677a455379 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 64484d546355756a4a5864677a455379 esp
exec ipsec tunnel protect ipip27 sa-out 27 sa-in 100027 add
exec set interface ip address loop0 100.0.28.1/32
exec create ipip tunnel src 100.0.28.1 dst 200.0.0.2 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 54484373426f4f7a41594e7765415964 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 54484373426f4f7a41594e7765415964 esp
exec ipsec tunnel protect ipip28 sa-out 28 sa-in 100028 add
exec set interface ip address loop0 100.0.29.1/32
exec create ipip tunnel src 100.0.29.1 dst 200.0.0.2 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 665973784d4d4d554c46746b5a72756a esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 665973784d4d4d554c46746b5a72756a esp
exec ipsec tunnel protect ipip29 sa-out 29 sa-in 100029 add
exec set interface ip address loop0 100.0.30.1/32
exec create ipip tunnel src 100.0.30.1 dst 200.0.0.2 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 716c5244466f564b576e6a4e796b5962 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 716c5244466f564b576e6a4e796b5962 esp
exec ipsec tunnel protect ipip30 sa-out 30 sa-in 100030 add
exec set interface ip address loop0 100.0.31.1/32
exec create ipip tunnel src 100.0.31.1 dst 200.0.0.2 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 6645795874526a5262706a574c467967 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 6645795874526a5262706a574c467967 esp
exec ipsec tunnel protect ipip31 sa-out 31 sa-in 100031 add
exec set interface ip address loop0 100.0.32.1/32
exec create ipip tunnel src 100.0.32.1 dst 200.0.0.2 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 7468414e4577576655735047666b414d esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 7468414e4577576655735047666b414d esp
exec ipsec tunnel protect ipip32 sa-out 32 sa-in 100032 add
exec set interface ip address loop0 100.0.33.1/32
exec create ipip tunnel src 100.0.33.1 dst 200.0.0.2 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 6674624c796447554f4a72474b726162 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 6674624c796447554f4a72474b726162 esp
exec ipsec tunnel protect ipip33 sa-out 33 sa-in 100033 add
exec set interface ip address loop0 100.0.34.1/32
exec create ipip tunnel src 100.0.34.1 dst 200.0.0.2 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 4359786f594f6679567178584d596844 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 4359786f594f6679567178584d596844 esp
exec ipsec tunnel protect ipip34 sa-out 34 sa-in 100034 add
exec set interface ip address loop0 100.0.35.1/32
exec create ipip tunnel src 100.0.35.1 dst 200.0.0.2 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 6c744843487671616761534951716a76 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 6c744843487671616761534951716a76 esp
exec ipsec tunnel protect ipip35 sa-out 35 sa-in 100035 add
exec set interface ip address loop0 100.0.36.1/32
exec create ipip tunnel src 100.0.36.1 dst 200.0.0.2 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 556a58537562635350746d6f645a5657 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 556a58537562635350746d6f645a5657 esp
exec ipsec tunnel protect ipip36 sa-out 36 sa-in 100036 add
exec set interface ip address loop0 100.0.37.1/32
exec create ipip tunnel src 100.0.37.1 dst 200.0.0.2 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 78586d496267735069586d6c6e734c69 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 78586d496267735069586d6c6e734c69 esp
exec ipsec tunnel protect ipip37 sa-out 37 sa-in 100037 add
exec set interface ip address loop0 100.0.38.1/32
exec create ipip tunnel src 100.0.38.1 dst 200.0.0.2 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 4d4c6e666b6278786c646570686f5453 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 4d4c6e666b6278786c646570686f5453 esp
exec ipsec tunnel protect ipip38 sa-out 38 sa-in 100038 add
exec set interface ip address loop0 100.0.39.1/32
exec create ipip tunnel src 100.0.39.1 dst 200.0.0.2 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 65774e42466c7555587a747968516e54 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 65774e42466c7555587a747968516e54 esp
exec ipsec tunnel protect ipip39 sa-out 39 sa-in 100039 add
exec set interface unnumbered ipip0 use avf-0/3b/a/0
exec set interface state ipip0 up
exec ip route add 20.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use avf-0/3b/a/0
exec set interface state ipip1 up
exec ip route add 20.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use avf-0/3b/a/0
exec set interface state ipip2 up
exec ip route add 20.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use avf-0/3b/a/0
exec set interface state ipip3 up
exec ip route add 20.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use avf-0/3b/a/0
exec set interface state ipip4 up
exec ip route add 20.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use avf-0/3b/a/0
exec set interface state ipip5 up
exec ip route add 20.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use avf-0/3b/a/0
exec set interface state ipip6 up
exec ip route add 20.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use avf-0/3b/a/0
exec set interface state ipip7 up
exec ip route add 20.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use avf-0/3b/a/0
exec set interface state ipip8 up
exec ip route add 20.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use avf-0/3b/a/0
exec set interface state ipip9 up
exec ip route add 20.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use avf-0/3b/a/0
exec set interface state ipip10 up
exec ip route add 20.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use avf-0/3b/a/0
exec set interface state ipip11 up
exec ip route add 20.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use avf-0/3b/a/0
exec set interface state ipip12 up
exec ip route add 20.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use avf-0/3b/a/0
exec set interface state ipip13 up
exec ip route add 20.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use avf-0/3b/a/0
exec set interface state ipip14 up
exec ip route add 20.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use avf-0/3b/a/0
exec set interface state ipip15 up
exec ip route add 20.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use avf-0/3b/a/0
exec set interface state ipip16 up
exec ip route add 20.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use avf-0/3b/a/0
exec set interface state ipip17 up
exec ip route add 20.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use avf-0/3b/a/0
exec set interface state ipip18 up
exec ip route add 20.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use avf-0/3b/a/0
exec set interface state ipip19 up
exec ip route add 20.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use avf-0/3b/a/0
exec set interface state ipip20 up
exec ip route add 20.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use avf-0/3b/a/0
exec set interface state ipip21 up
exec ip route add 20.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use avf-0/3b/a/0
exec set interface state ipip22 up
exec ip route add 20.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use avf-0/3b/a/0
exec set interface state ipip23 up
exec ip route add 20.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use avf-0/3b/a/0
exec set interface state ipip24 up
exec ip route add 20.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use avf-0/3b/a/0
exec set interface state ipip25 up
exec ip route add 20.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use avf-0/3b/a/0
exec set interface state ipip26 up
exec ip route add 20.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use avf-0/3b/a/0
exec set interface state ipip27 up
exec ip route add 20.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use avf-0/3b/a/0
exec set interface state ipip28 up
exec ip route add 20.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use avf-0/3b/a/0
exec set interface state ipip29 up
exec ip route add 20.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use avf-0/3b/a/0
exec set interface state ipip30 up
exec ip route add 20.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use avf-0/3b/a/0
exec set interface state ipip31 up
exec ip route add 20.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use avf-0/3b/a/0
exec set interface state ipip32 up
exec ip route add 20.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use avf-0/3b/a/0
exec set interface state ipip33 up
exec ip route add 20.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use avf-0/3b/a/0
exec set interface state ipip34 up
exec ip route add 20.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use avf-0/3b/a/0
exec set interface state ipip35 up
exec ip route add 20.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use avf-0/3b/a/0
exec set interface state ipip36 up
exec ip route add 20.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use avf-0/3b/a/0
exec set interface state ipip37 up
exec ip route add 20.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use avf-0/3b/a/0
exec set interface state ipip38 up
exec ip route add 20.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use avf-0/3b/a/0
exec set interface state ipip39 up
exec ip route add 20.0.0.39/32 via ipip39
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec set interface ip address avf-0/3b/a/0 200.0.0.2/24.0
exec create ipip tunnel src 200.0.0.2 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 4d5269667a53566347775a4347694571 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 4d5269667a53566347775a4347694571 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 4d7253505a527957654e7a754a6b6b77 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 4d7253505a527957654e7a754a6b6b77 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 6b734a4e754477426c47776e454f4943 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 6b734a4e754477426c47776e454f4943 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 446c5561744f59507870654e64745858 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 446c5561744f59507870654e64745858 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 6f624174496c6e5772794a715a614148 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 6f624174496c6e5772794a715a614148 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 4269544470656d71516a6a7a46734854 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 4269544470656d71516a6a7a46734854 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 4d436f77465844676d59546f6f667653 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 4d436f77465844676d59546f6f667653 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 70794152414f5047704e76485a4e7774 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 70794152414f5047704e76485a4e7774 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 68526a6f6768506a7950464679716241 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 68526a6f6768506a7950464679716241 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 7876546f4e53594f4159726b6d754167 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 7876546f4e53594f4159726b6d754167 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 4a4d496e6b426355787246476a676e6e esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 4a4d496e6b426355787246476a676e6e esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 686e44766a71797877496b6965476b71 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 686e44766a71797877496b6965476b71 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 6f5872415a735a7a6446797574436352 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 6f5872415a735a7a6446797574436352 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 72474555614e4649636d437157527161 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 72474555614e4649636d437157527161 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 4e4e6178574d4d70556e4d4a42656253 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 4e4e6178574d4d70556e4d4a42656253 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 64706a75684244625454486362736c6d esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 64706a75684244625454486362736c6d esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 696f615a684965696776585047705569 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 696f615a684965696776585047705569 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 75486163657472555a745a45796c634a esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 75486163657472555a745a45796c634a esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 77646a7663794c79424b46545968534a esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 77646a7663794c79424b46545968534a esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 414c4f727352464f71784e4f52415046 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 414c4f727352464f71784e4f52415046 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 5a496c63536d5a54646f58436d576577 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 5a496c63536d5a54646f58436d576577 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 5a7147484945536b466d505154645541 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 5a7147484945536b466d505154645541 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 47425a45544e465a6843477a41616a6a esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 47425a45544e465a6843477a41616a6a esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 4c6252786c6e5a686c7072684e545a43 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 4c6252786c6e5a686c7072684e545a43 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 424148624d67614f654b75586d6a464a esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 424148624d67614f654b75586d6a464a esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 546c6443534d467571637955424c486c esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 546c6443534d467571637955424c486c esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 496679764d6372477377624270796b4f esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 496679764d6372477377624270796b4f esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 64484d546355756a4a5864677a455379 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 64484d546355756a4a5864677a455379 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 54484373426f4f7a41594e7765415964 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 54484373426f4f7a41594e7765415964 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 665973784d4d4d554c46746b5a72756a esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 665973784d4d4d554c46746b5a72756a esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 716c5244466f564b576e6a4e796b5962 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 716c5244466f564b576e6a4e796b5962 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 6645795874526a5262706a574c467967 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 6645795874526a5262706a574c467967 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 7468414e4577576655735047666b414d esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 7468414e4577576655735047666b414d esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 6674624c796447554f4a72474b726162 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 6674624c796447554f4a72474b726162 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 4359786f594f6679567178584d596844 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 4359786f594f6679567178584d596844 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 6c744843487671616761534951716a76 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 6c744843487671616761534951716a76 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 556a58537562635350746d6f645a5657 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 556a58537562635350746d6f645a5657 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 78586d496267735069586d6c6e734c69 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 78586d496267735069586d6c6e734c69 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 4d4c6e666b6278786c646570686f5453 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 4d4c6e666b6278786c646570686f5453 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 65774e42466c7555587a747968516e54 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 65774e42466c7555587a747968516e54 esp
exec ipsec tunnel protect ipip39 sa-out 100039 sa-in 39 add
exec ip route add 100.0.0.1/8 via 200.0.0.1 avf-0/3b/a/0
exec set interface unnumbered ipip0 use avf-0/3b/a/0
exec set interface state ipip0 up
exec ip route add 10.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use avf-0/3b/a/0
exec set interface state ipip1 up
exec ip route add 10.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use avf-0/3b/a/0
exec set interface state ipip2 up
exec ip route add 10.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use avf-0/3b/a/0
exec set interface state ipip3 up
exec ip route add 10.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use avf-0/3b/a/0
exec set interface state ipip4 up
exec ip route add 10.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use avf-0/3b/a/0
exec set interface state ipip5 up
exec ip route add 10.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use avf-0/3b/a/0
exec set interface state ipip6 up
exec ip route add 10.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use avf-0/3b/a/0
exec set interface state ipip7 up
exec ip route add 10.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use avf-0/3b/a/0
exec set interface state ipip8 up
exec ip route add 10.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use avf-0/3b/a/0
exec set interface state ipip9 up
exec ip route add 10.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use avf-0/3b/a/0
exec set interface state ipip10 up
exec ip route add 10.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use avf-0/3b/a/0
exec set interface state ipip11 up
exec ip route add 10.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use avf-0/3b/a/0
exec set interface state ipip12 up
exec ip route add 10.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use avf-0/3b/a/0
exec set interface state ipip13 up
exec ip route add 10.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use avf-0/3b/a/0
exec set interface state ipip14 up
exec ip route add 10.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use avf-0/3b/a/0
exec set interface state ipip15 up
exec ip route add 10.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use avf-0/3b/a/0
exec set interface state ipip16 up
exec ip route add 10.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use avf-0/3b/a/0
exec set interface state ipip17 up
exec ip route add 10.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use avf-0/3b/a/0
exec set interface state ipip18 up
exec ip route add 10.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use avf-0/3b/a/0
exec set interface state ipip19 up
exec ip route add 10.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use avf-0/3b/a/0
exec set interface state ipip20 up
exec ip route add 10.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use avf-0/3b/a/0
exec set interface state ipip21 up
exec ip route add 10.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use avf-0/3b/a/0
exec set interface state ipip22 up
exec ip route add 10.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use avf-0/3b/a/0
exec set interface state ipip23 up
exec ip route add 10.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use avf-0/3b/a/0
exec set interface state ipip24 up
exec ip route add 10.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use avf-0/3b/a/0
exec set interface state ipip25 up
exec ip route add 10.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use avf-0/3b/a/0
exec set interface state ipip26 up
exec ip route add 10.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use avf-0/3b/a/0
exec set interface state ipip27 up
exec ip route add 10.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use avf-0/3b/a/0
exec set interface state ipip28 up
exec ip route add 10.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use avf-0/3b/a/0
exec set interface state ipip29 up
exec ip route add 10.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use avf-0/3b/a/0
exec set interface state ipip30 up
exec ip route add 10.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use avf-0/3b/a/0
exec set interface state ipip31 up
exec ip route add 10.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use avf-0/3b/a/0
exec set interface state ipip32 up
exec ip route add 10.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use avf-0/3b/a/0
exec set interface state ipip33 up
exec ip route add 10.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use avf-0/3b/a/0
exec set interface state ipip34 up
exec ip route add 10.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use avf-0/3b/a/0
exec set interface state ipip35 up
exec ip route add 10.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use avf-0/3b/a/0
exec set interface state ipip36 up
exec ip route add 10.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use avf-0/3b/a/0
exec set interface state ipip37 up
exec ip route add 10.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use avf-0/3b/a/0
exec set interface state ipip38 up
exec ip route add 10.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use avf-0/3b/a/0
exec set interface state ipip39 up
exec ip route add 10.0.0.39/32 via ipip39

 1518b-4t2c-avf-ethip4ipsec40tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec create loopback interface
exec set interface state loop0 up
exec set interface ip address avf-0/3b/a/0 200.0.0.1/24
exec set ip neighbor avf-0/3b/a/0 200.0.0.2 3c:fe:bd:f8:fd:00 static
exec set interface ip address loop0 100.0.0.1/32
exec create ipip tunnel src 100.0.0.1 dst 200.0.0.2 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 5346547a4b5965477443487842725a4e esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 5346547a4b5965477443487842725a4e esp
exec ipsec tunnel protect ipip0 sa-out 0 sa-in 100000 add
exec set interface ip address loop0 100.0.1.1/32
exec create ipip tunnel src 100.0.1.1 dst 200.0.0.2 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 784b495156677a57544f6e56694e4978 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 784b495156677a57544f6e56694e4978 esp
exec ipsec tunnel protect ipip1 sa-out 1 sa-in 100001 add
exec set interface ip address loop0 100.0.2.1/32
exec create ipip tunnel src 100.0.2.1 dst 200.0.0.2 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 5a51774b43626e5a546c5766787a646b esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 5a51774b43626e5a546c5766787a646b esp
exec ipsec tunnel protect ipip2 sa-out 2 sa-in 100002 add
exec set interface ip address loop0 100.0.3.1/32
exec create ipip tunnel src 100.0.3.1 dst 200.0.0.2 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 67634775585969716f71424945517559 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 67634775585969716f71424945517559 esp
exec ipsec tunnel protect ipip3 sa-out 3 sa-in 100003 add
exec set interface ip address loop0 100.0.4.1/32
exec create ipip tunnel src 100.0.4.1 dst 200.0.0.2 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 636448636e6279577776547868594d53 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 636448636e6279577776547868594d53 esp
exec ipsec tunnel protect ipip4 sa-out 4 sa-in 100004 add
exec set interface ip address loop0 100.0.5.1/32
exec create ipip tunnel src 100.0.5.1 dst 200.0.0.2 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 7a744d497663637a6247734241506744 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 7a744d497663637a6247734241506744 esp
exec ipsec tunnel protect ipip5 sa-out 5 sa-in 100005 add
exec set interface ip address loop0 100.0.6.1/32
exec create ipip tunnel src 100.0.6.1 dst 200.0.0.2 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 4962456a65715366436e5379514d794f esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 4962456a65715366436e5379514d794f esp
exec ipsec tunnel protect ipip6 sa-out 6 sa-in 100006 add
exec set interface ip address loop0 100.0.7.1/32
exec create ipip tunnel src 100.0.7.1 dst 200.0.0.2 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 4b554e435a424e4c75704579464c4c54 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 4b554e435a424e4c75704579464c4c54 esp
exec ipsec tunnel protect ipip7 sa-out 7 sa-in 100007 add
exec set interface ip address loop0 100.0.8.1/32
exec create ipip tunnel src 100.0.8.1 dst 200.0.0.2 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 50466d6d47485358634b516f44544661 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 50466d6d47485358634b516f44544661 esp
exec ipsec tunnel protect ipip8 sa-out 8 sa-in 100008 add
exec set interface ip address loop0 100.0.9.1/32
exec create ipip tunnel src 100.0.9.1 dst 200.0.0.2 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 47554a5144706278626f545972586e50 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 47554a5144706278626f545972586e50 esp
exec ipsec tunnel protect ipip9 sa-out 9 sa-in 100009 add
exec set interface ip address loop0 100.0.10.1/32
exec create ipip tunnel src 100.0.10.1 dst 200.0.0.2 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 696f4e4f6d776442476e7650526f7a7a esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 696f4e4f6d776442476e7650526f7a7a esp
exec ipsec tunnel protect ipip10 sa-out 10 sa-in 100010 add
exec set interface ip address loop0 100.0.11.1/32
exec create ipip tunnel src 100.0.11.1 dst 200.0.0.2 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 4c4c657551795643596d62495476776e esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 4c4c657551795643596d62495476776e esp
exec ipsec tunnel protect ipip11 sa-out 11 sa-in 100011 add
exec set interface ip address loop0 100.0.12.1/32
exec create ipip tunnel src 100.0.12.1 dst 200.0.0.2 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 504653637271664f42646e6d4d6d424d esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 504653637271664f42646e6d4d6d424d esp
exec ipsec tunnel protect ipip12 sa-out 12 sa-in 100012 add
exec set interface ip address loop0 100.0.13.1/32
exec create ipip tunnel src 100.0.13.1 dst 200.0.0.2 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 755142644c7a6a446b51686762786948 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 755142644c7a6a446b51686762786948 esp
exec ipsec tunnel protect ipip13 sa-out 13 sa-in 100013 add
exec set interface ip address loop0 100.0.14.1/32
exec create ipip tunnel src 100.0.14.1 dst 200.0.0.2 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 5377536a785a676d74556e416f52654e esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 5377536a785a676d74556e416f52654e esp
exec ipsec tunnel protect ipip14 sa-out 14 sa-in 100014 add
exec set interface ip address loop0 100.0.15.1/32
exec create ipip tunnel src 100.0.15.1 dst 200.0.0.2 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 7a51705845437745624d565669487848 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 7a51705845437745624d565669487848 esp
exec ipsec tunnel protect ipip15 sa-out 15 sa-in 100015 add
exec set interface ip address loop0 100.0.16.1/32
exec create ipip tunnel src 100.0.16.1 dst 200.0.0.2 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 78546d5675597177694469575878596d esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 78546d5675597177694469575878596d esp
exec ipsec tunnel protect ipip16 sa-out 16 sa-in 100016 add
exec set interface ip address loop0 100.0.17.1/32
exec create ipip tunnel src 100.0.17.1 dst 200.0.0.2 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 6b49676a47625771514c7a4971465174 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 6b49676a47625771514c7a4971465174 esp
exec ipsec tunnel protect ipip17 sa-out 17 sa-in 100017 add
exec set interface ip address loop0 100.0.18.1/32
exec create ipip tunnel src 100.0.18.1 dst 200.0.0.2 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 70696f504a6f6b70644377684a6c4264 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 70696f504a6f6b70644377684a6c4264 esp
exec ipsec tunnel protect ipip18 sa-out 18 sa-in 100018 add
exec set interface ip address loop0 100.0.19.1/32
exec create ipip tunnel src 100.0.19.1 dst 200.0.0.2 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 61446f72445a4f62796f504d76797063 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 61446f72445a4f62796f504d76797063 esp
exec ipsec tunnel protect ipip19 sa-out 19 sa-in 100019 add
exec set interface ip address loop0 100.0.20.1/32
exec create ipip tunnel src 100.0.20.1 dst 200.0.0.2 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 514d677a534b6f6470424d6c4d767742 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 514d677a534b6f6470424d6c4d767742 esp
exec ipsec tunnel protect ipip20 sa-out 20 sa-in 100020 add
exec set interface ip address loop0 100.0.21.1/32
exec create ipip tunnel src 100.0.21.1 dst 200.0.0.2 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 4b6546567a5064524a626e427a564c67 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 4b6546567a5064524a626e427a564c67 esp
exec ipsec tunnel protect ipip21 sa-out 21 sa-in 100021 add
exec set interface ip address loop0 100.0.22.1/32
exec create ipip tunnel src 100.0.22.1 dst 200.0.0.2 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 46776e4c4c6e444f6563426b41725670 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 46776e4c4c6e444f6563426b41725670 esp
exec ipsec tunnel protect ipip22 sa-out 22 sa-in 100022 add
exec set interface ip address loop0 100.0.23.1/32
exec create ipip tunnel src 100.0.23.1 dst 200.0.0.2 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 6d785547574b69446265564866596648 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 6d785547574b69446265564866596648 esp
exec ipsec tunnel protect ipip23 sa-out 23 sa-in 100023 add
exec set interface ip address loop0 100.0.24.1/32
exec create ipip tunnel src 100.0.24.1 dst 200.0.0.2 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 43496754516177525553415570785469 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 43496754516177525553415570785469 esp
exec ipsec tunnel protect ipip24 sa-out 24 sa-in 100024 add
exec set interface ip address loop0 100.0.25.1/32
exec create ipip tunnel src 100.0.25.1 dst 200.0.0.2 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 664e4f5a54556e4d77456269634f526f esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 664e4f5a54556e4d77456269634f526f esp
exec ipsec tunnel protect ipip25 sa-out 25 sa-in 100025 add
exec set interface ip address loop0 100.0.26.1/32
exec create ipip tunnel src 100.0.26.1 dst 200.0.0.2 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 786f526a6e4147557645797a7779766c esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 786f526a6e4147557645797a7779766c esp
exec ipsec tunnel protect ipip26 sa-out 26 sa-in 100026 add
exec set interface ip address loop0 100.0.27.1/32
exec create ipip tunnel src 100.0.27.1 dst 200.0.0.2 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 765578544462747a7962566d4f48646a esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 765578544462747a7962566d4f48646a esp
exec ipsec tunnel protect ipip27 sa-out 27 sa-in 100027 add
exec set interface ip address loop0 100.0.28.1/32
exec create ipip tunnel src 100.0.28.1 dst 200.0.0.2 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 4b43674b6f727a43616574435676454b esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 4b43674b6f727a43616574435676454b esp
exec ipsec tunnel protect ipip28 sa-out 28 sa-in 100028 add
exec set interface ip address loop0 100.0.29.1/32
exec create ipip tunnel src 100.0.29.1 dst 200.0.0.2 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 4a624e4e5749715962564a7369585646 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 4a624e4e5749715962564a7369585646 esp
exec ipsec tunnel protect ipip29 sa-out 29 sa-in 100029 add
exec set interface ip address loop0 100.0.30.1/32
exec create ipip tunnel src 100.0.30.1 dst 200.0.0.2 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 5944655262664f744f52596552465361 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 5944655262664f744f52596552465361 esp
exec ipsec tunnel protect ipip30 sa-out 30 sa-in 100030 add
exec set interface ip address loop0 100.0.31.1/32
exec create ipip tunnel src 100.0.31.1 dst 200.0.0.2 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 5a757a6f4e487a5045667067796d7841 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 5a757a6f4e487a5045667067796d7841 esp
exec ipsec tunnel protect ipip31 sa-out 31 sa-in 100031 add
exec set interface ip address loop0 100.0.32.1/32
exec create ipip tunnel src 100.0.32.1 dst 200.0.0.2 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 676d4a6a4671557362494f646c73687a esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 676d4a6a4671557362494f646c73687a esp
exec ipsec tunnel protect ipip32 sa-out 32 sa-in 100032 add
exec set interface ip address loop0 100.0.33.1/32
exec create ipip tunnel src 100.0.33.1 dst 200.0.0.2 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 56664c41576e63496162687450756444 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 56664c41576e63496162687450756444 esp
exec ipsec tunnel protect ipip33 sa-out 33 sa-in 100033 add
exec set interface ip address loop0 100.0.34.1/32
exec create ipip tunnel src 100.0.34.1 dst 200.0.0.2 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 4241636b786653587566485872724f62 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 4241636b786653587566485872724f62 esp
exec ipsec tunnel protect ipip34 sa-out 34 sa-in 100034 add
exec set interface ip address loop0 100.0.35.1/32
exec create ipip tunnel src 100.0.35.1 dst 200.0.0.2 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 6d5a6f594b50544b47424366574e7747 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 6d5a6f594b50544b47424366574e7747 esp
exec ipsec tunnel protect ipip35 sa-out 35 sa-in 100035 add
exec set interface ip address loop0 100.0.36.1/32
exec create ipip tunnel src 100.0.36.1 dst 200.0.0.2 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 50585543724a7352766b6f4349414c58 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 50585543724a7352766b6f4349414c58 esp
exec ipsec tunnel protect ipip36 sa-out 36 sa-in 100036 add
exec set interface ip address loop0 100.0.37.1/32
exec create ipip tunnel src 100.0.37.1 dst 200.0.0.2 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 75584d48506e586c4a6d586d6f4b6a6e esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 75584d48506e586c4a6d586d6f4b6a6e esp
exec ipsec tunnel protect ipip37 sa-out 37 sa-in 100037 add
exec set interface ip address loop0 100.0.38.1/32
exec create ipip tunnel src 100.0.38.1 dst 200.0.0.2 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 456a4f6b565567697658725948414d6b esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 456a4f6b565567697658725948414d6b esp
exec ipsec tunnel protect ipip38 sa-out 38 sa-in 100038 add
exec set interface ip address loop0 100.0.39.1/32
exec create ipip tunnel src 100.0.39.1 dst 200.0.0.2 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 56425476715a776c494e6e6d7550456d esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 56425476715a776c494e6e6d7550456d esp
exec ipsec tunnel protect ipip39 sa-out 39 sa-in 100039 add
exec set interface unnumbered ipip0 use avf-0/3b/a/0
exec set interface state ipip0 up
exec ip route add 20.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use avf-0/3b/a/0
exec set interface state ipip1 up
exec ip route add 20.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use avf-0/3b/a/0
exec set interface state ipip2 up
exec ip route add 20.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use avf-0/3b/a/0
exec set interface state ipip3 up
exec ip route add 20.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use avf-0/3b/a/0
exec set interface state ipip4 up
exec ip route add 20.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use avf-0/3b/a/0
exec set interface state ipip5 up
exec ip route add 20.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use avf-0/3b/a/0
exec set interface state ipip6 up
exec ip route add 20.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use avf-0/3b/a/0
exec set interface state ipip7 up
exec ip route add 20.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use avf-0/3b/a/0
exec set interface state ipip8 up
exec ip route add 20.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use avf-0/3b/a/0
exec set interface state ipip9 up
exec ip route add 20.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use avf-0/3b/a/0
exec set interface state ipip10 up
exec ip route add 20.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use avf-0/3b/a/0
exec set interface state ipip11 up
exec ip route add 20.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use avf-0/3b/a/0
exec set interface state ipip12 up
exec ip route add 20.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use avf-0/3b/a/0
exec set interface state ipip13 up
exec ip route add 20.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use avf-0/3b/a/0
exec set interface state ipip14 up
exec ip route add 20.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use avf-0/3b/a/0
exec set interface state ipip15 up
exec ip route add 20.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use avf-0/3b/a/0
exec set interface state ipip16 up
exec ip route add 20.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use avf-0/3b/a/0
exec set interface state ipip17 up
exec ip route add 20.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use avf-0/3b/a/0
exec set interface state ipip18 up
exec ip route add 20.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use avf-0/3b/a/0
exec set interface state ipip19 up
exec ip route add 20.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use avf-0/3b/a/0
exec set interface state ipip20 up
exec ip route add 20.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use avf-0/3b/a/0
exec set interface state ipip21 up
exec ip route add 20.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use avf-0/3b/a/0
exec set interface state ipip22 up
exec ip route add 20.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use avf-0/3b/a/0
exec set interface state ipip23 up
exec ip route add 20.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use avf-0/3b/a/0
exec set interface state ipip24 up
exec ip route add 20.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use avf-0/3b/a/0
exec set interface state ipip25 up
exec ip route add 20.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use avf-0/3b/a/0
exec set interface state ipip26 up
exec ip route add 20.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use avf-0/3b/a/0
exec set interface state ipip27 up
exec ip route add 20.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use avf-0/3b/a/0
exec set interface state ipip28 up
exec ip route add 20.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use avf-0/3b/a/0
exec set interface state ipip29 up
exec ip route add 20.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use avf-0/3b/a/0
exec set interface state ipip30 up
exec ip route add 20.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use avf-0/3b/a/0
exec set interface state ipip31 up
exec ip route add 20.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use avf-0/3b/a/0
exec set interface state ipip32 up
exec ip route add 20.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use avf-0/3b/a/0
exec set interface state ipip33 up
exec ip route add 20.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use avf-0/3b/a/0
exec set interface state ipip34 up
exec ip route add 20.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use avf-0/3b/a/0
exec set interface state ipip35 up
exec ip route add 20.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use avf-0/3b/a/0
exec set interface state ipip36 up
exec ip route add 20.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use avf-0/3b/a/0
exec set interface state ipip37 up
exec ip route add 20.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use avf-0/3b/a/0
exec set interface state ipip38 up
exec ip route add 20.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use avf-0/3b/a/0
exec set interface state ipip39 up
exec ip route add 20.0.0.39/32 via ipip39
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec set interface ip address avf-0/3b/a/0 200.0.0.2/24.0
exec create ipip tunnel src 200.0.0.2 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 5346547a4b5965477443487842725a4e esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 5346547a4b5965477443487842725a4e esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 784b495156677a57544f6e56694e4978 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 784b495156677a57544f6e56694e4978 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 5a51774b43626e5a546c5766787a646b esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 5a51774b43626e5a546c5766787a646b esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 67634775585969716f71424945517559 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 67634775585969716f71424945517559 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 636448636e6279577776547868594d53 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 636448636e6279577776547868594d53 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 7a744d497663637a6247734241506744 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 7a744d497663637a6247734241506744 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 4962456a65715366436e5379514d794f esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 4962456a65715366436e5379514d794f esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 4b554e435a424e4c75704579464c4c54 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 4b554e435a424e4c75704579464c4c54 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 50466d6d47485358634b516f44544661 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 50466d6d47485358634b516f44544661 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 47554a5144706278626f545972586e50 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 47554a5144706278626f545972586e50 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 696f4e4f6d776442476e7650526f7a7a esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 696f4e4f6d776442476e7650526f7a7a esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 4c4c657551795643596d62495476776e esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 4c4c657551795643596d62495476776e esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 504653637271664f42646e6d4d6d424d esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 504653637271664f42646e6d4d6d424d esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 755142644c7a6a446b51686762786948 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 755142644c7a6a446b51686762786948 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 5377536a785a676d74556e416f52654e esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 5377536a785a676d74556e416f52654e esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 7a51705845437745624d565669487848 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 7a51705845437745624d565669487848 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 78546d5675597177694469575878596d esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 78546d5675597177694469575878596d esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 6b49676a47625771514c7a4971465174 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 6b49676a47625771514c7a4971465174 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 70696f504a6f6b70644377684a6c4264 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 70696f504a6f6b70644377684a6c4264 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 61446f72445a4f62796f504d76797063 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 61446f72445a4f62796f504d76797063 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 514d677a534b6f6470424d6c4d767742 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 514d677a534b6f6470424d6c4d767742 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 4b6546567a5064524a626e427a564c67 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 4b6546567a5064524a626e427a564c67 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 46776e4c4c6e444f6563426b41725670 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 46776e4c4c6e444f6563426b41725670 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 6d785547574b69446265564866596648 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 6d785547574b69446265564866596648 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 43496754516177525553415570785469 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 43496754516177525553415570785469 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 664e4f5a54556e4d77456269634f526f esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 664e4f5a54556e4d77456269634f526f esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 786f526a6e4147557645797a7779766c esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 786f526a6e4147557645797a7779766c esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 765578544462747a7962566d4f48646a esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 765578544462747a7962566d4f48646a esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 4b43674b6f727a43616574435676454b esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 4b43674b6f727a43616574435676454b esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 4a624e4e5749715962564a7369585646 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 4a624e4e5749715962564a7369585646 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 5944655262664f744f52596552465361 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 5944655262664f744f52596552465361 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 5a757a6f4e487a5045667067796d7841 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 5a757a6f4e487a5045667067796d7841 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 676d4a6a4671557362494f646c73687a esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 676d4a6a4671557362494f646c73687a esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 56664c41576e63496162687450756444 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 56664c41576e63496162687450756444 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 4241636b786653587566485872724f62 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 4241636b786653587566485872724f62 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 6d5a6f594b50544b47424366574e7747 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 6d5a6f594b50544b47424366574e7747 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 50585543724a7352766b6f4349414c58 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 50585543724a7352766b6f4349414c58 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 75584d48506e586c4a6d586d6f4b6a6e esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 75584d48506e586c4a6d586d6f4b6a6e esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 456a4f6b565567697658725948414d6b esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 456a4f6b565567697658725948414d6b esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 56425476715a776c494e6e6d7550456d esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 56425476715a776c494e6e6d7550456d esp
exec ipsec tunnel protect ipip39 sa-out 100039 sa-in 39 add
exec ip route add 100.0.0.1/8 via 200.0.0.1 avf-0/3b/a/0
exec set interface unnumbered ipip0 use avf-0/3b/a/0
exec set interface state ipip0 up
exec ip route add 10.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use avf-0/3b/a/0
exec set interface state ipip1 up
exec ip route add 10.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use avf-0/3b/a/0
exec set interface state ipip2 up
exec ip route add 10.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use avf-0/3b/a/0
exec set interface state ipip3 up
exec ip route add 10.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use avf-0/3b/a/0
exec set interface state ipip4 up
exec ip route add 10.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use avf-0/3b/a/0
exec set interface state ipip5 up
exec ip route add 10.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use avf-0/3b/a/0
exec set interface state ipip6 up
exec ip route add 10.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use avf-0/3b/a/0
exec set interface state ipip7 up
exec ip route add 10.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use avf-0/3b/a/0
exec set interface state ipip8 up
exec ip route add 10.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use avf-0/3b/a/0
exec set interface state ipip9 up
exec ip route add 10.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use avf-0/3b/a/0
exec set interface state ipip10 up
exec ip route add 10.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use avf-0/3b/a/0
exec set interface state ipip11 up
exec ip route add 10.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use avf-0/3b/a/0
exec set interface state ipip12 up
exec ip route add 10.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use avf-0/3b/a/0
exec set interface state ipip13 up
exec ip route add 10.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use avf-0/3b/a/0
exec set interface state ipip14 up
exec ip route add 10.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use avf-0/3b/a/0
exec set interface state ipip15 up
exec ip route add 10.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use avf-0/3b/a/0
exec set interface state ipip16 up
exec ip route add 10.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use avf-0/3b/a/0
exec set interface state ipip17 up
exec ip route add 10.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use avf-0/3b/a/0
exec set interface state ipip18 up
exec ip route add 10.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use avf-0/3b/a/0
exec set interface state ipip19 up
exec ip route add 10.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use avf-0/3b/a/0
exec set interface state ipip20 up
exec ip route add 10.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use avf-0/3b/a/0
exec set interface state ipip21 up
exec ip route add 10.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use avf-0/3b/a/0
exec set interface state ipip22 up
exec ip route add 10.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use avf-0/3b/a/0
exec set interface state ipip23 up
exec ip route add 10.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use avf-0/3b/a/0
exec set interface state ipip24 up
exec ip route add 10.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use avf-0/3b/a/0
exec set interface state ipip25 up
exec ip route add 10.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use avf-0/3b/a/0
exec set interface state ipip26 up
exec ip route add 10.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use avf-0/3b/a/0
exec set interface state ipip27 up
exec ip route add 10.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use avf-0/3b/a/0
exec set interface state ipip28 up
exec ip route add 10.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use avf-0/3b/a/0
exec set interface state ipip29 up
exec ip route add 10.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use avf-0/3b/a/0
exec set interface state ipip30 up
exec ip route add 10.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use avf-0/3b/a/0
exec set interface state ipip31 up
exec ip route add 10.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use avf-0/3b/a/0
exec set interface state ipip32 up
exec ip route add 10.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use avf-0/3b/a/0
exec set interface state ipip33 up
exec ip route add 10.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use avf-0/3b/a/0
exec set interface state ipip34 up
exec ip route add 10.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use avf-0/3b/a/0
exec set interface state ipip35 up
exec ip route add 10.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use avf-0/3b/a/0
exec set interface state ipip36 up
exec ip route add 10.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use avf-0/3b/a/0
exec set interface state ipip37 up
exec ip route add 10.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use avf-0/3b/a/0
exec set interface state ipip38 up
exec ip route add 10.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use avf-0/3b/a/0
exec set interface state ipip39 up
exec ip route add 10.0.0.39/32 via ipip39

 imix-2t1c-avf-ethip4ipsec40tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec create loopback interface
exec set interface state loop0 up
exec set interface ip address avf-0/3b/a/0 200.0.0.1/24
exec set ip neighbor avf-0/3b/a/0 200.0.0.2 3c:fe:bd:f8:fd:00 static
exec set interface ip address loop0 100.0.0.1/32
exec create ipip tunnel src 100.0.0.1 dst 200.0.0.2 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 714f42645a614d4c46677864654c7376 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 714f42645a614d4c46677864654c7376 esp
exec ipsec tunnel protect ipip0 sa-out 0 sa-in 100000 add
exec set interface ip address loop0 100.0.1.1/32
exec create ipip tunnel src 100.0.1.1 dst 200.0.0.2 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 5057437a4355737a5058764643564d50 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 5057437a4355737a5058764643564d50 esp
exec ipsec tunnel protect ipip1 sa-out 1 sa-in 100001 add
exec set interface ip address loop0 100.0.2.1/32
exec create ipip tunnel src 100.0.2.1 dst 200.0.0.2 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 755a53714455454650686c4e4a5a4d4f esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 755a53714455454650686c4e4a5a4d4f esp
exec ipsec tunnel protect ipip2 sa-out 2 sa-in 100002 add
exec set interface ip address loop0 100.0.3.1/32
exec create ipip tunnel src 100.0.3.1 dst 200.0.0.2 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 67694c6c6776717a556c5551716e4b73 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 67694c6c6776717a556c5551716e4b73 esp
exec ipsec tunnel protect ipip3 sa-out 3 sa-in 100003 add
exec set interface ip address loop0 100.0.4.1/32
exec create ipip tunnel src 100.0.4.1 dst 200.0.0.2 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 4b435371756b456b4d7872756a705663 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 4b435371756b456b4d7872756a705663 esp
exec ipsec tunnel protect ipip4 sa-out 4 sa-in 100004 add
exec set interface ip address loop0 100.0.5.1/32
exec create ipip tunnel src 100.0.5.1 dst 200.0.0.2 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 636d4b74497263555a5a77686a614151 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 636d4b74497263555a5a77686a614151 esp
exec ipsec tunnel protect ipip5 sa-out 5 sa-in 100005 add
exec set interface ip address loop0 100.0.6.1/32
exec create ipip tunnel src 100.0.6.1 dst 200.0.0.2 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 4e62566a426a626d675768646667666c esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 4e62566a426a626d675768646667666c esp
exec ipsec tunnel protect ipip6 sa-out 6 sa-in 100006 add
exec set interface ip address loop0 100.0.7.1/32
exec create ipip tunnel src 100.0.7.1 dst 200.0.0.2 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 62544578786848644475444b544d774c esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 62544578786848644475444b544d774c esp
exec ipsec tunnel protect ipip7 sa-out 7 sa-in 100007 add
exec set interface ip address loop0 100.0.8.1/32
exec create ipip tunnel src 100.0.8.1 dst 200.0.0.2 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 5a5158444250456a577074674a5a7346 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 5a5158444250456a577074674a5a7346 esp
exec ipsec tunnel protect ipip8 sa-out 8 sa-in 100008 add
exec set interface ip address loop0 100.0.9.1/32
exec create ipip tunnel src 100.0.9.1 dst 200.0.0.2 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 4a564966674b636f734d524c6b4f444c esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 4a564966674b636f734d524c6b4f444c esp
exec ipsec tunnel protect ipip9 sa-out 9 sa-in 100009 add
exec set interface ip address loop0 100.0.10.1/32
exec create ipip tunnel src 100.0.10.1 dst 200.0.0.2 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 54576a56594c744b4774666a66795959 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 54576a56594c744b4774666a66795959 esp
exec ipsec tunnel protect ipip10 sa-out 10 sa-in 100010 add
exec set interface ip address loop0 100.0.11.1/32
exec create ipip tunnel src 100.0.11.1 dst 200.0.0.2 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 76596c694e546a7a425755597969457a esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 76596c694e546a7a425755597969457a esp
exec ipsec tunnel protect ipip11 sa-out 11 sa-in 100011 add
exec set interface ip address loop0 100.0.12.1/32
exec create ipip tunnel src 100.0.12.1 dst 200.0.0.2 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 4f57565a4f57467846727a62624a6258 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 4f57565a4f57467846727a62624a6258 esp
exec ipsec tunnel protect ipip12 sa-out 12 sa-in 100012 add
exec set interface ip address loop0 100.0.13.1/32
exec create ipip tunnel src 100.0.13.1 dst 200.0.0.2 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 675468574b59735343636964746f5a4c esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 675468574b59735343636964746f5a4c esp
exec ipsec tunnel protect ipip13 sa-out 13 sa-in 100013 add
exec set interface ip address loop0 100.0.14.1/32
exec create ipip tunnel src 100.0.14.1 dst 200.0.0.2 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 7555764c4b4f6e555a4a504456627a52 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 7555764c4b4f6e555a4a504456627a52 esp
exec ipsec tunnel protect ipip14 sa-out 14 sa-in 100014 add
exec set interface ip address loop0 100.0.15.1/32
exec create ipip tunnel src 100.0.15.1 dst 200.0.0.2 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 4568664c624d6378776a4b4d4c4e7368 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 4568664c624d6378776a4b4d4c4e7368 esp
exec ipsec tunnel protect ipip15 sa-out 15 sa-in 100015 add
exec set interface ip address loop0 100.0.16.1/32
exec create ipip tunnel src 100.0.16.1 dst 200.0.0.2 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 637a66667a5848496b59754771704174 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 637a66667a5848496b59754771704174 esp
exec ipsec tunnel protect ipip16 sa-out 16 sa-in 100016 add
exec set interface ip address loop0 100.0.17.1/32
exec create ipip tunnel src 100.0.17.1 dst 200.0.0.2 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 69495349426648425457434744504f41 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 69495349426648425457434744504f41 esp
exec ipsec tunnel protect ipip17 sa-out 17 sa-in 100017 add
exec set interface ip address loop0 100.0.18.1/32
exec create ipip tunnel src 100.0.18.1 dst 200.0.0.2 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 706d5370634c74484674684b4b41754d esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 706d5370634c74484674684b4b41754d esp
exec ipsec tunnel protect ipip18 sa-out 18 sa-in 100018 add
exec set interface ip address loop0 100.0.19.1/32
exec create ipip tunnel src 100.0.19.1 dst 200.0.0.2 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 56506c4751706251496c435065794d55 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 56506c4751706251496c435065794d55 esp
exec ipsec tunnel protect ipip19 sa-out 19 sa-in 100019 add
exec set interface ip address loop0 100.0.20.1/32
exec create ipip tunnel src 100.0.20.1 dst 200.0.0.2 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 4f686d4b4d43527263637a724c726555 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 4f686d4b4d43527263637a724c726555 esp
exec ipsec tunnel protect ipip20 sa-out 20 sa-in 100020 add
exec set interface ip address loop0 100.0.21.1/32
exec create ipip tunnel src 100.0.21.1 dst 200.0.0.2 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 6d614e5345665174456c745771526d58 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 6d614e5345665174456c745771526d58 esp
exec ipsec tunnel protect ipip21 sa-out 21 sa-in 100021 add
exec set interface ip address loop0 100.0.22.1/32
exec create ipip tunnel src 100.0.22.1 dst 200.0.0.2 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 574b46785359506e6b42754e58614753 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 574b46785359506e6b42754e58614753 esp
exec ipsec tunnel protect ipip22 sa-out 22 sa-in 100022 add
exec set interface ip address loop0 100.0.23.1/32
exec create ipip tunnel src 100.0.23.1 dst 200.0.0.2 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 496e514c48744c4e526e505a4e65416f esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 496e514c48744c4e526e505a4e65416f esp
exec ipsec tunnel protect ipip23 sa-out 23 sa-in 100023 add
exec set interface ip address loop0 100.0.24.1/32
exec create ipip tunnel src 100.0.24.1 dst 200.0.0.2 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 6a564754697753774e6c737442746445 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 6a564754697753774e6c737442746445 esp
exec ipsec tunnel protect ipip24 sa-out 24 sa-in 100024 add
exec set interface ip address loop0 100.0.25.1/32
exec create ipip tunnel src 100.0.25.1 dst 200.0.0.2 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 6758754d436356706b5a577741557644 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 6758754d436356706b5a577741557644 esp
exec ipsec tunnel protect ipip25 sa-out 25 sa-in 100025 add
exec set interface ip address loop0 100.0.26.1/32
exec create ipip tunnel src 100.0.26.1 dst 200.0.0.2 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 737456516273415656534d5a736c6950 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 737456516273415656534d5a736c6950 esp
exec ipsec tunnel protect ipip26 sa-out 26 sa-in 100026 add
exec set interface ip address loop0 100.0.27.1/32
exec create ipip tunnel src 100.0.27.1 dst 200.0.0.2 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 787946414c436548796357656664674e esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 787946414c436548796357656664674e esp
exec ipsec tunnel protect ipip27 sa-out 27 sa-in 100027 add
exec set interface ip address loop0 100.0.28.1/32
exec create ipip tunnel src 100.0.28.1 dst 200.0.0.2 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 61535768427a67446c514e794b6b6178 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 61535768427a67446c514e794b6b6178 esp
exec ipsec tunnel protect ipip28 sa-out 28 sa-in 100028 add
exec set interface ip address loop0 100.0.29.1/32
exec create ipip tunnel src 100.0.29.1 dst 200.0.0.2 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 7579776c63426e734d4d4d7278465157 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 7579776c63426e734d4d4d7278465157 esp
exec ipsec tunnel protect ipip29 sa-out 29 sa-in 100029 add
exec set interface ip address loop0 100.0.30.1/32
exec create ipip tunnel src 100.0.30.1 dst 200.0.0.2 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 6b7855464a466f7a616b737666717857 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 6b7855464a466f7a616b737666717857 esp
exec ipsec tunnel protect ipip30 sa-out 30 sa-in 100030 add
exec set interface ip address loop0 100.0.31.1/32
exec create ipip tunnel src 100.0.31.1 dst 200.0.0.2 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 6d497862764c4d6d485849554262766b esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 6d497862764c4d6d485849554262766b esp
exec ipsec tunnel protect ipip31 sa-out 31 sa-in 100031 add
exec set interface ip address loop0 100.0.32.1/32
exec create ipip tunnel src 100.0.32.1 dst 200.0.0.2 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 4c704853524f6553676c6b6a716d7159 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 4c704853524f6553676c6b6a716d7159 esp
exec ipsec tunnel protect ipip32 sa-out 32 sa-in 100032 add
exec set interface ip address loop0 100.0.33.1/32
exec create ipip tunnel src 100.0.33.1 dst 200.0.0.2 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 52475379516571695767664c53484263 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 52475379516571695767664c53484263 esp
exec ipsec tunnel protect ipip33 sa-out 33 sa-in 100033 add
exec set interface ip address loop0 100.0.34.1/32
exec create ipip tunnel src 100.0.34.1 dst 200.0.0.2 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 6c6e6357687a5554484f6a794e595646 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 6c6e6357687a5554484f6a794e595646 esp
exec ipsec tunnel protect ipip34 sa-out 34 sa-in 100034 add
exec set interface ip address loop0 100.0.35.1/32
exec create ipip tunnel src 100.0.35.1 dst 200.0.0.2 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 52455074694573584768526a41774971 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 52455074694573584768526a41774971 esp
exec ipsec tunnel protect ipip35 sa-out 35 sa-in 100035 add
exec set interface ip address loop0 100.0.36.1/32
exec create ipip tunnel src 100.0.36.1 dst 200.0.0.2 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 794757576c6646616c4154735a454f53 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 794757576c6646616c4154735a454f53 esp
exec ipsec tunnel protect ipip36 sa-out 36 sa-in 100036 add
exec set interface ip address loop0 100.0.37.1/32
exec create ipip tunnel src 100.0.37.1 dst 200.0.0.2 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 6c6c6478475770496f6f4e624778556b esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 6c6c6478475770496f6f4e624778556b esp
exec ipsec tunnel protect ipip37 sa-out 37 sa-in 100037 add
exec set interface ip address loop0 100.0.38.1/32
exec create ipip tunnel src 100.0.38.1 dst 200.0.0.2 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 4d4b4c7574654a7a5a64784c67585374 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 4d4b4c7574654a7a5a64784c67585374 esp
exec ipsec tunnel protect ipip38 sa-out 38 sa-in 100038 add
exec set interface ip address loop0 100.0.39.1/32
exec create ipip tunnel src 100.0.39.1 dst 200.0.0.2 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 6142446662436173687a706473695155 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 6142446662436173687a706473695155 esp
exec ipsec tunnel protect ipip39 sa-out 39 sa-in 100039 add
exec set interface unnumbered ipip0 use avf-0/3b/a/0
exec set interface state ipip0 up
exec ip route add 20.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use avf-0/3b/a/0
exec set interface state ipip1 up
exec ip route add 20.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use avf-0/3b/a/0
exec set interface state ipip2 up
exec ip route add 20.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use avf-0/3b/a/0
exec set interface state ipip3 up
exec ip route add 20.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use avf-0/3b/a/0
exec set interface state ipip4 up
exec ip route add 20.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use avf-0/3b/a/0
exec set interface state ipip5 up
exec ip route add 20.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use avf-0/3b/a/0
exec set interface state ipip6 up
exec ip route add 20.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use avf-0/3b/a/0
exec set interface state ipip7 up
exec ip route add 20.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use avf-0/3b/a/0
exec set interface state ipip8 up
exec ip route add 20.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use avf-0/3b/a/0
exec set interface state ipip9 up
exec ip route add 20.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use avf-0/3b/a/0
exec set interface state ipip10 up
exec ip route add 20.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use avf-0/3b/a/0
exec set interface state ipip11 up
exec ip route add 20.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use avf-0/3b/a/0
exec set interface state ipip12 up
exec ip route add 20.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use avf-0/3b/a/0
exec set interface state ipip13 up
exec ip route add 20.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use avf-0/3b/a/0
exec set interface state ipip14 up
exec ip route add 20.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use avf-0/3b/a/0
exec set interface state ipip15 up
exec ip route add 20.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use avf-0/3b/a/0
exec set interface state ipip16 up
exec ip route add 20.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use avf-0/3b/a/0
exec set interface state ipip17 up
exec ip route add 20.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use avf-0/3b/a/0
exec set interface state ipip18 up
exec ip route add 20.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use avf-0/3b/a/0
exec set interface state ipip19 up
exec ip route add 20.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use avf-0/3b/a/0
exec set interface state ipip20 up
exec ip route add 20.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use avf-0/3b/a/0
exec set interface state ipip21 up
exec ip route add 20.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use avf-0/3b/a/0
exec set interface state ipip22 up
exec ip route add 20.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use avf-0/3b/a/0
exec set interface state ipip23 up
exec ip route add 20.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use avf-0/3b/a/0
exec set interface state ipip24 up
exec ip route add 20.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use avf-0/3b/a/0
exec set interface state ipip25 up
exec ip route add 20.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use avf-0/3b/a/0
exec set interface state ipip26 up
exec ip route add 20.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use avf-0/3b/a/0
exec set interface state ipip27 up
exec ip route add 20.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use avf-0/3b/a/0
exec set interface state ipip28 up
exec ip route add 20.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use avf-0/3b/a/0
exec set interface state ipip29 up
exec ip route add 20.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use avf-0/3b/a/0
exec set interface state ipip30 up
exec ip route add 20.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use avf-0/3b/a/0
exec set interface state ipip31 up
exec ip route add 20.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use avf-0/3b/a/0
exec set interface state ipip32 up
exec ip route add 20.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use avf-0/3b/a/0
exec set interface state ipip33 up
exec ip route add 20.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use avf-0/3b/a/0
exec set interface state ipip34 up
exec ip route add 20.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use avf-0/3b/a/0
exec set interface state ipip35 up
exec ip route add 20.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use avf-0/3b/a/0
exec set interface state ipip36 up
exec ip route add 20.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use avf-0/3b/a/0
exec set interface state ipip37 up
exec ip route add 20.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use avf-0/3b/a/0
exec set interface state ipip38 up
exec ip route add 20.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use avf-0/3b/a/0
exec set interface state ipip39 up
exec ip route add 20.0.0.39/32 via ipip39
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec set interface ip address avf-0/3b/a/0 200.0.0.2/24.0
exec create ipip tunnel src 200.0.0.2 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 714f42645a614d4c46677864654c7376 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 714f42645a614d4c46677864654c7376 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 5057437a4355737a5058764643564d50 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 5057437a4355737a5058764643564d50 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 755a53714455454650686c4e4a5a4d4f esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 755a53714455454650686c4e4a5a4d4f esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 67694c6c6776717a556c5551716e4b73 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 67694c6c6776717a556c5551716e4b73 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 4b435371756b456b4d7872756a705663 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 4b435371756b456b4d7872756a705663 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 636d4b74497263555a5a77686a614151 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 636d4b74497263555a5a77686a614151 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 4e62566a426a626d675768646667666c esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 4e62566a426a626d675768646667666c esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 62544578786848644475444b544d774c esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 62544578786848644475444b544d774c esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 5a5158444250456a577074674a5a7346 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 5a5158444250456a577074674a5a7346 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 4a564966674b636f734d524c6b4f444c esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 4a564966674b636f734d524c6b4f444c esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 54576a56594c744b4774666a66795959 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 54576a56594c744b4774666a66795959 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 76596c694e546a7a425755597969457a esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 76596c694e546a7a425755597969457a esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 4f57565a4f57467846727a62624a6258 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 4f57565a4f57467846727a62624a6258 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 675468574b59735343636964746f5a4c esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 675468574b59735343636964746f5a4c esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 7555764c4b4f6e555a4a504456627a52 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 7555764c4b4f6e555a4a504456627a52 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 4568664c624d6378776a4b4d4c4e7368 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 4568664c624d6378776a4b4d4c4e7368 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 637a66667a5848496b59754771704174 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 637a66667a5848496b59754771704174 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 69495349426648425457434744504f41 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 69495349426648425457434744504f41 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 706d5370634c74484674684b4b41754d esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 706d5370634c74484674684b4b41754d esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 56506c4751706251496c435065794d55 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 56506c4751706251496c435065794d55 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 4f686d4b4d43527263637a724c726555 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 4f686d4b4d43527263637a724c726555 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 6d614e5345665174456c745771526d58 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 6d614e5345665174456c745771526d58 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 574b46785359506e6b42754e58614753 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 574b46785359506e6b42754e58614753 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 496e514c48744c4e526e505a4e65416f esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 496e514c48744c4e526e505a4e65416f esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 6a564754697753774e6c737442746445 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 6a564754697753774e6c737442746445 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 6758754d436356706b5a577741557644 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 6758754d436356706b5a577741557644 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 737456516273415656534d5a736c6950 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 737456516273415656534d5a736c6950 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 787946414c436548796357656664674e esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 787946414c436548796357656664674e esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 61535768427a67446c514e794b6b6178 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 61535768427a67446c514e794b6b6178 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 7579776c63426e734d4d4d7278465157 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 7579776c63426e734d4d4d7278465157 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 6b7855464a466f7a616b737666717857 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 6b7855464a466f7a616b737666717857 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 6d497862764c4d6d485849554262766b esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 6d497862764c4d6d485849554262766b esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 4c704853524f6553676c6b6a716d7159 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 4c704853524f6553676c6b6a716d7159 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 52475379516571695767664c53484263 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 52475379516571695767664c53484263 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 6c6e6357687a5554484f6a794e595646 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 6c6e6357687a5554484f6a794e595646 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 52455074694573584768526a41774971 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 52455074694573584768526a41774971 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 794757576c6646616c4154735a454f53 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 794757576c6646616c4154735a454f53 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 6c6c6478475770496f6f4e624778556b esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 6c6c6478475770496f6f4e624778556b esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 4d4b4c7574654a7a5a64784c67585374 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 4d4b4c7574654a7a5a64784c67585374 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 6142446662436173687a706473695155 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 6142446662436173687a706473695155 esp
exec ipsec tunnel protect ipip39 sa-out 100039 sa-in 39 add
exec ip route add 100.0.0.1/8 via 200.0.0.1 avf-0/3b/a/0
exec set interface unnumbered ipip0 use avf-0/3b/a/0
exec set interface state ipip0 up
exec ip route add 10.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use avf-0/3b/a/0
exec set interface state ipip1 up
exec ip route add 10.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use avf-0/3b/a/0
exec set interface state ipip2 up
exec ip route add 10.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use avf-0/3b/a/0
exec set interface state ipip3 up
exec ip route add 10.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use avf-0/3b/a/0
exec set interface state ipip4 up
exec ip route add 10.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use avf-0/3b/a/0
exec set interface state ipip5 up
exec ip route add 10.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use avf-0/3b/a/0
exec set interface state ipip6 up
exec ip route add 10.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use avf-0/3b/a/0
exec set interface state ipip7 up
exec ip route add 10.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use avf-0/3b/a/0
exec set interface state ipip8 up
exec ip route add 10.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use avf-0/3b/a/0
exec set interface state ipip9 up
exec ip route add 10.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use avf-0/3b/a/0
exec set interface state ipip10 up
exec ip route add 10.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use avf-0/3b/a/0
exec set interface state ipip11 up
exec ip route add 10.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use avf-0/3b/a/0
exec set interface state ipip12 up
exec ip route add 10.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use avf-0/3b/a/0
exec set interface state ipip13 up
exec ip route add 10.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use avf-0/3b/a/0
exec set interface state ipip14 up
exec ip route add 10.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use avf-0/3b/a/0
exec set interface state ipip15 up
exec ip route add 10.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use avf-0/3b/a/0
exec set interface state ipip16 up
exec ip route add 10.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use avf-0/3b/a/0
exec set interface state ipip17 up
exec ip route add 10.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use avf-0/3b/a/0
exec set interface state ipip18 up
exec ip route add 10.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use avf-0/3b/a/0
exec set interface state ipip19 up
exec ip route add 10.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use avf-0/3b/a/0
exec set interface state ipip20 up
exec ip route add 10.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use avf-0/3b/a/0
exec set interface state ipip21 up
exec ip route add 10.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use avf-0/3b/a/0
exec set interface state ipip22 up
exec ip route add 10.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use avf-0/3b/a/0
exec set interface state ipip23 up
exec ip route add 10.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use avf-0/3b/a/0
exec set interface state ipip24 up
exec ip route add 10.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use avf-0/3b/a/0
exec set interface state ipip25 up
exec ip route add 10.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use avf-0/3b/a/0
exec set interface state ipip26 up
exec ip route add 10.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use avf-0/3b/a/0
exec set interface state ipip27 up
exec ip route add 10.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use avf-0/3b/a/0
exec set interface state ipip28 up
exec ip route add 10.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use avf-0/3b/a/0
exec set interface state ipip29 up
exec ip route add 10.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use avf-0/3b/a/0
exec set interface state ipip30 up
exec ip route add 10.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use avf-0/3b/a/0
exec set interface state ipip31 up
exec ip route add 10.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use avf-0/3b/a/0
exec set interface state ipip32 up
exec ip route add 10.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use avf-0/3b/a/0
exec set interface state ipip33 up
exec ip route add 10.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use avf-0/3b/a/0
exec set interface state ipip34 up
exec ip route add 10.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use avf-0/3b/a/0
exec set interface state ipip35 up
exec ip route add 10.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use avf-0/3b/a/0
exec set interface state ipip36 up
exec ip route add 10.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use avf-0/3b/a/0
exec set interface state ipip37 up
exec ip route add 10.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use avf-0/3b/a/0
exec set interface state ipip38 up
exec ip route add 10.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use avf-0/3b/a/0
exec set interface state ipip39 up
exec ip route add 10.0.0.39/32 via ipip39

 imix-4t2c-avf-ethip4ipsec40tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec create loopback interface
exec set interface state loop0 up
exec set interface ip address avf-0/3b/a/0 200.0.0.1/24
exec set ip neighbor avf-0/3b/a/0 200.0.0.2 3c:fe:bd:f8:fd:00 static
exec set interface ip address loop0 100.0.0.1/32
exec create ipip tunnel src 100.0.0.1 dst 200.0.0.2 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 6a707550736a486f50536f6c7974694f esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 6a707550736a486f50536f6c7974694f esp
exec ipsec tunnel protect ipip0 sa-out 0 sa-in 100000 add
exec set interface ip address loop0 100.0.1.1/32
exec create ipip tunnel src 100.0.1.1 dst 200.0.0.2 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 5a4b4b6d4357644c6a6b567667486f58 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 5a4b4b6d4357644c6a6b567667486f58 esp
exec ipsec tunnel protect ipip1 sa-out 1 sa-in 100001 add
exec set interface ip address loop0 100.0.2.1/32
exec create ipip tunnel src 100.0.2.1 dst 200.0.0.2 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 4e4569677176616f6e52674353474343 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 4e4569677176616f6e52674353474343 esp
exec ipsec tunnel protect ipip2 sa-out 2 sa-in 100002 add
exec set interface ip address loop0 100.0.3.1/32
exec create ipip tunnel src 100.0.3.1 dst 200.0.0.2 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 4c4f4d52566563546a724f6f4857556b esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 4c4f4d52566563546a724f6f4857556b esp
exec ipsec tunnel protect ipip3 sa-out 3 sa-in 100003 add
exec set interface ip address loop0 100.0.4.1/32
exec create ipip tunnel src 100.0.4.1 dst 200.0.0.2 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 4e4f694c694f72547545556b616b4b4d esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 4e4f694c694f72547545556b616b4b4d esp
exec ipsec tunnel protect ipip4 sa-out 4 sa-in 100004 add
exec set interface ip address loop0 100.0.5.1/32
exec create ipip tunnel src 100.0.5.1 dst 200.0.0.2 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 41756c75625042777758474152724c79 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 41756c75625042777758474152724c79 esp
exec ipsec tunnel protect ipip5 sa-out 5 sa-in 100005 add
exec set interface ip address loop0 100.0.6.1/32
exec create ipip tunnel src 100.0.6.1 dst 200.0.0.2 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 6d754c544f70756a457646644771474f esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 6d754c544f70756a457646644771474f esp
exec ipsec tunnel protect ipip6 sa-out 6 sa-in 100006 add
exec set interface ip address loop0 100.0.7.1/32
exec create ipip tunnel src 100.0.7.1 dst 200.0.0.2 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 476b6674594747794c4e716b614a4f68 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 476b6674594747794c4e716b614a4f68 esp
exec ipsec tunnel protect ipip7 sa-out 7 sa-in 100007 add
exec set interface ip address loop0 100.0.8.1/32
exec create ipip tunnel src 100.0.8.1 dst 200.0.0.2 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 5174424d6442677156744569516c476b esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 5174424d6442677156744569516c476b esp
exec ipsec tunnel protect ipip8 sa-out 8 sa-in 100008 add
exec set interface ip address loop0 100.0.9.1/32
exec create ipip tunnel src 100.0.9.1 dst 200.0.0.2 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 5a59494676624e706441676668714952 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 5a59494676624e706441676668714952 esp
exec ipsec tunnel protect ipip9 sa-out 9 sa-in 100009 add
exec set interface ip address loop0 100.0.10.1/32
exec create ipip tunnel src 100.0.10.1 dst 200.0.0.2 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 494b776379646675656b466544764473 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 494b776379646675656b466544764473 esp
exec ipsec tunnel protect ipip10 sa-out 10 sa-in 100010 add
exec set interface ip address loop0 100.0.11.1/32
exec create ipip tunnel src 100.0.11.1 dst 200.0.0.2 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 764f584876786351764568644f645062 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 764f584876786351764568644f645062 esp
exec ipsec tunnel protect ipip11 sa-out 11 sa-in 100011 add
exec set interface ip address loop0 100.0.12.1/32
exec create ipip tunnel src 100.0.12.1 dst 200.0.0.2 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 6c4265594d71534c7262524e4f6f7067 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 6c4265594d71534c7262524e4f6f7067 esp
exec ipsec tunnel protect ipip12 sa-out 12 sa-in 100012 add
exec set interface ip address loop0 100.0.13.1/32
exec create ipip tunnel src 100.0.13.1 dst 200.0.0.2 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 77526b646651476b66724b756a597671 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 77526b646651476b66724b756a597671 esp
exec ipsec tunnel protect ipip13 sa-out 13 sa-in 100013 add
exec set interface ip address loop0 100.0.14.1/32
exec create ipip tunnel src 100.0.14.1 dst 200.0.0.2 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 617a776c715876544b7364744769764e esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 617a776c715876544b7364744769764e esp
exec ipsec tunnel protect ipip14 sa-out 14 sa-in 100014 add
exec set interface ip address loop0 100.0.15.1/32
exec create ipip tunnel src 100.0.15.1 dst 200.0.0.2 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 7473664d577a71656f6c724d576d6373 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 7473664d577a71656f6c724d576d6373 esp
exec ipsec tunnel protect ipip15 sa-out 15 sa-in 100015 add
exec set interface ip address loop0 100.0.16.1/32
exec create ipip tunnel src 100.0.16.1 dst 200.0.0.2 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 504e61626157485a6f6144495867757a esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 504e61626157485a6f6144495867757a esp
exec ipsec tunnel protect ipip16 sa-out 16 sa-in 100016 add
exec set interface ip address loop0 100.0.17.1/32
exec create ipip tunnel src 100.0.17.1 dst 200.0.0.2 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 664772737746716e4e756b6569585078 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 664772737746716e4e756b6569585078 esp
exec ipsec tunnel protect ipip17 sa-out 17 sa-in 100017 add
exec set interface ip address loop0 100.0.18.1/32
exec create ipip tunnel src 100.0.18.1 dst 200.0.0.2 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 69526b6d5249796247534e66594a5363 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 69526b6d5249796247534e66594a5363 esp
exec ipsec tunnel protect ipip18 sa-out 18 sa-in 100018 add
exec set interface ip address loop0 100.0.19.1/32
exec create ipip tunnel src 100.0.19.1 dst 200.0.0.2 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 71424c4e7646584e4c464758517a6657 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 71424c4e7646584e4c464758517a6657 esp
exec ipsec tunnel protect ipip19 sa-out 19 sa-in 100019 add
exec set interface ip address loop0 100.0.20.1/32
exec create ipip tunnel src 100.0.20.1 dst 200.0.0.2 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 71545a4a686a726f437975756d4e416c esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 71545a4a686a726f437975756d4e416c esp
exec ipsec tunnel protect ipip20 sa-out 20 sa-in 100020 add
exec set interface ip address loop0 100.0.21.1/32
exec create ipip tunnel src 100.0.21.1 dst 200.0.0.2 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 4f587543524b497450537168514e414b esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 4f587543524b497450537168514e414b esp
exec ipsec tunnel protect ipip21 sa-out 21 sa-in 100021 add
exec set interface ip address loop0 100.0.22.1/32
exec create ipip tunnel src 100.0.22.1 dst 200.0.0.2 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 6549546b716448627562577254725645 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 6549546b716448627562577254725645 esp
exec ipsec tunnel protect ipip22 sa-out 22 sa-in 100022 add
exec set interface ip address loop0 100.0.23.1/32
exec create ipip tunnel src 100.0.23.1 dst 200.0.0.2 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 5a534f474d5a6a5962415942564b5463 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 5a534f474d5a6a5962415942564b5463 esp
exec ipsec tunnel protect ipip23 sa-out 23 sa-in 100023 add
exec set interface ip address loop0 100.0.24.1/32
exec create ipip tunnel src 100.0.24.1 dst 200.0.0.2 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 5450507054474948665546796d45706d esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 5450507054474948665546796d45706d esp
exec ipsec tunnel protect ipip24 sa-out 24 sa-in 100024 add
exec set interface ip address loop0 100.0.25.1/32
exec create ipip tunnel src 100.0.25.1 dst 200.0.0.2 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 43656644685a5353777a6d7447614c66 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 43656644685a5353777a6d7447614c66 esp
exec ipsec tunnel protect ipip25 sa-out 25 sa-in 100025 add
exec set interface ip address loop0 100.0.26.1/32
exec create ipip tunnel src 100.0.26.1 dst 200.0.0.2 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 6668556451626b746f4b504a616e566a esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 6668556451626b746f4b504a616e566a esp
exec ipsec tunnel protect ipip26 sa-out 26 sa-in 100026 add
exec set interface ip address loop0 100.0.27.1/32
exec create ipip tunnel src 100.0.27.1 dst 200.0.0.2 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 4657474a574671766550656f43776c76 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 4657474a574671766550656f43776c76 esp
exec ipsec tunnel protect ipip27 sa-out 27 sa-in 100027 add
exec set interface ip address loop0 100.0.28.1/32
exec create ipip tunnel src 100.0.28.1 dst 200.0.0.2 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 446c796679686170476e786474636e51 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 446c796679686170476e786474636e51 esp
exec ipsec tunnel protect ipip28 sa-out 28 sa-in 100028 add
exec set interface ip address loop0 100.0.29.1/32
exec create ipip tunnel src 100.0.29.1 dst 200.0.0.2 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 68646d6543616a4a517a724d6275435a esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 68646d6543616a4a517a724d6275435a esp
exec ipsec tunnel protect ipip29 sa-out 29 sa-in 100029 add
exec set interface ip address loop0 100.0.30.1/32
exec create ipip tunnel src 100.0.30.1 dst 200.0.0.2 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 6e464f516b676b69566c536d4255666b esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 6e464f516b676b69566c536d4255666b esp
exec ipsec tunnel protect ipip30 sa-out 30 sa-in 100030 add
exec set interface ip address loop0 100.0.31.1/32
exec create ipip tunnel src 100.0.31.1 dst 200.0.0.2 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 6c4a7149657a52796950596e6168754e esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 6c4a7149657a52796950596e6168754e esp
exec ipsec tunnel protect ipip31 sa-out 31 sa-in 100031 add
exec set interface ip address loop0 100.0.32.1/32
exec create ipip tunnel src 100.0.32.1 dst 200.0.0.2 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 475757706356785a6c6d787941746451 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 475757706356785a6c6d787941746451 esp
exec ipsec tunnel protect ipip32 sa-out 32 sa-in 100032 add
exec set interface ip address loop0 100.0.33.1/32
exec create ipip tunnel src 100.0.33.1 dst 200.0.0.2 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 4872486a7046575a645a555173474752 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 4872486a7046575a645a555173474752 esp
exec ipsec tunnel protect ipip33 sa-out 33 sa-in 100033 add
exec set interface ip address loop0 100.0.34.1/32
exec create ipip tunnel src 100.0.34.1 dst 200.0.0.2 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 53586b41414a4f624a7076556f564f45 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 53586b41414a4f624a7076556f564f45 esp
exec ipsec tunnel protect ipip34 sa-out 34 sa-in 100034 add
exec set interface ip address loop0 100.0.35.1/32
exec create ipip tunnel src 100.0.35.1 dst 200.0.0.2 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 4e4448766157526b7179544f594c6f59 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 4e4448766157526b7179544f594c6f59 esp
exec ipsec tunnel protect ipip35 sa-out 35 sa-in 100035 add
exec set interface ip address loop0 100.0.36.1/32
exec create ipip tunnel src 100.0.36.1 dst 200.0.0.2 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 645755485068436e6377517779427944 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 645755485068436e6377517779427944 esp
exec ipsec tunnel protect ipip36 sa-out 36 sa-in 100036 add
exec set interface ip address loop0 100.0.37.1/32
exec create ipip tunnel src 100.0.37.1 dst 200.0.0.2 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 6e6c68645142684475494b73444f496e esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 6e6c68645142684475494b73444f496e esp
exec ipsec tunnel protect ipip37 sa-out 37 sa-in 100037 add
exec set interface ip address loop0 100.0.38.1/32
exec create ipip tunnel src 100.0.38.1 dst 200.0.0.2 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 4970675a786a527a70534f6656514c47 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 4970675a786a527a70534f6656514c47 esp
exec ipsec tunnel protect ipip38 sa-out 38 sa-in 100038 add
exec set interface ip address loop0 100.0.39.1/32
exec create ipip tunnel src 100.0.39.1 dst 200.0.0.2 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 4e6952486c4f58706e595a6441504f61 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 4e6952486c4f58706e595a6441504f61 esp
exec ipsec tunnel protect ipip39 sa-out 39 sa-in 100039 add
exec set interface unnumbered ipip0 use avf-0/3b/a/0
exec set interface state ipip0 up
exec ip route add 20.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use avf-0/3b/a/0
exec set interface state ipip1 up
exec ip route add 20.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use avf-0/3b/a/0
exec set interface state ipip2 up
exec ip route add 20.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use avf-0/3b/a/0
exec set interface state ipip3 up
exec ip route add 20.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use avf-0/3b/a/0
exec set interface state ipip4 up
exec ip route add 20.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use avf-0/3b/a/0
exec set interface state ipip5 up
exec ip route add 20.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use avf-0/3b/a/0
exec set interface state ipip6 up
exec ip route add 20.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use avf-0/3b/a/0
exec set interface state ipip7 up
exec ip route add 20.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use avf-0/3b/a/0
exec set interface state ipip8 up
exec ip route add 20.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use avf-0/3b/a/0
exec set interface state ipip9 up
exec ip route add 20.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use avf-0/3b/a/0
exec set interface state ipip10 up
exec ip route add 20.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use avf-0/3b/a/0
exec set interface state ipip11 up
exec ip route add 20.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use avf-0/3b/a/0
exec set interface state ipip12 up
exec ip route add 20.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use avf-0/3b/a/0
exec set interface state ipip13 up
exec ip route add 20.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use avf-0/3b/a/0
exec set interface state ipip14 up
exec ip route add 20.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use avf-0/3b/a/0
exec set interface state ipip15 up
exec ip route add 20.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use avf-0/3b/a/0
exec set interface state ipip16 up
exec ip route add 20.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use avf-0/3b/a/0
exec set interface state ipip17 up
exec ip route add 20.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use avf-0/3b/a/0
exec set interface state ipip18 up
exec ip route add 20.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use avf-0/3b/a/0
exec set interface state ipip19 up
exec ip route add 20.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use avf-0/3b/a/0
exec set interface state ipip20 up
exec ip route add 20.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use avf-0/3b/a/0
exec set interface state ipip21 up
exec ip route add 20.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use avf-0/3b/a/0
exec set interface state ipip22 up
exec ip route add 20.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use avf-0/3b/a/0
exec set interface state ipip23 up
exec ip route add 20.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use avf-0/3b/a/0
exec set interface state ipip24 up
exec ip route add 20.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use avf-0/3b/a/0
exec set interface state ipip25 up
exec ip route add 20.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use avf-0/3b/a/0
exec set interface state ipip26 up
exec ip route add 20.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use avf-0/3b/a/0
exec set interface state ipip27 up
exec ip route add 20.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use avf-0/3b/a/0
exec set interface state ipip28 up
exec ip route add 20.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use avf-0/3b/a/0
exec set interface state ipip29 up
exec ip route add 20.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use avf-0/3b/a/0
exec set interface state ipip30 up
exec ip route add 20.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use avf-0/3b/a/0
exec set interface state ipip31 up
exec ip route add 20.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use avf-0/3b/a/0
exec set interface state ipip32 up
exec ip route add 20.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use avf-0/3b/a/0
exec set interface state ipip33 up
exec ip route add 20.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use avf-0/3b/a/0
exec set interface state ipip34 up
exec ip route add 20.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use avf-0/3b/a/0
exec set interface state ipip35 up
exec ip route add 20.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use avf-0/3b/a/0
exec set interface state ipip36 up
exec ip route add 20.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use avf-0/3b/a/0
exec set interface state ipip37 up
exec ip route add 20.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use avf-0/3b/a/0
exec set interface state ipip38 up
exec ip route add 20.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use avf-0/3b/a/0
exec set interface state ipip39 up
exec ip route add 20.0.0.39/32 via ipip39
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec set interface ip address avf-0/3b/a/0 200.0.0.2/24.0
exec create ipip tunnel src 200.0.0.2 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 6a707550736a486f50536f6c7974694f esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 6a707550736a486f50536f6c7974694f esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 5a4b4b6d4357644c6a6b567667486f58 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 5a4b4b6d4357644c6a6b567667486f58 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 4e4569677176616f6e52674353474343 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 4e4569677176616f6e52674353474343 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 4c4f4d52566563546a724f6f4857556b esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 4c4f4d52566563546a724f6f4857556b esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 4e4f694c694f72547545556b616b4b4d esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 4e4f694c694f72547545556b616b4b4d esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 41756c75625042777758474152724c79 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 41756c75625042777758474152724c79 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 6d754c544f70756a457646644771474f esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 6d754c544f70756a457646644771474f esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 476b6674594747794c4e716b614a4f68 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 476b6674594747794c4e716b614a4f68 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 5174424d6442677156744569516c476b esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 5174424d6442677156744569516c476b esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 5a59494676624e706441676668714952 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 5a59494676624e706441676668714952 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 494b776379646675656b466544764473 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 494b776379646675656b466544764473 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 764f584876786351764568644f645062 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 764f584876786351764568644f645062 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 6c4265594d71534c7262524e4f6f7067 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 6c4265594d71534c7262524e4f6f7067 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 77526b646651476b66724b756a597671 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 77526b646651476b66724b756a597671 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 617a776c715876544b7364744769764e esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 617a776c715876544b7364744769764e esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 7473664d577a71656f6c724d576d6373 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 7473664d577a71656f6c724d576d6373 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 504e61626157485a6f6144495867757a esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 504e61626157485a6f6144495867757a esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 664772737746716e4e756b6569585078 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 664772737746716e4e756b6569585078 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 69526b6d5249796247534e66594a5363 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 69526b6d5249796247534e66594a5363 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 71424c4e7646584e4c464758517a6657 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 71424c4e7646584e4c464758517a6657 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 71545a4a686a726f437975756d4e416c esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 71545a4a686a726f437975756d4e416c esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 4f587543524b497450537168514e414b esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 4f587543524b497450537168514e414b esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 6549546b716448627562577254725645 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 6549546b716448627562577254725645 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 5a534f474d5a6a5962415942564b5463 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 5a534f474d5a6a5962415942564b5463 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 5450507054474948665546796d45706d esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 5450507054474948665546796d45706d esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 43656644685a5353777a6d7447614c66 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 43656644685a5353777a6d7447614c66 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 6668556451626b746f4b504a616e566a esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 6668556451626b746f4b504a616e566a esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 4657474a574671766550656f43776c76 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 4657474a574671766550656f43776c76 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 446c796679686170476e786474636e51 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 446c796679686170476e786474636e51 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 68646d6543616a4a517a724d6275435a esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 68646d6543616a4a517a724d6275435a esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 6e464f516b676b69566c536d4255666b esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 6e464f516b676b69566c536d4255666b esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 6c4a7149657a52796950596e6168754e esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 6c4a7149657a52796950596e6168754e esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 475757706356785a6c6d787941746451 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 475757706356785a6c6d787941746451 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 4872486a7046575a645a555173474752 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 4872486a7046575a645a555173474752 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 53586b41414a4f624a7076556f564f45 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 53586b41414a4f624a7076556f564f45 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 4e4448766157526b7179544f594c6f59 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 4e4448766157526b7179544f594c6f59 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 645755485068436e6377517779427944 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 645755485068436e6377517779427944 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 6e6c68645142684475494b73444f496e esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 6e6c68645142684475494b73444f496e esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 4970675a786a527a70534f6656514c47 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 4970675a786a527a70534f6656514c47 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 4e6952486c4f58706e595a6441504f61 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 4e6952486c4f58706e595a6441504f61 esp
exec ipsec tunnel protect ipip39 sa-out 100039 sa-in 39 add
exec ip route add 100.0.0.1/8 via 200.0.0.1 avf-0/3b/a/0
exec set interface unnumbered ipip0 use avf-0/3b/a/0
exec set interface state ipip0 up
exec ip route add 10.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use avf-0/3b/a/0
exec set interface state ipip1 up
exec ip route add 10.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use avf-0/3b/a/0
exec set interface state ipip2 up
exec ip route add 10.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use avf-0/3b/a/0
exec set interface state ipip3 up
exec ip route add 10.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use avf-0/3b/a/0
exec set interface state ipip4 up
exec ip route add 10.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use avf-0/3b/a/0
exec set interface state ipip5 up
exec ip route add 10.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use avf-0/3b/a/0
exec set interface state ipip6 up
exec ip route add 10.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use avf-0/3b/a/0
exec set interface state ipip7 up
exec ip route add 10.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use avf-0/3b/a/0
exec set interface state ipip8 up
exec ip route add 10.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use avf-0/3b/a/0
exec set interface state ipip9 up
exec ip route add 10.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use avf-0/3b/a/0
exec set interface state ipip10 up
exec ip route add 10.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use avf-0/3b/a/0
exec set interface state ipip11 up
exec ip route add 10.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use avf-0/3b/a/0
exec set interface state ipip12 up
exec ip route add 10.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use avf-0/3b/a/0
exec set interface state ipip13 up
exec ip route add 10.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use avf-0/3b/a/0
exec set interface state ipip14 up
exec ip route add 10.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use avf-0/3b/a/0
exec set interface state ipip15 up
exec ip route add 10.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use avf-0/3b/a/0
exec set interface state ipip16 up
exec ip route add 10.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use avf-0/3b/a/0
exec set interface state ipip17 up
exec ip route add 10.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use avf-0/3b/a/0
exec set interface state ipip18 up
exec ip route add 10.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use avf-0/3b/a/0
exec set interface state ipip19 up
exec ip route add 10.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use avf-0/3b/a/0
exec set interface state ipip20 up
exec ip route add 10.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use avf-0/3b/a/0
exec set interface state ipip21 up
exec ip route add 10.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use avf-0/3b/a/0
exec set interface state ipip22 up
exec ip route add 10.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use avf-0/3b/a/0
exec set interface state ipip23 up
exec ip route add 10.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use avf-0/3b/a/0
exec set interface state ipip24 up
exec ip route add 10.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use avf-0/3b/a/0
exec set interface state ipip25 up
exec ip route add 10.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use avf-0/3b/a/0
exec set interface state ipip26 up
exec ip route add 10.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use avf-0/3b/a/0
exec set interface state ipip27 up
exec ip route add 10.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use avf-0/3b/a/0
exec set interface state ipip28 up
exec ip route add 10.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use avf-0/3b/a/0
exec set interface state ipip29 up
exec ip route add 10.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use avf-0/3b/a/0
exec set interface state ipip30 up
exec ip route add 10.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use avf-0/3b/a/0
exec set interface state ipip31 up
exec ip route add 10.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use avf-0/3b/a/0
exec set interface state ipip32 up
exec ip route add 10.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use avf-0/3b/a/0
exec set interface state ipip33 up
exec ip route add 10.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use avf-0/3b/a/0
exec set interface state ipip34 up
exec ip route add 10.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use avf-0/3b/a/0
exec set interface state ipip35 up
exec ip route add 10.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use avf-0/3b/a/0
exec set interface state ipip36 up
exec ip route add 10.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use avf-0/3b/a/0
exec set interface state ipip37 up
exec ip route add 10.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use avf-0/3b/a/0
exec set interface state ipip38 up
exec ip route add 10.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use avf-0/3b/a/0
exec set interface state ipip39 up
exec ip route add 10.0.0.39/32 via ipip39

 imix-8t4c-avf-ethip4ipsec40tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec create loopback interface
exec set interface state loop0 up
exec set interface ip address avf-0/3b/a/0 200.0.0.1/24
exec set ip neighbor avf-0/3b/a/0 200.0.0.2 3c:fe:bd:f8:fd:00 static
exec set interface ip address loop0 100.0.0.1/32
exec create ipip tunnel src 100.0.0.1 dst 200.0.0.2 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 6d6b62635675675445745649786b5067 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 6d6b62635675675445745649786b5067 esp
exec ipsec tunnel protect ipip0 sa-out 0 sa-in 100000 add
exec set interface ip address loop0 100.0.1.1/32
exec create ipip tunnel src 100.0.1.1 dst 200.0.0.2 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 577364676f516253516b657948505a7a esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 577364676f516253516b657948505a7a esp
exec ipsec tunnel protect ipip1 sa-out 1 sa-in 100001 add
exec set interface ip address loop0 100.0.2.1/32
exec create ipip tunnel src 100.0.2.1 dst 200.0.0.2 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 6850444b5658576c4e4a6b6b67445059 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 6850444b5658576c4e4a6b6b67445059 esp
exec ipsec tunnel protect ipip2 sa-out 2 sa-in 100002 add
exec set interface ip address loop0 100.0.3.1/32
exec create ipip tunnel src 100.0.3.1 dst 200.0.0.2 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 594f61715554524e434e786e75564a42 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 594f61715554524e434e786e75564a42 esp
exec ipsec tunnel protect ipip3 sa-out 3 sa-in 100003 add
exec set interface ip address loop0 100.0.4.1/32
exec create ipip tunnel src 100.0.4.1 dst 200.0.0.2 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 4572587766466e464874736d67584161 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 4572587766466e464874736d67584161 esp
exec ipsec tunnel protect ipip4 sa-out 4 sa-in 100004 add
exec set interface ip address loop0 100.0.5.1/32
exec create ipip tunnel src 100.0.5.1 dst 200.0.0.2 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 465a426863584363614f62756258514f esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 465a426863584363614f62756258514f esp
exec ipsec tunnel protect ipip5 sa-out 5 sa-in 100005 add
exec set interface ip address loop0 100.0.6.1/32
exec create ipip tunnel src 100.0.6.1 dst 200.0.0.2 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 4e74706f61436f714870456f64434b70 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 4e74706f61436f714870456f64434b70 esp
exec ipsec tunnel protect ipip6 sa-out 6 sa-in 100006 add
exec set interface ip address loop0 100.0.7.1/32
exec create ipip tunnel src 100.0.7.1 dst 200.0.0.2 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 706b4a42494f6e62646c4c6743794b63 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 706b4a42494f6e62646c4c6743794b63 esp
exec ipsec tunnel protect ipip7 sa-out 7 sa-in 100007 add
exec set interface ip address loop0 100.0.8.1/32
exec create ipip tunnel src 100.0.8.1 dst 200.0.0.2 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 4756464c644278746b51635572704d6c esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 4756464c644278746b51635572704d6c esp
exec ipsec tunnel protect ipip8 sa-out 8 sa-in 100008 add
exec set interface ip address loop0 100.0.9.1/32
exec create ipip tunnel src 100.0.9.1 dst 200.0.0.2 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 76646b49646958666f614b42666c7570 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 76646b49646958666f614b42666c7570 esp
exec ipsec tunnel protect ipip9 sa-out 9 sa-in 100009 add
exec set interface ip address loop0 100.0.10.1/32
exec create ipip tunnel src 100.0.10.1 dst 200.0.0.2 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 646368414f73466d796d4e6d69794f6b esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 646368414f73466d796d4e6d69794f6b esp
exec ipsec tunnel protect ipip10 sa-out 10 sa-in 100010 add
exec set interface ip address loop0 100.0.11.1/32
exec create ipip tunnel src 100.0.11.1 dst 200.0.0.2 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 766e6d655642526c6d4244575967794f esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 766e6d655642526c6d4244575967794f esp
exec ipsec tunnel protect ipip11 sa-out 11 sa-in 100011 add
exec set interface ip address loop0 100.0.12.1/32
exec create ipip tunnel src 100.0.12.1 dst 200.0.0.2 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 6e5a464b656747696f6442474472484b esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 6e5a464b656747696f6442474472484b esp
exec ipsec tunnel protect ipip12 sa-out 12 sa-in 100012 add
exec set interface ip address loop0 100.0.13.1/32
exec create ipip tunnel src 100.0.13.1 dst 200.0.0.2 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 7451454e46486a7550466c566a49497a esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 7451454e46486a7550466c566a49497a esp
exec ipsec tunnel protect ipip13 sa-out 13 sa-in 100013 add
exec set interface ip address loop0 100.0.14.1/32
exec create ipip tunnel src 100.0.14.1 dst 200.0.0.2 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 5a7a554b6c4e516c454669714e6a7359 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 5a7a554b6c4e516c454669714e6a7359 esp
exec ipsec tunnel protect ipip14 sa-out 14 sa-in 100014 add
exec set interface ip address loop0 100.0.15.1/32
exec create ipip tunnel src 100.0.15.1 dst 200.0.0.2 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 42434a74467562434a544f61766e4d4c esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 42434a74467562434a544f61766e4d4c esp
exec ipsec tunnel protect ipip15 sa-out 15 sa-in 100015 add
exec set interface ip address loop0 100.0.16.1/32
exec create ipip tunnel src 100.0.16.1 dst 200.0.0.2 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 7261694d77614b44696c41546e545348 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 7261694d77614b44696c41546e545348 esp
exec ipsec tunnel protect ipip16 sa-out 16 sa-in 100016 add
exec set interface ip address loop0 100.0.17.1/32
exec create ipip tunnel src 100.0.17.1 dst 200.0.0.2 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 57654842616d664c464d434d52596348 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 57654842616d664c464d434d52596348 esp
exec ipsec tunnel protect ipip17 sa-out 17 sa-in 100017 add
exec set interface ip address loop0 100.0.18.1/32
exec create ipip tunnel src 100.0.18.1 dst 200.0.0.2 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 475778784878435168546942464e746c esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 475778784878435168546942464e746c esp
exec ipsec tunnel protect ipip18 sa-out 18 sa-in 100018 add
exec set interface ip address loop0 100.0.19.1/32
exec create ipip tunnel src 100.0.19.1 dst 200.0.0.2 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 66707479535748656b46744179596e77 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 66707479535748656b46744179596e77 esp
exec ipsec tunnel protect ipip19 sa-out 19 sa-in 100019 add
exec set interface ip address loop0 100.0.20.1/32
exec create ipip tunnel src 100.0.20.1 dst 200.0.0.2 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 547741777064776565467a70695a5546 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 547741777064776565467a70695a5546 esp
exec ipsec tunnel protect ipip20 sa-out 20 sa-in 100020 add
exec set interface ip address loop0 100.0.21.1/32
exec create ipip tunnel src 100.0.21.1 dst 200.0.0.2 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 66614178645144574f73564166646f7a esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 66614178645144574f73564166646f7a esp
exec ipsec tunnel protect ipip21 sa-out 21 sa-in 100021 add
exec set interface ip address loop0 100.0.22.1/32
exec create ipip tunnel src 100.0.22.1 dst 200.0.0.2 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 76686d666862755a654b695841576576 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 76686d666862755a654b695841576576 esp
exec ipsec tunnel protect ipip22 sa-out 22 sa-in 100022 add
exec set interface ip address loop0 100.0.23.1/32
exec create ipip tunnel src 100.0.23.1 dst 200.0.0.2 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 6c57554d6b4868594f424a614d694376 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 6c57554d6b4868594f424a614d694376 esp
exec ipsec tunnel protect ipip23 sa-out 23 sa-in 100023 add
exec set interface ip address loop0 100.0.24.1/32
exec create ipip tunnel src 100.0.24.1 dst 200.0.0.2 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 72745945584b41744f447a716745434d esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 72745945584b41744f447a716745434d esp
exec ipsec tunnel protect ipip24 sa-out 24 sa-in 100024 add
exec set interface ip address loop0 100.0.25.1/32
exec create ipip tunnel src 100.0.25.1 dst 200.0.0.2 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 5a725a4774766f715461665646586159 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 5a725a4774766f715461665646586159 esp
exec ipsec tunnel protect ipip25 sa-out 25 sa-in 100025 add
exec set interface ip address loop0 100.0.26.1/32
exec create ipip tunnel src 100.0.26.1 dst 200.0.0.2 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 51547944765a62594541745273626379 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 51547944765a62594541745273626379 esp
exec ipsec tunnel protect ipip26 sa-out 26 sa-in 100026 add
exec set interface ip address loop0 100.0.27.1/32
exec create ipip tunnel src 100.0.27.1 dst 200.0.0.2 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 706f597178725076674f6e7273456a7a esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 706f597178725076674f6e7273456a7a esp
exec ipsec tunnel protect ipip27 sa-out 27 sa-in 100027 add
exec set interface ip address loop0 100.0.28.1/32
exec create ipip tunnel src 100.0.28.1 dst 200.0.0.2 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 4178756250494876556b4b7a6e425661 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 4178756250494876556b4b7a6e425661 esp
exec ipsec tunnel protect ipip28 sa-out 28 sa-in 100028 add
exec set interface ip address loop0 100.0.29.1/32
exec create ipip tunnel src 100.0.29.1 dst 200.0.0.2 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 7643474841704667484c6e67626a4871 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 7643474841704667484c6e67626a4871 esp
exec ipsec tunnel protect ipip29 sa-out 29 sa-in 100029 add
exec set interface ip address loop0 100.0.30.1/32
exec create ipip tunnel src 100.0.30.1 dst 200.0.0.2 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 4a595043794b6d50437757437773585a esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 4a595043794b6d50437757437773585a esp
exec ipsec tunnel protect ipip30 sa-out 30 sa-in 100030 add
exec set interface ip address loop0 100.0.31.1/32
exec create ipip tunnel src 100.0.31.1 dst 200.0.0.2 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 4765556c41476e7942757742706e6e57 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 4765556c41476e7942757742706e6e57 esp
exec ipsec tunnel protect ipip31 sa-out 31 sa-in 100031 add
exec set interface ip address loop0 100.0.32.1/32
exec create ipip tunnel src 100.0.32.1 dst 200.0.0.2 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 46414f62597344454b61637645477270 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 46414f62597344454b61637645477270 esp
exec ipsec tunnel protect ipip32 sa-out 32 sa-in 100032 add
exec set interface ip address loop0 100.0.33.1/32
exec create ipip tunnel src 100.0.33.1 dst 200.0.0.2 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 49664b77734651435046687950447072 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 49664b77734651435046687950447072 esp
exec ipsec tunnel protect ipip33 sa-out 33 sa-in 100033 add
exec set interface ip address loop0 100.0.34.1/32
exec create ipip tunnel src 100.0.34.1 dst 200.0.0.2 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 6865714b776379497046474751735a44 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 6865714b776379497046474751735a44 esp
exec ipsec tunnel protect ipip34 sa-out 34 sa-in 100034 add
exec set interface ip address loop0 100.0.35.1/32
exec create ipip tunnel src 100.0.35.1 dst 200.0.0.2 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 467247726179765043517a6d71565474 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 467247726179765043517a6d71565474 esp
exec ipsec tunnel protect ipip35 sa-out 35 sa-in 100035 add
exec set interface ip address loop0 100.0.36.1/32
exec create ipip tunnel src 100.0.36.1 dst 200.0.0.2 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 575162776c4e655041744c484848574d esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 575162776c4e655041744c484848574d esp
exec ipsec tunnel protect ipip36 sa-out 36 sa-in 100036 add
exec set interface ip address loop0 100.0.37.1/32
exec create ipip tunnel src 100.0.37.1 dst 200.0.0.2 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 444a7278646d6c5156635871736b7374 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 444a7278646d6c5156635871736b7374 esp
exec ipsec tunnel protect ipip37 sa-out 37 sa-in 100037 add
exec set interface ip address loop0 100.0.38.1/32
exec create ipip tunnel src 100.0.38.1 dst 200.0.0.2 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 725179614c6c7053594c4c6d4b534b77 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 725179614c6c7053594c4c6d4b534b77 esp
exec ipsec tunnel protect ipip38 sa-out 38 sa-in 100038 add
exec set interface ip address loop0 100.0.39.1/32
exec create ipip tunnel src 100.0.39.1 dst 200.0.0.2 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 79786c6a4c4a6279466749574f707a59 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 79786c6a4c4a6279466749574f707a59 esp
exec ipsec tunnel protect ipip39 sa-out 39 sa-in 100039 add
exec set interface unnumbered ipip0 use avf-0/3b/a/0
exec set interface state ipip0 up
exec ip route add 20.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use avf-0/3b/a/0
exec set interface state ipip1 up
exec ip route add 20.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use avf-0/3b/a/0
exec set interface state ipip2 up
exec ip route add 20.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use avf-0/3b/a/0
exec set interface state ipip3 up
exec ip route add 20.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use avf-0/3b/a/0
exec set interface state ipip4 up
exec ip route add 20.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use avf-0/3b/a/0
exec set interface state ipip5 up
exec ip route add 20.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use avf-0/3b/a/0
exec set interface state ipip6 up
exec ip route add 20.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use avf-0/3b/a/0
exec set interface state ipip7 up
exec ip route add 20.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use avf-0/3b/a/0
exec set interface state ipip8 up
exec ip route add 20.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use avf-0/3b/a/0
exec set interface state ipip9 up
exec ip route add 20.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use avf-0/3b/a/0
exec set interface state ipip10 up
exec ip route add 20.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use avf-0/3b/a/0
exec set interface state ipip11 up
exec ip route add 20.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use avf-0/3b/a/0
exec set interface state ipip12 up
exec ip route add 20.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use avf-0/3b/a/0
exec set interface state ipip13 up
exec ip route add 20.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use avf-0/3b/a/0
exec set interface state ipip14 up
exec ip route add 20.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use avf-0/3b/a/0
exec set interface state ipip15 up
exec ip route add 20.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use avf-0/3b/a/0
exec set interface state ipip16 up
exec ip route add 20.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use avf-0/3b/a/0
exec set interface state ipip17 up
exec ip route add 20.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use avf-0/3b/a/0
exec set interface state ipip18 up
exec ip route add 20.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use avf-0/3b/a/0
exec set interface state ipip19 up
exec ip route add 20.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use avf-0/3b/a/0
exec set interface state ipip20 up
exec ip route add 20.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use avf-0/3b/a/0
exec set interface state ipip21 up
exec ip route add 20.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use avf-0/3b/a/0
exec set interface state ipip22 up
exec ip route add 20.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use avf-0/3b/a/0
exec set interface state ipip23 up
exec ip route add 20.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use avf-0/3b/a/0
exec set interface state ipip24 up
exec ip route add 20.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use avf-0/3b/a/0
exec set interface state ipip25 up
exec ip route add 20.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use avf-0/3b/a/0
exec set interface state ipip26 up
exec ip route add 20.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use avf-0/3b/a/0
exec set interface state ipip27 up
exec ip route add 20.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use avf-0/3b/a/0
exec set interface state ipip28 up
exec ip route add 20.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use avf-0/3b/a/0
exec set interface state ipip29 up
exec ip route add 20.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use avf-0/3b/a/0
exec set interface state ipip30 up
exec ip route add 20.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use avf-0/3b/a/0
exec set interface state ipip31 up
exec ip route add 20.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use avf-0/3b/a/0
exec set interface state ipip32 up
exec ip route add 20.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use avf-0/3b/a/0
exec set interface state ipip33 up
exec ip route add 20.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use avf-0/3b/a/0
exec set interface state ipip34 up
exec ip route add 20.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use avf-0/3b/a/0
exec set interface state ipip35 up
exec ip route add 20.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use avf-0/3b/a/0
exec set interface state ipip36 up
exec ip route add 20.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use avf-0/3b/a/0
exec set interface state ipip37 up
exec ip route add 20.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use avf-0/3b/a/0
exec set interface state ipip38 up
exec ip route add 20.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use avf-0/3b/a/0
exec set interface state ipip39 up
exec ip route add 20.0.0.39/32 via ipip39
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec set interface ip address avf-0/3b/a/0 200.0.0.2/24.0
exec create ipip tunnel src 200.0.0.2 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 6d6b62635675675445745649786b5067 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 6d6b62635675675445745649786b5067 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 577364676f516253516b657948505a7a esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 577364676f516253516b657948505a7a esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 6850444b5658576c4e4a6b6b67445059 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 6850444b5658576c4e4a6b6b67445059 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 594f61715554524e434e786e75564a42 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 594f61715554524e434e786e75564a42 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 4572587766466e464874736d67584161 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 4572587766466e464874736d67584161 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 465a426863584363614f62756258514f esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 465a426863584363614f62756258514f esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 4e74706f61436f714870456f64434b70 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 4e74706f61436f714870456f64434b70 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 706b4a42494f6e62646c4c6743794b63 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 706b4a42494f6e62646c4c6743794b63 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 4756464c644278746b51635572704d6c esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 4756464c644278746b51635572704d6c esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 76646b49646958666f614b42666c7570 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 76646b49646958666f614b42666c7570 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 646368414f73466d796d4e6d69794f6b esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 646368414f73466d796d4e6d69794f6b esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 766e6d655642526c6d4244575967794f esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 766e6d655642526c6d4244575967794f esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 6e5a464b656747696f6442474472484b esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 6e5a464b656747696f6442474472484b esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 7451454e46486a7550466c566a49497a esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 7451454e46486a7550466c566a49497a esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 5a7a554b6c4e516c454669714e6a7359 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 5a7a554b6c4e516c454669714e6a7359 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 42434a74467562434a544f61766e4d4c esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 42434a74467562434a544f61766e4d4c esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 7261694d77614b44696c41546e545348 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 7261694d77614b44696c41546e545348 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 57654842616d664c464d434d52596348 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 57654842616d664c464d434d52596348 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 475778784878435168546942464e746c esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 475778784878435168546942464e746c esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 66707479535748656b46744179596e77 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 66707479535748656b46744179596e77 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 547741777064776565467a70695a5546 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 547741777064776565467a70695a5546 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 66614178645144574f73564166646f7a esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 66614178645144574f73564166646f7a esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 76686d666862755a654b695841576576 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 76686d666862755a654b695841576576 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 6c57554d6b4868594f424a614d694376 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 6c57554d6b4868594f424a614d694376 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 72745945584b41744f447a716745434d esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 72745945584b41744f447a716745434d esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 5a725a4774766f715461665646586159 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 5a725a4774766f715461665646586159 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 51547944765a62594541745273626379 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 51547944765a62594541745273626379 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 706f597178725076674f6e7273456a7a esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 706f597178725076674f6e7273456a7a esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 4178756250494876556b4b7a6e425661 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 4178756250494876556b4b7a6e425661 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 7643474841704667484c6e67626a4871 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 7643474841704667484c6e67626a4871 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 4a595043794b6d50437757437773585a esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 4a595043794b6d50437757437773585a esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 4765556c41476e7942757742706e6e57 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 4765556c41476e7942757742706e6e57 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 46414f62597344454b61637645477270 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 46414f62597344454b61637645477270 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 49664b77734651435046687950447072 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 49664b77734651435046687950447072 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 6865714b776379497046474751735a44 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 6865714b776379497046474751735a44 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 467247726179765043517a6d71565474 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 467247726179765043517a6d71565474 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 575162776c4e655041744c484848574d esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 575162776c4e655041744c484848574d esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 444a7278646d6c5156635871736b7374 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 444a7278646d6c5156635871736b7374 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 725179614c6c7053594c4c6d4b534b77 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 725179614c6c7053594c4c6d4b534b77 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 79786c6a4c4a6279466749574f707a59 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 79786c6a4c4a6279466749574f707a59 esp
exec ipsec tunnel protect ipip39 sa-out 100039 sa-in 39 add
exec ip route add 100.0.0.1/8 via 200.0.0.1 avf-0/3b/a/0
exec set interface unnumbered ipip0 use avf-0/3b/a/0
exec set interface state ipip0 up
exec ip route add 10.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use avf-0/3b/a/0
exec set interface state ipip1 up
exec ip route add 10.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use avf-0/3b/a/0
exec set interface state ipip2 up
exec ip route add 10.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use avf-0/3b/a/0
exec set interface state ipip3 up
exec ip route add 10.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use avf-0/3b/a/0
exec set interface state ipip4 up
exec ip route add 10.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use avf-0/3b/a/0
exec set interface state ipip5 up
exec ip route add 10.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use avf-0/3b/a/0
exec set interface state ipip6 up
exec ip route add 10.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use avf-0/3b/a/0
exec set interface state ipip7 up
exec ip route add 10.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use avf-0/3b/a/0
exec set interface state ipip8 up
exec ip route add 10.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use avf-0/3b/a/0
exec set interface state ipip9 up
exec ip route add 10.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use avf-0/3b/a/0
exec set interface state ipip10 up
exec ip route add 10.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use avf-0/3b/a/0
exec set interface state ipip11 up
exec ip route add 10.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use avf-0/3b/a/0
exec set interface state ipip12 up
exec ip route add 10.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use avf-0/3b/a/0
exec set interface state ipip13 up
exec ip route add 10.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use avf-0/3b/a/0
exec set interface state ipip14 up
exec ip route add 10.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use avf-0/3b/a/0
exec set interface state ipip15 up
exec ip route add 10.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use avf-0/3b/a/0
exec set interface state ipip16 up
exec ip route add 10.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use avf-0/3b/a/0
exec set interface state ipip17 up
exec ip route add 10.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use avf-0/3b/a/0
exec set interface state ipip18 up
exec ip route add 10.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use avf-0/3b/a/0
exec set interface state ipip19 up
exec ip route add 10.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use avf-0/3b/a/0
exec set interface state ipip20 up
exec ip route add 10.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use avf-0/3b/a/0
exec set interface state ipip21 up
exec ip route add 10.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use avf-0/3b/a/0
exec set interface state ipip22 up
exec ip route add 10.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use avf-0/3b/a/0
exec set interface state ipip23 up
exec ip route add 10.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use avf-0/3b/a/0
exec set interface state ipip24 up
exec ip route add 10.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use avf-0/3b/a/0
exec set interface state ipip25 up
exec ip route add 10.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use avf-0/3b/a/0
exec set interface state ipip26 up
exec ip route add 10.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use avf-0/3b/a/0
exec set interface state ipip27 up
exec ip route add 10.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use avf-0/3b/a/0
exec set interface state ipip28 up
exec ip route add 10.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use avf-0/3b/a/0
exec set interface state ipip29 up
exec ip route add 10.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use avf-0/3b/a/0
exec set interface state ipip30 up
exec ip route add 10.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use avf-0/3b/a/0
exec set interface state ipip31 up
exec ip route add 10.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use avf-0/3b/a/0
exec set interface state ipip32 up
exec ip route add 10.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use avf-0/3b/a/0
exec set interface state ipip33 up
exec ip route add 10.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use avf-0/3b/a/0
exec set interface state ipip34 up
exec ip route add 10.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use avf-0/3b/a/0
exec set interface state ipip35 up
exec ip route add 10.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use avf-0/3b/a/0
exec set interface state ipip36 up
exec ip route add 10.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use avf-0/3b/a/0
exec set interface state ipip37 up
exec ip route add 10.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use avf-0/3b/a/0
exec set interface state ipip38 up
exec ip route add 10.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use avf-0/3b/a/0
exec set interface state ipip39 up
exec ip route add 10.0.0.39/32 via ipip39

25ge2p1xxv710-avf-ethip4ipsec40tnlsw-ip4base-int-aes256gcm-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-avf-ethip4ipsec40tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec create loopback interface
exec set interface state loop0 up
exec set interface ip address avf-0/3b/a/0 200.0.0.1/24
exec set ip neighbor avf-0/3b/a/0 200.0.0.2 3c:fe:bd:f8:fd:00 static
exec set interface ip address loop0 100.0.0.1/32
exec create ipip tunnel src 100.0.0.1 dst 200.0.0.2 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 6262486a5167584a4e434d4959636e576c556d506b4275634c4e555371485651 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 6262486a5167584a4e434d4959636e576c556d506b4275634c4e555371485651 esp
exec ipsec tunnel protect ipip0 sa-out 0 sa-in 100000 add
exec set interface ip address loop0 100.0.1.1/32
exec create ipip tunnel src 100.0.1.1 dst 200.0.0.2 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 76786d5a446c794576646b7270794452746b7866786c6b757067527346744f53 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 76786d5a446c794576646b7270794452746b7866786c6b757067527346744f53 esp
exec ipsec tunnel protect ipip1 sa-out 1 sa-in 100001 add
exec set interface ip address loop0 100.0.2.1/32
exec create ipip tunnel src 100.0.2.1 dst 200.0.0.2 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 626b576c454c75437a59744e7252456646577777524d536c6866534979764a64 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 626b576c454c75437a59744e7252456646577777524d536c6866534979764a64 esp
exec ipsec tunnel protect ipip2 sa-out 2 sa-in 100002 add
exec set interface ip address loop0 100.0.3.1/32
exec create ipip tunnel src 100.0.3.1 dst 200.0.0.2 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 6d674354427952707167776771617771746f6a7844496e49796265667a6e4e64 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 6d674354427952707167776771617771746f6a7844496e49796265667a6e4e64 esp
exec ipsec tunnel protect ipip3 sa-out 3 sa-in 100003 add
exec set interface ip address loop0 100.0.4.1/32
exec create ipip tunnel src 100.0.4.1 dst 200.0.0.2 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 426c5077426d505a4c6b596551715861446f797a764469627a537a624c615579 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 426c5077426d505a4c6b596551715861446f797a764469627a537a624c615579 esp
exec ipsec tunnel protect ipip4 sa-out 4 sa-in 100004 add
exec set interface ip address loop0 100.0.5.1/32
exec create ipip tunnel src 100.0.5.1 dst 200.0.0.2 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 636158797a4c7a6f516d677668545553586c416e56685257615879664c764258 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 636158797a4c7a6f516d677668545553586c416e56685257615879664c764258 esp
exec ipsec tunnel protect ipip5 sa-out 5 sa-in 100005 add
exec set interface ip address loop0 100.0.6.1/32
exec create ipip tunnel src 100.0.6.1 dst 200.0.0.2 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 69437977546163495a4b534b76574846637a4e4e697544746349426f474b6174 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 69437977546163495a4b534b76574846637a4e4e697544746349426f474b6174 esp
exec ipsec tunnel protect ipip6 sa-out 6 sa-in 100006 add
exec set interface ip address loop0 100.0.7.1/32
exec create ipip tunnel src 100.0.7.1 dst 200.0.0.2 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 744c706b546e64416d547869744b4846556873524a54767a59526b6e76614749 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 744c706b546e64416d547869744b4846556873524a54767a59526b6e76614749 esp
exec ipsec tunnel protect ipip7 sa-out 7 sa-in 100007 add
exec set interface ip address loop0 100.0.8.1/32
exec create ipip tunnel src 100.0.8.1 dst 200.0.0.2 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 586f75746266736263506f464e6d664258594b577a5072527371734c6e516857 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 586f75746266736263506f464e6d664258594b577a5072527371734c6e516857 esp
exec ipsec tunnel protect ipip8 sa-out 8 sa-in 100008 add
exec set interface ip address loop0 100.0.9.1/32
exec create ipip tunnel src 100.0.9.1 dst 200.0.0.2 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 6d4376584d657674694949476f6843624e4849467659666c4e53537074665466 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 6d4376584d657674694949476f6843624e4849467659666c4e53537074665466 esp
exec ipsec tunnel protect ipip9 sa-out 9 sa-in 100009 add
exec set interface ip address loop0 100.0.10.1/32
exec create ipip tunnel src 100.0.10.1 dst 200.0.0.2 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 544e5a776c4a687942566d436179724965686646546d707a4146484e45654350 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 544e5a776c4a687942566d436179724965686646546d707a4146484e45654350 esp
exec ipsec tunnel protect ipip10 sa-out 10 sa-in 100010 add
exec set interface ip address loop0 100.0.11.1/32
exec create ipip tunnel src 100.0.11.1 dst 200.0.0.2 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 65434c564f794342446b72656f7a574c7a41665a6944707348454f7350466a58 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 65434c564f794342446b72656f7a574c7a41665a6944707348454f7350466a58 esp
exec ipsec tunnel protect ipip11 sa-out 11 sa-in 100011 add
exec set interface ip address loop0 100.0.12.1/32
exec create ipip tunnel src 100.0.12.1 dst 200.0.0.2 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 4f664759566957695158747261726751704b5a696855514f4c4a73506c62724a esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 4f664759566957695158747261726751704b5a696855514f4c4a73506c62724a esp
exec ipsec tunnel protect ipip12 sa-out 12 sa-in 100012 add
exec set interface ip address loop0 100.0.13.1/32
exec create ipip tunnel src 100.0.13.1 dst 200.0.0.2 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 68567a6b51755646706c44504b4e516d7871654b516a487a684e724645696954 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 68567a6b51755646706c44504b4e516d7871654b516a487a684e724645696954 esp
exec ipsec tunnel protect ipip13 sa-out 13 sa-in 100013 add
exec set interface ip address loop0 100.0.14.1/32
exec create ipip tunnel src 100.0.14.1 dst 200.0.0.2 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 48686a5a614643526f4c5064564b584367724449615469475a6971754c4f4673 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 48686a5a614643526f4c5064564b584367724449615469475a6971754c4f4673 esp
exec ipsec tunnel protect ipip14 sa-out 14 sa-in 100014 add
exec set interface ip address loop0 100.0.15.1/32
exec create ipip tunnel src 100.0.15.1 dst 200.0.0.2 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 6754646f6b7377446151735159467462677651426e49726a776f444377515747 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 6754646f6b7377446151735159467462677651426e49726a776f444377515747 esp
exec ipsec tunnel protect ipip15 sa-out 15 sa-in 100015 add
exec set interface ip address loop0 100.0.16.1/32
exec create ipip tunnel src 100.0.16.1 dst 200.0.0.2 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 715356756b566957774669715a4b654a7341576f454c59527a4978456c70454c esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 715356756b566957774669715a4b654a7341576f454c59527a4978456c70454c esp
exec ipsec tunnel protect ipip16 sa-out 16 sa-in 100016 add
exec set interface ip address loop0 100.0.17.1/32
exec create ipip tunnel src 100.0.17.1 dst 200.0.0.2 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 784c6a4b794567727a54514e456b777843675348416642444d7a7156774f5472 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 784c6a4b794567727a54514e456b777843675348416642444d7a7156774f5472 esp
exec ipsec tunnel protect ipip17 sa-out 17 sa-in 100017 add
exec set interface ip address loop0 100.0.18.1/32
exec create ipip tunnel src 100.0.18.1 dst 200.0.0.2 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 4a496949575a6b787557756b6f447a6e425254626c53714e65556c474c674c48 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 4a496949575a6b787557756b6f447a6e425254626c53714e65556c474c674c48 esp
exec ipsec tunnel protect ipip18 sa-out 18 sa-in 100018 add
exec set interface ip address loop0 100.0.19.1/32
exec create ipip tunnel src 100.0.19.1 dst 200.0.0.2 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 744f4f4f735359734c674b62706c6b74544f6151624973594878754a695a5965 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 744f4f4f735359734c674b62706c6b74544f6151624973594878754a695a5965 esp
exec ipsec tunnel protect ipip19 sa-out 19 sa-in 100019 add
exec set interface ip address loop0 100.0.20.1/32
exec create ipip tunnel src 100.0.20.1 dst 200.0.0.2 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 664f4471687a61744168476e7944624b77596f4f50614a65705453704e574f49 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 664f4471687a61744168476e7944624b77596f4f50614a65705453704e574f49 esp
exec ipsec tunnel protect ipip20 sa-out 20 sa-in 100020 add
exec set interface ip address loop0 100.0.21.1/32
exec create ipip tunnel src 100.0.21.1 dst 200.0.0.2 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 714c74615363595a4f61474a644b547147766d706d416f5054716f646d777361 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 714c74615363595a4f61474a644b547147766d706d416f5054716f646d777361 esp
exec ipsec tunnel protect ipip21 sa-out 21 sa-in 100021 add
exec set interface ip address loop0 100.0.22.1/32
exec create ipip tunnel src 100.0.22.1 dst 200.0.0.2 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 6370494d67624b7057626559737761756a53614a56745973577a627743514476 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 6370494d67624b7057626559737761756a53614a56745973577a627743514476 esp
exec ipsec tunnel protect ipip22 sa-out 22 sa-in 100022 add
exec set interface ip address loop0 100.0.23.1/32
exec create ipip tunnel src 100.0.23.1 dst 200.0.0.2 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 51557542577743527a59686d7547664e4b447141664a764f53574b6643707743 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 51557542577743527a59686d7547664e4b447141664a764f53574b6643707743 esp
exec ipsec tunnel protect ipip23 sa-out 23 sa-in 100023 add
exec set interface ip address loop0 100.0.24.1/32
exec create ipip tunnel src 100.0.24.1 dst 200.0.0.2 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 7a767057526941495146414d566a645156487549754c656e496f7a6a5571726f esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 7a767057526941495146414d566a645156487549754c656e496f7a6a5571726f esp
exec ipsec tunnel protect ipip24 sa-out 24 sa-in 100024 add
exec set interface ip address loop0 100.0.25.1/32
exec create ipip tunnel src 100.0.25.1 dst 200.0.0.2 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 5568417573634a436d50654a667a4f43476467476e4f6b65686d747258774e57 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 5568417573634a436d50654a667a4f43476467476e4f6b65686d747258774e57 esp
exec ipsec tunnel protect ipip25 sa-out 25 sa-in 100025 add
exec set interface ip address loop0 100.0.26.1/32
exec create ipip tunnel src 100.0.26.1 dst 200.0.0.2 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 7276624c6e586c6158424e6155765965416462784170725852754249486e7345 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 7276624c6e586c6158424e6155765965416462784170725852754249486e7345 esp
exec ipsec tunnel protect ipip26 sa-out 26 sa-in 100026 add
exec set interface ip address loop0 100.0.27.1/32
exec create ipip tunnel src 100.0.27.1 dst 200.0.0.2 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 72584472634e5751556746647652796c417970494c514267436356565455696a esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 72584472634e5751556746647652796c417970494c514267436356565455696a esp
exec ipsec tunnel protect ipip27 sa-out 27 sa-in 100027 add
exec set interface ip address loop0 100.0.28.1/32
exec create ipip tunnel src 100.0.28.1 dst 200.0.0.2 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 5557414b414f58564c6774447146544652526a677756465a434d754159516c6c esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 5557414b414f58564c6774447146544652526a677756465a434d754159516c6c esp
exec ipsec tunnel protect ipip28 sa-out 28 sa-in 100028 add
exec set interface ip address loop0 100.0.29.1/32
exec create ipip tunnel src 100.0.29.1 dst 200.0.0.2 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 446b6d70634b4a65484f634f777073744647756d615a4874726e686d78544c55 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 446b6d70634b4a65484f634f777073744647756d615a4874726e686d78544c55 esp
exec ipsec tunnel protect ipip29 sa-out 29 sa-in 100029 add
exec set interface ip address loop0 100.0.30.1/32
exec create ipip tunnel src 100.0.30.1 dst 200.0.0.2 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 4f747a64537471734e6a4e5863436a73546b44594343666168555245754a516d esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 4f747a64537471734e6a4e5863436a73546b44594343666168555245754a516d esp
exec ipsec tunnel protect ipip30 sa-out 30 sa-in 100030 add
exec set interface ip address loop0 100.0.31.1/32
exec create ipip tunnel src 100.0.31.1 dst 200.0.0.2 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 4572696557536a65724f735575626c4544704d6b4d48744c494c5945646c4659 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 4572696557536a65724f735575626c4544704d6b4d48744c494c5945646c4659 esp
exec ipsec tunnel protect ipip31 sa-out 31 sa-in 100031 add
exec set interface ip address loop0 100.0.32.1/32
exec create ipip tunnel src 100.0.32.1 dst 200.0.0.2 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 464157614d7951714f436a627673416f614b5542595a73567374446777746841 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 464157614d7951714f436a627673416f614b5542595a73567374446777746841 esp
exec ipsec tunnel protect ipip32 sa-out 32 sa-in 100032 add
exec set interface ip address loop0 100.0.33.1/32
exec create ipip tunnel src 100.0.33.1 dst 200.0.0.2 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 477a70784f7a7546586c6a4a69715942556963565958676b7a68435569526a72 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 477a70784f7a7546586c6a4a69715942556963565958676b7a68435569526a72 esp
exec ipsec tunnel protect ipip33 sa-out 33 sa-in 100033 add
exec set interface ip address loop0 100.0.34.1/32
exec create ipip tunnel src 100.0.34.1 dst 200.0.0.2 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 4147536b6c4c63726671446f555747626d56705548635a475574614154625674 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 4147536b6c4c63726671446f555747626d56705548635a475574614154625674 esp
exec ipsec tunnel protect ipip34 sa-out 34 sa-in 100034 add
exec set interface ip address loop0 100.0.35.1/32
exec create ipip tunnel src 100.0.35.1 dst 200.0.0.2 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 476c764a43687958686e576a456f50646a71785375546c4a586b72746a755457 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 476c764a43687958686e576a456f50646a71785375546c4a586b72746a755457 esp
exec ipsec tunnel protect ipip35 sa-out 35 sa-in 100035 add
exec set interface ip address loop0 100.0.36.1/32
exec create ipip tunnel src 100.0.36.1 dst 200.0.0.2 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 7249676b6b59734155436149445967786f6d5863656c4e677264586a74557a49 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 7249676b6b59734155436149445967786f6d5863656c4e677264586a74557a49 esp
exec ipsec tunnel protect ipip36 sa-out 36 sa-in 100036 add
exec set interface ip address loop0 100.0.37.1/32
exec create ipip tunnel src 100.0.37.1 dst 200.0.0.2 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 534c51646854796b75785055636277564d685674786c616a6c5343784766526c esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 534c51646854796b75785055636277564d685674786c616a6c5343784766526c esp
exec ipsec tunnel protect ipip37 sa-out 37 sa-in 100037 add
exec set interface ip address loop0 100.0.38.1/32
exec create ipip tunnel src 100.0.38.1 dst 200.0.0.2 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 766c4771616b626f6c514d48596a6b7a4d786a424a75774f68796f696658474c esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 766c4771616b626f6c514d48596a6b7a4d786a424a75774f68796f696658474c esp
exec ipsec tunnel protect ipip38 sa-out 38 sa-in 100038 add
exec set interface ip address loop0 100.0.39.1/32
exec create ipip tunnel src 100.0.39.1 dst 200.0.0.2 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 664d616c4c494965556972566e6d6d577169426a6873434a6943717875624551 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 664d616c4c494965556972566e6d6d577169426a6873434a6943717875624551 esp
exec ipsec tunnel protect ipip39 sa-out 39 sa-in 100039 add
exec set interface unnumbered ipip0 use avf-0/3b/a/0
exec set interface state ipip0 up
exec ip route add 20.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use avf-0/3b/a/0
exec set interface state ipip1 up
exec ip route add 20.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use avf-0/3b/a/0
exec set interface state ipip2 up
exec ip route add 20.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use avf-0/3b/a/0
exec set interface state ipip3 up
exec ip route add 20.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use avf-0/3b/a/0
exec set interface state ipip4 up
exec ip route add 20.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use avf-0/3b/a/0
exec set interface state ipip5 up
exec ip route add 20.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use avf-0/3b/a/0
exec set interface state ipip6 up
exec ip route add 20.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use avf-0/3b/a/0
exec set interface state ipip7 up
exec ip route add 20.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use avf-0/3b/a/0
exec set interface state ipip8 up
exec ip route add 20.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use avf-0/3b/a/0
exec set interface state ipip9 up
exec ip route add 20.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use avf-0/3b/a/0
exec set interface state ipip10 up
exec ip route add 20.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use avf-0/3b/a/0
exec set interface state ipip11 up
exec ip route add 20.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use avf-0/3b/a/0
exec set interface state ipip12 up
exec ip route add 20.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use avf-0/3b/a/0
exec set interface state ipip13 up
exec ip route add 20.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use avf-0/3b/a/0
exec set interface state ipip14 up
exec ip route add 20.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use avf-0/3b/a/0
exec set interface state ipip15 up
exec ip route add 20.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use avf-0/3b/a/0
exec set interface state ipip16 up
exec ip route add 20.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use avf-0/3b/a/0
exec set interface state ipip17 up
exec ip route add 20.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use avf-0/3b/a/0
exec set interface state ipip18 up
exec ip route add 20.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use avf-0/3b/a/0
exec set interface state ipip19 up
exec ip route add 20.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use avf-0/3b/a/0
exec set interface state ipip20 up
exec ip route add 20.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use avf-0/3b/a/0
exec set interface state ipip21 up
exec ip route add 20.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use avf-0/3b/a/0
exec set interface state ipip22 up
exec ip route add 20.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use avf-0/3b/a/0
exec set interface state ipip23 up
exec ip route add 20.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use avf-0/3b/a/0
exec set interface state ipip24 up
exec ip route add 20.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use avf-0/3b/a/0
exec set interface state ipip25 up
exec ip route add 20.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use avf-0/3b/a/0
exec set interface state ipip26 up
exec ip route add 20.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use avf-0/3b/a/0
exec set interface state ipip27 up
exec ip route add 20.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use avf-0/3b/a/0
exec set interface state ipip28 up
exec ip route add 20.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use avf-0/3b/a/0
exec set interface state ipip29 up
exec ip route add 20.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use avf-0/3b/a/0
exec set interface state ipip30 up
exec ip route add 20.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use avf-0/3b/a/0
exec set interface state ipip31 up
exec ip route add 20.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use avf-0/3b/a/0
exec set interface state ipip32 up
exec ip route add 20.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use avf-0/3b/a/0
exec set interface state ipip33 up
exec ip route add 20.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use avf-0/3b/a/0
exec set interface state ipip34 up
exec ip route add 20.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use avf-0/3b/a/0
exec set interface state ipip35 up
exec ip route add 20.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use avf-0/3b/a/0
exec set interface state ipip36 up
exec ip route add 20.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use avf-0/3b/a/0
exec set interface state ipip37 up
exec ip route add 20.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use avf-0/3b/a/0
exec set interface state ipip38 up
exec ip route add 20.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use avf-0/3b/a/0
exec set interface state ipip39 up
exec ip route add 20.0.0.39/32 via ipip39
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec set interface ip address avf-0/3b/a/0 200.0.0.2/24.0
exec create ipip tunnel src 200.0.0.2 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 6262486a5167584a4e434d4959636e576c556d506b4275634c4e555371485651 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 6262486a5167584a4e434d4959636e576c556d506b4275634c4e555371485651 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 76786d5a446c794576646b7270794452746b7866786c6b757067527346744f53 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 76786d5a446c794576646b7270794452746b7866786c6b757067527346744f53 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 626b576c454c75437a59744e7252456646577777524d536c6866534979764a64 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 626b576c454c75437a59744e7252456646577777524d536c6866534979764a64 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 6d674354427952707167776771617771746f6a7844496e49796265667a6e4e64 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 6d674354427952707167776771617771746f6a7844496e49796265667a6e4e64 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 426c5077426d505a4c6b596551715861446f797a764469627a537a624c615579 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 426c5077426d505a4c6b596551715861446f797a764469627a537a624c615579 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 636158797a4c7a6f516d677668545553586c416e56685257615879664c764258 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 636158797a4c7a6f516d677668545553586c416e56685257615879664c764258 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 69437977546163495a4b534b76574846637a4e4e697544746349426f474b6174 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 69437977546163495a4b534b76574846637a4e4e697544746349426f474b6174 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 744c706b546e64416d547869744b4846556873524a54767a59526b6e76614749 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 744c706b546e64416d547869744b4846556873524a54767a59526b6e76614749 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 586f75746266736263506f464e6d664258594b577a5072527371734c6e516857 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 586f75746266736263506f464e6d664258594b577a5072527371734c6e516857 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 6d4376584d657674694949476f6843624e4849467659666c4e53537074665466 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 6d4376584d657674694949476f6843624e4849467659666c4e53537074665466 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 544e5a776c4a687942566d436179724965686646546d707a4146484e45654350 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 544e5a776c4a687942566d436179724965686646546d707a4146484e45654350 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 65434c564f794342446b72656f7a574c7a41665a6944707348454f7350466a58 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 65434c564f794342446b72656f7a574c7a41665a6944707348454f7350466a58 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 4f664759566957695158747261726751704b5a696855514f4c4a73506c62724a esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 4f664759566957695158747261726751704b5a696855514f4c4a73506c62724a esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 68567a6b51755646706c44504b4e516d7871654b516a487a684e724645696954 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 68567a6b51755646706c44504b4e516d7871654b516a487a684e724645696954 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 48686a5a614643526f4c5064564b584367724449615469475a6971754c4f4673 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 48686a5a614643526f4c5064564b584367724449615469475a6971754c4f4673 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 6754646f6b7377446151735159467462677651426e49726a776f444377515747 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 6754646f6b7377446151735159467462677651426e49726a776f444377515747 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 715356756b566957774669715a4b654a7341576f454c59527a4978456c70454c esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 715356756b566957774669715a4b654a7341576f454c59527a4978456c70454c esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 784c6a4b794567727a54514e456b777843675348416642444d7a7156774f5472 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 784c6a4b794567727a54514e456b777843675348416642444d7a7156774f5472 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 4a496949575a6b787557756b6f447a6e425254626c53714e65556c474c674c48 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 4a496949575a6b787557756b6f447a6e425254626c53714e65556c474c674c48 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 744f4f4f735359734c674b62706c6b74544f6151624973594878754a695a5965 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 744f4f4f735359734c674b62706c6b74544f6151624973594878754a695a5965 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 664f4471687a61744168476e7944624b77596f4f50614a65705453704e574f49 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 664f4471687a61744168476e7944624b77596f4f50614a65705453704e574f49 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 714c74615363595a4f61474a644b547147766d706d416f5054716f646d777361 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 714c74615363595a4f61474a644b547147766d706d416f5054716f646d777361 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 6370494d67624b7057626559737761756a53614a56745973577a627743514476 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 6370494d67624b7057626559737761756a53614a56745973577a627743514476 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 51557542577743527a59686d7547664e4b447141664a764f53574b6643707743 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 51557542577743527a59686d7547664e4b447141664a764f53574b6643707743 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 7a767057526941495146414d566a645156487549754c656e496f7a6a5571726f esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 7a767057526941495146414d566a645156487549754c656e496f7a6a5571726f esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 5568417573634a436d50654a667a4f43476467476e4f6b65686d747258774e57 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 5568417573634a436d50654a667a4f43476467476e4f6b65686d747258774e57 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 7276624c6e586c6158424e6155765965416462784170725852754249486e7345 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 7276624c6e586c6158424e6155765965416462784170725852754249486e7345 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 72584472634e5751556746647652796c417970494c514267436356565455696a esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 72584472634e5751556746647652796c417970494c514267436356565455696a esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 5557414b414f58564c6774447146544652526a677756465a434d754159516c6c esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 5557414b414f58564c6774447146544652526a677756465a434d754159516c6c esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 446b6d70634b4a65484f634f777073744647756d615a4874726e686d78544c55 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 446b6d70634b4a65484f634f777073744647756d615a4874726e686d78544c55 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 4f747a64537471734e6a4e5863436a73546b44594343666168555245754a516d esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 4f747a64537471734e6a4e5863436a73546b44594343666168555245754a516d esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 4572696557536a65724f735575626c4544704d6b4d48744c494c5945646c4659 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 4572696557536a65724f735575626c4544704d6b4d48744c494c5945646c4659 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 464157614d7951714f436a627673416f614b5542595a73567374446777746841 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 464157614d7951714f436a627673416f614b5542595a73567374446777746841 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 477a70784f7a7546586c6a4a69715942556963565958676b7a68435569526a72 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 477a70784f7a7546586c6a4a69715942556963565958676b7a68435569526a72 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 4147536b6c4c63726671446f555747626d56705548635a475574614154625674 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 4147536b6c4c63726671446f555747626d56705548635a475574614154625674 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 476c764a43687958686e576a456f50646a71785375546c4a586b72746a755457 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 476c764a43687958686e576a456f50646a71785375546c4a586b72746a755457 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 7249676b6b59734155436149445967786f6d5863656c4e677264586a74557a49 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 7249676b6b59734155436149445967786f6d5863656c4e677264586a74557a49 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 534c51646854796b75785055636277564d685674786c616a6c5343784766526c esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 534c51646854796b75785055636277564d685674786c616a6c5343784766526c esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 766c4771616b626f6c514d48596a6b7a4d786a424a75774f68796f696658474c esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 766c4771616b626f6c514d48596a6b7a4d786a424a75774f68796f696658474c esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 664d616c4c494965556972566e6d6d577169426a6873434a6943717875624551 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 664d616c4c494965556972566e6d6d577169426a6873434a6943717875624551 esp
exec ipsec tunnel protect ipip39 sa-out 100039 sa-in 39 add
exec ip route add 100.0.0.1/8 via 200.0.0.1 avf-0/3b/a/0
exec set interface unnumbered ipip0 use avf-0/3b/a/0
exec set interface state ipip0 up
exec ip route add 10.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use avf-0/3b/a/0
exec set interface state ipip1 up
exec ip route add 10.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use avf-0/3b/a/0
exec set interface state ipip2 up
exec ip route add 10.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use avf-0/3b/a/0
exec set interface state ipip3 up
exec ip route add 10.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use avf-0/3b/a/0
exec set interface state ipip4 up
exec ip route add 10.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use avf-0/3b/a/0
exec set interface state ipip5 up
exec ip route add 10.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use avf-0/3b/a/0
exec set interface state ipip6 up
exec ip route add 10.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use avf-0/3b/a/0
exec set interface state ipip7 up
exec ip route add 10.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use avf-0/3b/a/0
exec set interface state ipip8 up
exec ip route add 10.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use avf-0/3b/a/0
exec set interface state ipip9 up
exec ip route add 10.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use avf-0/3b/a/0
exec set interface state ipip10 up
exec ip route add 10.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use avf-0/3b/a/0
exec set interface state ipip11 up
exec ip route add 10.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use avf-0/3b/a/0
exec set interface state ipip12 up
exec ip route add 10.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use avf-0/3b/a/0
exec set interface state ipip13 up
exec ip route add 10.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use avf-0/3b/a/0
exec set interface state ipip14 up
exec ip route add 10.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use avf-0/3b/a/0
exec set interface state ipip15 up
exec ip route add 10.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use avf-0/3b/a/0
exec set interface state ipip16 up
exec ip route add 10.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use avf-0/3b/a/0
exec set interface state ipip17 up
exec ip route add 10.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use avf-0/3b/a/0
exec set interface state ipip18 up
exec ip route add 10.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use avf-0/3b/a/0
exec set interface state ipip19 up
exec ip route add 10.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use avf-0/3b/a/0
exec set interface state ipip20 up
exec ip route add 10.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use avf-0/3b/a/0
exec set interface state ipip21 up
exec ip route add 10.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use avf-0/3b/a/0
exec set interface state ipip22 up
exec ip route add 10.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use avf-0/3b/a/0
exec set interface state ipip23 up
exec ip route add 10.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use avf-0/3b/a/0
exec set interface state ipip24 up
exec ip route add 10.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use avf-0/3b/a/0
exec set interface state ipip25 up
exec ip route add 10.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use avf-0/3b/a/0
exec set interface state ipip26 up
exec ip route add 10.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use avf-0/3b/a/0
exec set interface state ipip27 up
exec ip route add 10.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use avf-0/3b/a/0
exec set interface state ipip28 up
exec ip route add 10.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use avf-0/3b/a/0
exec set interface state ipip29 up
exec ip route add 10.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use avf-0/3b/a/0
exec set interface state ipip30 up
exec ip route add 10.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use avf-0/3b/a/0
exec set interface state ipip31 up
exec ip route add 10.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use avf-0/3b/a/0
exec set interface state ipip32 up
exec ip route add 10.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use avf-0/3b/a/0
exec set interface state ipip33 up
exec ip route add 10.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use avf-0/3b/a/0
exec set interface state ipip34 up
exec ip route add 10.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use avf-0/3b/a/0
exec set interface state ipip35 up
exec ip route add 10.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use avf-0/3b/a/0
exec set interface state ipip36 up
exec ip route add 10.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use avf-0/3b/a/0
exec set interface state ipip37 up
exec ip route add 10.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use avf-0/3b/a/0
exec set interface state ipip38 up
exec ip route add 10.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use avf-0/3b/a/0
exec set interface state ipip39 up
exec ip route add 10.0.0.39/32 via ipip39

 64b-4t2c-avf-ethip4ipsec40tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec create loopback interface
exec set interface state loop0 up
exec set interface ip address avf-0/3b/a/0 200.0.0.1/24
exec set ip neighbor avf-0/3b/a/0 200.0.0.2 3c:fe:bd:f8:fd:00 static
exec set interface ip address loop0 100.0.0.1/32
exec create ipip tunnel src 100.0.0.1 dst 200.0.0.2 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 6b744e7849667473674f6f44494566474a70526158664879524852446f734341 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 6b744e7849667473674f6f44494566474a70526158664879524852446f734341 esp
exec ipsec tunnel protect ipip0 sa-out 0 sa-in 100000 add
exec set interface ip address loop0 100.0.1.1/32
exec create ipip tunnel src 100.0.1.1 dst 200.0.0.2 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 695157745a72756d514d59744d694947524e7948734443637968627751687368 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 695157745a72756d514d59744d694947524e7948734443637968627751687368 esp
exec ipsec tunnel protect ipip1 sa-out 1 sa-in 100001 add
exec set interface ip address loop0 100.0.2.1/32
exec create ipip tunnel src 100.0.2.1 dst 200.0.0.2 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 6548684d67766a594c4662684455594f715a794a5448517154414c456d535643 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 6548684d67766a594c4662684455594f715a794a5448517154414c456d535643 esp
exec ipsec tunnel protect ipip2 sa-out 2 sa-in 100002 add
exec set interface ip address loop0 100.0.3.1/32
exec create ipip tunnel src 100.0.3.1 dst 200.0.0.2 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 68674868744b5169414b614175514b6d787a66744e474a6d7a41675356746671 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 68674868744b5169414b614175514b6d787a66744e474a6d7a41675356746671 esp
exec ipsec tunnel protect ipip3 sa-out 3 sa-in 100003 add
exec set interface ip address loop0 100.0.4.1/32
exec create ipip tunnel src 100.0.4.1 dst 200.0.0.2 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 5a69466e4e704a414c43775a6e77664a69627457565772714c7663494b744954 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 5a69466e4e704a414c43775a6e77664a69627457565772714c7663494b744954 esp
exec ipsec tunnel protect ipip4 sa-out 4 sa-in 100004 add
exec set interface ip address loop0 100.0.5.1/32
exec create ipip tunnel src 100.0.5.1 dst 200.0.0.2 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 784b6a655271694946674f75654e77504a6a574e62674d72717157737541654c esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 784b6a655271694946674f75654e77504a6a574e62674d72717157737541654c esp
exec ipsec tunnel protect ipip5 sa-out 5 sa-in 100005 add
exec set interface ip address loop0 100.0.6.1/32
exec create ipip tunnel src 100.0.6.1 dst 200.0.0.2 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 525561584742614d426c4a58555446644549664379624165597141536f526f6f esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 525561584742614d426c4a58555446644549664379624165597141536f526f6f esp
exec ipsec tunnel protect ipip6 sa-out 6 sa-in 100006 add
exec set interface ip address loop0 100.0.7.1/32
exec create ipip tunnel src 100.0.7.1 dst 200.0.0.2 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 516f4e6277657053546265416c5341737541584446726f705648787a72676279 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 516f4e6277657053546265416c5341737541584446726f705648787a72676279 esp
exec ipsec tunnel protect ipip7 sa-out 7 sa-in 100007 add
exec set interface ip address loop0 100.0.8.1/32
exec create ipip tunnel src 100.0.8.1 dst 200.0.0.2 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 4a7158545771415571624641427272624550514151615145677262794f4c7343 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 4a7158545771415571624641427272624550514151615145677262794f4c7343 esp
exec ipsec tunnel protect ipip8 sa-out 8 sa-in 100008 add
exec set interface ip address loop0 100.0.9.1/32
exec create ipip tunnel src 100.0.9.1 dst 200.0.0.2 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 75686e7773736b71706172546766775879494a447a586a486b5775616645475a esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 75686e7773736b71706172546766775879494a447a586a486b5775616645475a esp
exec ipsec tunnel protect ipip9 sa-out 9 sa-in 100009 add
exec set interface ip address loop0 100.0.10.1/32
exec create ipip tunnel src 100.0.10.1 dst 200.0.0.2 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 69744f6876456b42644b6675695968785568637669446570426f646345536f59 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 69744f6876456b42644b6675695968785568637669446570426f646345536f59 esp
exec ipsec tunnel protect ipip10 sa-out 10 sa-in 100010 add
exec set interface ip address loop0 100.0.11.1/32
exec create ipip tunnel src 100.0.11.1 dst 200.0.0.2 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 656142714c526b636a474a7757587146586f7a45717358664f7678634b624a59 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 656142714c526b636a474a7757587146586f7a45717358664f7678634b624a59 esp
exec ipsec tunnel protect ipip11 sa-out 11 sa-in 100011 add
exec set interface ip address loop0 100.0.12.1/32
exec create ipip tunnel src 100.0.12.1 dst 200.0.0.2 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 4148417a5170616a6d6d4754426d5551734d415968644b546a48727250476166 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 4148417a5170616a6d6d4754426d5551734d415968644b546a48727250476166 esp
exec ipsec tunnel protect ipip12 sa-out 12 sa-in 100012 add
exec set interface ip address loop0 100.0.13.1/32
exec create ipip tunnel src 100.0.13.1 dst 200.0.0.2 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 446f716b497359646e43637a71795a69414c464746715973426e797478525961 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 446f716b497359646e43637a71795a69414c464746715973426e797478525961 esp
exec ipsec tunnel protect ipip13 sa-out 13 sa-in 100013 add
exec set interface ip address loop0 100.0.14.1/32
exec create ipip tunnel src 100.0.14.1 dst 200.0.0.2 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 754b6950444666557152754e4854416c50744e6d6e4757626c536b4b476b4d6a esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 754b6950444666557152754e4854416c50744e6d6e4757626c536b4b476b4d6a esp
exec ipsec tunnel protect ipip14 sa-out 14 sa-in 100014 add
exec set interface ip address loop0 100.0.15.1/32
exec create ipip tunnel src 100.0.15.1 dst 200.0.0.2 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 4b754d5174766a63704244696d61446f5a50484859504241507779594d716b66 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 4b754d5174766a63704244696d61446f5a50484859504241507779594d716b66 esp
exec ipsec tunnel protect ipip15 sa-out 15 sa-in 100015 add
exec set interface ip address loop0 100.0.16.1/32
exec create ipip tunnel src 100.0.16.1 dst 200.0.0.2 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 58684c57507a505a6b7741727170596e72447279526978566943496947744e63 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 58684c57507a505a6b7741727170596e72447279526978566943496947744e63 esp
exec ipsec tunnel protect ipip16 sa-out 16 sa-in 100016 add
exec set interface ip address loop0 100.0.17.1/32
exec create ipip tunnel src 100.0.17.1 dst 200.0.0.2 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 614f576d59565a7153524b58644d5964454f577a5963585547576f476b50434b esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 614f576d59565a7153524b58644d5964454f577a5963585547576f476b50434b esp
exec ipsec tunnel protect ipip17 sa-out 17 sa-in 100017 add
exec set interface ip address loop0 100.0.18.1/32
exec create ipip tunnel src 100.0.18.1 dst 200.0.0.2 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 7a6466786d4b4b77594770674a4b686f4d7052624268686c78566e484f776c6f esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 7a6466786d4b4b77594770674a4b686f4d7052624268686c78566e484f776c6f esp
exec ipsec tunnel protect ipip18 sa-out 18 sa-in 100018 add
exec set interface ip address loop0 100.0.19.1/32
exec create ipip tunnel src 100.0.19.1 dst 200.0.0.2 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 6a516e7664776e6e4f616f6570516c786d4b4a48467150417a77784e41545770 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 6a516e7664776e6e4f616f6570516c786d4b4a48467150417a77784e41545770 esp
exec ipsec tunnel protect ipip19 sa-out 19 sa-in 100019 add
exec set interface ip address loop0 100.0.20.1/32
exec create ipip tunnel src 100.0.20.1 dst 200.0.0.2 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 6e41454b71444a42785744615a504f774f726f584864476a4a656b6a676b6953 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 6e41454b71444a42785744615a504f774f726f584864476a4a656b6a676b6953 esp
exec ipsec tunnel protect ipip20 sa-out 20 sa-in 100020 add
exec set interface ip address loop0 100.0.21.1/32
exec create ipip tunnel src 100.0.21.1 dst 200.0.0.2 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 47484d5569514e556c5665616675486547446e74646b4b556f63787853417773 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 47484d5569514e556c5665616675486547446e74646b4b556f63787853417773 esp
exec ipsec tunnel protect ipip21 sa-out 21 sa-in 100021 add
exec set interface ip address loop0 100.0.22.1/32
exec create ipip tunnel src 100.0.22.1 dst 200.0.0.2 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 646e466d436a676473797458764f53627267664974656165456270584e6e5562 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 646e466d436a676473797458764f53627267664974656165456270584e6e5562 esp
exec ipsec tunnel protect ipip22 sa-out 22 sa-in 100022 add
exec set interface ip address loop0 100.0.23.1/32
exec create ipip tunnel src 100.0.23.1 dst 200.0.0.2 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 755848775161704150586a7a536347627076514249555858736a414749675077 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 755848775161704150586a7a536347627076514249555858736a414749675077 esp
exec ipsec tunnel protect ipip23 sa-out 23 sa-in 100023 add
exec set interface ip address loop0 100.0.24.1/32
exec create ipip tunnel src 100.0.24.1 dst 200.0.0.2 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 614d4f6952456a4a6c717659514654477a72624a79535a6864444d6559686c57 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 614d4f6952456a4a6c717659514654477a72624a79535a6864444d6559686c57 esp
exec ipsec tunnel protect ipip24 sa-out 24 sa-in 100024 add
exec set interface ip address loop0 100.0.25.1/32
exec create ipip tunnel src 100.0.25.1 dst 200.0.0.2 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 4e447073796f7a5a4c71734b696b50735562514969546c52474e76416b636176 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 4e447073796f7a5a4c71734b696b50735562514969546c52474e76416b636176 esp
exec ipsec tunnel protect ipip25 sa-out 25 sa-in 100025 add
exec set interface ip address loop0 100.0.26.1/32
exec create ipip tunnel src 100.0.26.1 dst 200.0.0.2 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 5777644770625745555377776f714c68514f44564b63666e434778786b6a4165 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 5777644770625745555377776f714c68514f44564b63666e434778786b6a4165 esp
exec ipsec tunnel protect ipip26 sa-out 26 sa-in 100026 add
exec set interface ip address loop0 100.0.27.1/32
exec create ipip tunnel src 100.0.27.1 dst 200.0.0.2 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 4464684d784b75535952776c4f524b5556544159656465525549567861686a4a esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 4464684d784b75535952776c4f524b5556544159656465525549567861686a4a esp
exec ipsec tunnel protect ipip27 sa-out 27 sa-in 100027 add
exec set interface ip address loop0 100.0.28.1/32
exec create ipip tunnel src 100.0.28.1 dst 200.0.0.2 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 64646155537544567845484b765554596c435a724e73504e4e5a796c62684475 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 64646155537544567845484b765554596c435a724e73504e4e5a796c62684475 esp
exec ipsec tunnel protect ipip28 sa-out 28 sa-in 100028 add
exec set interface ip address loop0 100.0.29.1/32
exec create ipip tunnel src 100.0.29.1 dst 200.0.0.2 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 77444d46495572756c754742645252444b454962515251685957615568736979 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 77444d46495572756c754742645252444b454962515251685957615568736979 esp
exec ipsec tunnel protect ipip29 sa-out 29 sa-in 100029 add
exec set interface ip address loop0 100.0.30.1/32
exec create ipip tunnel src 100.0.30.1 dst 200.0.0.2 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 55584951536d706b72466d50424f7a50557544627a43766259536d766975436a esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 55584951536d706b72466d50424f7a50557544627a43766259536d766975436a esp
exec ipsec tunnel protect ipip30 sa-out 30 sa-in 100030 add
exec set interface ip address loop0 100.0.31.1/32
exec create ipip tunnel src 100.0.31.1 dst 200.0.0.2 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 615a776a467a46707775735146714e496b73744b46626855514d4e6846414c5a esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 615a776a467a46707775735146714e496b73744b46626855514d4e6846414c5a esp
exec ipsec tunnel protect ipip31 sa-out 31 sa-in 100031 add
exec set interface ip address loop0 100.0.32.1/32
exec create ipip tunnel src 100.0.32.1 dst 200.0.0.2 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 4e7a41414c5a5a424a6d46656269765a4570627a494e6b726777656f51515269 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 4e7a41414c5a5a424a6d46656269765a4570627a494e6b726777656f51515269 esp
exec ipsec tunnel protect ipip32 sa-out 32 sa-in 100032 add
exec set interface ip address loop0 100.0.33.1/32
exec create ipip tunnel src 100.0.33.1 dst 200.0.0.2 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 41495a7145766742485051654575724d65546f6b7674427878696c7a496c7064 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 41495a7145766742485051654575724d65546f6b7674427878696c7a496c7064 esp
exec ipsec tunnel protect ipip33 sa-out 33 sa-in 100033 add
exec set interface ip address loop0 100.0.34.1/32
exec create ipip tunnel src 100.0.34.1 dst 200.0.0.2 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 6b6c5253716169624c4c4271656754566f4c6f504e4461434f59487158587368 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 6b6c5253716169624c4c4271656754566f4c6f504e4461434f59487158587368 esp
exec ipsec tunnel protect ipip34 sa-out 34 sa-in 100034 add
exec set interface ip address loop0 100.0.35.1/32
exec create ipip tunnel src 100.0.35.1 dst 200.0.0.2 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 50544f6c465058555775754e66485878464e7767745459585969635963626e4b esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 50544f6c465058555775754e66485878464e7767745459585969635963626e4b esp
exec ipsec tunnel protect ipip35 sa-out 35 sa-in 100035 add
exec set interface ip address loop0 100.0.36.1/32
exec create ipip tunnel src 100.0.36.1 dst 200.0.0.2 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 4679554a46664a684c567a525549526758576862544b4179775745636470446e esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 4679554a46664a684c567a525549526758576862544b4179775745636470446e esp
exec ipsec tunnel protect ipip36 sa-out 36 sa-in 100036 add
exec set interface ip address loop0 100.0.37.1/32
exec create ipip tunnel src 100.0.37.1 dst 200.0.0.2 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 4e4f4e6c634d45636855494e6769647a50597175737548745558664b59724478 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 4e4f4e6c634d45636855494e6769647a50597175737548745558664b59724478 esp
exec ipsec tunnel protect ipip37 sa-out 37 sa-in 100037 add
exec set interface ip address loop0 100.0.38.1/32
exec create ipip tunnel src 100.0.38.1 dst 200.0.0.2 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 594d626a6d485348786664444b455678447371746368526f576a6d526c6f796d esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 594d626a6d485348786664444b455678447371746368526f576a6d526c6f796d esp
exec ipsec tunnel protect ipip38 sa-out 38 sa-in 100038 add
exec set interface ip address loop0 100.0.39.1/32
exec create ipip tunnel src 100.0.39.1 dst 200.0.0.2 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 6251676c65464e65444a5374794f7a415954594b434655726a7a75616a766573 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 6251676c65464e65444a5374794f7a415954594b434655726a7a75616a766573 esp
exec ipsec tunnel protect ipip39 sa-out 39 sa-in 100039 add
exec set interface unnumbered ipip0 use avf-0/3b/a/0
exec set interface state ipip0 up
exec ip route add 20.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use avf-0/3b/a/0
exec set interface state ipip1 up
exec ip route add 20.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use avf-0/3b/a/0
exec set interface state ipip2 up
exec ip route add 20.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use avf-0/3b/a/0
exec set interface state ipip3 up
exec ip route add 20.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use avf-0/3b/a/0
exec set interface state ipip4 up
exec ip route add 20.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use avf-0/3b/a/0
exec set interface state ipip5 up
exec ip route add 20.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use avf-0/3b/a/0
exec set interface state ipip6 up
exec ip route add 20.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use avf-0/3b/a/0
exec set interface state ipip7 up
exec ip route add 20.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use avf-0/3b/a/0
exec set interface state ipip8 up
exec ip route add 20.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use avf-0/3b/a/0
exec set interface state ipip9 up
exec ip route add 20.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use avf-0/3b/a/0
exec set interface state ipip10 up
exec ip route add 20.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use avf-0/3b/a/0
exec set interface state ipip11 up
exec ip route add 20.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use avf-0/3b/a/0
exec set interface state ipip12 up
exec ip route add 20.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use avf-0/3b/a/0
exec set interface state ipip13 up
exec ip route add 20.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use avf-0/3b/a/0
exec set interface state ipip14 up
exec ip route add 20.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use avf-0/3b/a/0
exec set interface state ipip15 up
exec ip route add 20.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use avf-0/3b/a/0
exec set interface state ipip16 up
exec ip route add 20.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use avf-0/3b/a/0
exec set interface state ipip17 up
exec ip route add 20.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use avf-0/3b/a/0
exec set interface state ipip18 up
exec ip route add 20.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use avf-0/3b/a/0
exec set interface state ipip19 up
exec ip route add 20.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use avf-0/3b/a/0
exec set interface state ipip20 up
exec ip route add 20.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use avf-0/3b/a/0
exec set interface state ipip21 up
exec ip route add 20.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use avf-0/3b/a/0
exec set interface state ipip22 up
exec ip route add 20.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use avf-0/3b/a/0
exec set interface state ipip23 up
exec ip route add 20.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use avf-0/3b/a/0
exec set interface state ipip24 up
exec ip route add 20.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use avf-0/3b/a/0
exec set interface state ipip25 up
exec ip route add 20.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use avf-0/3b/a/0
exec set interface state ipip26 up
exec ip route add 20.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use avf-0/3b/a/0
exec set interface state ipip27 up
exec ip route add 20.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use avf-0/3b/a/0
exec set interface state ipip28 up
exec ip route add 20.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use avf-0/3b/a/0
exec set interface state ipip29 up
exec ip route add 20.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use avf-0/3b/a/0
exec set interface state ipip30 up
exec ip route add 20.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use avf-0/3b/a/0
exec set interface state ipip31 up
exec ip route add 20.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use avf-0/3b/a/0
exec set interface state ipip32 up
exec ip route add 20.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use avf-0/3b/a/0
exec set interface state ipip33 up
exec ip route add 20.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use avf-0/3b/a/0
exec set interface state ipip34 up
exec ip route add 20.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use avf-0/3b/a/0
exec set interface state ipip35 up
exec ip route add 20.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use avf-0/3b/a/0
exec set interface state ipip36 up
exec ip route add 20.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use avf-0/3b/a/0
exec set interface state ipip37 up
exec ip route add 20.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use avf-0/3b/a/0
exec set interface state ipip38 up
exec ip route add 20.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use avf-0/3b/a/0
exec set interface state ipip39 up
exec ip route add 20.0.0.39/32 via ipip39
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec set interface ip address avf-0/3b/a/0 200.0.0.2/24.0
exec create ipip tunnel src 200.0.0.2 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 6b744e7849667473674f6f44494566474a70526158664879524852446f734341 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 6b744e7849667473674f6f44494566474a70526158664879524852446f734341 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 695157745a72756d514d59744d694947524e7948734443637968627751687368 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 695157745a72756d514d59744d694947524e7948734443637968627751687368 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 6548684d67766a594c4662684455594f715a794a5448517154414c456d535643 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 6548684d67766a594c4662684455594f715a794a5448517154414c456d535643 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 68674868744b5169414b614175514b6d787a66744e474a6d7a41675356746671 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 68674868744b5169414b614175514b6d787a66744e474a6d7a41675356746671 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 5a69466e4e704a414c43775a6e77664a69627457565772714c7663494b744954 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 5a69466e4e704a414c43775a6e77664a69627457565772714c7663494b744954 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 784b6a655271694946674f75654e77504a6a574e62674d72717157737541654c esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 784b6a655271694946674f75654e77504a6a574e62674d72717157737541654c esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 525561584742614d426c4a58555446644549664379624165597141536f526f6f esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 525561584742614d426c4a58555446644549664379624165597141536f526f6f esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 516f4e6277657053546265416c5341737541584446726f705648787a72676279 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 516f4e6277657053546265416c5341737541584446726f705648787a72676279 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 4a7158545771415571624641427272624550514151615145677262794f4c7343 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 4a7158545771415571624641427272624550514151615145677262794f4c7343 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 75686e7773736b71706172546766775879494a447a586a486b5775616645475a esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 75686e7773736b71706172546766775879494a447a586a486b5775616645475a esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 69744f6876456b42644b6675695968785568637669446570426f646345536f59 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 69744f6876456b42644b6675695968785568637669446570426f646345536f59 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 656142714c526b636a474a7757587146586f7a45717358664f7678634b624a59 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 656142714c526b636a474a7757587146586f7a45717358664f7678634b624a59 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 4148417a5170616a6d6d4754426d5551734d415968644b546a48727250476166 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 4148417a5170616a6d6d4754426d5551734d415968644b546a48727250476166 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 446f716b497359646e43637a71795a69414c464746715973426e797478525961 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 446f716b497359646e43637a71795a69414c464746715973426e797478525961 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 754b6950444666557152754e4854416c50744e6d6e4757626c536b4b476b4d6a esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 754b6950444666557152754e4854416c50744e6d6e4757626c536b4b476b4d6a esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 4b754d5174766a63704244696d61446f5a50484859504241507779594d716b66 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 4b754d5174766a63704244696d61446f5a50484859504241507779594d716b66 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 58684c57507a505a6b7741727170596e72447279526978566943496947744e63 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 58684c57507a505a6b7741727170596e72447279526978566943496947744e63 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 614f576d59565a7153524b58644d5964454f577a5963585547576f476b50434b esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 614f576d59565a7153524b58644d5964454f577a5963585547576f476b50434b esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 7a6466786d4b4b77594770674a4b686f4d7052624268686c78566e484f776c6f esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 7a6466786d4b4b77594770674a4b686f4d7052624268686c78566e484f776c6f esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 6a516e7664776e6e4f616f6570516c786d4b4a48467150417a77784e41545770 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 6a516e7664776e6e4f616f6570516c786d4b4a48467150417a77784e41545770 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 6e41454b71444a42785744615a504f774f726f584864476a4a656b6a676b6953 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 6e41454b71444a42785744615a504f774f726f584864476a4a656b6a676b6953 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 47484d5569514e556c5665616675486547446e74646b4b556f63787853417773 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 47484d5569514e556c5665616675486547446e74646b4b556f63787853417773 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 646e466d436a676473797458764f53627267664974656165456270584e6e5562 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 646e466d436a676473797458764f53627267664974656165456270584e6e5562 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 755848775161704150586a7a536347627076514249555858736a414749675077 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 755848775161704150586a7a536347627076514249555858736a414749675077 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 614d4f6952456a4a6c717659514654477a72624a79535a6864444d6559686c57 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 614d4f6952456a4a6c717659514654477a72624a79535a6864444d6559686c57 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 4e447073796f7a5a4c71734b696b50735562514969546c52474e76416b636176 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 4e447073796f7a5a4c71734b696b50735562514969546c52474e76416b636176 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 5777644770625745555377776f714c68514f44564b63666e434778786b6a4165 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 5777644770625745555377776f714c68514f44564b63666e434778786b6a4165 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 4464684d784b75535952776c4f524b5556544159656465525549567861686a4a esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 4464684d784b75535952776c4f524b5556544159656465525549567861686a4a esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 64646155537544567845484b765554596c435a724e73504e4e5a796c62684475 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 64646155537544567845484b765554596c435a724e73504e4e5a796c62684475 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 77444d46495572756c754742645252444b454962515251685957615568736979 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 77444d46495572756c754742645252444b454962515251685957615568736979 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 55584951536d706b72466d50424f7a50557544627a43766259536d766975436a esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 55584951536d706b72466d50424f7a50557544627a43766259536d766975436a esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 615a776a467a46707775735146714e496b73744b46626855514d4e6846414c5a esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 615a776a467a46707775735146714e496b73744b46626855514d4e6846414c5a esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 4e7a41414c5a5a424a6d46656269765a4570627a494e6b726777656f51515269 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 4e7a41414c5a5a424a6d46656269765a4570627a494e6b726777656f51515269 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 41495a7145766742485051654575724d65546f6b7674427878696c7a496c7064 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 41495a7145766742485051654575724d65546f6b7674427878696c7a496c7064 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 6b6c5253716169624c4c4271656754566f4c6f504e4461434f59487158587368 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 6b6c5253716169624c4c4271656754566f4c6f504e4461434f59487158587368 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 50544f6c465058555775754e66485878464e7767745459585969635963626e4b esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 50544f6c465058555775754e66485878464e7767745459585969635963626e4b esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 4679554a46664a684c567a525549526758576862544b4179775745636470446e esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 4679554a46664a684c567a525549526758576862544b4179775745636470446e esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 4e4f4e6c634d45636855494e6769647a50597175737548745558664b59724478 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 4e4f4e6c634d45636855494e6769647a50597175737548745558664b59724478 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 594d626a6d485348786664444b455678447371746368526f576a6d526c6f796d esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 594d626a6d485348786664444b455678447371746368526f576a6d526c6f796d esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 6251676c65464e65444a5374794f7a415954594b434655726a7a75616a766573 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 6251676c65464e65444a5374794f7a415954594b434655726a7a75616a766573 esp
exec ipsec tunnel protect ipip39 sa-out 100039 sa-in 39 add
exec ip route add 100.0.0.1/8 via 200.0.0.1 avf-0/3b/a/0
exec set interface unnumbered ipip0 use avf-0/3b/a/0
exec set interface state ipip0 up
exec ip route add 10.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use avf-0/3b/a/0
exec set interface state ipip1 up
exec ip route add 10.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use avf-0/3b/a/0
exec set interface state ipip2 up
exec ip route add 10.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use avf-0/3b/a/0
exec set interface state ipip3 up
exec ip route add 10.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use avf-0/3b/a/0
exec set interface state ipip4 up
exec ip route add 10.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use avf-0/3b/a/0
exec set interface state ipip5 up
exec ip route add 10.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use avf-0/3b/a/0
exec set interface state ipip6 up
exec ip route add 10.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use avf-0/3b/a/0
exec set interface state ipip7 up
exec ip route add 10.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use avf-0/3b/a/0
exec set interface state ipip8 up
exec ip route add 10.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use avf-0/3b/a/0
exec set interface state ipip9 up
exec ip route add 10.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use avf-0/3b/a/0
exec set interface state ipip10 up
exec ip route add 10.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use avf-0/3b/a/0
exec set interface state ipip11 up
exec ip route add 10.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use avf-0/3b/a/0
exec set interface state ipip12 up
exec ip route add 10.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use avf-0/3b/a/0
exec set interface state ipip13 up
exec ip route add 10.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use avf-0/3b/a/0
exec set interface state ipip14 up
exec ip route add 10.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use avf-0/3b/a/0
exec set interface state ipip15 up
exec ip route add 10.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use avf-0/3b/a/0
exec set interface state ipip16 up
exec ip route add 10.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use avf-0/3b/a/0
exec set interface state ipip17 up
exec ip route add 10.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use avf-0/3b/a/0
exec set interface state ipip18 up
exec ip route add 10.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use avf-0/3b/a/0
exec set interface state ipip19 up
exec ip route add 10.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use avf-0/3b/a/0
exec set interface state ipip20 up
exec ip route add 10.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use avf-0/3b/a/0
exec set interface state ipip21 up
exec ip route add 10.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use avf-0/3b/a/0
exec set interface state ipip22 up
exec ip route add 10.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use avf-0/3b/a/0
exec set interface state ipip23 up
exec ip route add 10.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use avf-0/3b/a/0
exec set interface state ipip24 up
exec ip route add 10.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use avf-0/3b/a/0
exec set interface state ipip25 up
exec ip route add 10.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use avf-0/3b/a/0
exec set interface state ipip26 up
exec ip route add 10.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use avf-0/3b/a/0
exec set interface state ipip27 up
exec ip route add 10.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use avf-0/3b/a/0
exec set interface state ipip28 up
exec ip route add 10.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use avf-0/3b/a/0
exec set interface state ipip29 up
exec ip route add 10.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use avf-0/3b/a/0
exec set interface state ipip30 up
exec ip route add 10.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use avf-0/3b/a/0
exec set interface state ipip31 up
exec ip route add 10.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use avf-0/3b/a/0
exec set interface state ipip32 up
exec ip route add 10.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use avf-0/3b/a/0
exec set interface state ipip33 up
exec ip route add 10.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use avf-0/3b/a/0
exec set interface state ipip34 up
exec ip route add 10.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use avf-0/3b/a/0
exec set interface state ipip35 up
exec ip route add 10.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use avf-0/3b/a/0
exec set interface state ipip36 up
exec ip route add 10.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use avf-0/3b/a/0
exec set interface state ipip37 up
exec ip route add 10.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use avf-0/3b/a/0
exec set interface state ipip38 up
exec ip route add 10.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use avf-0/3b/a/0
exec set interface state ipip39 up
exec ip route add 10.0.0.39/32 via ipip39

 64b-8t4c-avf-ethip4ipsec40tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec create loopback interface
exec set interface state loop0 up
exec set interface ip address avf-0/3b/a/0 200.0.0.1/24
exec set ip neighbor avf-0/3b/a/0 200.0.0.2 3c:fe:bd:f8:fd:00 static
exec set interface ip address loop0 100.0.0.1/32
exec create ipip tunnel src 100.0.0.1 dst 200.0.0.2 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 4f417a42494167425a68685144497a664477517759494247744e47774a4a4149 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 4f417a42494167425a68685144497a664477517759494247744e47774a4a4149 esp
exec ipsec tunnel protect ipip0 sa-out 0 sa-in 100000 add
exec set interface ip address loop0 100.0.1.1/32
exec create ipip tunnel src 100.0.1.1 dst 200.0.0.2 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 66566550625548517a666e6164494c4e757443646e4f776a53626e726e564c77 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 66566550625548517a666e6164494c4e757443646e4f776a53626e726e564c77 esp
exec ipsec tunnel protect ipip1 sa-out 1 sa-in 100001 add
exec set interface ip address loop0 100.0.2.1/32
exec create ipip tunnel src 100.0.2.1 dst 200.0.0.2 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 4b4d7a50644b714e64505472424a51725261584a6a5578556e7a757171634f44 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 4b4d7a50644b714e64505472424a51725261584a6a5578556e7a757171634f44 esp
exec ipsec tunnel protect ipip2 sa-out 2 sa-in 100002 add
exec set interface ip address loop0 100.0.3.1/32
exec create ipip tunnel src 100.0.3.1 dst 200.0.0.2 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 4b76614d6645446b41686d454a5a5a694c69454d7a45596262626a6643724f46 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 4b76614d6645446b41686d454a5a5a694c69454d7a45596262626a6643724f46 esp
exec ipsec tunnel protect ipip3 sa-out 3 sa-in 100003 add
exec set interface ip address loop0 100.0.4.1/32
exec create ipip tunnel src 100.0.4.1 dst 200.0.0.2 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 58746763747a4f59584d527769635a74504b5446714e676f52736f54746d4647 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 58746763747a4f59584d527769635a74504b5446714e676f52736f54746d4647 esp
exec ipsec tunnel protect ipip4 sa-out 4 sa-in 100004 add
exec set interface ip address loop0 100.0.5.1/32
exec create ipip tunnel src 100.0.5.1 dst 200.0.0.2 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 747765447063536c55704874685857536a6a736962677a664b6f7948486d5355 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 747765447063536c55704874685857536a6a736962677a664b6f7948486d5355 esp
exec ipsec tunnel protect ipip5 sa-out 5 sa-in 100005 add
exec set interface ip address loop0 100.0.6.1/32
exec create ipip tunnel src 100.0.6.1 dst 200.0.0.2 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 727a4a424450584f4158476d566453626d4248736465776b5056564c76504947 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 727a4a424450584f4158476d566453626d4248736465776b5056564c76504947 esp
exec ipsec tunnel protect ipip6 sa-out 6 sa-in 100006 add
exec set interface ip address loop0 100.0.7.1/32
exec create ipip tunnel src 100.0.7.1 dst 200.0.0.2 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 4e5451497969434867734a6d475a4179696a6557474e677272514246646a506a esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 4e5451497969434867734a6d475a4179696a6557474e677272514246646a506a esp
exec ipsec tunnel protect ipip7 sa-out 7 sa-in 100007 add
exec set interface ip address loop0 100.0.8.1/32
exec create ipip tunnel src 100.0.8.1 dst 200.0.0.2 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 6377536b43446873527649567a654e56746449697245664a77657a5043704863 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 6377536b43446873527649567a654e56746449697245664a77657a5043704863 esp
exec ipsec tunnel protect ipip8 sa-out 8 sa-in 100008 add
exec set interface ip address loop0 100.0.9.1/32
exec create ipip tunnel src 100.0.9.1 dst 200.0.0.2 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 6e47496f644b6f4c4147737a506d5a6d6d71616a744e70645944564d624e6a42 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 6e47496f644b6f4c4147737a506d5a6d6d71616a744e70645944564d624e6a42 esp
exec ipsec tunnel protect ipip9 sa-out 9 sa-in 100009 add
exec set interface ip address loop0 100.0.10.1/32
exec create ipip tunnel src 100.0.10.1 dst 200.0.0.2 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 736347556d48796565526e72496c576c694e6f7a7077504e62494a4752654474 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 736347556d48796565526e72496c576c694e6f7a7077504e62494a4752654474 esp
exec ipsec tunnel protect ipip10 sa-out 10 sa-in 100010 add
exec set interface ip address loop0 100.0.11.1/32
exec create ipip tunnel src 100.0.11.1 dst 200.0.0.2 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 53674b50486d597a7953734278536f4d4c6d69757a63544376594a71714c524e esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 53674b50486d597a7953734278536f4d4c6d69757a63544376594a71714c524e esp
exec ipsec tunnel protect ipip11 sa-out 11 sa-in 100011 add
exec set interface ip address loop0 100.0.12.1/32
exec create ipip tunnel src 100.0.12.1 dst 200.0.0.2 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 71494d7878697471724d444a514745684a497056577479546c6a4c4c44504c67 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 71494d7878697471724d444a514745684a497056577479546c6a4c4c44504c67 esp
exec ipsec tunnel protect ipip12 sa-out 12 sa-in 100012 add
exec set interface ip address loop0 100.0.13.1/32
exec create ipip tunnel src 100.0.13.1 dst 200.0.0.2 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 4c6542434d7066566b4e4750754462646771436e7a6871637066556942654e78 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 4c6542434d7066566b4e4750754462646771436e7a6871637066556942654e78 esp
exec ipsec tunnel protect ipip13 sa-out 13 sa-in 100013 add
exec set interface ip address loop0 100.0.14.1/32
exec create ipip tunnel src 100.0.14.1 dst 200.0.0.2 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 514467614756436e476a62754254577a51576e6c666b5879645265587a6f7166 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 514467614756436e476a62754254577a51576e6c666b5879645265587a6f7166 esp
exec ipsec tunnel protect ipip14 sa-out 14 sa-in 100014 add
exec set interface ip address loop0 100.0.15.1/32
exec create ipip tunnel src 100.0.15.1 dst 200.0.0.2 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 576d795345686e426c6e5a6b51526e794568564855624d574b6d7544594e4a44 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 576d795345686e426c6e5a6b51526e794568564855624d574b6d7544594e4a44 esp
exec ipsec tunnel protect ipip15 sa-out 15 sa-in 100015 add
exec set interface ip address loop0 100.0.16.1/32
exec create ipip tunnel src 100.0.16.1 dst 200.0.0.2 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 4e4e7670645a676570617a486771475442524542794865746a6d454a73616468 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 4e4e7670645a676570617a486771475442524542794865746a6d454a73616468 esp
exec ipsec tunnel protect ipip16 sa-out 16 sa-in 100016 add
exec set interface ip address loop0 100.0.17.1/32
exec create ipip tunnel src 100.0.17.1 dst 200.0.0.2 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 4b74595468634f656867555a724b6443706b5844444b537a706d76655a4d5155 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 4b74595468634f656867555a724b6443706b5844444b537a706d76655a4d5155 esp
exec ipsec tunnel protect ipip17 sa-out 17 sa-in 100017 add
exec set interface ip address loop0 100.0.18.1/32
exec create ipip tunnel src 100.0.18.1 dst 200.0.0.2 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 71584a6f45465343455641517175416953466e6e745171754b66657552747877 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 71584a6f45465343455641517175416953466e6e745171754b66657552747877 esp
exec ipsec tunnel protect ipip18 sa-out 18 sa-in 100018 add
exec set interface ip address loop0 100.0.19.1/32
exec create ipip tunnel src 100.0.19.1 dst 200.0.0.2 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 45574d734a525067696864764b75514c757a6b447152455a66644d537a7a4642 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 45574d734a525067696864764b75514c757a6b447152455a66644d537a7a4642 esp
exec ipsec tunnel protect ipip19 sa-out 19 sa-in 100019 add
exec set interface ip address loop0 100.0.20.1/32
exec create ipip tunnel src 100.0.20.1 dst 200.0.0.2 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 6c77625379754851516b78576f444e78457358467245646679694f5877765044 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 6c77625379754851516b78576f444e78457358467245646679694f5877765044 esp
exec ipsec tunnel protect ipip20 sa-out 20 sa-in 100020 add
exec set interface ip address loop0 100.0.21.1/32
exec create ipip tunnel src 100.0.21.1 dst 200.0.0.2 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 4b58575166457a5a6f696e54644b72514b6e55744d4f5447725971516e425361 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 4b58575166457a5a6f696e54644b72514b6e55744d4f5447725971516e425361 esp
exec ipsec tunnel protect ipip21 sa-out 21 sa-in 100021 add
exec set interface ip address loop0 100.0.22.1/32
exec create ipip tunnel src 100.0.22.1 dst 200.0.0.2 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 7a4b5677635377786c6d7a524c455a715375696b7468574b6d49436473456d6f esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 7a4b5677635377786c6d7a524c455a715375696b7468574b6d49436473456d6f esp
exec ipsec tunnel protect ipip22 sa-out 22 sa-in 100022 add
exec set interface ip address loop0 100.0.23.1/32
exec create ipip tunnel src 100.0.23.1 dst 200.0.0.2 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 716b6b50486c505351744d45517654574266434a59757072586f474844436849 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 716b6b50486c505351744d45517654574266434a59757072586f474844436849 esp
exec ipsec tunnel protect ipip23 sa-out 23 sa-in 100023 add
exec set interface ip address loop0 100.0.24.1/32
exec create ipip tunnel src 100.0.24.1 dst 200.0.0.2 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 475368714b777441774a6a5646776e72686e6b757179524d6550475075426254 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 475368714b777441774a6a5646776e72686e6b757179524d6550475075426254 esp
exec ipsec tunnel protect ipip24 sa-out 24 sa-in 100024 add
exec set interface ip address loop0 100.0.25.1/32
exec create ipip tunnel src 100.0.25.1 dst 200.0.0.2 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 496655704b575871734374744d5372795a74596e67727042424e495a48734d79 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 496655704b575871734374744d5372795a74596e67727042424e495a48734d79 esp
exec ipsec tunnel protect ipip25 sa-out 25 sa-in 100025 add
exec set interface ip address loop0 100.0.26.1/32
exec create ipip tunnel src 100.0.26.1 dst 200.0.0.2 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 53754c79426c55665a4f57547464704257736d474f43734d52614e4254594465 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 53754c79426c55665a4f57547464704257736d474f43734d52614e4254594465 esp
exec ipsec tunnel protect ipip26 sa-out 26 sa-in 100026 add
exec set interface ip address loop0 100.0.27.1/32
exec create ipip tunnel src 100.0.27.1 dst 200.0.0.2 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 664a4a567063614b47736c6f41454e4158676c62564177624f5a694a516b6d65 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 664a4a567063614b47736c6f41454e4158676c62564177624f5a694a516b6d65 esp
exec ipsec tunnel protect ipip27 sa-out 27 sa-in 100027 add
exec set interface ip address loop0 100.0.28.1/32
exec create ipip tunnel src 100.0.28.1 dst 200.0.0.2 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 774164445a78736f55766c574951635466657777454f71564f63755771705649 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 774164445a78736f55766c574951635466657777454f71564f63755771705649 esp
exec ipsec tunnel protect ipip28 sa-out 28 sa-in 100028 add
exec set interface ip address loop0 100.0.29.1/32
exec create ipip tunnel src 100.0.29.1 dst 200.0.0.2 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 4b78676f6b6850454e4c7644714d7a674e53714a666b6472417265484f735279 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 4b78676f6b6850454e4c7644714d7a674e53714a666b6472417265484f735279 esp
exec ipsec tunnel protect ipip29 sa-out 29 sa-in 100029 add
exec set interface ip address loop0 100.0.30.1/32
exec create ipip tunnel src 100.0.30.1 dst 200.0.0.2 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 6a6e4e504b79477061694a55554e59434563787441586c7559666d7a4c4a7665 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 6a6e4e504b79477061694a55554e59434563787441586c7559666d7a4c4a7665 esp
exec ipsec tunnel protect ipip30 sa-out 30 sa-in 100030 add
exec set interface ip address loop0 100.0.31.1/32
exec create ipip tunnel src 100.0.31.1 dst 200.0.0.2 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 5a4974576b734b587653466d4c446273626c55505548454e64427a554a5a6673 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 5a4974576b734b587653466d4c446273626c55505548454e64427a554a5a6673 esp
exec ipsec tunnel protect ipip31 sa-out 31 sa-in 100031 add
exec set interface ip address loop0 100.0.32.1/32
exec create ipip tunnel src 100.0.32.1 dst 200.0.0.2 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 48546c75674f53466462667451797376455867547876674a475443415a717744 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 48546c75674f53466462667451797376455867547876674a475443415a717744 esp
exec ipsec tunnel protect ipip32 sa-out 32 sa-in 100032 add
exec set interface ip address loop0 100.0.33.1/32
exec create ipip tunnel src 100.0.33.1 dst 200.0.0.2 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 4159696367774e50716d6b65645a6e4547627a666f52716857444e7752646356 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 4159696367774e50716d6b65645a6e4547627a666f52716857444e7752646356 esp
exec ipsec tunnel protect ipip33 sa-out 33 sa-in 100033 add
exec set interface ip address loop0 100.0.34.1/32
exec create ipip tunnel src 100.0.34.1 dst 200.0.0.2 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 5a626a776c6d6751586f6e416e4747647a554f685152664b444a77705a536441 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 5a626a776c6d6751586f6e416e4747647a554f685152664b444a77705a536441 esp
exec ipsec tunnel protect ipip34 sa-out 34 sa-in 100034 add
exec set interface ip address loop0 100.0.35.1/32
exec create ipip tunnel src 100.0.35.1 dst 200.0.0.2 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 4a50636f686b5a5077476f54464a6b4c6f726c58447749446671446f73454a55 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 4a50636f686b5a5077476f54464a6b4c6f726c58447749446671446f73454a55 esp
exec ipsec tunnel protect ipip35 sa-out 35 sa-in 100035 add
exec set interface ip address loop0 100.0.36.1/32
exec create ipip tunnel src 100.0.36.1 dst 200.0.0.2 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 45716176776357415053664343686262644a50694e4e4e4b6750445a6558487a esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 45716176776357415053664343686262644a50694e4e4e4b6750445a6558487a esp
exec ipsec tunnel protect ipip36 sa-out 36 sa-in 100036 add
exec set interface ip address loop0 100.0.37.1/32
exec create ipip tunnel src 100.0.37.1 dst 200.0.0.2 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 496158456b5643784375674445596b6c53416e646a717a586943757277674a57 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 496158456b5643784375674445596b6c53416e646a717a586943757277674a57 esp
exec ipsec tunnel protect ipip37 sa-out 37 sa-in 100037 add
exec set interface ip address loop0 100.0.38.1/32
exec create ipip tunnel src 100.0.38.1 dst 200.0.0.2 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 634266424f50666c4a474a6a72626943734b796e6b567a73786f574f644a5646 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 634266424f50666c4a474a6a72626943734b796e6b567a73786f574f644a5646 esp
exec ipsec tunnel protect ipip38 sa-out 38 sa-in 100038 add
exec set interface ip address loop0 100.0.39.1/32
exec create ipip tunnel src 100.0.39.1 dst 200.0.0.2 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 567764446b79614870577167474c786453725a6c61594f6c6641536e43794b61 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 567764446b79614870577167474c786453725a6c61594f6c6641536e43794b61 esp
exec ipsec tunnel protect ipip39 sa-out 39 sa-in 100039 add
exec set interface unnumbered ipip0 use avf-0/3b/a/0
exec set interface state ipip0 up
exec ip route add 20.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use avf-0/3b/a/0
exec set interface state ipip1 up
exec ip route add 20.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use avf-0/3b/a/0
exec set interface state ipip2 up
exec ip route add 20.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use avf-0/3b/a/0
exec set interface state ipip3 up
exec ip route add 20.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use avf-0/3b/a/0
exec set interface state ipip4 up
exec ip route add 20.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use avf-0/3b/a/0
exec set interface state ipip5 up
exec ip route add 20.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use avf-0/3b/a/0
exec set interface state ipip6 up
exec ip route add 20.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use avf-0/3b/a/0
exec set interface state ipip7 up
exec ip route add 20.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use avf-0/3b/a/0
exec set interface state ipip8 up
exec ip route add 20.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use avf-0/3b/a/0
exec set interface state ipip9 up
exec ip route add 20.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use avf-0/3b/a/0
exec set interface state ipip10 up
exec ip route add 20.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use avf-0/3b/a/0
exec set interface state ipip11 up
exec ip route add 20.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use avf-0/3b/a/0
exec set interface state ipip12 up
exec ip route add 20.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use avf-0/3b/a/0
exec set interface state ipip13 up
exec ip route add 20.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use avf-0/3b/a/0
exec set interface state ipip14 up
exec ip route add 20.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use avf-0/3b/a/0
exec set interface state ipip15 up
exec ip route add 20.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use avf-0/3b/a/0
exec set interface state ipip16 up
exec ip route add 20.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use avf-0/3b/a/0
exec set interface state ipip17 up
exec ip route add 20.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use avf-0/3b/a/0
exec set interface state ipip18 up
exec ip route add 20.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use avf-0/3b/a/0
exec set interface state ipip19 up
exec ip route add 20.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use avf-0/3b/a/0
exec set interface state ipip20 up
exec ip route add 20.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use avf-0/3b/a/0
exec set interface state ipip21 up
exec ip route add 20.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use avf-0/3b/a/0
exec set interface state ipip22 up
exec ip route add 20.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use avf-0/3b/a/0
exec set interface state ipip23 up
exec ip route add 20.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use avf-0/3b/a/0
exec set interface state ipip24 up
exec ip route add 20.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use avf-0/3b/a/0
exec set interface state ipip25 up
exec ip route add 20.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use avf-0/3b/a/0
exec set interface state ipip26 up
exec ip route add 20.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use avf-0/3b/a/0
exec set interface state ipip27 up
exec ip route add 20.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use avf-0/3b/a/0
exec set interface state ipip28 up
exec ip route add 20.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use avf-0/3b/a/0
exec set interface state ipip29 up
exec ip route add 20.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use avf-0/3b/a/0
exec set interface state ipip30 up
exec ip route add 20.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use avf-0/3b/a/0
exec set interface state ipip31 up
exec ip route add 20.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use avf-0/3b/a/0
exec set interface state ipip32 up
exec ip route add 20.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use avf-0/3b/a/0
exec set interface state ipip33 up
exec ip route add 20.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use avf-0/3b/a/0
exec set interface state ipip34 up
exec ip route add 20.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use avf-0/3b/a/0
exec set interface state ipip35 up
exec ip route add 20.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use avf-0/3b/a/0
exec set interface state ipip36 up
exec ip route add 20.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use avf-0/3b/a/0
exec set interface state ipip37 up
exec ip route add 20.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use avf-0/3b/a/0
exec set interface state ipip38 up
exec ip route add 20.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use avf-0/3b/a/0
exec set interface state ipip39 up
exec ip route add 20.0.0.39/32 via ipip39
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec set interface ip address avf-0/3b/a/0 200.0.0.2/24.0
exec create ipip tunnel src 200.0.0.2 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 4f417a42494167425a68685144497a664477517759494247744e47774a4a4149 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 4f417a42494167425a68685144497a664477517759494247744e47774a4a4149 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 66566550625548517a666e6164494c4e757443646e4f776a53626e726e564c77 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 66566550625548517a666e6164494c4e757443646e4f776a53626e726e564c77 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 4b4d7a50644b714e64505472424a51725261584a6a5578556e7a757171634f44 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 4b4d7a50644b714e64505472424a51725261584a6a5578556e7a757171634f44 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 4b76614d6645446b41686d454a5a5a694c69454d7a45596262626a6643724f46 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 4b76614d6645446b41686d454a5a5a694c69454d7a45596262626a6643724f46 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 58746763747a4f59584d527769635a74504b5446714e676f52736f54746d4647 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 58746763747a4f59584d527769635a74504b5446714e676f52736f54746d4647 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 747765447063536c55704874685857536a6a736962677a664b6f7948486d5355 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 747765447063536c55704874685857536a6a736962677a664b6f7948486d5355 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 727a4a424450584f4158476d566453626d4248736465776b5056564c76504947 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 727a4a424450584f4158476d566453626d4248736465776b5056564c76504947 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 4e5451497969434867734a6d475a4179696a6557474e677272514246646a506a esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 4e5451497969434867734a6d475a4179696a6557474e677272514246646a506a esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 6377536b43446873527649567a654e56746449697245664a77657a5043704863 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 6377536b43446873527649567a654e56746449697245664a77657a5043704863 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 6e47496f644b6f4c4147737a506d5a6d6d71616a744e70645944564d624e6a42 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 6e47496f644b6f4c4147737a506d5a6d6d71616a744e70645944564d624e6a42 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 736347556d48796565526e72496c576c694e6f7a7077504e62494a4752654474 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 736347556d48796565526e72496c576c694e6f7a7077504e62494a4752654474 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 53674b50486d597a7953734278536f4d4c6d69757a63544376594a71714c524e esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 53674b50486d597a7953734278536f4d4c6d69757a63544376594a71714c524e esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 71494d7878697471724d444a514745684a497056577479546c6a4c4c44504c67 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 71494d7878697471724d444a514745684a497056577479546c6a4c4c44504c67 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 4c6542434d7066566b4e4750754462646771436e7a6871637066556942654e78 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 4c6542434d7066566b4e4750754462646771436e7a6871637066556942654e78 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 514467614756436e476a62754254577a51576e6c666b5879645265587a6f7166 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 514467614756436e476a62754254577a51576e6c666b5879645265587a6f7166 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 576d795345686e426c6e5a6b51526e794568564855624d574b6d7544594e4a44 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 576d795345686e426c6e5a6b51526e794568564855624d574b6d7544594e4a44 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 4e4e7670645a676570617a486771475442524542794865746a6d454a73616468 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 4e4e7670645a676570617a486771475442524542794865746a6d454a73616468 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 4b74595468634f656867555a724b6443706b5844444b537a706d76655a4d5155 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 4b74595468634f656867555a724b6443706b5844444b537a706d76655a4d5155 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 71584a6f45465343455641517175416953466e6e745171754b66657552747877 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 71584a6f45465343455641517175416953466e6e745171754b66657552747877 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 45574d734a525067696864764b75514c757a6b447152455a66644d537a7a4642 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 45574d734a525067696864764b75514c757a6b447152455a66644d537a7a4642 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 6c77625379754851516b78576f444e78457358467245646679694f5877765044 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 6c77625379754851516b78576f444e78457358467245646679694f5877765044 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 4b58575166457a5a6f696e54644b72514b6e55744d4f5447725971516e425361 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 4b58575166457a5a6f696e54644b72514b6e55744d4f5447725971516e425361 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 7a4b5677635377786c6d7a524c455a715375696b7468574b6d49436473456d6f esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 7a4b5677635377786c6d7a524c455a715375696b7468574b6d49436473456d6f esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 716b6b50486c505351744d45517654574266434a59757072586f474844436849 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 716b6b50486c505351744d45517654574266434a59757072586f474844436849 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 475368714b777441774a6a5646776e72686e6b757179524d6550475075426254 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 475368714b777441774a6a5646776e72686e6b757179524d6550475075426254 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 496655704b575871734374744d5372795a74596e67727042424e495a48734d79 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 496655704b575871734374744d5372795a74596e67727042424e495a48734d79 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 53754c79426c55665a4f57547464704257736d474f43734d52614e4254594465 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 53754c79426c55665a4f57547464704257736d474f43734d52614e4254594465 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 664a4a567063614b47736c6f41454e4158676c62564177624f5a694a516b6d65 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 664a4a567063614b47736c6f41454e4158676c62564177624f5a694a516b6d65 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 774164445a78736f55766c574951635466657777454f71564f63755771705649 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 774164445a78736f55766c574951635466657777454f71564f63755771705649 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 4b78676f6b6850454e4c7644714d7a674e53714a666b6472417265484f735279 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 4b78676f6b6850454e4c7644714d7a674e53714a666b6472417265484f735279 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 6a6e4e504b79477061694a55554e59434563787441586c7559666d7a4c4a7665 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 6a6e4e504b79477061694a55554e59434563787441586c7559666d7a4c4a7665 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 5a4974576b734b587653466d4c446273626c55505548454e64427a554a5a6673 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 5a4974576b734b587653466d4c446273626c55505548454e64427a554a5a6673 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 48546c75674f53466462667451797376455867547876674a475443415a717744 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 48546c75674f53466462667451797376455867547876674a475443415a717744 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 4159696367774e50716d6b65645a6e4547627a666f52716857444e7752646356 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 4159696367774e50716d6b65645a6e4547627a666f52716857444e7752646356 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 5a626a776c6d6751586f6e416e4747647a554f685152664b444a77705a536441 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 5a626a776c6d6751586f6e416e4747647a554f685152664b444a77705a536441 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 4a50636f686b5a5077476f54464a6b4c6f726c58447749446671446f73454a55 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 4a50636f686b5a5077476f54464a6b4c6f726c58447749446671446f73454a55 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 45716176776357415053664343686262644a50694e4e4e4b6750445a6558487a esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 45716176776357415053664343686262644a50694e4e4e4b6750445a6558487a esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 496158456b5643784375674445596b6c53416e646a717a586943757277674a57 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 496158456b5643784375674445596b6c53416e646a717a586943757277674a57 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 634266424f50666c4a474a6a72626943734b796e6b567a73786f574f644a5646 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 634266424f50666c4a474a6a72626943734b796e6b567a73786f574f644a5646 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 567764446b79614870577167474c786453725a6c61594f6c6641536e43794b61 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 567764446b79614870577167474c786453725a6c61594f6c6641536e43794b61 esp
exec ipsec tunnel protect ipip39 sa-out 100039 sa-in 39 add
exec ip route add 100.0.0.1/8 via 200.0.0.1 avf-0/3b/a/0
exec set interface unnumbered ipip0 use avf-0/3b/a/0
exec set interface state ipip0 up
exec ip route add 10.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use avf-0/3b/a/0
exec set interface state ipip1 up
exec ip route add 10.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use avf-0/3b/a/0
exec set interface state ipip2 up
exec ip route add 10.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use avf-0/3b/a/0
exec set interface state ipip3 up
exec ip route add 10.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use avf-0/3b/a/0
exec set interface state ipip4 up
exec ip route add 10.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use avf-0/3b/a/0
exec set interface state ipip5 up
exec ip route add 10.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use avf-0/3b/a/0
exec set interface state ipip6 up
exec ip route add 10.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use avf-0/3b/a/0
exec set interface state ipip7 up
exec ip route add 10.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use avf-0/3b/a/0
exec set interface state ipip8 up
exec ip route add 10.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use avf-0/3b/a/0
exec set interface state ipip9 up
exec ip route add 10.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use avf-0/3b/a/0
exec set interface state ipip10 up
exec ip route add 10.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use avf-0/3b/a/0
exec set interface state ipip11 up
exec ip route add 10.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use avf-0/3b/a/0
exec set interface state ipip12 up
exec ip route add 10.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use avf-0/3b/a/0
exec set interface state ipip13 up
exec ip route add 10.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use avf-0/3b/a/0
exec set interface state ipip14 up
exec ip route add 10.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use avf-0/3b/a/0
exec set interface state ipip15 up
exec ip route add 10.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use avf-0/3b/a/0
exec set interface state ipip16 up
exec ip route add 10.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use avf-0/3b/a/0
exec set interface state ipip17 up
exec ip route add 10.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use avf-0/3b/a/0
exec set interface state ipip18 up
exec ip route add 10.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use avf-0/3b/a/0
exec set interface state ipip19 up
exec ip route add 10.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use avf-0/3b/a/0
exec set interface state ipip20 up
exec ip route add 10.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use avf-0/3b/a/0
exec set interface state ipip21 up
exec ip route add 10.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use avf-0/3b/a/0
exec set interface state ipip22 up
exec ip route add 10.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use avf-0/3b/a/0
exec set interface state ipip23 up
exec ip route add 10.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use avf-0/3b/a/0
exec set interface state ipip24 up
exec ip route add 10.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use avf-0/3b/a/0
exec set interface state ipip25 up
exec ip route add 10.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use avf-0/3b/a/0
exec set interface state ipip26 up
exec ip route add 10.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use avf-0/3b/a/0
exec set interface state ipip27 up
exec ip route add 10.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use avf-0/3b/a/0
exec set interface state ipip28 up
exec ip route add 10.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use avf-0/3b/a/0
exec set interface state ipip29 up
exec ip route add 10.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use avf-0/3b/a/0
exec set interface state ipip30 up
exec ip route add 10.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use avf-0/3b/a/0
exec set interface state ipip31 up
exec ip route add 10.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use avf-0/3b/a/0
exec set interface state ipip32 up
exec ip route add 10.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use avf-0/3b/a/0
exec set interface state ipip33 up
exec ip route add 10.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use avf-0/3b/a/0
exec set interface state ipip34 up
exec ip route add 10.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use avf-0/3b/a/0
exec set interface state ipip35 up
exec ip route add 10.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use avf-0/3b/a/0
exec set interface state ipip36 up
exec ip route add 10.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use avf-0/3b/a/0
exec set interface state ipip37 up
exec ip route add 10.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use avf-0/3b/a/0
exec set interface state ipip38 up
exec ip route add 10.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use avf-0/3b/a/0
exec set interface state ipip39 up
exec ip route add 10.0.0.39/32 via ipip39

 1518b-2t1c-avf-ethip4ipsec40tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec create loopback interface
exec set interface state loop0 up
exec set interface ip address avf-0/3b/a/0 200.0.0.1/24
exec set ip neighbor avf-0/3b/a/0 200.0.0.2 3c:fe:bd:f8:fd:00 static
exec set interface ip address loop0 100.0.0.1/32
exec create ipip tunnel src 100.0.0.1 dst 200.0.0.2 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 6970754f4d6b724453684562596e7a4e4e506d584c62536e6747447667677a73 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 6970754f4d6b724453684562596e7a4e4e506d584c62536e6747447667677a73 esp
exec ipsec tunnel protect ipip0 sa-out 0 sa-in 100000 add
exec set interface ip address loop0 100.0.1.1/32
exec create ipip tunnel src 100.0.1.1 dst 200.0.0.2 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 4243494e75786d4b5076736b566167527671684a55716d516656684849797477 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 4243494e75786d4b5076736b566167527671684a55716d516656684849797477 esp
exec ipsec tunnel protect ipip1 sa-out 1 sa-in 100001 add
exec set interface ip address loop0 100.0.2.1/32
exec create ipip tunnel src 100.0.2.1 dst 200.0.0.2 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 704e657966556d4c59697847586b4747754b59646c7853786c4174567a715a63 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 704e657966556d4c59697847586b4747754b59646c7853786c4174567a715a63 esp
exec ipsec tunnel protect ipip2 sa-out 2 sa-in 100002 add
exec set interface ip address loop0 100.0.3.1/32
exec create ipip tunnel src 100.0.3.1 dst 200.0.0.2 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 534d674a416e47546e7746757a4b72664b614f49525569747a656564615a6354 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 534d674a416e47546e7746757a4b72664b614f49525569747a656564615a6354 esp
exec ipsec tunnel protect ipip3 sa-out 3 sa-in 100003 add
exec set interface ip address loop0 100.0.4.1/32
exec create ipip tunnel src 100.0.4.1 dst 200.0.0.2 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 44716462686e504252545141445a56477a4d7443736d7773786350444c4f755a esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 44716462686e504252545141445a56477a4d7443736d7773786350444c4f755a esp
exec ipsec tunnel protect ipip4 sa-out 4 sa-in 100004 add
exec set interface ip address loop0 100.0.5.1/32
exec create ipip tunnel src 100.0.5.1 dst 200.0.0.2 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 57575a53456742646c5a64594f4968616b685a557a7550575050557a64627479 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 57575a53456742646c5a64594f4968616b685a557a7550575050557a64627479 esp
exec ipsec tunnel protect ipip5 sa-out 5 sa-in 100005 add
exec set interface ip address loop0 100.0.6.1/32
exec create ipip tunnel src 100.0.6.1 dst 200.0.0.2 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 4c4a766f7646566e4543494a4b744b42484c7857566661554d4d5073774e4e78 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 4c4a766f7646566e4543494a4b744b42484c7857566661554d4d5073774e4e78 esp
exec ipsec tunnel protect ipip6 sa-out 6 sa-in 100006 add
exec set interface ip address loop0 100.0.7.1/32
exec create ipip tunnel src 100.0.7.1 dst 200.0.0.2 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 43747462697345576c435778747375686d43676d574a4a78484d6c494b644c44 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 43747462697345576c435778747375686d43676d574a4a78484d6c494b644c44 esp
exec ipsec tunnel protect ipip7 sa-out 7 sa-in 100007 add
exec set interface ip address loop0 100.0.8.1/32
exec create ipip tunnel src 100.0.8.1 dst 200.0.0.2 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 414a4d745662696750456c7670635576516373664a5367626161446761656d4e esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 414a4d745662696750456c7670635576516373664a5367626161446761656d4e esp
exec ipsec tunnel protect ipip8 sa-out 8 sa-in 100008 add
exec set interface ip address loop0 100.0.9.1/32
exec create ipip tunnel src 100.0.9.1 dst 200.0.0.2 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 6d6c56675670486241456d58724c676469576a4f4d6d716250644277754a5544 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 6d6c56675670486241456d58724c676469576a4f4d6d716250644277754a5544 esp
exec ipsec tunnel protect ipip9 sa-out 9 sa-in 100009 add
exec set interface ip address loop0 100.0.10.1/32
exec create ipip tunnel src 100.0.10.1 dst 200.0.0.2 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 64417a784d4675634245474d57504e595666464d684a734a52474c49506f7872 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 64417a784d4675634245474d57504e595666464d684a734a52474c49506f7872 esp
exec ipsec tunnel protect ipip10 sa-out 10 sa-in 100010 add
exec set interface ip address loop0 100.0.11.1/32
exec create ipip tunnel src 100.0.11.1 dst 200.0.0.2 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 676646784e54557650794b4267446c6b6c71616455444b42786668506544575a esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 676646784e54557650794b4267446c6b6c71616455444b42786668506544575a esp
exec ipsec tunnel protect ipip11 sa-out 11 sa-in 100011 add
exec set interface ip address loop0 100.0.12.1/32
exec create ipip tunnel src 100.0.12.1 dst 200.0.0.2 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 477a4b6d444159647453475164796d664b66516d645248594b79724d6c777a41 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 477a4b6d444159647453475164796d664b66516d645248594b79724d6c777a41 esp
exec ipsec tunnel protect ipip12 sa-out 12 sa-in 100012 add
exec set interface ip address loop0 100.0.13.1/32
exec create ipip tunnel src 100.0.13.1 dst 200.0.0.2 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 556b44655a794d4e6b597568516b5470716569516e506d5670666a45686c4d5a esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 556b44655a794d4e6b597568516b5470716569516e506d5670666a45686c4d5a esp
exec ipsec tunnel protect ipip13 sa-out 13 sa-in 100013 add
exec set interface ip address loop0 100.0.14.1/32
exec create ipip tunnel src 100.0.14.1 dst 200.0.0.2 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 4b557942745a4b464e4c6b657670516659795a42656b6844654448634c4a7848 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 4b557942745a4b464e4c6b657670516659795a42656b6844654448634c4a7848 esp
exec ipsec tunnel protect ipip14 sa-out 14 sa-in 100014 add
exec set interface ip address loop0 100.0.15.1/32
exec create ipip tunnel src 100.0.15.1 dst 200.0.0.2 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 5377564f476c466d585152736275476f676f4278616a6c51784c6b6b42516649 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 5377564f476c466d585152736275476f676f4278616a6c51784c6b6b42516649 esp
exec ipsec tunnel protect ipip15 sa-out 15 sa-in 100015 add
exec set interface ip address loop0 100.0.16.1/32
exec create ipip tunnel src 100.0.16.1 dst 200.0.0.2 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 526b615368444161617a47784a657149514866444b626c6f7678636f78714b78 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 526b615368444161617a47784a657149514866444b626c6f7678636f78714b78 esp
exec ipsec tunnel protect ipip16 sa-out 16 sa-in 100016 add
exec set interface ip address loop0 100.0.17.1/32
exec create ipip tunnel src 100.0.17.1 dst 200.0.0.2 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 51535752486d6f65476b677a484d41487957424b77664743474d47435068796b esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 51535752486d6f65476b677a484d41487957424b77664743474d47435068796b esp
exec ipsec tunnel protect ipip17 sa-out 17 sa-in 100017 add
exec set interface ip address loop0 100.0.18.1/32
exec create ipip tunnel src 100.0.18.1 dst 200.0.0.2 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 535851776a6f7a456c44514c514f58424162736e634d5668616b774254417a6a esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 535851776a6f7a456c44514c514f58424162736e634d5668616b774254417a6a esp
exec ipsec tunnel protect ipip18 sa-out 18 sa-in 100018 add
exec set interface ip address loop0 100.0.19.1/32
exec create ipip tunnel src 100.0.19.1 dst 200.0.0.2 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 4858774863596d546d7850515041667541744b735170446c4775705267586d4c esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 4858774863596d546d7850515041667541744b735170446c4775705267586d4c esp
exec ipsec tunnel protect ipip19 sa-out 19 sa-in 100019 add
exec set interface ip address loop0 100.0.20.1/32
exec create ipip tunnel src 100.0.20.1 dst 200.0.0.2 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 436d6664416f784967434d5946586f4f7a587273754b624c654e76685447474c esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 436d6664416f784967434d5946586f4f7a587273754b624c654e76685447474c esp
exec ipsec tunnel protect ipip20 sa-out 20 sa-in 100020 add
exec set interface ip address loop0 100.0.21.1/32
exec create ipip tunnel src 100.0.21.1 dst 200.0.0.2 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 494d4b736c7659584f75665066706b7757615546507465526b636b7369536e57 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 494d4b736c7659584f75665066706b7757615546507465526b636b7369536e57 esp
exec ipsec tunnel protect ipip21 sa-out 21 sa-in 100021 add
exec set interface ip address loop0 100.0.22.1/32
exec create ipip tunnel src 100.0.22.1 dst 200.0.0.2 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 4553707342536a7959537765645a506e545574574d524b614c766b4d436e6f77 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 4553707342536a7959537765645a506e545574574d524b614c766b4d436e6f77 esp
exec ipsec tunnel protect ipip22 sa-out 22 sa-in 100022 add
exec set interface ip address loop0 100.0.23.1/32
exec create ipip tunnel src 100.0.23.1 dst 200.0.0.2 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 784d7a537a79576a515355716d7a446a486c56624c73656a4c564448564e7a70 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 784d7a537a79576a515355716d7a446a486c56624c73656a4c564448564e7a70 esp
exec ipsec tunnel protect ipip23 sa-out 23 sa-in 100023 add
exec set interface ip address loop0 100.0.24.1/32
exec create ipip tunnel src 100.0.24.1 dst 200.0.0.2 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 45485351486b4369446e59776d6a414a6475786a706154475174666b69594267 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 45485351486b4369446e59776d6a414a6475786a706154475174666b69594267 esp
exec ipsec tunnel protect ipip24 sa-out 24 sa-in 100024 add
exec set interface ip address loop0 100.0.25.1/32
exec create ipip tunnel src 100.0.25.1 dst 200.0.0.2 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 75627668644f434f4161466c594b4b71724261797965574b436466414968446b esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 75627668644f434f4161466c594b4b71724261797965574b436466414968446b esp
exec ipsec tunnel protect ipip25 sa-out 25 sa-in 100025 add
exec set interface ip address loop0 100.0.26.1/32
exec create ipip tunnel src 100.0.26.1 dst 200.0.0.2 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 5a435051764f58636b6259766d5a517a6f555756724753514259566c6945636a esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 5a435051764f58636b6259766d5a517a6f555756724753514259566c6945636a esp
exec ipsec tunnel protect ipip26 sa-out 26 sa-in 100026 add
exec set interface ip address loop0 100.0.27.1/32
exec create ipip tunnel src 100.0.27.1 dst 200.0.0.2 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 4a5150546b59424f704b6957485553466e514c68717475474676634f687a7178 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 4a5150546b59424f704b6957485553466e514c68717475474676634f687a7178 esp
exec ipsec tunnel protect ipip27 sa-out 27 sa-in 100027 add
exec set interface ip address loop0 100.0.28.1/32
exec create ipip tunnel src 100.0.28.1 dst 200.0.0.2 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 494a574e51505276424a50714d786271454654586e4c7768666548544a744c6f esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 494a574e51505276424a50714d786271454654586e4c7768666548544a744c6f esp
exec ipsec tunnel protect ipip28 sa-out 28 sa-in 100028 add
exec set interface ip address loop0 100.0.29.1/32
exec create ipip tunnel src 100.0.29.1 dst 200.0.0.2 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 4f6e4c56686352675871474242426c764d6e63786d704f4d6673767742766667 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 4f6e4c56686352675871474242426c764d6e63786d704f4d6673767742766667 esp
exec ipsec tunnel protect ipip29 sa-out 29 sa-in 100029 add
exec set interface ip address loop0 100.0.30.1/32
exec create ipip tunnel src 100.0.30.1 dst 200.0.0.2 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 62676d7667426750766a6b5a71724d41684e4a46676f62416b7a7956645a526b esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 62676d7667426750766a6b5a71724d41684e4a46676f62416b7a7956645a526b esp
exec ipsec tunnel protect ipip30 sa-out 30 sa-in 100030 add
exec set interface ip address loop0 100.0.31.1/32
exec create ipip tunnel src 100.0.31.1 dst 200.0.0.2 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 49474c6b6370516a4c45775545657376624e7a49416c4c554e46716c6a6f6950 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 49474c6b6370516a4c45775545657376624e7a49416c4c554e46716c6a6f6950 esp
exec ipsec tunnel protect ipip31 sa-out 31 sa-in 100031 add
exec set interface ip address loop0 100.0.32.1/32
exec create ipip tunnel src 100.0.32.1 dst 200.0.0.2 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 70414f64475a6a76654567637a6a4d67584c6c75614d6977436877704d447442 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 70414f64475a6a76654567637a6a4d67584c6c75614d6977436877704d447442 esp
exec ipsec tunnel protect ipip32 sa-out 32 sa-in 100032 add
exec set interface ip address loop0 100.0.33.1/32
exec create ipip tunnel src 100.0.33.1 dst 200.0.0.2 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 617674504e79644a4a667a736f784275616c52656b6a43486252585675536f73 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 617674504e79644a4a667a736f784275616c52656b6a43486252585675536f73 esp
exec ipsec tunnel protect ipip33 sa-out 33 sa-in 100033 add
exec set interface ip address loop0 100.0.34.1/32
exec create ipip tunnel src 100.0.34.1 dst 200.0.0.2 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 6d57524b67526650436e636c6f54685646765348786e637a6e5674764954577a esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 6d57524b67526650436e636c6f54685646765348786e637a6e5674764954577a esp
exec ipsec tunnel protect ipip34 sa-out 34 sa-in 100034 add
exec set interface ip address loop0 100.0.35.1/32
exec create ipip tunnel src 100.0.35.1 dst 200.0.0.2 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 55576b445778754d474f73784a767953684a6764414a4367577a79556666654e esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 55576b445778754d474f73784a767953684a6764414a4367577a79556666654e esp
exec ipsec tunnel protect ipip35 sa-out 35 sa-in 100035 add
exec set interface ip address loop0 100.0.36.1/32
exec create ipip tunnel src 100.0.36.1 dst 200.0.0.2 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 6744456c517854697a4c41667751755a656f51654675615042706e5a78786e4c esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 6744456c517854697a4c41667751755a656f51654675615042706e5a78786e4c esp
exec ipsec tunnel protect ipip36 sa-out 36 sa-in 100036 add
exec set interface ip address loop0 100.0.37.1/32
exec create ipip tunnel src 100.0.37.1 dst 200.0.0.2 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 46696e4379516c456864636d664f76586c424a596542416e6d43555a78716247 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 46696e4379516c456864636d664f76586c424a596542416e6d43555a78716247 esp
exec ipsec tunnel protect ipip37 sa-out 37 sa-in 100037 add
exec set interface ip address loop0 100.0.38.1/32
exec create ipip tunnel src 100.0.38.1 dst 200.0.0.2 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 766e78725541547874455a74546d4b6b6b51745069416f6e5574414c72784366 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 766e78725541547874455a74546d4b6b6b51745069416f6e5574414c72784366 esp
exec ipsec tunnel protect ipip38 sa-out 38 sa-in 100038 add
exec set interface ip address loop0 100.0.39.1/32
exec create ipip tunnel src 100.0.39.1 dst 200.0.0.2 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 6c697a6e596d795a464c71594e7444756e71446d494a6f61476668766e764c77 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 6c697a6e596d795a464c71594e7444756e71446d494a6f61476668766e764c77 esp
exec ipsec tunnel protect ipip39 sa-out 39 sa-in 100039 add
exec set interface unnumbered ipip0 use avf-0/3b/a/0
exec set interface state ipip0 up
exec ip route add 20.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use avf-0/3b/a/0
exec set interface state ipip1 up
exec ip route add 20.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use avf-0/3b/a/0
exec set interface state ipip2 up
exec ip route add 20.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use avf-0/3b/a/0
exec set interface state ipip3 up
exec ip route add 20.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use avf-0/3b/a/0
exec set interface state ipip4 up
exec ip route add 20.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use avf-0/3b/a/0
exec set interface state ipip5 up
exec ip route add 20.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use avf-0/3b/a/0
exec set interface state ipip6 up
exec ip route add 20.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use avf-0/3b/a/0
exec set interface state ipip7 up
exec ip route add 20.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use avf-0/3b/a/0
exec set interface state ipip8 up
exec ip route add 20.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use avf-0/3b/a/0
exec set interface state ipip9 up
exec ip route add 20.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use avf-0/3b/a/0
exec set interface state ipip10 up
exec ip route add 20.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use avf-0/3b/a/0
exec set interface state ipip11 up
exec ip route add 20.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use avf-0/3b/a/0
exec set interface state ipip12 up
exec ip route add 20.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use avf-0/3b/a/0
exec set interface state ipip13 up
exec ip route add 20.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use avf-0/3b/a/0
exec set interface state ipip14 up
exec ip route add 20.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use avf-0/3b/a/0
exec set interface state ipip15 up
exec ip route add 20.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use avf-0/3b/a/0
exec set interface state ipip16 up
exec ip route add 20.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use avf-0/3b/a/0
exec set interface state ipip17 up
exec ip route add 20.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use avf-0/3b/a/0
exec set interface state ipip18 up
exec ip route add 20.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use avf-0/3b/a/0
exec set interface state ipip19 up
exec ip route add 20.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use avf-0/3b/a/0
exec set interface state ipip20 up
exec ip route add 20.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use avf-0/3b/a/0
exec set interface state ipip21 up
exec ip route add 20.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use avf-0/3b/a/0
exec set interface state ipip22 up
exec ip route add 20.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use avf-0/3b/a/0
exec set interface state ipip23 up
exec ip route add 20.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use avf-0/3b/a/0
exec set interface state ipip24 up
exec ip route add 20.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use avf-0/3b/a/0
exec set interface state ipip25 up
exec ip route add 20.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use avf-0/3b/a/0
exec set interface state ipip26 up
exec ip route add 20.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use avf-0/3b/a/0
exec set interface state ipip27 up
exec ip route add 20.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use avf-0/3b/a/0
exec set interface state ipip28 up
exec ip route add 20.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use avf-0/3b/a/0
exec set interface state ipip29 up
exec ip route add 20.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use avf-0/3b/a/0
exec set interface state ipip30 up
exec ip route add 20.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use avf-0/3b/a/0
exec set interface state ipip31 up
exec ip route add 20.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use avf-0/3b/a/0
exec set interface state ipip32 up
exec ip route add 20.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use avf-0/3b/a/0
exec set interface state ipip33 up
exec ip route add 20.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use avf-0/3b/a/0
exec set interface state ipip34 up
exec ip route add 20.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use avf-0/3b/a/0
exec set interface state ipip35 up
exec ip route add 20.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use avf-0/3b/a/0
exec set interface state ipip36 up
exec ip route add 20.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use avf-0/3b/a/0
exec set interface state ipip37 up
exec ip route add 20.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use avf-0/3b/a/0
exec set interface state ipip38 up
exec ip route add 20.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use avf-0/3b/a/0
exec set interface state ipip39 up
exec ip route add 20.0.0.39/32 via ipip39
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec set interface ip address avf-0/3b/a/0 200.0.0.2/24.0
exec create ipip tunnel src 200.0.0.2 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 6970754f4d6b724453684562596e7a4e4e506d584c62536e6747447667677a73 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 6970754f4d6b724453684562596e7a4e4e506d584c62536e6747447667677a73 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 4243494e75786d4b5076736b566167527671684a55716d516656684849797477 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 4243494e75786d4b5076736b566167527671684a55716d516656684849797477 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 704e657966556d4c59697847586b4747754b59646c7853786c4174567a715a63 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 704e657966556d4c59697847586b4747754b59646c7853786c4174567a715a63 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 534d674a416e47546e7746757a4b72664b614f49525569747a656564615a6354 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 534d674a416e47546e7746757a4b72664b614f49525569747a656564615a6354 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 44716462686e504252545141445a56477a4d7443736d7773786350444c4f755a esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 44716462686e504252545141445a56477a4d7443736d7773786350444c4f755a esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 57575a53456742646c5a64594f4968616b685a557a7550575050557a64627479 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 57575a53456742646c5a64594f4968616b685a557a7550575050557a64627479 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 4c4a766f7646566e4543494a4b744b42484c7857566661554d4d5073774e4e78 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 4c4a766f7646566e4543494a4b744b42484c7857566661554d4d5073774e4e78 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 43747462697345576c435778747375686d43676d574a4a78484d6c494b644c44 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 43747462697345576c435778747375686d43676d574a4a78484d6c494b644c44 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 414a4d745662696750456c7670635576516373664a5367626161446761656d4e esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 414a4d745662696750456c7670635576516373664a5367626161446761656d4e esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 6d6c56675670486241456d58724c676469576a4f4d6d716250644277754a5544 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 6d6c56675670486241456d58724c676469576a4f4d6d716250644277754a5544 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 64417a784d4675634245474d57504e595666464d684a734a52474c49506f7872 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 64417a784d4675634245474d57504e595666464d684a734a52474c49506f7872 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 676646784e54557650794b4267446c6b6c71616455444b42786668506544575a esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 676646784e54557650794b4267446c6b6c71616455444b42786668506544575a esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 477a4b6d444159647453475164796d664b66516d645248594b79724d6c777a41 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 477a4b6d444159647453475164796d664b66516d645248594b79724d6c777a41 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 556b44655a794d4e6b597568516b5470716569516e506d5670666a45686c4d5a esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 556b44655a794d4e6b597568516b5470716569516e506d5670666a45686c4d5a esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 4b557942745a4b464e4c6b657670516659795a42656b6844654448634c4a7848 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 4b557942745a4b464e4c6b657670516659795a42656b6844654448634c4a7848 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 5377564f476c466d585152736275476f676f4278616a6c51784c6b6b42516649 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 5377564f476c466d585152736275476f676f4278616a6c51784c6b6b42516649 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 526b615368444161617a47784a657149514866444b626c6f7678636f78714b78 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 526b615368444161617a47784a657149514866444b626c6f7678636f78714b78 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 51535752486d6f65476b677a484d41487957424b77664743474d47435068796b esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 51535752486d6f65476b677a484d41487957424b77664743474d47435068796b esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 535851776a6f7a456c44514c514f58424162736e634d5668616b774254417a6a esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 535851776a6f7a456c44514c514f58424162736e634d5668616b774254417a6a esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 4858774863596d546d7850515041667541744b735170446c4775705267586d4c esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 4858774863596d546d7850515041667541744b735170446c4775705267586d4c esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 436d6664416f784967434d5946586f4f7a587273754b624c654e76685447474c esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 436d6664416f784967434d5946586f4f7a587273754b624c654e76685447474c esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 494d4b736c7659584f75665066706b7757615546507465526b636b7369536e57 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 494d4b736c7659584f75665066706b7757615546507465526b636b7369536e57 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 4553707342536a7959537765645a506e545574574d524b614c766b4d436e6f77 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 4553707342536a7959537765645a506e545574574d524b614c766b4d436e6f77 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 784d7a537a79576a515355716d7a446a486c56624c73656a4c564448564e7a70 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 784d7a537a79576a515355716d7a446a486c56624c73656a4c564448564e7a70 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 45485351486b4369446e59776d6a414a6475786a706154475174666b69594267 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 45485351486b4369446e59776d6a414a6475786a706154475174666b69594267 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 75627668644f434f4161466c594b4b71724261797965574b436466414968446b esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 75627668644f434f4161466c594b4b71724261797965574b436466414968446b esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 5a435051764f58636b6259766d5a517a6f555756724753514259566c6945636a esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 5a435051764f58636b6259766d5a517a6f555756724753514259566c6945636a esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 4a5150546b59424f704b6957485553466e514c68717475474676634f687a7178 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 4a5150546b59424f704b6957485553466e514c68717475474676634f687a7178 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 494a574e51505276424a50714d786271454654586e4c7768666548544a744c6f esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 494a574e51505276424a50714d786271454654586e4c7768666548544a744c6f esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 4f6e4c56686352675871474242426c764d6e63786d704f4d6673767742766667 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 4f6e4c56686352675871474242426c764d6e63786d704f4d6673767742766667 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 62676d7667426750766a6b5a71724d41684e4a46676f62416b7a7956645a526b esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 62676d7667426750766a6b5a71724d41684e4a46676f62416b7a7956645a526b esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 49474c6b6370516a4c45775545657376624e7a49416c4c554e46716c6a6f6950 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 49474c6b6370516a4c45775545657376624e7a49416c4c554e46716c6a6f6950 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 70414f64475a6a76654567637a6a4d67584c6c75614d6977436877704d447442 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 70414f64475a6a76654567637a6a4d67584c6c75614d6977436877704d447442 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 617674504e79644a4a667a736f784275616c52656b6a43486252585675536f73 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 617674504e79644a4a667a736f784275616c52656b6a43486252585675536f73 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 6d57524b67526650436e636c6f54685646765348786e637a6e5674764954577a esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 6d57524b67526650436e636c6f54685646765348786e637a6e5674764954577a esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 55576b445778754d474f73784a767953684a6764414a4367577a79556666654e esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 55576b445778754d474f73784a767953684a6764414a4367577a79556666654e esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 6744456c517854697a4c41667751755a656f51654675615042706e5a78786e4c esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 6744456c517854697a4c41667751755a656f51654675615042706e5a78786e4c esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 46696e4379516c456864636d664f76586c424a596542416e6d43555a78716247 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 46696e4379516c456864636d664f76586c424a596542416e6d43555a78716247 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 766e78725541547874455a74546d4b6b6b51745069416f6e5574414c72784366 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 766e78725541547874455a74546d4b6b6b51745069416f6e5574414c72784366 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 6c697a6e596d795a464c71594e7444756e71446d494a6f61476668766e764c77 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 6c697a6e596d795a464c71594e7444756e71446d494a6f61476668766e764c77 esp
exec ipsec tunnel protect ipip39 sa-out 100039 sa-in 39 add
exec ip route add 100.0.0.1/8 via 200.0.0.1 avf-0/3b/a/0
exec set interface unnumbered ipip0 use avf-0/3b/a/0
exec set interface state ipip0 up
exec ip route add 10.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use avf-0/3b/a/0
exec set interface state ipip1 up
exec ip route add 10.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use avf-0/3b/a/0
exec set interface state ipip2 up
exec ip route add 10.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use avf-0/3b/a/0
exec set interface state ipip3 up
exec ip route add 10.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use avf-0/3b/a/0
exec set interface state ipip4 up
exec ip route add 10.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use avf-0/3b/a/0
exec set interface state ipip5 up
exec ip route add 10.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use avf-0/3b/a/0
exec set interface state ipip6 up
exec ip route add 10.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use avf-0/3b/a/0
exec set interface state ipip7 up
exec ip route add 10.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use avf-0/3b/a/0
exec set interface state ipip8 up
exec ip route add 10.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use avf-0/3b/a/0
exec set interface state ipip9 up
exec ip route add 10.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use avf-0/3b/a/0
exec set interface state ipip10 up
exec ip route add 10.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use avf-0/3b/a/0
exec set interface state ipip11 up
exec ip route add 10.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use avf-0/3b/a/0
exec set interface state ipip12 up
exec ip route add 10.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use avf-0/3b/a/0
exec set interface state ipip13 up
exec ip route add 10.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use avf-0/3b/a/0
exec set interface state ipip14 up
exec ip route add 10.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use avf-0/3b/a/0
exec set interface state ipip15 up
exec ip route add 10.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use avf-0/3b/a/0
exec set interface state ipip16 up
exec ip route add 10.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use avf-0/3b/a/0
exec set interface state ipip17 up
exec ip route add 10.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use avf-0/3b/a/0
exec set interface state ipip18 up
exec ip route add 10.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use avf-0/3b/a/0
exec set interface state ipip19 up
exec ip route add 10.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use avf-0/3b/a/0
exec set interface state ipip20 up
exec ip route add 10.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use avf-0/3b/a/0
exec set interface state ipip21 up
exec ip route add 10.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use avf-0/3b/a/0
exec set interface state ipip22 up
exec ip route add 10.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use avf-0/3b/a/0
exec set interface state ipip23 up
exec ip route add 10.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use avf-0/3b/a/0
exec set interface state ipip24 up
exec ip route add 10.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use avf-0/3b/a/0
exec set interface state ipip25 up
exec ip route add 10.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use avf-0/3b/a/0
exec set interface state ipip26 up
exec ip route add 10.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use avf-0/3b/a/0
exec set interface state ipip27 up
exec ip route add 10.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use avf-0/3b/a/0
exec set interface state ipip28 up
exec ip route add 10.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use avf-0/3b/a/0
exec set interface state ipip29 up
exec ip route add 10.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use avf-0/3b/a/0
exec set interface state ipip30 up
exec ip route add 10.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use avf-0/3b/a/0
exec set interface state ipip31 up
exec ip route add 10.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use avf-0/3b/a/0
exec set interface state ipip32 up
exec ip route add 10.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use avf-0/3b/a/0
exec set interface state ipip33 up
exec ip route add 10.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use avf-0/3b/a/0
exec set interface state ipip34 up
exec ip route add 10.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use avf-0/3b/a/0
exec set interface state ipip35 up
exec ip route add 10.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use avf-0/3b/a/0
exec set interface state ipip36 up
exec ip route add 10.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use avf-0/3b/a/0
exec set interface state ipip37 up
exec ip route add 10.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use avf-0/3b/a/0
exec set interface state ipip38 up
exec ip route add 10.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use avf-0/3b/a/0
exec set interface state ipip39 up
exec ip route add 10.0.0.39/32 via ipip39

 1518b-4t2c-avf-ethip4ipsec40tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec create loopback interface
exec set interface state loop0 up
exec set interface ip address avf-0/3b/a/0 200.0.0.1/24
exec set ip neighbor avf-0/3b/a/0 200.0.0.2 3c:fe:bd:f8:fd:00 static
exec set interface ip address loop0 100.0.0.1/32
exec create ipip tunnel src 100.0.0.1 dst 200.0.0.2 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 7a52544d65787a487559466c51735558666e74625a496568614f775652744170 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 7a52544d65787a487559466c51735558666e74625a496568614f775652744170 esp
exec ipsec tunnel protect ipip0 sa-out 0 sa-in 100000 add
exec set interface ip address loop0 100.0.1.1/32
exec create ipip tunnel src 100.0.1.1 dst 200.0.0.2 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 4b4554755a64726a626577784a62637757526d70707a414e6a45496f5459616d esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 4b4554755a64726a626577784a62637757526d70707a414e6a45496f5459616d esp
exec ipsec tunnel protect ipip1 sa-out 1 sa-in 100001 add
exec set interface ip address loop0 100.0.2.1/32
exec create ipip tunnel src 100.0.2.1 dst 200.0.0.2 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 6c544f516c4979705a6a5975704d467756584e6d626141646a45437156646570 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 6c544f516c4979705a6a5975704d467756584e6d626141646a45437156646570 esp
exec ipsec tunnel protect ipip2 sa-out 2 sa-in 100002 add
exec set interface ip address loop0 100.0.3.1/32
exec create ipip tunnel src 100.0.3.1 dst 200.0.0.2 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 6d6e76426d546b51414c6a756b624d714a674e4d48597043727a4248664f6c47 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 6d6e76426d546b51414c6a756b624d714a674e4d48597043727a4248664f6c47 esp
exec ipsec tunnel protect ipip3 sa-out 3 sa-in 100003 add
exec set interface ip address loop0 100.0.4.1/32
exec create ipip tunnel src 100.0.4.1 dst 200.0.0.2 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 47684a70726b4872666558506474626641614646436d4d54594a4f48584c4a61 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 47684a70726b4872666558506474626641614646436d4d54594a4f48584c4a61 esp
exec ipsec tunnel protect ipip4 sa-out 4 sa-in 100004 add
exec set interface ip address loop0 100.0.5.1/32
exec create ipip tunnel src 100.0.5.1 dst 200.0.0.2 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 41786d7a4c4f57707847574951644748726963524f5250424558486d56465a41 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 41786d7a4c4f57707847574951644748726963524f5250424558486d56465a41 esp
exec ipsec tunnel protect ipip5 sa-out 5 sa-in 100005 add
exec set interface ip address loop0 100.0.6.1/32
exec create ipip tunnel src 100.0.6.1 dst 200.0.0.2 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 656579686143645678737059675a5871677955696a5a6959434279464b4a4646 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 656579686143645678737059675a5871677955696a5a6959434279464b4a4646 esp
exec ipsec tunnel protect ipip6 sa-out 6 sa-in 100006 add
exec set interface ip address loop0 100.0.7.1/32
exec create ipip tunnel src 100.0.7.1 dst 200.0.0.2 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 43476570716859625874504c6569594467725973676b724e4773564d744d4a59 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 43476570716859625874504c6569594467725973676b724e4773564d744d4a59 esp
exec ipsec tunnel protect ipip7 sa-out 7 sa-in 100007 add
exec set interface ip address loop0 100.0.8.1/32
exec create ipip tunnel src 100.0.8.1 dst 200.0.0.2 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 7678774b4371576d6b7361744556484752646d75585642596b43486176777558 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 7678774b4371576d6b7361744556484752646d75585642596b43486176777558 esp
exec ipsec tunnel protect ipip8 sa-out 8 sa-in 100008 add
exec set interface ip address loop0 100.0.9.1/32
exec create ipip tunnel src 100.0.9.1 dst 200.0.0.2 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 76444855686452506f665769625061716a744b77734c7363454a4a45504a715a esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 76444855686452506f665769625061716a744b77734c7363454a4a45504a715a esp
exec ipsec tunnel protect ipip9 sa-out 9 sa-in 100009 add
exec set interface ip address loop0 100.0.10.1/32
exec create ipip tunnel src 100.0.10.1 dst 200.0.0.2 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 6d6279744e6f59767969636d70766f4f57554d6e6354557a4d4b514c7a51465a esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 6d6279744e6f59767969636d70766f4f57554d6e6354557a4d4b514c7a51465a esp
exec ipsec tunnel protect ipip10 sa-out 10 sa-in 100010 add
exec set interface ip address loop0 100.0.11.1/32
exec create ipip tunnel src 100.0.11.1 dst 200.0.0.2 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 717158526946734d77594d484944564d7555494e4954697248454f49654d5753 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 717158526946734d77594d484944564d7555494e4954697248454f49654d5753 esp
exec ipsec tunnel protect ipip11 sa-out 11 sa-in 100011 add
exec set interface ip address loop0 100.0.12.1/32
exec create ipip tunnel src 100.0.12.1 dst 200.0.0.2 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 424f5a5458654f69574f6b4f526256726c6d676b447a70494841614e72757552 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 424f5a5458654f69574f6b4f526256726c6d676b447a70494841614e72757552 esp
exec ipsec tunnel protect ipip12 sa-out 12 sa-in 100012 add
exec set interface ip address loop0 100.0.13.1/32
exec create ipip tunnel src 100.0.13.1 dst 200.0.0.2 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 52525a69626e6b707278495555514e6e6e4c544d557262576a615578446a5949 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 52525a69626e6b707278495555514e6e6e4c544d557262576a615578446a5949 esp
exec ipsec tunnel protect ipip13 sa-out 13 sa-in 100013 add
exec set interface ip address loop0 100.0.14.1/32
exec create ipip tunnel src 100.0.14.1 dst 200.0.0.2 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 6569727a47584e6b754c505255776449514e6d616e72746b50784e6c64646e4e esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 6569727a47584e6b754c505255776449514e6d616e72746b50784e6c64646e4e esp
exec ipsec tunnel protect ipip14 sa-out 14 sa-in 100014 add
exec set interface ip address loop0 100.0.15.1/32
exec create ipip tunnel src 100.0.15.1 dst 200.0.0.2 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 466c57704e5a70536d72556d49636c506a546646784c776e49624d596a595a6f esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 466c57704e5a70536d72556d49636c506a546646784c776e49624d596a595a6f esp
exec ipsec tunnel protect ipip15 sa-out 15 sa-in 100015 add
exec set interface ip address loop0 100.0.16.1/32
exec create ipip tunnel src 100.0.16.1 dst 200.0.0.2 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 51434271697672414244625450524277644765704b7a4d59666d7a6e52797a6b esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 51434271697672414244625450524277644765704b7a4d59666d7a6e52797a6b esp
exec ipsec tunnel protect ipip16 sa-out 16 sa-in 100016 add
exec set interface ip address loop0 100.0.17.1/32
exec create ipip tunnel src 100.0.17.1 dst 200.0.0.2 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 41556d6f694954695272634e6e5269556e4e505154554a69796e6c7464676346 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 41556d6f694954695272634e6e5269556e4e505154554a69796e6c7464676346 esp
exec ipsec tunnel protect ipip17 sa-out 17 sa-in 100017 add
exec set interface ip address loop0 100.0.18.1/32
exec create ipip tunnel src 100.0.18.1 dst 200.0.0.2 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 43585770724865456c495379634a78507079756e64685a6d6b665351726c6f42 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 43585770724865456c495379634a78507079756e64685a6d6b665351726c6f42 esp
exec ipsec tunnel protect ipip18 sa-out 18 sa-in 100018 add
exec set interface ip address loop0 100.0.19.1/32
exec create ipip tunnel src 100.0.19.1 dst 200.0.0.2 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 48617578795843466b73736b476b56467a4d4e73646559516261717879415679 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 48617578795843466b73736b476b56467a4d4e73646559516261717879415679 esp
exec ipsec tunnel protect ipip19 sa-out 19 sa-in 100019 add
exec set interface ip address loop0 100.0.20.1/32
exec create ipip tunnel src 100.0.20.1 dst 200.0.0.2 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 46464f616c724a644778415a6a48776a615a53797a55527a7673535271757059 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 46464f616c724a644778415a6a48776a615a53797a55527a7673535271757059 esp
exec ipsec tunnel protect ipip20 sa-out 20 sa-in 100020 add
exec set interface ip address loop0 100.0.21.1/32
exec create ipip tunnel src 100.0.21.1 dst 200.0.0.2 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 6e7761664e696f726f7645494a734c62515a6551794f557869736e5449656641 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 6e7761664e696f726f7645494a734c62515a6551794f557869736e5449656641 esp
exec ipsec tunnel protect ipip21 sa-out 21 sa-in 100021 add
exec set interface ip address loop0 100.0.22.1/32
exec create ipip tunnel src 100.0.22.1 dst 200.0.0.2 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 4c704d72554a50786269426767636f756b616d775a6d674b71595045734b6d65 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 4c704d72554a50786269426767636f756b616d775a6d674b71595045734b6d65 esp
exec ipsec tunnel protect ipip22 sa-out 22 sa-in 100022 add
exec set interface ip address loop0 100.0.23.1/32
exec create ipip tunnel src 100.0.23.1 dst 200.0.0.2 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 744f6e444f6a7962456f6161784652526a5053745947516f456f6e6e48574c69 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 744f6e444f6a7962456f6161784652526a5053745947516f456f6e6e48574c69 esp
exec ipsec tunnel protect ipip23 sa-out 23 sa-in 100023 add
exec set interface ip address loop0 100.0.24.1/32
exec create ipip tunnel src 100.0.24.1 dst 200.0.0.2 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 526256714e48786851516d4763414b7675746c68676d53426177476675787a4e esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 526256714e48786851516d4763414b7675746c68676d53426177476675787a4e esp
exec ipsec tunnel protect ipip24 sa-out 24 sa-in 100024 add
exec set interface ip address loop0 100.0.25.1/32
exec create ipip tunnel src 100.0.25.1 dst 200.0.0.2 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 53704a76474d70764e62455a4d5954704363546c70726a496e5052717a726961 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 53704a76474d70764e62455a4d5954704363546c70726a496e5052717a726961 esp
exec ipsec tunnel protect ipip25 sa-out 25 sa-in 100025 add
exec set interface ip address loop0 100.0.26.1/32
exec create ipip tunnel src 100.0.26.1 dst 200.0.0.2 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 6b6e4f51616c6a6d47656e58784e714e5046686668427a764f72784c5341576b esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 6b6e4f51616c6a6d47656e58784e714e5046686668427a764f72784c5341576b esp
exec ipsec tunnel protect ipip26 sa-out 26 sa-in 100026 add
exec set interface ip address loop0 100.0.27.1/32
exec create ipip tunnel src 100.0.27.1 dst 200.0.0.2 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 6463664977564d68574d6c6f796b69636a6a6a676e557244777a6f594e49616b esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 6463664977564d68574d6c6f796b69636a6a6a676e557244777a6f594e49616b esp
exec ipsec tunnel protect ipip27 sa-out 27 sa-in 100027 add
exec set interface ip address loop0 100.0.28.1/32
exec create ipip tunnel src 100.0.28.1 dst 200.0.0.2 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 64636c494e664a6a54484472647257476d72716f695a7853415a43664a6c6a51 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 64636c494e664a6a54484472647257476d72716f695a7853415a43664a6c6a51 esp
exec ipsec tunnel protect ipip28 sa-out 28 sa-in 100028 add
exec set interface ip address loop0 100.0.29.1/32
exec create ipip tunnel src 100.0.29.1 dst 200.0.0.2 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 596c73434e4168534451636a557355625855495755697262526e446b48734f77 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 596c73434e4168534451636a557355625855495755697262526e446b48734f77 esp
exec ipsec tunnel protect ipip29 sa-out 29 sa-in 100029 add
exec set interface ip address loop0 100.0.30.1/32
exec create ipip tunnel src 100.0.30.1 dst 200.0.0.2 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 64456c727a5075534b614b47625452434a476b4667795a73475a686d4263646f esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 64456c727a5075534b614b47625452434a476b4667795a73475a686d4263646f esp
exec ipsec tunnel protect ipip30 sa-out 30 sa-in 100030 add
exec set interface ip address loop0 100.0.31.1/32
exec create ipip tunnel src 100.0.31.1 dst 200.0.0.2 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 45644248486a6b726b52614f7a5664526748784c597044555351746c71786c64 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 45644248486a6b726b52614f7a5664526748784c597044555351746c71786c64 esp
exec ipsec tunnel protect ipip31 sa-out 31 sa-in 100031 add
exec set interface ip address loop0 100.0.32.1/32
exec create ipip tunnel src 100.0.32.1 dst 200.0.0.2 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 6848704f4e4579446277667a4b7558494270765a465766646d4674686f444673 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 6848704f4e4579446277667a4b7558494270765a465766646d4674686f444673 esp
exec ipsec tunnel protect ipip32 sa-out 32 sa-in 100032 add
exec set interface ip address loop0 100.0.33.1/32
exec create ipip tunnel src 100.0.33.1 dst 200.0.0.2 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 4a466c7a57735676785a4f59735063796f504745494c74775a70465444535468 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 4a466c7a57735676785a4f59735063796f504745494c74775a70465444535468 esp
exec ipsec tunnel protect ipip33 sa-out 33 sa-in 100033 add
exec set interface ip address loop0 100.0.34.1/32
exec create ipip tunnel src 100.0.34.1 dst 200.0.0.2 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 4f4163777a5049434e437558684874654e5779767552796c7349524a72697848 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 4f4163777a5049434e437558684874654e5779767552796c7349524a72697848 esp
exec ipsec tunnel protect ipip34 sa-out 34 sa-in 100034 add
exec set interface ip address loop0 100.0.35.1/32
exec create ipip tunnel src 100.0.35.1 dst 200.0.0.2 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 424273725176777951736878516c7444647347676678487245744c4950654344 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 424273725176777951736878516c7444647347676678487245744c4950654344 esp
exec ipsec tunnel protect ipip35 sa-out 35 sa-in 100035 add
exec set interface ip address loop0 100.0.36.1/32
exec create ipip tunnel src 100.0.36.1 dst 200.0.0.2 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 456e6763626c4c757843664e58464b6472576c434b5641456f44427473507375 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 456e6763626c4c757843664e58464b6472576c434b5641456f44427473507375 esp
exec ipsec tunnel protect ipip36 sa-out 36 sa-in 100036 add
exec set interface ip address loop0 100.0.37.1/32
exec create ipip tunnel src 100.0.37.1 dst 200.0.0.2 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 456a6d526165577a526c505a72484774667a6f7548665a6c495a6e6345534f7a esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 456a6d526165577a526c505a72484774667a6f7548665a6c495a6e6345534f7a esp
exec ipsec tunnel protect ipip37 sa-out 37 sa-in 100037 add
exec set interface ip address loop0 100.0.38.1/32
exec create ipip tunnel src 100.0.38.1 dst 200.0.0.2 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 644544766558566850454b4d474450556e427a497652674c6b65545a77475068 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 644544766558566850454b4d474450556e427a497652674c6b65545a77475068 esp
exec ipsec tunnel protect ipip38 sa-out 38 sa-in 100038 add
exec set interface ip address loop0 100.0.39.1/32
exec create ipip tunnel src 100.0.39.1 dst 200.0.0.2 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 44624541425674797447477a49666961674473626651464c636b695741515079 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 44624541425674797447477a49666961674473626651464c636b695741515079 esp
exec ipsec tunnel protect ipip39 sa-out 39 sa-in 100039 add
exec set interface unnumbered ipip0 use avf-0/3b/a/0
exec set interface state ipip0 up
exec ip route add 20.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use avf-0/3b/a/0
exec set interface state ipip1 up
exec ip route add 20.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use avf-0/3b/a/0
exec set interface state ipip2 up
exec ip route add 20.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use avf-0/3b/a/0
exec set interface state ipip3 up
exec ip route add 20.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use avf-0/3b/a/0
exec set interface state ipip4 up
exec ip route add 20.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use avf-0/3b/a/0
exec set interface state ipip5 up
exec ip route add 20.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use avf-0/3b/a/0
exec set interface state ipip6 up
exec ip route add 20.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use avf-0/3b/a/0
exec set interface state ipip7 up
exec ip route add 20.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use avf-0/3b/a/0
exec set interface state ipip8 up
exec ip route add 20.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use avf-0/3b/a/0
exec set interface state ipip9 up
exec ip route add 20.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use avf-0/3b/a/0
exec set interface state ipip10 up
exec ip route add 20.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use avf-0/3b/a/0
exec set interface state ipip11 up
exec ip route add 20.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use avf-0/3b/a/0
exec set interface state ipip12 up
exec ip route add 20.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use avf-0/3b/a/0
exec set interface state ipip13 up
exec ip route add 20.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use avf-0/3b/a/0
exec set interface state ipip14 up
exec ip route add 20.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use avf-0/3b/a/0
exec set interface state ipip15 up
exec ip route add 20.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use avf-0/3b/a/0
exec set interface state ipip16 up
exec ip route add 20.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use avf-0/3b/a/0
exec set interface state ipip17 up
exec ip route add 20.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use avf-0/3b/a/0
exec set interface state ipip18 up
exec ip route add 20.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use avf-0/3b/a/0
exec set interface state ipip19 up
exec ip route add 20.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use avf-0/3b/a/0
exec set interface state ipip20 up
exec ip route add 20.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use avf-0/3b/a/0
exec set interface state ipip21 up
exec ip route add 20.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use avf-0/3b/a/0
exec set interface state ipip22 up
exec ip route add 20.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use avf-0/3b/a/0
exec set interface state ipip23 up
exec ip route add 20.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use avf-0/3b/a/0
exec set interface state ipip24 up
exec ip route add 20.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use avf-0/3b/a/0
exec set interface state ipip25 up
exec ip route add 20.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use avf-0/3b/a/0
exec set interface state ipip26 up
exec ip route add 20.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use avf-0/3b/a/0
exec set interface state ipip27 up
exec ip route add 20.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use avf-0/3b/a/0
exec set interface state ipip28 up
exec ip route add 20.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use avf-0/3b/a/0
exec set interface state ipip29 up
exec ip route add 20.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use avf-0/3b/a/0
exec set interface state ipip30 up
exec ip route add 20.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use avf-0/3b/a/0
exec set interface state ipip31 up
exec ip route add 20.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use avf-0/3b/a/0
exec set interface state ipip32 up
exec ip route add 20.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use avf-0/3b/a/0
exec set interface state ipip33 up
exec ip route add 20.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use avf-0/3b/a/0
exec set interface state ipip34 up
exec ip route add 20.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use avf-0/3b/a/0
exec set interface state ipip35 up
exec ip route add 20.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use avf-0/3b/a/0
exec set interface state ipip36 up
exec ip route add 20.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use avf-0/3b/a/0
exec set interface state ipip37 up
exec ip route add 20.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use avf-0/3b/a/0
exec set interface state ipip38 up
exec ip route add 20.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use avf-0/3b/a/0
exec set interface state ipip39 up
exec ip route add 20.0.0.39/32 via ipip39
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec set interface ip address avf-0/3b/a/0 200.0.0.2/24.0
exec create ipip tunnel src 200.0.0.2 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 7a52544d65787a487559466c51735558666e74625a496568614f775652744170 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 7a52544d65787a487559466c51735558666e74625a496568614f775652744170 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 4b4554755a64726a626577784a62637757526d70707a414e6a45496f5459616d esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 4b4554755a64726a626577784a62637757526d70707a414e6a45496f5459616d esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 6c544f516c4979705a6a5975704d467756584e6d626141646a45437156646570 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 6c544f516c4979705a6a5975704d467756584e6d626141646a45437156646570 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 6d6e76426d546b51414c6a756b624d714a674e4d48597043727a4248664f6c47 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 6d6e76426d546b51414c6a756b624d714a674e4d48597043727a4248664f6c47 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 47684a70726b4872666558506474626641614646436d4d54594a4f48584c4a61 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 47684a70726b4872666558506474626641614646436d4d54594a4f48584c4a61 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 41786d7a4c4f57707847574951644748726963524f5250424558486d56465a41 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 41786d7a4c4f57707847574951644748726963524f5250424558486d56465a41 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 656579686143645678737059675a5871677955696a5a6959434279464b4a4646 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 656579686143645678737059675a5871677955696a5a6959434279464b4a4646 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 43476570716859625874504c6569594467725973676b724e4773564d744d4a59 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 43476570716859625874504c6569594467725973676b724e4773564d744d4a59 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 7678774b4371576d6b7361744556484752646d75585642596b43486176777558 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 7678774b4371576d6b7361744556484752646d75585642596b43486176777558 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 76444855686452506f665769625061716a744b77734c7363454a4a45504a715a esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 76444855686452506f665769625061716a744b77734c7363454a4a45504a715a esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 6d6279744e6f59767969636d70766f4f57554d6e6354557a4d4b514c7a51465a esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 6d6279744e6f59767969636d70766f4f57554d6e6354557a4d4b514c7a51465a esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 717158526946734d77594d484944564d7555494e4954697248454f49654d5753 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 717158526946734d77594d484944564d7555494e4954697248454f49654d5753 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 424f5a5458654f69574f6b4f526256726c6d676b447a70494841614e72757552 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 424f5a5458654f69574f6b4f526256726c6d676b447a70494841614e72757552 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 52525a69626e6b707278495555514e6e6e4c544d557262576a615578446a5949 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 52525a69626e6b707278495555514e6e6e4c544d557262576a615578446a5949 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 6569727a47584e6b754c505255776449514e6d616e72746b50784e6c64646e4e esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 6569727a47584e6b754c505255776449514e6d616e72746b50784e6c64646e4e esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 466c57704e5a70536d72556d49636c506a546646784c776e49624d596a595a6f esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 466c57704e5a70536d72556d49636c506a546646784c776e49624d596a595a6f esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 51434271697672414244625450524277644765704b7a4d59666d7a6e52797a6b esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 51434271697672414244625450524277644765704b7a4d59666d7a6e52797a6b esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 41556d6f694954695272634e6e5269556e4e505154554a69796e6c7464676346 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 41556d6f694954695272634e6e5269556e4e505154554a69796e6c7464676346 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 43585770724865456c495379634a78507079756e64685a6d6b665351726c6f42 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 43585770724865456c495379634a78507079756e64685a6d6b665351726c6f42 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 48617578795843466b73736b476b56467a4d4e73646559516261717879415679 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 48617578795843466b73736b476b56467a4d4e73646559516261717879415679 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 46464f616c724a644778415a6a48776a615a53797a55527a7673535271757059 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 46464f616c724a644778415a6a48776a615a53797a55527a7673535271757059 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 6e7761664e696f726f7645494a734c62515a6551794f557869736e5449656641 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 6e7761664e696f726f7645494a734c62515a6551794f557869736e5449656641 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 4c704d72554a50786269426767636f756b616d775a6d674b71595045734b6d65 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 4c704d72554a50786269426767636f756b616d775a6d674b71595045734b6d65 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 744f6e444f6a7962456f6161784652526a5053745947516f456f6e6e48574c69 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 744f6e444f6a7962456f6161784652526a5053745947516f456f6e6e48574c69 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 526256714e48786851516d4763414b7675746c68676d53426177476675787a4e esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 526256714e48786851516d4763414b7675746c68676d53426177476675787a4e esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 53704a76474d70764e62455a4d5954704363546c70726a496e5052717a726961 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 53704a76474d70764e62455a4d5954704363546c70726a496e5052717a726961 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 6b6e4f51616c6a6d47656e58784e714e5046686668427a764f72784c5341576b esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 6b6e4f51616c6a6d47656e58784e714e5046686668427a764f72784c5341576b esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 6463664977564d68574d6c6f796b69636a6a6a676e557244777a6f594e49616b esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 6463664977564d68574d6c6f796b69636a6a6a676e557244777a6f594e49616b esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 64636c494e664a6a54484472647257476d72716f695a7853415a43664a6c6a51 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 64636c494e664a6a54484472647257476d72716f695a7853415a43664a6c6a51 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 596c73434e4168534451636a557355625855495755697262526e446b48734f77 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 596c73434e4168534451636a557355625855495755697262526e446b48734f77 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 64456c727a5075534b614b47625452434a476b4667795a73475a686d4263646f esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 64456c727a5075534b614b47625452434a476b4667795a73475a686d4263646f esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 45644248486a6b726b52614f7a5664526748784c597044555351746c71786c64 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 45644248486a6b726b52614f7a5664526748784c597044555351746c71786c64 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 6848704f4e4579446277667a4b7558494270765a465766646d4674686f444673 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 6848704f4e4579446277667a4b7558494270765a465766646d4674686f444673 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 4a466c7a57735676785a4f59735063796f504745494c74775a70465444535468 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 4a466c7a57735676785a4f59735063796f504745494c74775a70465444535468 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 4f4163777a5049434e437558684874654e5779767552796c7349524a72697848 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 4f4163777a5049434e437558684874654e5779767552796c7349524a72697848 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 424273725176777951736878516c7444647347676678487245744c4950654344 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 424273725176777951736878516c7444647347676678487245744c4950654344 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 456e6763626c4c757843664e58464b6472576c434b5641456f44427473507375 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 456e6763626c4c757843664e58464b6472576c434b5641456f44427473507375 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 456a6d526165577a526c505a72484774667a6f7548665a6c495a6e6345534f7a esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 456a6d526165577a526c505a72484774667a6f7548665a6c495a6e6345534f7a esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 644544766558566850454b4d474450556e427a497652674c6b65545a77475068 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 644544766558566850454b4d474450556e427a497652674c6b65545a77475068 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 44624541425674797447477a49666961674473626651464c636b695741515079 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 44624541425674797447477a49666961674473626651464c636b695741515079 esp
exec ipsec tunnel protect ipip39 sa-out 100039 sa-in 39 add
exec ip route add 100.0.0.1/8 via 200.0.0.1 avf-0/3b/a/0
exec set interface unnumbered ipip0 use avf-0/3b/a/0
exec set interface state ipip0 up
exec ip route add 10.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use avf-0/3b/a/0
exec set interface state ipip1 up
exec ip route add 10.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use avf-0/3b/a/0
exec set interface state ipip2 up
exec ip route add 10.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use avf-0/3b/a/0
exec set interface state ipip3 up
exec ip route add 10.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use avf-0/3b/a/0
exec set interface state ipip4 up
exec ip route add 10.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use avf-0/3b/a/0
exec set interface state ipip5 up
exec ip route add 10.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use avf-0/3b/a/0
exec set interface state ipip6 up
exec ip route add 10.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use avf-0/3b/a/0
exec set interface state ipip7 up
exec ip route add 10.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use avf-0/3b/a/0
exec set interface state ipip8 up
exec ip route add 10.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use avf-0/3b/a/0
exec set interface state ipip9 up
exec ip route add 10.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use avf-0/3b/a/0
exec set interface state ipip10 up
exec ip route add 10.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use avf-0/3b/a/0
exec set interface state ipip11 up
exec ip route add 10.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use avf-0/3b/a/0
exec set interface state ipip12 up
exec ip route add 10.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use avf-0/3b/a/0
exec set interface state ipip13 up
exec ip route add 10.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use avf-0/3b/a/0
exec set interface state ipip14 up
exec ip route add 10.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use avf-0/3b/a/0
exec set interface state ipip15 up
exec ip route add 10.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use avf-0/3b/a/0
exec set interface state ipip16 up
exec ip route add 10.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use avf-0/3b/a/0
exec set interface state ipip17 up
exec ip route add 10.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use avf-0/3b/a/0
exec set interface state ipip18 up
exec ip route add 10.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use avf-0/3b/a/0
exec set interface state ipip19 up
exec ip route add 10.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use avf-0/3b/a/0
exec set interface state ipip20 up
exec ip route add 10.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use avf-0/3b/a/0
exec set interface state ipip21 up
exec ip route add 10.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use avf-0/3b/a/0
exec set interface state ipip22 up
exec ip route add 10.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use avf-0/3b/a/0
exec set interface state ipip23 up
exec ip route add 10.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use avf-0/3b/a/0
exec set interface state ipip24 up
exec ip route add 10.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use avf-0/3b/a/0
exec set interface state ipip25 up
exec ip route add 10.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use avf-0/3b/a/0
exec set interface state ipip26 up
exec ip route add 10.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use avf-0/3b/a/0
exec set interface state ipip27 up
exec ip route add 10.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use avf-0/3b/a/0
exec set interface state ipip28 up
exec ip route add 10.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use avf-0/3b/a/0
exec set interface state ipip29 up
exec ip route add 10.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use avf-0/3b/a/0
exec set interface state ipip30 up
exec ip route add 10.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use avf-0/3b/a/0
exec set interface state ipip31 up
exec ip route add 10.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use avf-0/3b/a/0
exec set interface state ipip32 up
exec ip route add 10.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use avf-0/3b/a/0
exec set interface state ipip33 up
exec ip route add 10.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use avf-0/3b/a/0
exec set interface state ipip34 up
exec ip route add 10.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use avf-0/3b/a/0
exec set interface state ipip35 up
exec ip route add 10.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use avf-0/3b/a/0
exec set interface state ipip36 up
exec ip route add 10.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use avf-0/3b/a/0
exec set interface state ipip37 up
exec ip route add 10.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use avf-0/3b/a/0
exec set interface state ipip38 up
exec ip route add 10.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use avf-0/3b/a/0
exec set interface state ipip39 up
exec ip route add 10.0.0.39/32 via ipip39

 imix-2t1c-avf-ethip4ipsec40tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec create loopback interface
exec set interface state loop0 up
exec set interface ip address avf-0/3b/a/0 200.0.0.1/24
exec set ip neighbor avf-0/3b/a/0 200.0.0.2 3c:fe:bd:f8:fd:00 static
exec set interface ip address loop0 100.0.0.1/32
exec create ipip tunnel src 100.0.0.1 dst 200.0.0.2 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 455651524241725277637956575151757a4b6162686356597143765a4e624857 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 455651524241725277637956575151757a4b6162686356597143765a4e624857 esp
exec ipsec tunnel protect ipip0 sa-out 0 sa-in 100000 add
exec set interface ip address loop0 100.0.1.1/32
exec create ipip tunnel src 100.0.1.1 dst 200.0.0.2 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 58485a46754b7075626b766e6862586f76746b4b655365714950496f71535245 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 58485a46754b7075626b766e6862586f76746b4b655365714950496f71535245 esp
exec ipsec tunnel protect ipip1 sa-out 1 sa-in 100001 add
exec set interface ip address loop0 100.0.2.1/32
exec create ipip tunnel src 100.0.2.1 dst 200.0.0.2 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 73704b7a5445766b6654555a434779626e666851554143736546516e445a6159 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 73704b7a5445766b6654555a434779626e666851554143736546516e445a6159 esp
exec ipsec tunnel protect ipip2 sa-out 2 sa-in 100002 add
exec set interface ip address loop0 100.0.3.1/32
exec create ipip tunnel src 100.0.3.1 dst 200.0.0.2 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 656e4e454a5548414777484f464d504c556968446d6d4151474e455144595443 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 656e4e454a5548414777484f464d504c556968446d6d4151474e455144595443 esp
exec ipsec tunnel protect ipip3 sa-out 3 sa-in 100003 add
exec set interface ip address loop0 100.0.4.1/32
exec create ipip tunnel src 100.0.4.1 dst 200.0.0.2 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 50765842586142744f7375426e754f47454d4964517977646371687a534a5551 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 50765842586142744f7375426e754f47454d4964517977646371687a534a5551 esp
exec ipsec tunnel protect ipip4 sa-out 4 sa-in 100004 add
exec set interface ip address loop0 100.0.5.1/32
exec create ipip tunnel src 100.0.5.1 dst 200.0.0.2 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 70446461487a48686142614245776377467a576c4969515868634a417666686e esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 70446461487a48686142614245776377467a576c4969515868634a417666686e esp
exec ipsec tunnel protect ipip5 sa-out 5 sa-in 100005 add
exec set interface ip address loop0 100.0.6.1/32
exec create ipip tunnel src 100.0.6.1 dst 200.0.0.2 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 545a4d714857665755737a50526b4e4867786567774250616e686a77414f4941 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 545a4d714857665755737a50526b4e4867786567774250616e686a77414f4941 esp
exec ipsec tunnel protect ipip6 sa-out 6 sa-in 100006 add
exec set interface ip address loop0 100.0.7.1/32
exec create ipip tunnel src 100.0.7.1 dst 200.0.0.2 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 446a4742426a62677652764165437a6451514456535470414d774e68497a6663 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 446a4742426a62677652764165437a6451514456535470414d774e68497a6663 esp
exec ipsec tunnel protect ipip7 sa-out 7 sa-in 100007 add
exec set interface ip address loop0 100.0.8.1/32
exec create ipip tunnel src 100.0.8.1 dst 200.0.0.2 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 73765779576d754e7065784b6a436d46544c626556634e565769686157556d71 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 73765779576d754e7065784b6a436d46544c626556634e565769686157556d71 esp
exec ipsec tunnel protect ipip8 sa-out 8 sa-in 100008 add
exec set interface ip address loop0 100.0.9.1/32
exec create ipip tunnel src 100.0.9.1 dst 200.0.0.2 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 6d464a6d75437164534d625a706746494c7049565a71794b6369746e427a5a45 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 6d464a6d75437164534d625a706746494c7049565a71794b6369746e427a5a45 esp
exec ipsec tunnel protect ipip9 sa-out 9 sa-in 100009 add
exec set interface ip address loop0 100.0.10.1/32
exec create ipip tunnel src 100.0.10.1 dst 200.0.0.2 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 6d58665657534e505467516e74544749727a4352597969466d784e5377546d64 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 6d58665657534e505467516e74544749727a4352597969466d784e5377546d64 esp
exec ipsec tunnel protect ipip10 sa-out 10 sa-in 100010 add
exec set interface ip address loop0 100.0.11.1/32
exec create ipip tunnel src 100.0.11.1 dst 200.0.0.2 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 516a52615343625242576a4372456a624a4e4d56646e6a426b59574d78536e68 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 516a52615343625242576a4372456a624a4e4d56646e6a426b59574d78536e68 esp
exec ipsec tunnel protect ipip11 sa-out 11 sa-in 100011 add
exec set interface ip address loop0 100.0.12.1/32
exec create ipip tunnel src 100.0.12.1 dst 200.0.0.2 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 4c4e5a464a51525869766e725a764746467567686f6641434b52764d626f5954 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 4c4e5a464a51525869766e725a764746467567686f6641434b52764d626f5954 esp
exec ipsec tunnel protect ipip12 sa-out 12 sa-in 100012 add
exec set interface ip address loop0 100.0.13.1/32
exec create ipip tunnel src 100.0.13.1 dst 200.0.0.2 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 63596f58774c496f51796e41656b676f64556f5874664d53474d756b5a6b704b esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 63596f58774c496f51796e41656b676f64556f5874664d53474d756b5a6b704b esp
exec ipsec tunnel protect ipip13 sa-out 13 sa-in 100013 add
exec set interface ip address loop0 100.0.14.1/32
exec create ipip tunnel src 100.0.14.1 dst 200.0.0.2 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 794d4c4c467a79644c597473684b646f564f4f43727a6e6a797a796c50656273 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 794d4c4c467a79644c597473684b646f564f4f43727a6e6a797a796c50656273 esp
exec ipsec tunnel protect ipip14 sa-out 14 sa-in 100014 add
exec set interface ip address loop0 100.0.15.1/32
exec create ipip tunnel src 100.0.15.1 dst 200.0.0.2 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 4446597761777249775463656e44494351736150784a594c6a694751546e436f esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 4446597761777249775463656e44494351736150784a594c6a694751546e436f esp
exec ipsec tunnel protect ipip15 sa-out 15 sa-in 100015 add
exec set interface ip address loop0 100.0.16.1/32
exec create ipip tunnel src 100.0.16.1 dst 200.0.0.2 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 454764506d614758767850634344785a4871585358526f6c615a4f4279736a69 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 454764506d614758767850634344785a4871585358526f6c615a4f4279736a69 esp
exec ipsec tunnel protect ipip16 sa-out 16 sa-in 100016 add
exec set interface ip address loop0 100.0.17.1/32
exec create ipip tunnel src 100.0.17.1 dst 200.0.0.2 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 6647776e734c4c63736753634b554f4672506e6a7a4b6663765877736f6e6b69 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 6647776e734c4c63736753634b554f4672506e6a7a4b6663765877736f6e6b69 esp
exec ipsec tunnel protect ipip17 sa-out 17 sa-in 100017 add
exec set interface ip address loop0 100.0.18.1/32
exec create ipip tunnel src 100.0.18.1 dst 200.0.0.2 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 786b426c507a52706751694d7975464d73544b70675a4b714f5577776c645a61 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 786b426c507a52706751694d7975464d73544b70675a4b714f5577776c645a61 esp
exec ipsec tunnel protect ipip18 sa-out 18 sa-in 100018 add
exec set interface ip address loop0 100.0.19.1/32
exec create ipip tunnel src 100.0.19.1 dst 200.0.0.2 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 5364725959654d4f6863504a4f4a6f7558516b4a43697374746f736a43616c44 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 5364725959654d4f6863504a4f4a6f7558516b4a43697374746f736a43616c44 esp
exec ipsec tunnel protect ipip19 sa-out 19 sa-in 100019 add
exec set interface ip address loop0 100.0.20.1/32
exec create ipip tunnel src 100.0.20.1 dst 200.0.0.2 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 6a744e767a596d5647626d4147494e72517068636857686279485453494e537a esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 6a744e767a596d5647626d4147494e72517068636857686279485453494e537a esp
exec ipsec tunnel protect ipip20 sa-out 20 sa-in 100020 add
exec set interface ip address loop0 100.0.21.1/32
exec create ipip tunnel src 100.0.21.1 dst 200.0.0.2 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 6b4d61754a736c4769635065616d43677856745754547a524b4d5749496a7861 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 6b4d61754a736c4769635065616d43677856745754547a524b4d5749496a7861 esp
exec ipsec tunnel protect ipip21 sa-out 21 sa-in 100021 add
exec set interface ip address loop0 100.0.22.1/32
exec create ipip tunnel src 100.0.22.1 dst 200.0.0.2 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 6f61795469494f6b686f485a536c644444776a53754f5a5353626d746e746f56 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 6f61795469494f6b686f485a536c644444776a53754f5a5353626d746e746f56 esp
exec ipsec tunnel protect ipip22 sa-out 22 sa-in 100022 add
exec set interface ip address loop0 100.0.23.1/32
exec create ipip tunnel src 100.0.23.1 dst 200.0.0.2 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 76664e736773735679716c726b44434e786a4241674c6750567046444d627951 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 76664e736773735679716c726b44434e786a4241674c6750567046444d627951 esp
exec ipsec tunnel protect ipip23 sa-out 23 sa-in 100023 add
exec set interface ip address loop0 100.0.24.1/32
exec create ipip tunnel src 100.0.24.1 dst 200.0.0.2 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 62686e644f795163746e455661636e6d6f56534479736a7a774f616b716a6645 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 62686e644f795163746e455661636e6d6f56534479736a7a774f616b716a6645 esp
exec ipsec tunnel protect ipip24 sa-out 24 sa-in 100024 add
exec set interface ip address loop0 100.0.25.1/32
exec create ipip tunnel src 100.0.25.1 dst 200.0.0.2 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 444d6863527562547564667751734556417a7646717a74524261636e4a425a4a esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 444d6863527562547564667751734556417a7646717a74524261636e4a425a4a esp
exec ipsec tunnel protect ipip25 sa-out 25 sa-in 100025 add
exec set interface ip address loop0 100.0.26.1/32
exec create ipip tunnel src 100.0.26.1 dst 200.0.0.2 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 71674a78504f51555078767a437747444e6441595a6f7665496358456a4f5174 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 71674a78504f51555078767a437747444e6441595a6f7665496358456a4f5174 esp
exec ipsec tunnel protect ipip26 sa-out 26 sa-in 100026 add
exec set interface ip address loop0 100.0.27.1/32
exec create ipip tunnel src 100.0.27.1 dst 200.0.0.2 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 576a4d4b78574946776973494350624b744f6272595764465446624864474f73 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 576a4d4b78574946776973494350624b744f6272595764465446624864474f73 esp
exec ipsec tunnel protect ipip27 sa-out 27 sa-in 100027 add
exec set interface ip address loop0 100.0.28.1/32
exec create ipip tunnel src 100.0.28.1 dst 200.0.0.2 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 6478774f53576a57575349774372644c4157707a565353556d454e4b667a455a esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 6478774f53576a57575349774372644c4157707a565353556d454e4b667a455a esp
exec ipsec tunnel protect ipip28 sa-out 28 sa-in 100028 add
exec set interface ip address loop0 100.0.29.1/32
exec create ipip tunnel src 100.0.29.1 dst 200.0.0.2 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 494741697759686950445a594644574a765875586b755370446c41735665654d esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 494741697759686950445a594644574a765875586b755370446c41735665654d esp
exec ipsec tunnel protect ipip29 sa-out 29 sa-in 100029 add
exec set interface ip address loop0 100.0.30.1/32
exec create ipip tunnel src 100.0.30.1 dst 200.0.0.2 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 6a454c43514a53586d49566d7570417177726f6c707544726a746d6774706561 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 6a454c43514a53586d49566d7570417177726f6c707544726a746d6774706561 esp
exec ipsec tunnel protect ipip30 sa-out 30 sa-in 100030 add
exec set interface ip address loop0 100.0.31.1/32
exec create ipip tunnel src 100.0.31.1 dst 200.0.0.2 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 5141555978534b54496b434d78704464566362734770526c6c6f496d51615169 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 5141555978534b54496b434d78704464566362734770526c6c6f496d51615169 esp
exec ipsec tunnel protect ipip31 sa-out 31 sa-in 100031 add
exec set interface ip address loop0 100.0.32.1/32
exec create ipip tunnel src 100.0.32.1 dst 200.0.0.2 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 7950496241694d67664d666959714d6251617a6970516b5a5046566c777a7845 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 7950496241694d67664d666959714d6251617a6970516b5a5046566c777a7845 esp
exec ipsec tunnel protect ipip32 sa-out 32 sa-in 100032 add
exec set interface ip address loop0 100.0.33.1/32
exec create ipip tunnel src 100.0.33.1 dst 200.0.0.2 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 4249746e76736b69455a514645666b505a7a6d75635878487475754249726953 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 4249746e76736b69455a514645666b505a7a6d75635878487475754249726953 esp
exec ipsec tunnel protect ipip33 sa-out 33 sa-in 100033 add
exec set interface ip address loop0 100.0.34.1/32
exec create ipip tunnel src 100.0.34.1 dst 200.0.0.2 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 54457077716e497679726d44564f434d4d6a6e64424b47745061646b6e79754d esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 54457077716e497679726d44564f434d4d6a6e64424b47745061646b6e79754d esp
exec ipsec tunnel protect ipip34 sa-out 34 sa-in 100034 add
exec set interface ip address loop0 100.0.35.1/32
exec create ipip tunnel src 100.0.35.1 dst 200.0.0.2 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 4475504a47677a4d7a4d45556d794d49756c594e46664d74695845616d427577 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 4475504a47677a4d7a4d45556d794d49756c594e46664d74695845616d427577 esp
exec ipsec tunnel protect ipip35 sa-out 35 sa-in 100035 add
exec set interface ip address loop0 100.0.36.1/32
exec create ipip tunnel src 100.0.36.1 dst 200.0.0.2 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 6472656f45646f5a7a724743647770474b495662716d515863734d45734c764d esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 6472656f45646f5a7a724743647770474b495662716d515863734d45734c764d esp
exec ipsec tunnel protect ipip36 sa-out 36 sa-in 100036 add
exec set interface ip address loop0 100.0.37.1/32
exec create ipip tunnel src 100.0.37.1 dst 200.0.0.2 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 6a5974564461697561725a79726b4f4b4e476371464970655457656b7a527954 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 6a5974564461697561725a79726b4f4b4e476371464970655457656b7a527954 esp
exec ipsec tunnel protect ipip37 sa-out 37 sa-in 100037 add
exec set interface ip address loop0 100.0.38.1/32
exec create ipip tunnel src 100.0.38.1 dst 200.0.0.2 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 6270524756744a417747785a486379616b4e54456d587766486a436c436e7075 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 6270524756744a417747785a486379616b4e54456d587766486a436c436e7075 esp
exec ipsec tunnel protect ipip38 sa-out 38 sa-in 100038 add
exec set interface ip address loop0 100.0.39.1/32
exec create ipip tunnel src 100.0.39.1 dst 200.0.0.2 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 646655516c4e674e444941665465785073576144617165614d7948444b4f4569 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 646655516c4e674e444941665465785073576144617165614d7948444b4f4569 esp
exec ipsec tunnel protect ipip39 sa-out 39 sa-in 100039 add
exec set interface unnumbered ipip0 use avf-0/3b/a/0
exec set interface state ipip0 up
exec ip route add 20.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use avf-0/3b/a/0
exec set interface state ipip1 up
exec ip route add 20.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use avf-0/3b/a/0
exec set interface state ipip2 up
exec ip route add 20.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use avf-0/3b/a/0
exec set interface state ipip3 up
exec ip route add 20.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use avf-0/3b/a/0
exec set interface state ipip4 up
exec ip route add 20.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use avf-0/3b/a/0
exec set interface state ipip5 up
exec ip route add 20.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use avf-0/3b/a/0
exec set interface state ipip6 up
exec ip route add 20.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use avf-0/3b/a/0
exec set interface state ipip7 up
exec ip route add 20.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use avf-0/3b/a/0
exec set interface state ipip8 up
exec ip route add 20.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use avf-0/3b/a/0
exec set interface state ipip9 up
exec ip route add 20.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use avf-0/3b/a/0
exec set interface state ipip10 up
exec ip route add 20.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use avf-0/3b/a/0
exec set interface state ipip11 up
exec ip route add 20.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use avf-0/3b/a/0
exec set interface state ipip12 up
exec ip route add 20.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use avf-0/3b/a/0
exec set interface state ipip13 up
exec ip route add 20.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use avf-0/3b/a/0
exec set interface state ipip14 up
exec ip route add 20.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use avf-0/3b/a/0
exec set interface state ipip15 up
exec ip route add 20.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use avf-0/3b/a/0
exec set interface state ipip16 up
exec ip route add 20.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use avf-0/3b/a/0
exec set interface state ipip17 up
exec ip route add 20.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use avf-0/3b/a/0
exec set interface state ipip18 up
exec ip route add 20.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use avf-0/3b/a/0
exec set interface state ipip19 up
exec ip route add 20.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use avf-0/3b/a/0
exec set interface state ipip20 up
exec ip route add 20.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use avf-0/3b/a/0
exec set interface state ipip21 up
exec ip route add 20.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use avf-0/3b/a/0
exec set interface state ipip22 up
exec ip route add 20.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use avf-0/3b/a/0
exec set interface state ipip23 up
exec ip route add 20.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use avf-0/3b/a/0
exec set interface state ipip24 up
exec ip route add 20.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use avf-0/3b/a/0
exec set interface state ipip25 up
exec ip route add 20.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use avf-0/3b/a/0
exec set interface state ipip26 up
exec ip route add 20.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use avf-0/3b/a/0
exec set interface state ipip27 up
exec ip route add 20.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use avf-0/3b/a/0
exec set interface state ipip28 up
exec ip route add 20.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use avf-0/3b/a/0
exec set interface state ipip29 up
exec ip route add 20.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use avf-0/3b/a/0
exec set interface state ipip30 up
exec ip route add 20.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use avf-0/3b/a/0
exec set interface state ipip31 up
exec ip route add 20.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use avf-0/3b/a/0
exec set interface state ipip32 up
exec ip route add 20.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use avf-0/3b/a/0
exec set interface state ipip33 up
exec ip route add 20.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use avf-0/3b/a/0
exec set interface state ipip34 up
exec ip route add 20.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use avf-0/3b/a/0
exec set interface state ipip35 up
exec ip route add 20.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use avf-0/3b/a/0
exec set interface state ipip36 up
exec ip route add 20.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use avf-0/3b/a/0
exec set interface state ipip37 up
exec ip route add 20.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use avf-0/3b/a/0
exec set interface state ipip38 up
exec ip route add 20.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use avf-0/3b/a/0
exec set interface state ipip39 up
exec ip route add 20.0.0.39/32 via ipip39
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec set interface ip address avf-0/3b/a/0 200.0.0.2/24.0
exec create ipip tunnel src 200.0.0.2 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 455651524241725277637956575151757a4b6162686356597143765a4e624857 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 455651524241725277637956575151757a4b6162686356597143765a4e624857 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 58485a46754b7075626b766e6862586f76746b4b655365714950496f71535245 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 58485a46754b7075626b766e6862586f76746b4b655365714950496f71535245 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 73704b7a5445766b6654555a434779626e666851554143736546516e445a6159 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 73704b7a5445766b6654555a434779626e666851554143736546516e445a6159 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 656e4e454a5548414777484f464d504c556968446d6d4151474e455144595443 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 656e4e454a5548414777484f464d504c556968446d6d4151474e455144595443 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 50765842586142744f7375426e754f47454d4964517977646371687a534a5551 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 50765842586142744f7375426e754f47454d4964517977646371687a534a5551 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 70446461487a48686142614245776377467a576c4969515868634a417666686e esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 70446461487a48686142614245776377467a576c4969515868634a417666686e esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 545a4d714857665755737a50526b4e4867786567774250616e686a77414f4941 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 545a4d714857665755737a50526b4e4867786567774250616e686a77414f4941 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 446a4742426a62677652764165437a6451514456535470414d774e68497a6663 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 446a4742426a62677652764165437a6451514456535470414d774e68497a6663 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 73765779576d754e7065784b6a436d46544c626556634e565769686157556d71 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 73765779576d754e7065784b6a436d46544c626556634e565769686157556d71 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 6d464a6d75437164534d625a706746494c7049565a71794b6369746e427a5a45 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 6d464a6d75437164534d625a706746494c7049565a71794b6369746e427a5a45 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 6d58665657534e505467516e74544749727a4352597969466d784e5377546d64 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 6d58665657534e505467516e74544749727a4352597969466d784e5377546d64 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 516a52615343625242576a4372456a624a4e4d56646e6a426b59574d78536e68 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 516a52615343625242576a4372456a624a4e4d56646e6a426b59574d78536e68 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 4c4e5a464a51525869766e725a764746467567686f6641434b52764d626f5954 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 4c4e5a464a51525869766e725a764746467567686f6641434b52764d626f5954 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 63596f58774c496f51796e41656b676f64556f5874664d53474d756b5a6b704b esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 63596f58774c496f51796e41656b676f64556f5874664d53474d756b5a6b704b esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 794d4c4c467a79644c597473684b646f564f4f43727a6e6a797a796c50656273 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 794d4c4c467a79644c597473684b646f564f4f43727a6e6a797a796c50656273 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 4446597761777249775463656e44494351736150784a594c6a694751546e436f esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 4446597761777249775463656e44494351736150784a594c6a694751546e436f esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 454764506d614758767850634344785a4871585358526f6c615a4f4279736a69 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 454764506d614758767850634344785a4871585358526f6c615a4f4279736a69 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 6647776e734c4c63736753634b554f4672506e6a7a4b6663765877736f6e6b69 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 6647776e734c4c63736753634b554f4672506e6a7a4b6663765877736f6e6b69 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 786b426c507a52706751694d7975464d73544b70675a4b714f5577776c645a61 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 786b426c507a52706751694d7975464d73544b70675a4b714f5577776c645a61 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 5364725959654d4f6863504a4f4a6f7558516b4a43697374746f736a43616c44 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 5364725959654d4f6863504a4f4a6f7558516b4a43697374746f736a43616c44 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 6a744e767a596d5647626d4147494e72517068636857686279485453494e537a esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 6a744e767a596d5647626d4147494e72517068636857686279485453494e537a esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 6b4d61754a736c4769635065616d43677856745754547a524b4d5749496a7861 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 6b4d61754a736c4769635065616d43677856745754547a524b4d5749496a7861 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 6f61795469494f6b686f485a536c644444776a53754f5a5353626d746e746f56 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 6f61795469494f6b686f485a536c644444776a53754f5a5353626d746e746f56 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 76664e736773735679716c726b44434e786a4241674c6750567046444d627951 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 76664e736773735679716c726b44434e786a4241674c6750567046444d627951 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 62686e644f795163746e455661636e6d6f56534479736a7a774f616b716a6645 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 62686e644f795163746e455661636e6d6f56534479736a7a774f616b716a6645 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 444d6863527562547564667751734556417a7646717a74524261636e4a425a4a esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 444d6863527562547564667751734556417a7646717a74524261636e4a425a4a esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 71674a78504f51555078767a437747444e6441595a6f7665496358456a4f5174 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 71674a78504f51555078767a437747444e6441595a6f7665496358456a4f5174 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 576a4d4b78574946776973494350624b744f6272595764465446624864474f73 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 576a4d4b78574946776973494350624b744f6272595764465446624864474f73 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 6478774f53576a57575349774372644c4157707a565353556d454e4b667a455a esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 6478774f53576a57575349774372644c4157707a565353556d454e4b667a455a esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 494741697759686950445a594644574a765875586b755370446c41735665654d esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 494741697759686950445a594644574a765875586b755370446c41735665654d esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 6a454c43514a53586d49566d7570417177726f6c707544726a746d6774706561 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 6a454c43514a53586d49566d7570417177726f6c707544726a746d6774706561 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 5141555978534b54496b434d78704464566362734770526c6c6f496d51615169 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 5141555978534b54496b434d78704464566362734770526c6c6f496d51615169 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 7950496241694d67664d666959714d6251617a6970516b5a5046566c777a7845 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 7950496241694d67664d666959714d6251617a6970516b5a5046566c777a7845 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 4249746e76736b69455a514645666b505a7a6d75635878487475754249726953 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 4249746e76736b69455a514645666b505a7a6d75635878487475754249726953 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 54457077716e497679726d44564f434d4d6a6e64424b47745061646b6e79754d esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 54457077716e497679726d44564f434d4d6a6e64424b47745061646b6e79754d esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 4475504a47677a4d7a4d45556d794d49756c594e46664d74695845616d427577 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 4475504a47677a4d7a4d45556d794d49756c594e46664d74695845616d427577 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 6472656f45646f5a7a724743647770474b495662716d515863734d45734c764d esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 6472656f45646f5a7a724743647770474b495662716d515863734d45734c764d esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 6a5974564461697561725a79726b4f4b4e476371464970655457656b7a527954 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 6a5974564461697561725a79726b4f4b4e476371464970655457656b7a527954 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 6270524756744a417747785a486379616b4e54456d587766486a436c436e7075 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 6270524756744a417747785a486379616b4e54456d587766486a436c436e7075 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 646655516c4e674e444941665465785073576144617165614d7948444b4f4569 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 646655516c4e674e444941665465785073576144617165614d7948444b4f4569 esp
exec ipsec tunnel protect ipip39 sa-out 100039 sa-in 39 add
exec ip route add 100.0.0.1/8 via 200.0.0.1 avf-0/3b/a/0
exec set interface unnumbered ipip0 use avf-0/3b/a/0
exec set interface state ipip0 up
exec ip route add 10.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use avf-0/3b/a/0
exec set interface state ipip1 up
exec ip route add 10.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use avf-0/3b/a/0
exec set interface state ipip2 up
exec ip route add 10.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use avf-0/3b/a/0
exec set interface state ipip3 up
exec ip route add 10.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use avf-0/3b/a/0
exec set interface state ipip4 up
exec ip route add 10.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use avf-0/3b/a/0
exec set interface state ipip5 up
exec ip route add 10.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use avf-0/3b/a/0
exec set interface state ipip6 up
exec ip route add 10.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use avf-0/3b/a/0
exec set interface state ipip7 up
exec ip route add 10.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use avf-0/3b/a/0
exec set interface state ipip8 up
exec ip route add 10.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use avf-0/3b/a/0
exec set interface state ipip9 up
exec ip route add 10.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use avf-0/3b/a/0
exec set interface state ipip10 up
exec ip route add 10.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use avf-0/3b/a/0
exec set interface state ipip11 up
exec ip route add 10.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use avf-0/3b/a/0
exec set interface state ipip12 up
exec ip route add 10.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use avf-0/3b/a/0
exec set interface state ipip13 up
exec ip route add 10.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use avf-0/3b/a/0
exec set interface state ipip14 up
exec ip route add 10.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use avf-0/3b/a/0
exec set interface state ipip15 up
exec ip route add 10.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use avf-0/3b/a/0
exec set interface state ipip16 up
exec ip route add 10.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use avf-0/3b/a/0
exec set interface state ipip17 up
exec ip route add 10.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use avf-0/3b/a/0
exec set interface state ipip18 up
exec ip route add 10.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use avf-0/3b/a/0
exec set interface state ipip19 up
exec ip route add 10.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use avf-0/3b/a/0
exec set interface state ipip20 up
exec ip route add 10.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use avf-0/3b/a/0
exec set interface state ipip21 up
exec ip route add 10.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use avf-0/3b/a/0
exec set interface state ipip22 up
exec ip route add 10.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use avf-0/3b/a/0
exec set interface state ipip23 up
exec ip route add 10.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use avf-0/3b/a/0
exec set interface state ipip24 up
exec ip route add 10.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use avf-0/3b/a/0
exec set interface state ipip25 up
exec ip route add 10.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use avf-0/3b/a/0
exec set interface state ipip26 up
exec ip route add 10.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use avf-0/3b/a/0
exec set interface state ipip27 up
exec ip route add 10.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use avf-0/3b/a/0
exec set interface state ipip28 up
exec ip route add 10.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use avf-0/3b/a/0
exec set interface state ipip29 up
exec ip route add 10.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use avf-0/3b/a/0
exec set interface state ipip30 up
exec ip route add 10.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use avf-0/3b/a/0
exec set interface state ipip31 up
exec ip route add 10.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use avf-0/3b/a/0
exec set interface state ipip32 up
exec ip route add 10.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use avf-0/3b/a/0
exec set interface state ipip33 up
exec ip route add 10.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use avf-0/3b/a/0
exec set interface state ipip34 up
exec ip route add 10.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use avf-0/3b/a/0
exec set interface state ipip35 up
exec ip route add 10.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use avf-0/3b/a/0
exec set interface state ipip36 up
exec ip route add 10.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use avf-0/3b/a/0
exec set interface state ipip37 up
exec ip route add 10.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use avf-0/3b/a/0
exec set interface state ipip38 up
exec ip route add 10.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use avf-0/3b/a/0
exec set interface state ipip39 up
exec ip route add 10.0.0.39/32 via ipip39

 imix-4t2c-avf-ethip4ipsec40tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec create loopback interface
exec set interface state loop0 up
exec set interface ip address avf-0/3b/a/0 200.0.0.1/24
exec set ip neighbor avf-0/3b/a/0 200.0.0.2 3c:fe:bd:f8:fd:00 static
exec set interface ip address loop0 100.0.0.1/32
exec create ipip tunnel src 100.0.0.1 dst 200.0.0.2 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 4158626d49475344506c48434b664e4146734445586a6a646c53456b4b637a6e esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 4158626d49475344506c48434b664e4146734445586a6a646c53456b4b637a6e esp
exec ipsec tunnel protect ipip0 sa-out 0 sa-in 100000 add
exec set interface ip address loop0 100.0.1.1/32
exec create ipip tunnel src 100.0.1.1 dst 200.0.0.2 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 564448414a6b6c787342686449594841424c6459434e746b4a5062566e574464 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 564448414a6b6c787342686449594841424c6459434e746b4a5062566e574464 esp
exec ipsec tunnel protect ipip1 sa-out 1 sa-in 100001 add
exec set interface ip address loop0 100.0.2.1/32
exec create ipip tunnel src 100.0.2.1 dst 200.0.0.2 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 71596a716671574c6c65496642545578754956416b415666777a4f576c546e6f esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 71596a716671574c6c65496642545578754956416b415666777a4f576c546e6f esp
exec ipsec tunnel protect ipip2 sa-out 2 sa-in 100002 add
exec set interface ip address loop0 100.0.3.1/32
exec create ipip tunnel src 100.0.3.1 dst 200.0.0.2 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 627a68786662556b6f545a485858784d58795241795363727a7372715943514a esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 627a68786662556b6f545a485858784d58795241795363727a7372715943514a esp
exec ipsec tunnel protect ipip3 sa-out 3 sa-in 100003 add
exec set interface ip address loop0 100.0.4.1/32
exec create ipip tunnel src 100.0.4.1 dst 200.0.0.2 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 67615444556556487754586f7849645370534675506971514b4a7a724c57484e esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 67615444556556487754586f7849645370534675506971514b4a7a724c57484e esp
exec ipsec tunnel protect ipip4 sa-out 4 sa-in 100004 add
exec set interface ip address loop0 100.0.5.1/32
exec create ipip tunnel src 100.0.5.1 dst 200.0.0.2 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 595874425251715a484769545a4e594e6965534a70736e655459596c77674445 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 595874425251715a484769545a4e594e6965534a70736e655459596c77674445 esp
exec ipsec tunnel protect ipip5 sa-out 5 sa-in 100005 add
exec set interface ip address loop0 100.0.6.1/32
exec create ipip tunnel src 100.0.6.1 dst 200.0.0.2 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 7577636579594d67675952624b535775774d4a5549736b6a4e74656c5864776c esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 7577636579594d67675952624b535775774d4a5549736b6a4e74656c5864776c esp
exec ipsec tunnel protect ipip6 sa-out 6 sa-in 100006 add
exec set interface ip address loop0 100.0.7.1/32
exec create ipip tunnel src 100.0.7.1 dst 200.0.0.2 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 444e64424f76437247637564594d447743484852594666756f626d464778664b esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 444e64424f76437247637564594d447743484852594666756f626d464778664b esp
exec ipsec tunnel protect ipip7 sa-out 7 sa-in 100007 add
exec set interface ip address loop0 100.0.8.1/32
exec create ipip tunnel src 100.0.8.1 dst 200.0.0.2 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 7272456d53634b6c6f6750526f76617374736847466e4f6171534d6e58656c73 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 7272456d53634b6c6f6750526f76617374736847466e4f6171534d6e58656c73 esp
exec ipsec tunnel protect ipip8 sa-out 8 sa-in 100008 add
exec set interface ip address loop0 100.0.9.1/32
exec create ipip tunnel src 100.0.9.1 dst 200.0.0.2 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 6f6a676a4a6170734954564d4254634867696243775349764172694e6f4f4243 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 6f6a676a4a6170734954564d4254634867696243775349764172694e6f4f4243 esp
exec ipsec tunnel protect ipip9 sa-out 9 sa-in 100009 add
exec set interface ip address loop0 100.0.10.1/32
exec create ipip tunnel src 100.0.10.1 dst 200.0.0.2 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 6e655568446b4864714f5050686e6a5a576f554a4d79494654535052494e4477 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 6e655568446b4864714f5050686e6a5a576f554a4d79494654535052494e4477 esp
exec ipsec tunnel protect ipip10 sa-out 10 sa-in 100010 add
exec set interface ip address loop0 100.0.11.1/32
exec create ipip tunnel src 100.0.11.1 dst 200.0.0.2 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 4c6a6c63744f6d644d63666e574e585966786667716557756d7949724274554f esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 4c6a6c63744f6d644d63666e574e585966786667716557756d7949724274554f esp
exec ipsec tunnel protect ipip11 sa-out 11 sa-in 100011 add
exec set interface ip address loop0 100.0.12.1/32
exec create ipip tunnel src 100.0.12.1 dst 200.0.0.2 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 696e78705a75644e4e4c62446f456741567041734b464a63746a436b7a625075 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 696e78705a75644e4e4c62446f456741567041734b464a63746a436b7a625075 esp
exec ipsec tunnel protect ipip12 sa-out 12 sa-in 100012 add
exec set interface ip address loop0 100.0.13.1/32
exec create ipip tunnel src 100.0.13.1 dst 200.0.0.2 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 4554454342616c7a556c706e50637a78547562645376764d77786f6771557977 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 4554454342616c7a556c706e50637a78547562645376764d77786f6771557977 esp
exec ipsec tunnel protect ipip13 sa-out 13 sa-in 100013 add
exec set interface ip address loop0 100.0.14.1/32
exec create ipip tunnel src 100.0.14.1 dst 200.0.0.2 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 5062747a6e5a4d6b456e6570687278624e54684f4578496a5871654f43706f74 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 5062747a6e5a4d6b456e6570687278624e54684f4578496a5871654f43706f74 esp
exec ipsec tunnel protect ipip14 sa-out 14 sa-in 100014 add
exec set interface ip address loop0 100.0.15.1/32
exec create ipip tunnel src 100.0.15.1 dst 200.0.0.2 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 4c4f4677574376634355466d4e5971486b746e76736c4a747453704d54696553 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 4c4f4677574376634355466d4e5971486b746e76736c4a747453704d54696553 esp
exec ipsec tunnel protect ipip15 sa-out 15 sa-in 100015 add
exec set interface ip address loop0 100.0.16.1/32
exec create ipip tunnel src 100.0.16.1 dst 200.0.0.2 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 706c52704d67584a436e534a766861554f67475655516d59794958766f63546c esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 706c52704d67584a436e534a766861554f67475655516d59794958766f63546c esp
exec ipsec tunnel protect ipip16 sa-out 16 sa-in 100016 add
exec set interface ip address loop0 100.0.17.1/32
exec create ipip tunnel src 100.0.17.1 dst 200.0.0.2 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 4664534457566e4d706255445275444a59735747536864476777415a544a4875 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 4664534457566e4d706255445275444a59735747536864476777415a544a4875 esp
exec ipsec tunnel protect ipip17 sa-out 17 sa-in 100017 add
exec set interface ip address loop0 100.0.18.1/32
exec create ipip tunnel src 100.0.18.1 dst 200.0.0.2 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 785a476a754c6f6c65444d774f4d737a53435276656664595441436f47734450 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 785a476a754c6f6c65444d774f4d737a53435276656664595441436f47734450 esp
exec ipsec tunnel protect ipip18 sa-out 18 sa-in 100018 add
exec set interface ip address loop0 100.0.19.1/32
exec create ipip tunnel src 100.0.19.1 dst 200.0.0.2 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 4148417671536741736b7675584e6841474e66775341474877624e624a734e48 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 4148417671536741736b7675584e6841474e66775341474877624e624a734e48 esp
exec ipsec tunnel protect ipip19 sa-out 19 sa-in 100019 add
exec set interface ip address loop0 100.0.20.1/32
exec create ipip tunnel src 100.0.20.1 dst 200.0.0.2 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 64524b51674877526e5348534f4a6d584d5a5874414b5462637958785252516b esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 64524b51674877526e5348534f4a6d584d5a5874414b5462637958785252516b esp
exec ipsec tunnel protect ipip20 sa-out 20 sa-in 100020 add
exec set interface ip address loop0 100.0.21.1/32
exec create ipip tunnel src 100.0.21.1 dst 200.0.0.2 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 736d666a634443466666776c527865786e7442674b68564d74514a4f65587974 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 736d666a634443466666776c527865786e7442674b68564d74514a4f65587974 esp
exec ipsec tunnel protect ipip21 sa-out 21 sa-in 100021 add
exec set interface ip address loop0 100.0.22.1/32
exec create ipip tunnel src 100.0.22.1 dst 200.0.0.2 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 6a774242444a67587171474a536570694b64437a7353524f535a4b436b4c7578 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 6a774242444a67587171474a536570694b64437a7353524f535a4b436b4c7578 esp
exec ipsec tunnel protect ipip22 sa-out 22 sa-in 100022 add
exec set interface ip address loop0 100.0.23.1/32
exec create ipip tunnel src 100.0.23.1 dst 200.0.0.2 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 6f6d5563714c57676a59746e72555554687158724151636444695876635a7441 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 6f6d5563714c57676a59746e72555554687158724151636444695876635a7441 esp
exec ipsec tunnel protect ipip23 sa-out 23 sa-in 100023 add
exec set interface ip address loop0 100.0.24.1/32
exec create ipip tunnel src 100.0.24.1 dst 200.0.0.2 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 745a414f4775466f7765574c705a734b6e71566475774b596c547277424f6357 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 745a414f4775466f7765574c705a734b6e71566475774b596c547277424f6357 esp
exec ipsec tunnel protect ipip24 sa-out 24 sa-in 100024 add
exec set interface ip address loop0 100.0.25.1/32
exec create ipip tunnel src 100.0.25.1 dst 200.0.0.2 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 787244756f566465414d6a67767464516d64744168654d6a6978654548525a55 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 787244756f566465414d6a67767464516d64744168654d6a6978654548525a55 esp
exec ipsec tunnel protect ipip25 sa-out 25 sa-in 100025 add
exec set interface ip address loop0 100.0.26.1/32
exec create ipip tunnel src 100.0.26.1 dst 200.0.0.2 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 7677664358686b44674a75676c49776a736155754647594d62536977496b7a55 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 7677664358686b44674a75676c49776a736155754647594d62536977496b7a55 esp
exec ipsec tunnel protect ipip26 sa-out 26 sa-in 100026 add
exec set interface ip address loop0 100.0.27.1/32
exec create ipip tunnel src 100.0.27.1 dst 200.0.0.2 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 73664e5967735661504b675247566d785854504d7a4e4e634c4c6a5952554843 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 73664e5967735661504b675247566d785854504d7a4e4e634c4c6a5952554843 esp
exec ipsec tunnel protect ipip27 sa-out 27 sa-in 100027 add
exec set interface ip address loop0 100.0.28.1/32
exec create ipip tunnel src 100.0.28.1 dst 200.0.0.2 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 4971696f5971615075736e685656557143636e72727a4277427179515841696f esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 4971696f5971615075736e685656557143636e72727a4277427179515841696f esp
exec ipsec tunnel protect ipip28 sa-out 28 sa-in 100028 add
exec set interface ip address loop0 100.0.29.1/32
exec create ipip tunnel src 100.0.29.1 dst 200.0.0.2 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 784e5551484d754f4a7142636c66487059494570496d70514461576773457569 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 784e5551484d754f4a7142636c66487059494570496d70514461576773457569 esp
exec ipsec tunnel protect ipip29 sa-out 29 sa-in 100029 add
exec set interface ip address loop0 100.0.30.1/32
exec create ipip tunnel src 100.0.30.1 dst 200.0.0.2 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 4771576a47706245756b6a5568646d634d495a697655677362766a4c705a706b esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 4771576a47706245756b6a5568646d634d495a697655677362766a4c705a706b esp
exec ipsec tunnel protect ipip30 sa-out 30 sa-in 100030 add
exec set interface ip address loop0 100.0.31.1/32
exec create ipip tunnel src 100.0.31.1 dst 200.0.0.2 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 6c774a576752495a4752774c71524c62575378494f55584151507a7241666374 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 6c774a576752495a4752774c71524c62575378494f55584151507a7241666374 esp
exec ipsec tunnel protect ipip31 sa-out 31 sa-in 100031 add
exec set interface ip address loop0 100.0.32.1/32
exec create ipip tunnel src 100.0.32.1 dst 200.0.0.2 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 52674174525942597444766f7a764c534868696e784b586c6376774c6b436e6e esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 52674174525942597444766f7a764c534868696e784b586c6376774c6b436e6e esp
exec ipsec tunnel protect ipip32 sa-out 32 sa-in 100032 add
exec set interface ip address loop0 100.0.33.1/32
exec create ipip tunnel src 100.0.33.1 dst 200.0.0.2 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 4c52756c455a535367785562715365634c50566e414376664a7373584f6c6d58 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 4c52756c455a535367785562715365634c50566e414376664a7373584f6c6d58 esp
exec ipsec tunnel protect ipip33 sa-out 33 sa-in 100033 add
exec set interface ip address loop0 100.0.34.1/32
exec create ipip tunnel src 100.0.34.1 dst 200.0.0.2 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 726e6d434b434e565979515a7776544f6f79686e64664e594a554b7078436846 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 726e6d434b434e565979515a7776544f6f79686e64664e594a554b7078436846 esp
exec ipsec tunnel protect ipip34 sa-out 34 sa-in 100034 add
exec set interface ip address loop0 100.0.35.1/32
exec create ipip tunnel src 100.0.35.1 dst 200.0.0.2 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 5579557a7a754d4978724c486870784c475a5867696755424b47504d78624577 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 5579557a7a754d4978724c486870784c475a5867696755424b47504d78624577 esp
exec ipsec tunnel protect ipip35 sa-out 35 sa-in 100035 add
exec set interface ip address loop0 100.0.36.1/32
exec create ipip tunnel src 100.0.36.1 dst 200.0.0.2 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 63684a7a4243484d4c576c42634f6f78757557556b4e58737959664d47716c43 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 63684a7a4243484d4c576c42634f6f78757557556b4e58737959664d47716c43 esp
exec ipsec tunnel protect ipip36 sa-out 36 sa-in 100036 add
exec set interface ip address loop0 100.0.37.1/32
exec create ipip tunnel src 100.0.37.1 dst 200.0.0.2 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 536841715a696a6558646c77594e78416b51546149494a7643706971654c4d6e esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 536841715a696a6558646c77594e78416b51546149494a7643706971654c4d6e esp
exec ipsec tunnel protect ipip37 sa-out 37 sa-in 100037 add
exec set interface ip address loop0 100.0.38.1/32
exec create ipip tunnel src 100.0.38.1 dst 200.0.0.2 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 7a6b4751455875516b6e7567466656697a5979716441774a4a5a754264646645 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 7a6b4751455875516b6e7567466656697a5979716441774a4a5a754264646645 esp
exec ipsec tunnel protect ipip38 sa-out 38 sa-in 100038 add
exec set interface ip address loop0 100.0.39.1/32
exec create ipip tunnel src 100.0.39.1 dst 200.0.0.2 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 587a79516b7757465144594b506b6c797a6745716f56544277515a6c64674e62 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 587a79516b7757465144594b506b6c797a6745716f56544277515a6c64674e62 esp
exec ipsec tunnel protect ipip39 sa-out 39 sa-in 100039 add
exec set interface unnumbered ipip0 use avf-0/3b/a/0
exec set interface state ipip0 up
exec ip route add 20.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use avf-0/3b/a/0
exec set interface state ipip1 up
exec ip route add 20.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use avf-0/3b/a/0
exec set interface state ipip2 up
exec ip route add 20.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use avf-0/3b/a/0
exec set interface state ipip3 up
exec ip route add 20.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use avf-0/3b/a/0
exec set interface state ipip4 up
exec ip route add 20.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use avf-0/3b/a/0
exec set interface state ipip5 up
exec ip route add 20.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use avf-0/3b/a/0
exec set interface state ipip6 up
exec ip route add 20.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use avf-0/3b/a/0
exec set interface state ipip7 up
exec ip route add 20.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use avf-0/3b/a/0
exec set interface state ipip8 up
exec ip route add 20.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use avf-0/3b/a/0
exec set interface state ipip9 up
exec ip route add 20.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use avf-0/3b/a/0
exec set interface state ipip10 up
exec ip route add 20.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use avf-0/3b/a/0
exec set interface state ipip11 up
exec ip route add 20.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use avf-0/3b/a/0
exec set interface state ipip12 up
exec ip route add 20.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use avf-0/3b/a/0
exec set interface state ipip13 up
exec ip route add 20.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use avf-0/3b/a/0
exec set interface state ipip14 up
exec ip route add 20.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use avf-0/3b/a/0
exec set interface state ipip15 up
exec ip route add 20.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use avf-0/3b/a/0
exec set interface state ipip16 up
exec ip route add 20.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use avf-0/3b/a/0
exec set interface state ipip17 up
exec ip route add 20.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use avf-0/3b/a/0
exec set interface state ipip18 up
exec ip route add 20.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use avf-0/3b/a/0
exec set interface state ipip19 up
exec ip route add 20.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use avf-0/3b/a/0
exec set interface state ipip20 up
exec ip route add 20.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use avf-0/3b/a/0
exec set interface state ipip21 up
exec ip route add 20.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use avf-0/3b/a/0
exec set interface state ipip22 up
exec ip route add 20.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use avf-0/3b/a/0
exec set interface state ipip23 up
exec ip route add 20.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use avf-0/3b/a/0
exec set interface state ipip24 up
exec ip route add 20.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use avf-0/3b/a/0
exec set interface state ipip25 up
exec ip route add 20.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use avf-0/3b/a/0
exec set interface state ipip26 up
exec ip route add 20.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use avf-0/3b/a/0
exec set interface state ipip27 up
exec ip route add 20.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use avf-0/3b/a/0
exec set interface state ipip28 up
exec ip route add 20.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use avf-0/3b/a/0
exec set interface state ipip29 up
exec ip route add 20.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use avf-0/3b/a/0
exec set interface state ipip30 up
exec ip route add 20.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use avf-0/3b/a/0
exec set interface state ipip31 up
exec ip route add 20.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use avf-0/3b/a/0
exec set interface state ipip32 up
exec ip route add 20.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use avf-0/3b/a/0
exec set interface state ipip33 up
exec ip route add 20.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use avf-0/3b/a/0
exec set interface state ipip34 up
exec ip route add 20.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use avf-0/3b/a/0
exec set interface state ipip35 up
exec ip route add 20.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use avf-0/3b/a/0
exec set interface state ipip36 up
exec ip route add 20.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use avf-0/3b/a/0
exec set interface state ipip37 up
exec ip route add 20.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use avf-0/3b/a/0
exec set interface state ipip38 up
exec ip route add 20.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use avf-0/3b/a/0
exec set interface state ipip39 up
exec ip route add 20.0.0.39/32 via ipip39
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec set interface ip address avf-0/3b/a/0 200.0.0.2/24.0
exec create ipip tunnel src 200.0.0.2 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 4158626d49475344506c48434b664e4146734445586a6a646c53456b4b637a6e esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 4158626d49475344506c48434b664e4146734445586a6a646c53456b4b637a6e esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 564448414a6b6c787342686449594841424c6459434e746b4a5062566e574464 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 564448414a6b6c787342686449594841424c6459434e746b4a5062566e574464 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 71596a716671574c6c65496642545578754956416b415666777a4f576c546e6f esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 71596a716671574c6c65496642545578754956416b415666777a4f576c546e6f esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 627a68786662556b6f545a485858784d58795241795363727a7372715943514a esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 627a68786662556b6f545a485858784d58795241795363727a7372715943514a esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 67615444556556487754586f7849645370534675506971514b4a7a724c57484e esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 67615444556556487754586f7849645370534675506971514b4a7a724c57484e esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 595874425251715a484769545a4e594e6965534a70736e655459596c77674445 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 595874425251715a484769545a4e594e6965534a70736e655459596c77674445 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 7577636579594d67675952624b535775774d4a5549736b6a4e74656c5864776c esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 7577636579594d67675952624b535775774d4a5549736b6a4e74656c5864776c esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 444e64424f76437247637564594d447743484852594666756f626d464778664b esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 444e64424f76437247637564594d447743484852594666756f626d464778664b esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 7272456d53634b6c6f6750526f76617374736847466e4f6171534d6e58656c73 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 7272456d53634b6c6f6750526f76617374736847466e4f6171534d6e58656c73 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 6f6a676a4a6170734954564d4254634867696243775349764172694e6f4f4243 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 6f6a676a4a6170734954564d4254634867696243775349764172694e6f4f4243 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 6e655568446b4864714f5050686e6a5a576f554a4d79494654535052494e4477 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 6e655568446b4864714f5050686e6a5a576f554a4d79494654535052494e4477 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 4c6a6c63744f6d644d63666e574e585966786667716557756d7949724274554f esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 4c6a6c63744f6d644d63666e574e585966786667716557756d7949724274554f esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 696e78705a75644e4e4c62446f456741567041734b464a63746a436b7a625075 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 696e78705a75644e4e4c62446f456741567041734b464a63746a436b7a625075 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 4554454342616c7a556c706e50637a78547562645376764d77786f6771557977 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 4554454342616c7a556c706e50637a78547562645376764d77786f6771557977 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 5062747a6e5a4d6b456e6570687278624e54684f4578496a5871654f43706f74 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 5062747a6e5a4d6b456e6570687278624e54684f4578496a5871654f43706f74 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 4c4f4677574376634355466d4e5971486b746e76736c4a747453704d54696553 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 4c4f4677574376634355466d4e5971486b746e76736c4a747453704d54696553 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 706c52704d67584a436e534a766861554f67475655516d59794958766f63546c esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 706c52704d67584a436e534a766861554f67475655516d59794958766f63546c esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 4664534457566e4d706255445275444a59735747536864476777415a544a4875 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 4664534457566e4d706255445275444a59735747536864476777415a544a4875 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 785a476a754c6f6c65444d774f4d737a53435276656664595441436f47734450 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 785a476a754c6f6c65444d774f4d737a53435276656664595441436f47734450 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 4148417671536741736b7675584e6841474e66775341474877624e624a734e48 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 4148417671536741736b7675584e6841474e66775341474877624e624a734e48 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 64524b51674877526e5348534f4a6d584d5a5874414b5462637958785252516b esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 64524b51674877526e5348534f4a6d584d5a5874414b5462637958785252516b esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 736d666a634443466666776c527865786e7442674b68564d74514a4f65587974 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 736d666a634443466666776c527865786e7442674b68564d74514a4f65587974 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 6a774242444a67587171474a536570694b64437a7353524f535a4b436b4c7578 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 6a774242444a67587171474a536570694b64437a7353524f535a4b436b4c7578 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 6f6d5563714c57676a59746e72555554687158724151636444695876635a7441 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 6f6d5563714c57676a59746e72555554687158724151636444695876635a7441 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 745a414f4775466f7765574c705a734b6e71566475774b596c547277424f6357 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 745a414f4775466f7765574c705a734b6e71566475774b596c547277424f6357 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 787244756f566465414d6a67767464516d64744168654d6a6978654548525a55 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 787244756f566465414d6a67767464516d64744168654d6a6978654548525a55 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 7677664358686b44674a75676c49776a736155754647594d62536977496b7a55 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 7677664358686b44674a75676c49776a736155754647594d62536977496b7a55 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 73664e5967735661504b675247566d785854504d7a4e4e634c4c6a5952554843 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 73664e5967735661504b675247566d785854504d7a4e4e634c4c6a5952554843 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 4971696f5971615075736e685656557143636e72727a4277427179515841696f esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 4971696f5971615075736e685656557143636e72727a4277427179515841696f esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 784e5551484d754f4a7142636c66487059494570496d70514461576773457569 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 784e5551484d754f4a7142636c66487059494570496d70514461576773457569 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 4771576a47706245756b6a5568646d634d495a697655677362766a4c705a706b esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 4771576a47706245756b6a5568646d634d495a697655677362766a4c705a706b esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 6c774a576752495a4752774c71524c62575378494f55584151507a7241666374 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 6c774a576752495a4752774c71524c62575378494f55584151507a7241666374 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 52674174525942597444766f7a764c534868696e784b586c6376774c6b436e6e esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 52674174525942597444766f7a764c534868696e784b586c6376774c6b436e6e esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 4c52756c455a535367785562715365634c50566e414376664a7373584f6c6d58 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 4c52756c455a535367785562715365634c50566e414376664a7373584f6c6d58 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 726e6d434b434e565979515a7776544f6f79686e64664e594a554b7078436846 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 726e6d434b434e565979515a7776544f6f79686e64664e594a554b7078436846 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 5579557a7a754d4978724c486870784c475a5867696755424b47504d78624577 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 5579557a7a754d4978724c486870784c475a5867696755424b47504d78624577 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 63684a7a4243484d4c576c42634f6f78757557556b4e58737959664d47716c43 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 63684a7a4243484d4c576c42634f6f78757557556b4e58737959664d47716c43 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 536841715a696a6558646c77594e78416b51546149494a7643706971654c4d6e esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 536841715a696a6558646c77594e78416b51546149494a7643706971654c4d6e esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 7a6b4751455875516b6e7567466656697a5979716441774a4a5a754264646645 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 7a6b4751455875516b6e7567466656697a5979716441774a4a5a754264646645 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 587a79516b7757465144594b506b6c797a6745716f56544277515a6c64674e62 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 587a79516b7757465144594b506b6c797a6745716f56544277515a6c64674e62 esp
exec ipsec tunnel protect ipip39 sa-out 100039 sa-in 39 add
exec ip route add 100.0.0.1/8 via 200.0.0.1 avf-0/3b/a/0
exec set interface unnumbered ipip0 use avf-0/3b/a/0
exec set interface state ipip0 up
exec ip route add 10.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use avf-0/3b/a/0
exec set interface state ipip1 up
exec ip route add 10.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use avf-0/3b/a/0
exec set interface state ipip2 up
exec ip route add 10.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use avf-0/3b/a/0
exec set interface state ipip3 up
exec ip route add 10.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use avf-0/3b/a/0
exec set interface state ipip4 up
exec ip route add 10.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use avf-0/3b/a/0
exec set interface state ipip5 up
exec ip route add 10.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use avf-0/3b/a/0
exec set interface state ipip6 up
exec ip route add 10.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use avf-0/3b/a/0
exec set interface state ipip7 up
exec ip route add 10.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use avf-0/3b/a/0
exec set interface state ipip8 up
exec ip route add 10.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use avf-0/3b/a/0
exec set interface state ipip9 up
exec ip route add 10.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use avf-0/3b/a/0
exec set interface state ipip10 up
exec ip route add 10.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use avf-0/3b/a/0
exec set interface state ipip11 up
exec ip route add 10.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use avf-0/3b/a/0
exec set interface state ipip12 up
exec ip route add 10.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use avf-0/3b/a/0
exec set interface state ipip13 up
exec ip route add 10.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use avf-0/3b/a/0
exec set interface state ipip14 up
exec ip route add 10.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use avf-0/3b/a/0
exec set interface state ipip15 up
exec ip route add 10.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use avf-0/3b/a/0
exec set interface state ipip16 up
exec ip route add 10.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use avf-0/3b/a/0
exec set interface state ipip17 up
exec ip route add 10.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use avf-0/3b/a/0
exec set interface state ipip18 up
exec ip route add 10.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use avf-0/3b/a/0
exec set interface state ipip19 up
exec ip route add 10.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use avf-0/3b/a/0
exec set interface state ipip20 up
exec ip route add 10.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use avf-0/3b/a/0
exec set interface state ipip21 up
exec ip route add 10.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use avf-0/3b/a/0
exec set interface state ipip22 up
exec ip route add 10.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use avf-0/3b/a/0
exec set interface state ipip23 up
exec ip route add 10.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use avf-0/3b/a/0
exec set interface state ipip24 up
exec ip route add 10.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use avf-0/3b/a/0
exec set interface state ipip25 up
exec ip route add 10.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use avf-0/3b/a/0
exec set interface state ipip26 up
exec ip route add 10.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use avf-0/3b/a/0
exec set interface state ipip27 up
exec ip route add 10.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use avf-0/3b/a/0
exec set interface state ipip28 up
exec ip route add 10.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use avf-0/3b/a/0
exec set interface state ipip29 up
exec ip route add 10.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use avf-0/3b/a/0
exec set interface state ipip30 up
exec ip route add 10.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use avf-0/3b/a/0
exec set interface state ipip31 up
exec ip route add 10.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use avf-0/3b/a/0
exec set interface state ipip32 up
exec ip route add 10.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use avf-0/3b/a/0
exec set interface state ipip33 up
exec ip route add 10.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use avf-0/3b/a/0
exec set interface state ipip34 up
exec ip route add 10.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use avf-0/3b/a/0
exec set interface state ipip35 up
exec ip route add 10.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use avf-0/3b/a/0
exec set interface state ipip36 up
exec ip route add 10.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use avf-0/3b/a/0
exec set interface state ipip37 up
exec ip route add 10.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use avf-0/3b/a/0
exec set interface state ipip38 up
exec ip route add 10.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use avf-0/3b/a/0
exec set interface state ipip39 up
exec ip route add 10.0.0.39/32 via ipip39

 imix-8t4c-avf-ethip4ipsec40tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec create loopback interface
exec set interface state loop0 up
exec set interface ip address avf-0/3b/a/0 200.0.0.1/24
exec set ip neighbor avf-0/3b/a/0 200.0.0.2 3c:fe:bd:f8:fd:00 static
exec set interface ip address loop0 100.0.0.1/32
exec create ipip tunnel src 100.0.0.1 dst 200.0.0.2 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 54766c55494b72624966705943514942687769794d69514875476a446874744d esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 54766c55494b72624966705943514942687769794d69514875476a446874744d esp
exec ipsec tunnel protect ipip0 sa-out 0 sa-in 100000 add
exec set interface ip address loop0 100.0.1.1/32
exec create ipip tunnel src 100.0.1.1 dst 200.0.0.2 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 6561786d426d4f664b5a7458736a616d474344684277654c5579666645756d53 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 6561786d426d4f664b5a7458736a616d474344684277654c5579666645756d53 esp
exec ipsec tunnel protect ipip1 sa-out 1 sa-in 100001 add
exec set interface ip address loop0 100.0.2.1/32
exec create ipip tunnel src 100.0.2.1 dst 200.0.0.2 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 5a516e78544b504b53547771796b52664a7a4c586977755146516d4f55646344 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 5a516e78544b504b53547771796b52664a7a4c586977755146516d4f55646344 esp
exec ipsec tunnel protect ipip2 sa-out 2 sa-in 100002 add
exec set interface ip address loop0 100.0.3.1/32
exec create ipip tunnel src 100.0.3.1 dst 200.0.0.2 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 4e4d5477434b4359544d49617a6743505549586b6c7556436f4463426b47484c esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 4e4d5477434b4359544d49617a6743505549586b6c7556436f4463426b47484c esp
exec ipsec tunnel protect ipip3 sa-out 3 sa-in 100003 add
exec set interface ip address loop0 100.0.4.1/32
exec create ipip tunnel src 100.0.4.1 dst 200.0.0.2 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 6f755546514768796f596a785a776a6a464a79546b74436f7a774d5658545451 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 6f755546514768796f596a785a776a6a464a79546b74436f7a774d5658545451 esp
exec ipsec tunnel protect ipip4 sa-out 4 sa-in 100004 add
exec set interface ip address loop0 100.0.5.1/32
exec create ipip tunnel src 100.0.5.1 dst 200.0.0.2 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 7955466562465070674179597a49695a6459425a5553614f634567656d41664e esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 7955466562465070674179597a49695a6459425a5553614f634567656d41664e esp
exec ipsec tunnel protect ipip5 sa-out 5 sa-in 100005 add
exec set interface ip address loop0 100.0.6.1/32
exec create ipip tunnel src 100.0.6.1 dst 200.0.0.2 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 57664e535354774847475a56446147585a57765953796e657a43466a45484f64 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 57664e535354774847475a56446147585a57765953796e657a43466a45484f64 esp
exec ipsec tunnel protect ipip6 sa-out 6 sa-in 100006 add
exec set interface ip address loop0 100.0.7.1/32
exec create ipip tunnel src 100.0.7.1 dst 200.0.0.2 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 4277524c4a477a44434d79786c5853774654526c6c4d7157704975474e49736a esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 4277524c4a477a44434d79786c5853774654526c6c4d7157704975474e49736a esp
exec ipsec tunnel protect ipip7 sa-out 7 sa-in 100007 add
exec set interface ip address loop0 100.0.8.1/32
exec create ipip tunnel src 100.0.8.1 dst 200.0.0.2 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 727864496879496d72796e54696d766352624b6b7141756f516e5173465a5545 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 727864496879496d72796e54696d766352624b6b7141756f516e5173465a5545 esp
exec ipsec tunnel protect ipip8 sa-out 8 sa-in 100008 add
exec set interface ip address loop0 100.0.9.1/32
exec create ipip tunnel src 100.0.9.1 dst 200.0.0.2 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 65655259726570534859476e75656f79685170496252525643736d41464d6142 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 65655259726570534859476e75656f79685170496252525643736d41464d6142 esp
exec ipsec tunnel protect ipip9 sa-out 9 sa-in 100009 add
exec set interface ip address loop0 100.0.10.1/32
exec create ipip tunnel src 100.0.10.1 dst 200.0.0.2 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 67496c635158457a4846796a497950526563546c4a4c6b68564c7a78506c7150 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 67496c635158457a4846796a497950526563546c4a4c6b68564c7a78506c7150 esp
exec ipsec tunnel protect ipip10 sa-out 10 sa-in 100010 add
exec set interface ip address loop0 100.0.11.1/32
exec create ipip tunnel src 100.0.11.1 dst 200.0.0.2 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 7043446874656f47544b41586554775377646c4c726e484372596c59544e6b6a esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 7043446874656f47544b41586554775377646c4c726e484372596c59544e6b6a esp
exec ipsec tunnel protect ipip11 sa-out 11 sa-in 100011 add
exec set interface ip address loop0 100.0.12.1/32
exec create ipip tunnel src 100.0.12.1 dst 200.0.0.2 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 7747736e6a5664584475584d4364596d4f75685a5a54736a484d7679486d5170 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 7747736e6a5664584475584d4364596d4f75685a5a54736a484d7679486d5170 esp
exec ipsec tunnel protect ipip12 sa-out 12 sa-in 100012 add
exec set interface ip address loop0 100.0.13.1/32
exec create ipip tunnel src 100.0.13.1 dst 200.0.0.2 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 6e54716f666d4c6c585a72714d7a756253756c6d61756859446a50444e5a6157 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 6e54716f666d4c6c585a72714d7a756253756c6d61756859446a50444e5a6157 esp
exec ipsec tunnel protect ipip13 sa-out 13 sa-in 100013 add
exec set interface ip address loop0 100.0.14.1/32
exec create ipip tunnel src 100.0.14.1 dst 200.0.0.2 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 51527a666b6643497a646141504d57764756444c7068714777555764476c766c esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 51527a666b6643497a646141504d57764756444c7068714777555764476c766c esp
exec ipsec tunnel protect ipip14 sa-out 14 sa-in 100014 add
exec set interface ip address loop0 100.0.15.1/32
exec create ipip tunnel src 100.0.15.1 dst 200.0.0.2 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 416b4d6f6c6f697642574e796f78624d684f78446e6d4b4c4743795776515a73 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 416b4d6f6c6f697642574e796f78624d684f78446e6d4b4c4743795776515a73 esp
exec ipsec tunnel protect ipip15 sa-out 15 sa-in 100015 add
exec set interface ip address loop0 100.0.16.1/32
exec create ipip tunnel src 100.0.16.1 dst 200.0.0.2 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 66586c46456f43765a416e6b7a5a494a546d6279747953655669506175575755 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 66586c46456f43765a416e6b7a5a494a546d6279747953655669506175575755 esp
exec ipsec tunnel protect ipip16 sa-out 16 sa-in 100016 add
exec set interface ip address loop0 100.0.17.1/32
exec create ipip tunnel src 100.0.17.1 dst 200.0.0.2 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 54546e6f4c76584c697465425a6369457559657066504b6e65735278464d7058 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 54546e6f4c76584c697465425a6369457559657066504b6e65735278464d7058 esp
exec ipsec tunnel protect ipip17 sa-out 17 sa-in 100017 add
exec set interface ip address loop0 100.0.18.1/32
exec create ipip tunnel src 100.0.18.1 dst 200.0.0.2 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 6e786c6c774a7562447876706b506b4452426166794f4c494d71616f4a536f72 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 6e786c6c774a7562447876706b506b4452426166794f4c494d71616f4a536f72 esp
exec ipsec tunnel protect ipip18 sa-out 18 sa-in 100018 add
exec set interface ip address loop0 100.0.19.1/32
exec create ipip tunnel src 100.0.19.1 dst 200.0.0.2 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 77465a704571615757796a4645414d416a57656b466c777746425a474e635545 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 77465a704571615757796a4645414d416a57656b466c777746425a474e635545 esp
exec ipsec tunnel protect ipip19 sa-out 19 sa-in 100019 add
exec set interface ip address loop0 100.0.20.1/32
exec create ipip tunnel src 100.0.20.1 dst 200.0.0.2 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 646a69476f7942454c7158615546627068726f43544652734568504464467544 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 646a69476f7942454c7158615546627068726f43544652734568504464467544 esp
exec ipsec tunnel protect ipip20 sa-out 20 sa-in 100020 add
exec set interface ip address loop0 100.0.21.1/32
exec create ipip tunnel src 100.0.21.1 dst 200.0.0.2 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 736f6250635552596d704d4d624d65454964424b487678547a497a68774f4671 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 736f6250635552596d704d4d624d65454964424b487678547a497a68774f4671 esp
exec ipsec tunnel protect ipip21 sa-out 21 sa-in 100021 add
exec set interface ip address loop0 100.0.22.1/32
exec create ipip tunnel src 100.0.22.1 dst 200.0.0.2 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 6252784a726c5053595449796c496e4f754f584b646d634d455a55464a46477a esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 6252784a726c5053595449796c496e4f754f584b646d634d455a55464a46477a esp
exec ipsec tunnel protect ipip22 sa-out 22 sa-in 100022 add
exec set interface ip address loop0 100.0.23.1/32
exec create ipip tunnel src 100.0.23.1 dst 200.0.0.2 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 77544661684b5453476254705a476c4f6549664a7768615566476e71694e5272 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 77544661684b5453476254705a476c4f6549664a7768615566476e71694e5272 esp
exec ipsec tunnel protect ipip23 sa-out 23 sa-in 100023 add
exec set interface ip address loop0 100.0.24.1/32
exec create ipip tunnel src 100.0.24.1 dst 200.0.0.2 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 5a69517959586751464d726343696f684a476141576f727443576e6e45554350 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 5a69517959586751464d726343696f684a476141576f727443576e6e45554350 esp
exec ipsec tunnel protect ipip24 sa-out 24 sa-in 100024 add
exec set interface ip address loop0 100.0.25.1/32
exec create ipip tunnel src 100.0.25.1 dst 200.0.0.2 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 6c6b6f56534c6e5852777059577153496c4f4f6567767671674943746c6b4c4e esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 6c6b6f56534c6e5852777059577153496c4f4f6567767671674943746c6b4c4e esp
exec ipsec tunnel protect ipip25 sa-out 25 sa-in 100025 add
exec set interface ip address loop0 100.0.26.1/32
exec create ipip tunnel src 100.0.26.1 dst 200.0.0.2 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 4256514f5142536b656c73584e636347436764536f52726e756a616e4e796e47 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 4256514f5142536b656c73584e636347436764536f52726e756a616e4e796e47 esp
exec ipsec tunnel protect ipip26 sa-out 26 sa-in 100026 add
exec set interface ip address loop0 100.0.27.1/32
exec create ipip tunnel src 100.0.27.1 dst 200.0.0.2 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 76475657775a6b4c6471786d4e64594d427975466d415a5145426b6773506850 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 76475657775a6b4c6471786d4e64594d427975466d415a5145426b6773506850 esp
exec ipsec tunnel protect ipip27 sa-out 27 sa-in 100027 add
exec set interface ip address loop0 100.0.28.1/32
exec create ipip tunnel src 100.0.28.1 dst 200.0.0.2 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 77436373426b6f7a584d4476797273504d7a4a587276494e5a4752694a416549 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 77436373426b6f7a584d4476797273504d7a4a587276494e5a4752694a416549 esp
exec ipsec tunnel protect ipip28 sa-out 28 sa-in 100028 add
exec set interface ip address loop0 100.0.29.1/32
exec create ipip tunnel src 100.0.29.1 dst 200.0.0.2 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 674f774e6a76695679495242476670624e5a465a7364674d59574e427248775a esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 674f774e6a76695679495242476670624e5a465a7364674d59574e427248775a esp
exec ipsec tunnel protect ipip29 sa-out 29 sa-in 100029 add
exec set interface ip address loop0 100.0.30.1/32
exec create ipip tunnel src 100.0.30.1 dst 200.0.0.2 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 6e56416b4d45424b587161746e454d487043666b4f68466541706d524a497253 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 6e56416b4d45424b587161746e454d487043666b4f68466541706d524a497253 esp
exec ipsec tunnel protect ipip30 sa-out 30 sa-in 100030 add
exec set interface ip address loop0 100.0.31.1/32
exec create ipip tunnel src 100.0.31.1 dst 200.0.0.2 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 67577268516d6f7a4e7059496c4c43555771427958416a777050765568634648 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 67577268516d6f7a4e7059496c4c43555771427958416a777050765568634648 esp
exec ipsec tunnel protect ipip31 sa-out 31 sa-in 100031 add
exec set interface ip address loop0 100.0.32.1/32
exec create ipip tunnel src 100.0.32.1 dst 200.0.0.2 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 486b587a5846787442695a42695143716f5543676c7444434d49576e47795068 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 486b587a5846787442695a42695143716f5543676c7444434d49576e47795068 esp
exec ipsec tunnel protect ipip32 sa-out 32 sa-in 100032 add
exec set interface ip address loop0 100.0.33.1/32
exec create ipip tunnel src 100.0.33.1 dst 200.0.0.2 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 56657a4544597362454a54627a716b514577564f6a427663617a497744646456 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 56657a4544597362454a54627a716b514577564f6a427663617a497744646456 esp
exec ipsec tunnel protect ipip33 sa-out 33 sa-in 100033 add
exec set interface ip address loop0 100.0.34.1/32
exec create ipip tunnel src 100.0.34.1 dst 200.0.0.2 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 56536153725768754d49724a73435276487759445965704c446e4b76654b764e esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 56536153725768754d49724a73435276487759445965704c446e4b76654b764e esp
exec ipsec tunnel protect ipip34 sa-out 34 sa-in 100034 add
exec set interface ip address loop0 100.0.35.1/32
exec create ipip tunnel src 100.0.35.1 dst 200.0.0.2 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 6f447975667651547a67546c42777a654672657167476853736c4178524d5964 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 6f447975667651547a67546c42777a654672657167476853736c4178524d5964 esp
exec ipsec tunnel protect ipip35 sa-out 35 sa-in 100035 add
exec set interface ip address loop0 100.0.36.1/32
exec create ipip tunnel src 100.0.36.1 dst 200.0.0.2 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 6f63766852627a4f75796552706b41705862716d777a74776354527575535750 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 6f63766852627a4f75796552706b41705862716d777a74776354527575535750 esp
exec ipsec tunnel protect ipip36 sa-out 36 sa-in 100036 add
exec set interface ip address loop0 100.0.37.1/32
exec create ipip tunnel src 100.0.37.1 dst 200.0.0.2 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 5946496f664656474273505a4b6551646f657754757559725a486f79664c4456 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 5946496f664656474273505a4b6551646f657754757559725a486f79664c4456 esp
exec ipsec tunnel protect ipip37 sa-out 37 sa-in 100037 add
exec set interface ip address loop0 100.0.38.1/32
exec create ipip tunnel src 100.0.38.1 dst 200.0.0.2 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 6c7174416c5272697343756f484b554f4e65504e44466f7a4d674a516e45694c esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 6c7174416c5272697343756f484b554f4e65504e44466f7a4d674a516e45694c esp
exec ipsec tunnel protect ipip38 sa-out 38 sa-in 100038 add
exec set interface ip address loop0 100.0.39.1/32
exec create ipip tunnel src 100.0.39.1 dst 200.0.0.2 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 5451556e7a536c6f4776547062564e776a72675742706e78775862555a495774 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 5451556e7a536c6f4776547062564e776a72675742706e78775862555a495774 esp
exec ipsec tunnel protect ipip39 sa-out 39 sa-in 100039 add
exec set interface unnumbered ipip0 use avf-0/3b/a/0
exec set interface state ipip0 up
exec ip route add 20.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use avf-0/3b/a/0
exec set interface state ipip1 up
exec ip route add 20.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use avf-0/3b/a/0
exec set interface state ipip2 up
exec ip route add 20.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use avf-0/3b/a/0
exec set interface state ipip3 up
exec ip route add 20.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use avf-0/3b/a/0
exec set interface state ipip4 up
exec ip route add 20.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use avf-0/3b/a/0
exec set interface state ipip5 up
exec ip route add 20.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use avf-0/3b/a/0
exec set interface state ipip6 up
exec ip route add 20.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use avf-0/3b/a/0
exec set interface state ipip7 up
exec ip route add 20.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use avf-0/3b/a/0
exec set interface state ipip8 up
exec ip route add 20.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use avf-0/3b/a/0
exec set interface state ipip9 up
exec ip route add 20.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use avf-0/3b/a/0
exec set interface state ipip10 up
exec ip route add 20.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use avf-0/3b/a/0
exec set interface state ipip11 up
exec ip route add 20.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use avf-0/3b/a/0
exec set interface state ipip12 up
exec ip route add 20.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use avf-0/3b/a/0
exec set interface state ipip13 up
exec ip route add 20.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use avf-0/3b/a/0
exec set interface state ipip14 up
exec ip route add 20.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use avf-0/3b/a/0
exec set interface state ipip15 up
exec ip route add 20.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use avf-0/3b/a/0
exec set interface state ipip16 up
exec ip route add 20.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use avf-0/3b/a/0
exec set interface state ipip17 up
exec ip route add 20.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use avf-0/3b/a/0
exec set interface state ipip18 up
exec ip route add 20.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use avf-0/3b/a/0
exec set interface state ipip19 up
exec ip route add 20.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use avf-0/3b/a/0
exec set interface state ipip20 up
exec ip route add 20.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use avf-0/3b/a/0
exec set interface state ipip21 up
exec ip route add 20.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use avf-0/3b/a/0
exec set interface state ipip22 up
exec ip route add 20.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use avf-0/3b/a/0
exec set interface state ipip23 up
exec ip route add 20.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use avf-0/3b/a/0
exec set interface state ipip24 up
exec ip route add 20.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use avf-0/3b/a/0
exec set interface state ipip25 up
exec ip route add 20.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use avf-0/3b/a/0
exec set interface state ipip26 up
exec ip route add 20.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use avf-0/3b/a/0
exec set interface state ipip27 up
exec ip route add 20.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use avf-0/3b/a/0
exec set interface state ipip28 up
exec ip route add 20.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use avf-0/3b/a/0
exec set interface state ipip29 up
exec ip route add 20.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use avf-0/3b/a/0
exec set interface state ipip30 up
exec ip route add 20.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use avf-0/3b/a/0
exec set interface state ipip31 up
exec ip route add 20.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use avf-0/3b/a/0
exec set interface state ipip32 up
exec ip route add 20.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use avf-0/3b/a/0
exec set interface state ipip33 up
exec ip route add 20.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use avf-0/3b/a/0
exec set interface state ipip34 up
exec ip route add 20.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use avf-0/3b/a/0
exec set interface state ipip35 up
exec ip route add 20.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use avf-0/3b/a/0
exec set interface state ipip36 up
exec ip route add 20.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use avf-0/3b/a/0
exec set interface state ipip37 up
exec ip route add 20.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use avf-0/3b/a/0
exec set interface state ipip38 up
exec ip route add 20.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use avf-0/3b/a/0
exec set interface state ipip39 up
exec ip route add 20.0.0.39/32 via ipip39
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec set interface ip address avf-0/3b/a/0 200.0.0.2/24.0
exec create ipip tunnel src 200.0.0.2 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 54766c55494b72624966705943514942687769794d69514875476a446874744d esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 54766c55494b72624966705943514942687769794d69514875476a446874744d esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 6561786d426d4f664b5a7458736a616d474344684277654c5579666645756d53 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 6561786d426d4f664b5a7458736a616d474344684277654c5579666645756d53 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 5a516e78544b504b53547771796b52664a7a4c586977755146516d4f55646344 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 5a516e78544b504b53547771796b52664a7a4c586977755146516d4f55646344 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 4e4d5477434b4359544d49617a6743505549586b6c7556436f4463426b47484c esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 4e4d5477434b4359544d49617a6743505549586b6c7556436f4463426b47484c esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 6f755546514768796f596a785a776a6a464a79546b74436f7a774d5658545451 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 6f755546514768796f596a785a776a6a464a79546b74436f7a774d5658545451 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 7955466562465070674179597a49695a6459425a5553614f634567656d41664e esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 7955466562465070674179597a49695a6459425a5553614f634567656d41664e esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 57664e535354774847475a56446147585a57765953796e657a43466a45484f64 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 57664e535354774847475a56446147585a57765953796e657a43466a45484f64 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 4277524c4a477a44434d79786c5853774654526c6c4d7157704975474e49736a esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 4277524c4a477a44434d79786c5853774654526c6c4d7157704975474e49736a esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 727864496879496d72796e54696d766352624b6b7141756f516e5173465a5545 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 727864496879496d72796e54696d766352624b6b7141756f516e5173465a5545 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 65655259726570534859476e75656f79685170496252525643736d41464d6142 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 65655259726570534859476e75656f79685170496252525643736d41464d6142 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 67496c635158457a4846796a497950526563546c4a4c6b68564c7a78506c7150 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 67496c635158457a4846796a497950526563546c4a4c6b68564c7a78506c7150 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 7043446874656f47544b41586554775377646c4c726e484372596c59544e6b6a esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 7043446874656f47544b41586554775377646c4c726e484372596c59544e6b6a esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 7747736e6a5664584475584d4364596d4f75685a5a54736a484d7679486d5170 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 7747736e6a5664584475584d4364596d4f75685a5a54736a484d7679486d5170 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 6e54716f666d4c6c585a72714d7a756253756c6d61756859446a50444e5a6157 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 6e54716f666d4c6c585a72714d7a756253756c6d61756859446a50444e5a6157 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 51527a666b6643497a646141504d57764756444c7068714777555764476c766c esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 51527a666b6643497a646141504d57764756444c7068714777555764476c766c esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 416b4d6f6c6f697642574e796f78624d684f78446e6d4b4c4743795776515a73 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 416b4d6f6c6f697642574e796f78624d684f78446e6d4b4c4743795776515a73 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 66586c46456f43765a416e6b7a5a494a546d6279747953655669506175575755 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 66586c46456f43765a416e6b7a5a494a546d6279747953655669506175575755 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 54546e6f4c76584c697465425a6369457559657066504b6e65735278464d7058 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 54546e6f4c76584c697465425a6369457559657066504b6e65735278464d7058 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 6e786c6c774a7562447876706b506b4452426166794f4c494d71616f4a536f72 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 6e786c6c774a7562447876706b506b4452426166794f4c494d71616f4a536f72 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 77465a704571615757796a4645414d416a57656b466c777746425a474e635545 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 77465a704571615757796a4645414d416a57656b466c777746425a474e635545 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 646a69476f7942454c7158615546627068726f43544652734568504464467544 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 646a69476f7942454c7158615546627068726f43544652734568504464467544 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 736f6250635552596d704d4d624d65454964424b487678547a497a68774f4671 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 736f6250635552596d704d4d624d65454964424b487678547a497a68774f4671 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 6252784a726c5053595449796c496e4f754f584b646d634d455a55464a46477a esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 6252784a726c5053595449796c496e4f754f584b646d634d455a55464a46477a esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 77544661684b5453476254705a476c4f6549664a7768615566476e71694e5272 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 77544661684b5453476254705a476c4f6549664a7768615566476e71694e5272 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 5a69517959586751464d726343696f684a476141576f727443576e6e45554350 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 5a69517959586751464d726343696f684a476141576f727443576e6e45554350 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 6c6b6f56534c6e5852777059577153496c4f4f6567767671674943746c6b4c4e esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 6c6b6f56534c6e5852777059577153496c4f4f6567767671674943746c6b4c4e esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 4256514f5142536b656c73584e636347436764536f52726e756a616e4e796e47 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 4256514f5142536b656c73584e636347436764536f52726e756a616e4e796e47 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 76475657775a6b4c6471786d4e64594d427975466d415a5145426b6773506850 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 76475657775a6b4c6471786d4e64594d427975466d415a5145426b6773506850 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 77436373426b6f7a584d4476797273504d7a4a587276494e5a4752694a416549 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 77436373426b6f7a584d4476797273504d7a4a587276494e5a4752694a416549 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 674f774e6a76695679495242476670624e5a465a7364674d59574e427248775a esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 674f774e6a76695679495242476670624e5a465a7364674d59574e427248775a esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 6e56416b4d45424b587161746e454d487043666b4f68466541706d524a497253 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 6e56416b4d45424b587161746e454d487043666b4f68466541706d524a497253 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 67577268516d6f7a4e7059496c4c43555771427958416a777050765568634648 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 67577268516d6f7a4e7059496c4c43555771427958416a777050765568634648 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 486b587a5846787442695a42695143716f5543676c7444434d49576e47795068 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 486b587a5846787442695a42695143716f5543676c7444434d49576e47795068 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 56657a4544597362454a54627a716b514577564f6a427663617a497744646456 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 56657a4544597362454a54627a716b514577564f6a427663617a497744646456 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 56536153725768754d49724a73435276487759445965704c446e4b76654b764e esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 56536153725768754d49724a73435276487759445965704c446e4b76654b764e esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 6f447975667651547a67546c42777a654672657167476853736c4178524d5964 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 6f447975667651547a67546c42777a654672657167476853736c4178524d5964 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 6f63766852627a4f75796552706b41705862716d777a74776354527575535750 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 6f63766852627a4f75796552706b41705862716d777a74776354527575535750 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 5946496f664656474273505a4b6551646f657754757559725a486f79664c4456 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 5946496f664656474273505a4b6551646f657754757559725a486f79664c4456 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 6c7174416c5272697343756f484b554f4e65504e44466f7a4d674a516e45694c esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 6c7174416c5272697343756f484b554f4e65504e44466f7a4d674a516e45694c esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 5451556e7a536c6f4776547062564e776a72675742706e78775862555a495774 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 5451556e7a536c6f4776547062564e776a72675742706e78775862555a495774 esp
exec ipsec tunnel protect ipip39 sa-out 100039 sa-in 39 add
exec ip route add 100.0.0.1/8 via 200.0.0.1 avf-0/3b/a/0
exec set interface unnumbered ipip0 use avf-0/3b/a/0
exec set interface state ipip0 up
exec ip route add 10.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use avf-0/3b/a/0
exec set interface state ipip1 up
exec ip route add 10.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use avf-0/3b/a/0
exec set interface state ipip2 up
exec ip route add 10.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use avf-0/3b/a/0
exec set interface state ipip3 up
exec ip route add 10.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use avf-0/3b/a/0
exec set interface state ipip4 up
exec ip route add 10.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use avf-0/3b/a/0
exec set interface state ipip5 up
exec ip route add 10.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use avf-0/3b/a/0
exec set interface state ipip6 up
exec ip route add 10.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use avf-0/3b/a/0
exec set interface state ipip7 up
exec ip route add 10.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use avf-0/3b/a/0
exec set interface state ipip8 up
exec ip route add 10.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use avf-0/3b/a/0
exec set interface state ipip9 up
exec ip route add 10.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use avf-0/3b/a/0
exec set interface state ipip10 up
exec ip route add 10.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use avf-0/3b/a/0
exec set interface state ipip11 up
exec ip route add 10.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use avf-0/3b/a/0
exec set interface state ipip12 up
exec ip route add 10.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use avf-0/3b/a/0
exec set interface state ipip13 up
exec ip route add 10.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use avf-0/3b/a/0
exec set interface state ipip14 up
exec ip route add 10.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use avf-0/3b/a/0
exec set interface state ipip15 up
exec ip route add 10.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use avf-0/3b/a/0
exec set interface state ipip16 up
exec ip route add 10.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use avf-0/3b/a/0
exec set interface state ipip17 up
exec ip route add 10.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use avf-0/3b/a/0
exec set interface state ipip18 up
exec ip route add 10.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use avf-0/3b/a/0
exec set interface state ipip19 up
exec ip route add 10.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use avf-0/3b/a/0
exec set interface state ipip20 up
exec ip route add 10.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use avf-0/3b/a/0
exec set interface state ipip21 up
exec ip route add 10.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use avf-0/3b/a/0
exec set interface state ipip22 up
exec ip route add 10.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use avf-0/3b/a/0
exec set interface state ipip23 up
exec ip route add 10.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use avf-0/3b/a/0
exec set interface state ipip24 up
exec ip route add 10.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use avf-0/3b/a/0
exec set interface state ipip25 up
exec ip route add 10.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use avf-0/3b/a/0
exec set interface state ipip26 up
exec ip route add 10.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use avf-0/3b/a/0
exec set interface state ipip27 up
exec ip route add 10.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use avf-0/3b/a/0
exec set interface state ipip28 up
exec ip route add 10.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use avf-0/3b/a/0
exec set interface state ipip29 up
exec ip route add 10.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use avf-0/3b/a/0
exec set interface state ipip30 up
exec ip route add 10.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use avf-0/3b/a/0
exec set interface state ipip31 up
exec ip route add 10.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use avf-0/3b/a/0
exec set interface state ipip32 up
exec ip route add 10.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use avf-0/3b/a/0
exec set interface state ipip33 up
exec ip route add 10.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use avf-0/3b/a/0
exec set interface state ipip34 up
exec ip route add 10.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use avf-0/3b/a/0
exec set interface state ipip35 up
exec ip route add 10.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use avf-0/3b/a/0
exec set interface state ipip36 up
exec ip route add 10.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use avf-0/3b/a/0
exec set interface state ipip37 up
exec ip route add 10.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use avf-0/3b/a/0
exec set interface state ipip38 up
exec ip route add 10.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use avf-0/3b/a/0
exec set interface state ipip39 up
exec ip route add 10.0.0.39/32 via ipip39

25ge2p1xxv710-avf-ethip4ipsec4tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-avf-ethip4ipsec4tnlsw- 
ip4base-int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f8:fd:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’sEpdwGzgTCwZccRW’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’zipeEwvIWdboDaBiaQAEhPXbpmgyvVMGmVoMwmAMzNSBmMyQiMoPzGBSmdHyziSB’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’sEpdwGzgTCwZccRW’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’zipeEwvIWdboDaBiaQAEhPXbpmgyvVMGmVoMwmAMzNSBmMyQiMoPzGBSmdHyziSB’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’DmqWcagUXlsDEgIy’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’CnWjMwvtVIUugoCmDyYcUQhAvPYYtjexYdBFXyjfSDsYKmaYBOsRYJAKBtvNwoMY’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’DmqWcagUXlsDEgIy’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’CnWjMwvtVIUugoCmDyYcUQhAvPYYtjexYdBFXyjfSDsYKmaYBOsRYJAKBtvNwoMY’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’RzyopSgDpZJYskym’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’EUzwonrVPkEgYVlAcfqzmERTEqUbcvGSGeRpokPsTIlCxNXkwaYjBItQHRZXjkdk’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’RzyopSgDpZJYskym’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’EUzwonrVPkEgYVlAcfqzmERTEqUbcvGSGeRpokPsTIlCxNXkwaYjBItQHRZXjkdk’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’gRXpQzLEQxISkYOl’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’lFXVxRwURyMxYjsFtoljXLjgtaZzDZBpNOhWUNoKqqQnaLwxYRhHbWLqmIczqirt’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’gRXpQzLEQxISkYOl’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’lFXVxRwURyMxYjsFtoljXLjgtaZzDZBpNOhWUNoKqqQnaLwxYRhHbWLqmIczqirt’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’sEpdwGzgTCwZccRW’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’zipeEwvIWdboDaBiaQAEhPXbpmgyvVMGmVoMwmAMzNSBmMyQiMoPzGBSmdHyziSB’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’sEpdwGzgTCwZccRW’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’zipeEwvIWdboDaBiaQAEhPXbpmgyvVMGmVoMwmAMzNSBmMyQiMoPzGBSmdHyziSB’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’DmqWcagUXlsDEgIy’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’CnWjMwvtVIUugoCmDyYcUQhAvPYYtjexYdBFXyjfSDsYKmaYBOsRYJAKBtvNwoMY’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’DmqWcagUXlsDEgIy’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’CnWjMwvtVIUugoCmDyYcUQhAvPYYtjexYdBFXyjfSDsYKmaYBOsRYJAKBtvNwoMY’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’RzyopSgDpZJYskym’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’EUzwonrVPkEgYVlAcfqzmERTEqUbcvGSGeRpokPsTIlCxNXkwaYjBItQHRZXjkdk’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’RzyopSgDpZJYskym’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’EUzwonrVPkEgYVlAcfqzmERTEqUbcvGSGeRpokPsTIlCxNXkwaYjBItQHRZXjkdk’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’gRXpQzLEQxISkYOl’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’lFXVxRwURyMxYjsFtoljXLjgtaZzDZBpNOhWUNoKqqQnaLwxYRhHbWLqmIczqirt’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’gRXpQzLEQxISkYOl’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’lFXVxRwURyMxYjsFtoljXLjgtaZzDZBpNOhWUNoKqqQnaLwxYRhHbWLqmIczqirt’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-2t1c-avf-ethip4ipsec4tnlsw- 
ip4base-int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f8:fd:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’QtVqcownjURgvZDi’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’GGdupQYCqleLWlPARmWsQXalqecwiloazGVyPcgIsRhoeEUDFgFOmzdpLwNBQxOW’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’QtVqcownjURgvZDi’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’GGdupQYCqleLWlPARmWsQXalqecwiloazGVyPcgIsRhoeEUDFgFOmzdpLwNBQxOW’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’vNeYOgRBCAlfVuAL’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’oqnsmcmHAHGsihWyRJgWAERqVCwSpEkaQDVqmWNMPBrluAYLfLDITgTXKurNTOmv’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’vNeYOgRBCAlfVuAL’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’oqnsmcmHAHGsihWyRJgWAERqVCwSpEkaQDVqmWNMPBrluAYLfLDITgTXKurNTOmv’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’zydJZCWKVJcXdRVK’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’DNjTiPJbAjJNFUtNWfPlUEtyKDSzAkKZDfPhYOMXxSfxDPIWbnnAMzqerNeCrfgo’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’zydJZCWKVJcXdRVK’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’DNjTiPJbAjJNFUtNWfPlUEtyKDSzAkKZDfPhYOMXxSfxDPIWbnnAMzqerNeCrfgo’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’RYyaFrMmgTVYOmbk’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’LaddrpHmrfbNxUWtgXJSwFFwklsysFvBeLMuYOrgGIynTsjftiMtiGsINOgmsNEV’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’RYyaFrMmgTVYOmbk’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’LaddrpHmrfbNxUWtgXJSwFFwklsysFvBeLMuYOrgGIynTsjftiMtiGsINOgmsNEV’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’QtVqcownjURgvZDi’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’GGdupQYCqleLWlPARmWsQXalqecwiloazGVyPcgIsRhoeEUDFgFOmzdpLwNBQxOW’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’QtVqcownjURgvZDi’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’GGdupQYCqleLWlPARmWsQXalqecwiloazGVyPcgIsRhoeEUDFgFOmzdpLwNBQxOW’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’vNeYOgRBCAlfVuAL’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’oqnsmcmHAHGsihWyRJgWAERqVCwSpEkaQDVqmWNMPBrluAYLfLDITgTXKurNTOmv’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’vNeYOgRBCAlfVuAL’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’oqnsmcmHAHGsihWyRJgWAERqVCwSpEkaQDVqmWNMPBrluAYLfLDITgTXKurNTOmv’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’zydJZCWKVJcXdRVK’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’DNjTiPJbAjJNFUtNWfPlUEtyKDSzAkKZDfPhYOMXxSfxDPIWbnnAMzqerNeCrfgo’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’zydJZCWKVJcXdRVK’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’DNjTiPJbAjJNFUtNWfPlUEtyKDSzAkKZDfPhYOMXxSfxDPIWbnnAMzqerNeCrfgo’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’RYyaFrMmgTVYOmbk’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’LaddrpHmrfbNxUWtgXJSwFFwklsysFvBeLMuYOrgGIynTsjftiMtiGsINOgmsNEV’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’RYyaFrMmgTVYOmbk’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’LaddrpHmrfbNxUWtgXJSwFFwklsysFvBeLMuYOrgGIynTsjftiMtiGsINOgmsNEV’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t1c-avf-ethip4ipsec4tnlsw- 
ip4base-int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f8:fd:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’sAhiMtfImsOcluLg’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’BePNrUitlEVmGPcqxAMKTSifkPFaHYRmxnDdVefiDxOjVjYBEQORtlJULSFAWQOF’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’sAhiMtfImsOcluLg’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’BePNrUitlEVmGPcqxAMKTSifkPFaHYRmxnDdVefiDxOjVjYBEQORtlJULSFAWQOF’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’cQcbEBrLsyTOgBWV’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’siKqxDADVgldpIibjYwQutyjNJqpctwDVaozYdsYCAEqvFRjyIONiQncvydTJhaW’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’cQcbEBrLsyTOgBWV’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’siKqxDADVgldpIibjYwQutyjNJqpctwDVaozYdsYCAEqvFRjyIONiQncvydTJhaW’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’GjNDFYZbTSSZHIev’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’pbxEsjwtVRMPhrenyIjBmwitSIbvZtGqWbuNgJoCxCuTHazfpiQpanYocygICFTM’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’GjNDFYZbTSSZHIev’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’pbxEsjwtVRMPhrenyIjBmwitSIbvZtGqWbuNgJoCxCuTHazfpiQpanYocygICFTM’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’ndVmAUdMkDCuOLab’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’tsCeodnusUKwlzCXlPTkTyHidTazccLuLZlVYsEUZtEuorroGVIeLkIkQhHmmpVA’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’ndVmAUdMkDCuOLab’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’tsCeodnusUKwlzCXlPTkTyHidTazccLuLZlVYsEUZtEuorroGVIeLkIkQhHmmpVA’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’sAhiMtfImsOcluLg’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’BePNrUitlEVmGPcqxAMKTSifkPFaHYRmxnDdVefiDxOjVjYBEQORtlJULSFAWQOF’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’sAhiMtfImsOcluLg’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’BePNrUitlEVmGPcqxAMKTSifkPFaHYRmxnDdVefiDxOjVjYBEQORtlJULSFAWQOF’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’cQcbEBrLsyTOgBWV’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’siKqxDADVgldpIibjYwQutyjNJqpctwDVaozYdsYCAEqvFRjyIONiQncvydTJhaW’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’cQcbEBrLsyTOgBWV’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’siKqxDADVgldpIibjYwQutyjNJqpctwDVaozYdsYCAEqvFRjyIONiQncvydTJhaW’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’GjNDFYZbTSSZHIev’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’pbxEsjwtVRMPhrenyIjBmwitSIbvZtGqWbuNgJoCxCuTHazfpiQpanYocygICFTM’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’GjNDFYZbTSSZHIev’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’pbxEsjwtVRMPhrenyIjBmwitSIbvZtGqWbuNgJoCxCuTHazfpiQpanYocygICFTM’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’ndVmAUdMkDCuOLab’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’tsCeodnusUKwlzCXlPTkTyHidTazccLuLZlVYsEUZtEuorroGVIeLkIkQhHmmpVA’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’ndVmAUdMkDCuOLab’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’tsCeodnusUKwlzCXlPTkTyHidTazccLuLZlVYsEUZtEuorroGVIeLkIkQhHmmpVA’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-avf-ethip4ipsec4tnlsw-ip4base-int-aes128gcm-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-avf-ethip4ipsec4tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f8:fd:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’ZRtkmeFMAcBsCsrS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’ZRtkmeFMAcBsCsrS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’FfGRETVtdvYZWZeN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’FfGRETVtdvYZWZeN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’njZNwhPUDAeOuEuK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’njZNwhPUDAeOuEuK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’VJRVHyIqgbLmVbpY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’VJRVHyIqgbLmVbpY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’ZRtkmeFMAcBsCsrS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’ZRtkmeFMAcBsCsrS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’FfGRETVtdvYZWZeN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’FfGRETVtdvYZWZeN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’njZNwhPUDAeOuEuK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’njZNwhPUDAeOuEuK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’VJRVHyIqgbLmVbpY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’VJRVHyIqgbLmVbpY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-4t2c-avf-ethip4ipsec4tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f8:fd:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’CBMRmEhPCZCqnBEy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’CBMRmEhPCZCqnBEy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’dRePZDyctcfmCcti’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’dRePZDyctcfmCcti’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’iFgUiWiXzszGTcpa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’iFgUiWiXzszGTcpa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’sstVGxrwQKPDYFfA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’sstVGxrwQKPDYFfA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’CBMRmEhPCZCqnBEy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’CBMRmEhPCZCqnBEy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’dRePZDyctcfmCcti’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’dRePZDyctcfmCcti’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’iFgUiWiXzszGTcpa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’iFgUiWiXzszGTcpa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’sstVGxrwQKPDYFfA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’sstVGxrwQKPDYFfA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-8t4c-avf-ethip4ipsec4tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f8:fd:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’wIyUFFqEZpKpPrHh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’wIyUFFqEZpKpPrHh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’hkeAsLfhFzmPdiOA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’hkeAsLfhFzmPdiOA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’tgJAZnwiWDBmEwuP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’tgJAZnwiWDBmEwuP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’yVeoepJesLlVBzwU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’yVeoepJesLlVBzwU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’wIyUFFqEZpKpPrHh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’wIyUFFqEZpKpPrHh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’hkeAsLfhFzmPdiOA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’hkeAsLfhFzmPdiOA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’tgJAZnwiWDBmEwuP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’tgJAZnwiWDBmEwuP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’yVeoepJesLlVBzwU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’yVeoepJesLlVBzwU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-2t1c-avf-ethip4ipsec4tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f8:fd:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’njPXZkjYnXZthQiJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’njPXZkjYnXZthQiJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’dfnoEYLcbonexNrM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’dfnoEYLcbonexNrM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’NkztWoJouBcKGDne’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’NkztWoJouBcKGDne’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’sagUPDJsBOcqedXT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’sagUPDJsBOcqedXT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’njPXZkjYnXZthQiJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’njPXZkjYnXZthQiJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’dfnoEYLcbonexNrM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’dfnoEYLcbonexNrM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’NkztWoJouBcKGDne’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’NkztWoJouBcKGDne’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’sagUPDJsBOcqedXT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’sagUPDJsBOcqedXT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-4t2c-avf-ethip4ipsec4tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f8:fd:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’cDWuoWiPmOdBIVzY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’cDWuoWiPmOdBIVzY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’gsSlWLrxYoYIONsP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’gsSlWLrxYoYIONsP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’gttItPrsBrsZqmwS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’gttItPrsBrsZqmwS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’NfCAWjTeeUqMMQOS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’NfCAWjTeeUqMMQOS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’cDWuoWiPmOdBIVzY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’cDWuoWiPmOdBIVzY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’gsSlWLrxYoYIONsP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’gsSlWLrxYoYIONsP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’gttItPrsBrsZqmwS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’gttItPrsBrsZqmwS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’NfCAWjTeeUqMMQOS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’NfCAWjTeeUqMMQOS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t1c-avf-ethip4ipsec4tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f8:fd:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’KRnIObfmBopthRuU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’KRnIObfmBopthRuU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’vQoFoFlROOVswJPB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’vQoFoFlROOVswJPB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’UMXPujvbZDmHxojX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’UMXPujvbZDmHxojX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’QNxgvFvyGhcFiXez’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’QNxgvFvyGhcFiXez’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’KRnIObfmBopthRuU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’KRnIObfmBopthRuU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’vQoFoFlROOVswJPB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’vQoFoFlROOVswJPB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’UMXPujvbZDmHxojX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’UMXPujvbZDmHxojX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’QNxgvFvyGhcFiXez’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’QNxgvFvyGhcFiXez’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-4t2c-avf-ethip4ipsec4tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f8:fd:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’DzZXLSEYnKHOzETR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’DzZXLSEYnKHOzETR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’iLcChlSOlTsTuuWk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’iLcChlSOlTsTuuWk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’oJjrKLwByasomXJf’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’oJjrKLwByasomXJf’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’YPTtpkLfvltJHHZO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’YPTtpkLfvltJHHZO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’DzZXLSEYnKHOzETR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’DzZXLSEYnKHOzETR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’iLcChlSOlTsTuuWk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’iLcChlSOlTsTuuWk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’oJjrKLwByasomXJf’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’oJjrKLwByasomXJf’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’YPTtpkLfvltJHHZO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’YPTtpkLfvltJHHZO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-8t4c-avf-ethip4ipsec4tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f8:fd:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’ppuDjCBwrAEVdUQY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’ppuDjCBwrAEVdUQY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’khrhPQBvpbyjYgTr’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’khrhPQBvpbyjYgTr’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’chvwQoFHBPrmXvjy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’chvwQoFHBPrmXvjy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’NjDiGtQzbtNeQews’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’NjDiGtQzbtNeQews’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’ppuDjCBwrAEVdUQY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’ppuDjCBwrAEVdUQY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’khrhPQBvpbyjYgTr’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’khrhPQBvpbyjYgTr’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’chvwQoFHBPrmXvjy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’chvwQoFHBPrmXvjy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’NjDiGtQzbtNeQews’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’NjDiGtQzbtNeQews’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-avf-ethip4ipsec4tnlsw-ip4base-int-aes256gcm-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-avf-ethip4ipsec4tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f8:fd:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’jZMaktixqRzchckgvPqNUXabxgwnugQy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’jZMaktixqRzchckgvPqNUXabxgwnugQy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’XDqZoWnZWTYBwJsYMnAQEZcEXrCcOAbY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’XDqZoWnZWTYBwJsYMnAQEZcEXrCcOAbY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’wRAyLsCUiVDvaamAazuGrjQQRRfdkOPa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’wRAyLsCUiVDvaamAazuGrjQQRRfdkOPa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’kRecKRhHLZcDCkKeVRmASsCmGIqGJaAI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’kRecKRhHLZcDCkKeVRmASsCmGIqGJaAI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’jZMaktixqRzchckgvPqNUXabxgwnugQy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’jZMaktixqRzchckgvPqNUXabxgwnugQy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’XDqZoWnZWTYBwJsYMnAQEZcEXrCcOAbY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’XDqZoWnZWTYBwJsYMnAQEZcEXrCcOAbY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’wRAyLsCUiVDvaamAazuGrjQQRRfdkOPa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’wRAyLsCUiVDvaamAazuGrjQQRRfdkOPa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’kRecKRhHLZcDCkKeVRmASsCmGIqGJaAI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’kRecKRhHLZcDCkKeVRmASsCmGIqGJaAI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-4t2c-avf-ethip4ipsec4tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f8:fd:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’GCiXHPJkPmNiZHqboNlQCOIiwPieEurh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’GCiXHPJkPmNiZHqboNlQCOIiwPieEurh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’QyuVvhXYxgqLeWkeECzPbYPEtyvACkfK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’QyuVvhXYxgqLeWkeECzPbYPEtyvACkfK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’WMTGHTgXmqSrFHYkfLfueismdfaopeca’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’WMTGHTgXmqSrFHYkfLfueismdfaopeca’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’IgvgSOqBFtWnrfUfkfyxZMlatSokBRtz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’IgvgSOqBFtWnrfUfkfyxZMlatSokBRtz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’GCiXHPJkPmNiZHqboNlQCOIiwPieEurh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’GCiXHPJkPmNiZHqboNlQCOIiwPieEurh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’QyuVvhXYxgqLeWkeECzPbYPEtyvACkfK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’QyuVvhXYxgqLeWkeECzPbYPEtyvACkfK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’WMTGHTgXmqSrFHYkfLfueismdfaopeca’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’WMTGHTgXmqSrFHYkfLfueismdfaopeca’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’IgvgSOqBFtWnrfUfkfyxZMlatSokBRtz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’IgvgSOqBFtWnrfUfkfyxZMlatSokBRtz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-8t4c-avf-ethip4ipsec4tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f8:fd:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’HLruNNdQTYlnhWKLDQcVXebuaPeJxwRl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’HLruNNdQTYlnhWKLDQcVXebuaPeJxwRl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’chrXkfUllTrqdjzpxNPIQGlNecAcmnit’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’chrXkfUllTrqdjzpxNPIQGlNecAcmnit’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’yZPgLrJdGQkSOtkAMYnkMSJTaVWvNHjW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’yZPgLrJdGQkSOtkAMYnkMSJTaVWvNHjW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’oegGHMRNRgoOjTAVtoERyXeaEsnYrHOZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’oegGHMRNRgoOjTAVtoERyXeaEsnYrHOZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’HLruNNdQTYlnhWKLDQcVXebuaPeJxwRl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’HLruNNdQTYlnhWKLDQcVXebuaPeJxwRl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’chrXkfUllTrqdjzpxNPIQGlNecAcmnit’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’chrXkfUllTrqdjzpxNPIQGlNecAcmnit’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’yZPgLrJdGQkSOtkAMYnkMSJTaVWvNHjW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’yZPgLrJdGQkSOtkAMYnkMSJTaVWvNHjW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’oegGHMRNRgoOjTAVtoERyXeaEsnYrHOZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’oegGHMRNRgoOjTAVtoERyXeaEsnYrHOZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-2t1c-avf-ethip4ipsec4tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f8:fd:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’BDcdqfoMFCvHFgBgrJUZOIQstObvOARI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’BDcdqfoMFCvHFgBgrJUZOIQstObvOARI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’eWxHkaTqWRFmnjkCHuXevXIQvGqvMJAs’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’eWxHkaTqWRFmnjkCHuXevXIQvGqvMJAs’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’UJvDRWtuuiXYkhqHCQbOnSuGfYMYdZGm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’UJvDRWtuuiXYkhqHCQbOnSuGfYMYdZGm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’LkQeLWBhlvZFJLMitFdXRXOBhjGcmOmx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’LkQeLWBhlvZFJLMitFdXRXOBhjGcmOmx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’BDcdqfoMFCvHFgBgrJUZOIQstObvOARI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’BDcdqfoMFCvHFgBgrJUZOIQstObvOARI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’eWxHkaTqWRFmnjkCHuXevXIQvGqvMJAs’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’eWxHkaTqWRFmnjkCHuXevXIQvGqvMJAs’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’UJvDRWtuuiXYkhqHCQbOnSuGfYMYdZGm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’UJvDRWtuuiXYkhqHCQbOnSuGfYMYdZGm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’LkQeLWBhlvZFJLMitFdXRXOBhjGcmOmx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’LkQeLWBhlvZFJLMitFdXRXOBhjGcmOmx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-4t2c-avf-ethip4ipsec4tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f8:fd:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’zaCOlCzAFFJBOInCDoPAzERhHvVZNOja’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’zaCOlCzAFFJBOInCDoPAzERhHvVZNOja’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’djAPLErveROjUJwVRTauAqLsabqZzblm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’djAPLErveROjUJwVRTauAqLsabqZzblm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’ysYzyZoQeUZWYZCDbVhQHhTpReXPyUuA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’ysYzyZoQeUZWYZCDbVhQHhTpReXPyUuA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’edliEdjSZEnvGObROqMobXzeoLVPKNjl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’edliEdjSZEnvGObROqMobXzeoLVPKNjl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’zaCOlCzAFFJBOInCDoPAzERhHvVZNOja’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’zaCOlCzAFFJBOInCDoPAzERhHvVZNOja’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’djAPLErveROjUJwVRTauAqLsabqZzblm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’djAPLErveROjUJwVRTauAqLsabqZzblm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’ysYzyZoQeUZWYZCDbVhQHhTpReXPyUuA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’ysYzyZoQeUZWYZCDbVhQHhTpReXPyUuA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’edliEdjSZEnvGObROqMobXzeoLVPKNjl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’edliEdjSZEnvGObROqMobXzeoLVPKNjl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t1c-avf-ethip4ipsec4tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f8:fd:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’hnuGqfmgejjKjisthjkKdvxRucslazOB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’hnuGqfmgejjKjisthjkKdvxRucslazOB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’EOflivzYzXBEevvQMbIvHwFWUoxLQXhO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’EOflivzYzXBEevvQMbIvHwFWUoxLQXhO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’GUgXYlTrXnvSfbvfNdTJyiLKyUMnWTIb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’GUgXYlTrXnvSfbvfNdTJyiLKyUMnWTIb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’sOZsDnsRkqQsEXDRkamRzjvXUTFXRERl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’sOZsDnsRkqQsEXDRkamRzjvXUTFXRERl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’hnuGqfmgejjKjisthjkKdvxRucslazOB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’hnuGqfmgejjKjisthjkKdvxRucslazOB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’EOflivzYzXBEevvQMbIvHwFWUoxLQXhO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’EOflivzYzXBEevvQMbIvHwFWUoxLQXhO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’GUgXYlTrXnvSfbvfNdTJyiLKyUMnWTIb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’GUgXYlTrXnvSfbvfNdTJyiLKyUMnWTIb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’sOZsDnsRkqQsEXDRkamRzjvXUTFXRERl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’sOZsDnsRkqQsEXDRkamRzjvXUTFXRERl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-4t2c-avf-ethip4ipsec4tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f8:fd:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’brEgITkYCbCAjgbtxDiBEZQYhVUwsGsP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’brEgITkYCbCAjgbtxDiBEZQYhVUwsGsP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’fxZSHjEBxxtAFviZeuTnONQCycEnAwMC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’fxZSHjEBxxtAFviZeuTnONQCycEnAwMC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’dnZKQetvXVZRWlOQdBGXiDoPuXAlclui’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’dnZKQetvXVZRWlOQdBGXiDoPuXAlclui’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’KJjqZfmtqEmcqyodekSSVLssYkZRnPlT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’KJjqZfmtqEmcqyodekSSVLssYkZRnPlT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’brEgITkYCbCAjgbtxDiBEZQYhVUwsGsP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’brEgITkYCbCAjgbtxDiBEZQYhVUwsGsP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’fxZSHjEBxxtAFviZeuTnONQCycEnAwMC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’fxZSHjEBxxtAFviZeuTnONQCycEnAwMC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’dnZKQetvXVZRWlOQdBGXiDoPuXAlclui’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’dnZKQetvXVZRWlOQdBGXiDoPuXAlclui’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’KJjqZfmtqEmcqyodekSSVLssYkZRnPlT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’KJjqZfmtqEmcqyodekSSVLssYkZRnPlT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-8t4c-avf-ethip4ipsec4tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f8:fd:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’QQgZJdcIyrKNnWcxzztmTGjxBubPotES’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’QQgZJdcIyrKNnWcxzztmTGjxBubPotES’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’TWACiZAtyxEAasiQtTAMLMHguGVbAmbp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’TWACiZAtyxEAasiQtTAMLMHguGVbAmbp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’WXnZAJAJzHgkTFcEXzxsZXLBRDDsEbrb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’WXnZAJAJzHgkTFcEXzxsZXLBRDDsEbrb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’xMusmEcXaknnnJpkfWMydeLgcNhwCxDa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’xMusmEcXaknnnJpkfWMydeLgcNhwCxDa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’QQgZJdcIyrKNnWcxzztmTGjxBubPotES’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’QQgZJdcIyrKNnWcxzztmTGjxBubPotES’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’TWACiZAtyxEAasiQtTAMLMHguGVbAmbp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’TWACiZAtyxEAasiQtTAMLMHguGVbAmbp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’WXnZAJAJzHgkTFcEXzxsZXLBRDDsEbrb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’WXnZAJAJzHgkTFcEXzxsZXLBRDDsEbrb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’xMusmEcXaknnnJpkfWMydeLgcNhwCxDa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’xMusmEcXaknnnJpkfWMydeLgcNhwCxDa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-avf-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t2c-avf-ethip4ipsec4tnlswasync-scheduler- 
ip4base-int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’WxRejfuawIYGlEVz’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’yRUDxCwrjQppSTtbpCSzxxGvxVJKODvvxJTagXVAytiApkYZIQhloLeDGVOhGobP’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’WxRejfuawIYGlEVz’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’yRUDxCwrjQppSTtbpCSzxxGvxVJKODvvxJTagXVAytiApkYZIQhloLeDGVOhGobP’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’giRZlOipQsSsbJVe’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’sgHmWOaGCDrffjuYkxZFIlWzAyTlMQFBhTgllNWeYskgkWElOxtjXwoIlKQWbaUi’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’giRZlOipQsSsbJVe’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’sgHmWOaGCDrffjuYkxZFIlWzAyTlMQFBhTgllNWeYskgkWElOxtjXwoIlKQWbaUi’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’xVijNAmPWhdNICRu’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’jfcDnCjeJyrKyEKVLFLnUleYOowRPDXlakYPZPriVVWduyZWTWlewyFjkMYkbtuK’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’xVijNAmPWhdNICRu’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’jfcDnCjeJyrKyEKVLFLnUleYOowRPDXlakYPZPriVVWduyZWTWlewyFjkMYkbtuK’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’UjwhOEnpMJWFVYud’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’PADdURcXPGMRKwckdTLZrLZauegKJUYKGvRdkpgaAzXXbQjGRiptNRuPLDMbMfSo’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’UjwhOEnpMJWFVYud’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’PADdURcXPGMRKwckdTLZrLZauegKJUYKGvRdkpgaAzXXbQjGRiptNRuPLDMbMfSo’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’WxRejfuawIYGlEVz’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’yRUDxCwrjQppSTtbpCSzxxGvxVJKODvvxJTagXVAytiApkYZIQhloLeDGVOhGobP’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’WxRejfuawIYGlEVz’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’yRUDxCwrjQppSTtbpCSzxxGvxVJKODvvxJTagXVAytiApkYZIQhloLeDGVOhGobP’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’giRZlOipQsSsbJVe’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’sgHmWOaGCDrffjuYkxZFIlWzAyTlMQFBhTgllNWeYskgkWElOxtjXwoIlKQWbaUi’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’giRZlOipQsSsbJVe’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’sgHmWOaGCDrffjuYkxZFIlWzAyTlMQFBhTgllNWeYskgkWElOxtjXwoIlKQWbaUi’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’xVijNAmPWhdNICRu’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’jfcDnCjeJyrKyEKVLFLnUleYOowRPDXlakYPZPriVVWduyZWTWlewyFjkMYkbtuK’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’xVijNAmPWhdNICRu’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’jfcDnCjeJyrKyEKVLFLnUleYOowRPDXlakYPZPriVVWduyZWTWlewyFjkMYkbtuK’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’UjwhOEnpMJWFVYud’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’PADdURcXPGMRKwckdTLZrLZauegKJUYKGvRdkpgaAzXXbQjGRiptNRuPLDMbMfSo’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’UjwhOEnpMJWFVYud’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’PADdURcXPGMRKwckdTLZrLZauegKJUYKGvRdkpgaAzXXbQjGRiptNRuPLDMbMfSo’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-2t4c-avf-ethip4ipsec4tnlswasync-scheduler- 
ip4base-int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’DVRAxFoGiVjhtGMv’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’RjSlvqdppvSAWaWKeqMpHsOhfhZASPbJJaRhbbrAmYhLHnIUZJQEJqgESJxPQwYd’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’DVRAxFoGiVjhtGMv’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’RjSlvqdppvSAWaWKeqMpHsOhfhZASPbJJaRhbbrAmYhLHnIUZJQEJqgESJxPQwYd’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’xmmMyjfTqBoTOMBn’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’GhezLYGdhDHdWuphuqetvfbpRuJRqWWmbKYnrpHQfRotglLLJvHimgtfyEOskMpe’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’xmmMyjfTqBoTOMBn’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’GhezLYGdhDHdWuphuqetvfbpRuJRqWWmbKYnrpHQfRotglLLJvHimgtfyEOskMpe’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’vFGhoeHaGLkyAexv’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’WmdUtCQsclFSWbdUnRHtDkvkRNALlpsrJpHFiZhvOIxFhcpVQWtkxhDQTiupZqYE’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’vFGhoeHaGLkyAexv’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’WmdUtCQsclFSWbdUnRHtDkvkRNALlpsrJpHFiZhvOIxFhcpVQWtkxhDQTiupZqYE’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’wyUcPZdQacCJbueS’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’fCWRbPRTbXaqrCKBuOITuEYqzKZnXBrvCqRXyTidDNZqHcsBmAwEcNkMQleGQvsS’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’wyUcPZdQacCJbueS’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’fCWRbPRTbXaqrCKBuOITuEYqzKZnXBrvCqRXyTidDNZqHcsBmAwEcNkMQleGQvsS’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’DVRAxFoGiVjhtGMv’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’RjSlvqdppvSAWaWKeqMpHsOhfhZASPbJJaRhbbrAmYhLHnIUZJQEJqgESJxPQwYd’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’DVRAxFoGiVjhtGMv’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’RjSlvqdppvSAWaWKeqMpHsOhfhZASPbJJaRhbbrAmYhLHnIUZJQEJqgESJxPQwYd’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’xmmMyjfTqBoTOMBn’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’GhezLYGdhDHdWuphuqetvfbpRuJRqWWmbKYnrpHQfRotglLLJvHimgtfyEOskMpe’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’xmmMyjfTqBoTOMBn’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’GhezLYGdhDHdWuphuqetvfbpRuJRqWWmbKYnrpHQfRotglLLJvHimgtfyEOskMpe’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’vFGhoeHaGLkyAexv’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’WmdUtCQsclFSWbdUnRHtDkvkRNALlpsrJpHFiZhvOIxFhcpVQWtkxhDQTiupZqYE’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’vFGhoeHaGLkyAexv’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’WmdUtCQsclFSWbdUnRHtDkvkRNALlpsrJpHFiZhvOIxFhcpVQWtkxhDQTiupZqYE’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’wyUcPZdQacCJbueS’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’fCWRbPRTbXaqrCKBuOITuEYqzKZnXBrvCqRXyTidDNZqHcsBmAwEcNkMQleGQvsS’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’wyUcPZdQacCJbueS’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’fCWRbPRTbXaqrCKBuOITuEYqzKZnXBrvCqRXyTidDNZqHcsBmAwEcNkMQleGQvsS’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t4c-avf-ethip4ipsec4tnlswasync-scheduler- 
ip4base-int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’gjmPeFbvSqIgZdOb’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’NqICPaUmOgSQThqBtUuFKKNHVDugRiSniqyBSBpsSrflVnIDgIiyiozHGObhdKMT’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’gjmPeFbvSqIgZdOb’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’NqICPaUmOgSQThqBtUuFKKNHVDugRiSniqyBSBpsSrflVnIDgIiyiozHGObhdKMT’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’BdLmwDZoDtwJfcoY’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’RoLtFCDmVfSyDjIIrLbmTzgSbTZPftfXiSdoyoVKCjnBezgRZqVvbtfeYduoDdtx’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’BdLmwDZoDtwJfcoY’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’RoLtFCDmVfSyDjIIrLbmTzgSbTZPftfXiSdoyoVKCjnBezgRZqVvbtfeYduoDdtx’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’NeGvXgNoXGfPJkOo’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’esUvZmZnRpMLokfTNWDufmoYWxBpnfGTcjvfXRQGWBkMKHZLkJgPyxfCSMyNwYwI’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’NeGvXgNoXGfPJkOo’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’esUvZmZnRpMLokfTNWDufmoYWxBpnfGTcjvfXRQGWBkMKHZLkJgPyxfCSMyNwYwI’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’bbmZVUgyNVNMzYoB’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’WDsaeBZsALwdwRjSXqCHmQhmmyFUrrbLBXVjBGBhMDFLgIqVAaPwREvWQLmmdzBR’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’bbmZVUgyNVNMzYoB’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’WDsaeBZsALwdwRjSXqCHmQhmmyFUrrbLBXVjBGBhMDFLgIqVAaPwREvWQLmmdzBR’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’gjmPeFbvSqIgZdOb’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’NqICPaUmOgSQThqBtUuFKKNHVDugRiSniqyBSBpsSrflVnIDgIiyiozHGObhdKMT’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’gjmPeFbvSqIgZdOb’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’NqICPaUmOgSQThqBtUuFKKNHVDugRiSniqyBSBpsSrflVnIDgIiyiozHGObhdKMT’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’BdLmwDZoDtwJfcoY’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’RoLtFCDmVfSyDjIIrLbmTzgSbTZPftfXiSdoyoVKCjnBezgRZqVvbtfeYduoDdtx’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’BdLmwDZoDtwJfcoY’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’RoLtFCDmVfSyDjIIrLbmTzgSbTZPftfXiSdoyoVKCjnBezgRZqVvbtfeYduoDdtx’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’NeGvXgNoXGfPJkOo’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’esUvZmZnRpMLokfTNWDufmoYWxBpnfGTcjvfXRQGWBkMKHZLkJgPyxfCSMyNwYwI’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’NeGvXgNoXGfPJkOo’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’esUvZmZnRpMLokfTNWDufmoYWxBpnfGTcjvfXRQGWBkMKHZLkJgPyxfCSMyNwYwI’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’bbmZVUgyNVNMzYoB’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’WDsaeBZsALwdwRjSXqCHmQhmmyFUrrbLBXVjBGBhMDFLgIqVAaPwREvWQLmmdzBR’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’bbmZVUgyNVNMzYoB’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’WDsaeBZsALwdwRjSXqCHmQhmmyFUrrbLBXVjBGBhMDFLgIqVAaPwREvWQLmmdzBR’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-avf-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t2c-avf-ethip4ipsec4tnlswasync- 
scheduler-ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’atOgzBgXEPfwFpyI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’atOgzBgXEPfwFpyI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’QyRYSSsMBgRlSCni’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’QyRYSSsMBgRlSCni’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’ysOdWsGFAUorKYrY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’ysOdWsGFAUorKYrY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’iZSZnrgzDtbAgFtE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’iZSZnrgzDtbAgFtE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’atOgzBgXEPfwFpyI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’atOgzBgXEPfwFpyI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’QyRYSSsMBgRlSCni’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’QyRYSSsMBgRlSCni’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’ysOdWsGFAUorKYrY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’ysOdWsGFAUorKYrY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’iZSZnrgzDtbAgFtE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’iZSZnrgzDtbAgFtE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-2t4c-avf-ethip4ipsec4tnlswasync- 
scheduler-ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’hQrfkHgyFmppDVth’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’hQrfkHgyFmppDVth’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’GBbbQlmJzursbNrQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’GBbbQlmJzursbNrQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’HXUxEbROpBfYpjHV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’HXUxEbROpBfYpjHV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’OBeWYaSomjuZIhIb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’OBeWYaSomjuZIhIb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’hQrfkHgyFmppDVth’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’hQrfkHgyFmppDVth’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’GBbbQlmJzursbNrQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’GBbbQlmJzursbNrQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’HXUxEbROpBfYpjHV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’HXUxEbROpBfYpjHV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’OBeWYaSomjuZIhIb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’OBeWYaSomjuZIhIb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t2c-avf-ethip4ipsec4tnlswasync- 
scheduler-ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’ynWPOFMGtuGeEPEN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’ynWPOFMGtuGeEPEN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’SvwehQiLQqTjPpOT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’SvwehQiLQqTjPpOT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’pJKfcxsVqcAIajYo’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’pJKfcxsVqcAIajYo’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’TYpZFZXLLzXJifPu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’TYpZFZXLLzXJifPu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’ynWPOFMGtuGeEPEN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’ynWPOFMGtuGeEPEN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’SvwehQiLQqTjPpOT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’SvwehQiLQqTjPpOT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’pJKfcxsVqcAIajYo’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’pJKfcxsVqcAIajYo’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’TYpZFZXLLzXJifPu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’TYpZFZXLLzXJifPu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t4c-avf-ethip4ipsec4tnlswasync- 
scheduler-ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’WfsfyWSRHcHzkaWh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’WfsfyWSRHcHzkaWh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’clsgQRObJJmPrkyb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’clsgQRObJJmPrkyb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’PVtFVLPwgMPkxpSL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’PVtFVLPwgMPkxpSL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’KotSthzuEwwktojb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’KotSthzuEwwktojb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’WfsfyWSRHcHzkaWh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’WfsfyWSRHcHzkaWh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’clsgQRObJJmPrkyb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’clsgQRObJJmPrkyb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’PVtFVLPwgMPkxpSL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’PVtFVLPwgMPkxpSL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’KotSthzuEwwktojb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’KotSthzuEwwktojb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-avf-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t2c-avf-ethip4ipsec4tnlswasync- 
scheduler-ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’rEBgXIsYqOlhnXEOeWAgWsTjjzUlCbYV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’rEBgXIsYqOlhnXEOeWAgWsTjjzUlCbYV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’EqGhZHSUgGvULdGJyAwByeURIcVnGSra’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’EqGhZHSUgGvULdGJyAwByeURIcVnGSra’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’rLIlTOpHYzgaMsjfflkJcPThMgfpVuDn’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’rLIlTOpHYzgaMsjfflkJcPThMgfpVuDn’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’vdkCBjeCIEgUbZmShEZRBqIcLZBeVUHo’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’vdkCBjeCIEgUbZmShEZRBqIcLZBeVUHo’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’rEBgXIsYqOlhnXEOeWAgWsTjjzUlCbYV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’rEBgXIsYqOlhnXEOeWAgWsTjjzUlCbYV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’EqGhZHSUgGvULdGJyAwByeURIcVnGSra’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’EqGhZHSUgGvULdGJyAwByeURIcVnGSra’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’rLIlTOpHYzgaMsjfflkJcPThMgfpVuDn’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’rLIlTOpHYzgaMsjfflkJcPThMgfpVuDn’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’vdkCBjeCIEgUbZmShEZRBqIcLZBeVUHo’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’vdkCBjeCIEgUbZmShEZRBqIcLZBeVUHo’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-2t4c-avf-ethip4ipsec4tnlswasync- 
scheduler-ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’VpNqnANNVsqcFfcebFzlTCraLzyrSonE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’VpNqnANNVsqcFfcebFzlTCraLzyrSonE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’hknEZCMhWSxORWtFqSOfyrVkXQhRgpOH’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’hknEZCMhWSxORWtFqSOfyrVkXQhRgpOH’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’yiVrbRYaAPrzixueigiaatiESLuZQuTS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’yiVrbRYaAPrzixueigiaatiESLuZQuTS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’ggZWYXfdsVwNEjgCQZiOGqykieZygPsM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’ggZWYXfdsVwNEjgCQZiOGqykieZygPsM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’VpNqnANNVsqcFfcebFzlTCraLzyrSonE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’VpNqnANNVsqcFfcebFzlTCraLzyrSonE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’hknEZCMhWSxORWtFqSOfyrVkXQhRgpOH’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’hknEZCMhWSxORWtFqSOfyrVkXQhRgpOH’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’yiVrbRYaAPrzixueigiaatiESLuZQuTS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’yiVrbRYaAPrzixueigiaatiESLuZQuTS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’ggZWYXfdsVwNEjgCQZiOGqykieZygPsM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’ggZWYXfdsVwNEjgCQZiOGqykieZygPsM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t2c-avf-ethip4ipsec4tnlswasync- 
scheduler-ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’PlZZvWxkrFonGtXaxKWzVEvqzxVFFvSM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’PlZZvWxkrFonGtXaxKWzVEvqzxVFFvSM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’MraCQJVxCBfmWECTSgxQOkZiGTFiioUr’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’MraCQJVxCBfmWECTSgxQOkZiGTFiioUr’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’WpXVVqoJIxmQvyabYffGXEXDDbIyjKBs’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’WpXVVqoJIxmQvyabYffGXEXDDbIyjKBs’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’HVlaSYqyVorgjvIiIUVnwDrtcusjoNfw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’HVlaSYqyVorgjvIiIUVnwDrtcusjoNfw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’PlZZvWxkrFonGtXaxKWzVEvqzxVFFvSM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’PlZZvWxkrFonGtXaxKWzVEvqzxVFFvSM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’MraCQJVxCBfmWECTSgxQOkZiGTFiioUr’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’MraCQJVxCBfmWECTSgxQOkZiGTFiioUr’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’WpXVVqoJIxmQvyabYffGXEXDDbIyjKBs’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’WpXVVqoJIxmQvyabYffGXEXDDbIyjKBs’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’HVlaSYqyVorgjvIiIUVnwDrtcusjoNfw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’HVlaSYqyVorgjvIiIUVnwDrtcusjoNfw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t4c-avf-ethip4ipsec4tnlswasync- 
scheduler-ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’lnHzQUKHQNScKoiECtcQvmNmooPCSNjc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’lnHzQUKHQNScKoiECtcQvmNmooPCSNjc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’yiCngFlWgmMkgzgIQWTQhLYZOhGaoxfN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’yiCngFlWgmMkgzgIQWTQhLYZOhGaoxfN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’hvTHOwGPmGhPkwtUDGhfFDTOHsuMwoFm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’hvTHOwGPmGhPkwtUDGhfFDTOHsuMwoFm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’JIlMgTxgmInNisPlhmSjEFWaeqoYVSVl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’JIlMgTxgmInNisPlhmSjEFWaeqoYVSVl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’lnHzQUKHQNScKoiECtcQvmNmooPCSNjc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’lnHzQUKHQNScKoiECtcQvmNmooPCSNjc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’yiCngFlWgmMkgzgIQWTQhLYZOhGaoxfN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’yiCngFlWgmMkgzgIQWTQhLYZOhGaoxfN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’hvTHOwGPmGhPkwtUDGhfFDTOHsuMwoFm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’hvTHOwGPmGhPkwtUDGhfFDTOHsuMwoFm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’JIlMgTxgmInNisPlhmSjEFWaeqoYVSVl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’JIlMgTxgmInNisPlhmSjEFWaeqoYVSVl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-avf-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t2c-avf-ethip4ipsec8tnlswasync-scheduler- 
ip4base-int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’DBgJvHDPluxuVXYj’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’xwXJLXUYigxcINKBsUQAyNNLJqUPZXaNoBFQuhZyZKnwDvJPVKFWqjQeUZrEnuIF’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’DBgJvHDPluxuVXYj’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’xwXJLXUYigxcINKBsUQAyNNLJqUPZXaNoBFQuhZyZKnwDvJPVKFWqjQeUZrEnuIF’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’pDdbKohevKUptwTs’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’pdtJymZMLwdhCVZXfhkFpHaazrjeydUtmWQbyoPqeMMEqmtPoEANEncHVysPfyri’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’pDdbKohevKUptwTs’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’pdtJymZMLwdhCVZXfhkFpHaazrjeydUtmWQbyoPqeMMEqmtPoEANEncHVysPfyri’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 6, ‘spi’: 100006, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’sgMBHvybgwgdlJdW’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’POVCLNGeBBwTofNZAAhRQyJhmaztpcCUmtjROCAVKlUcQepncCgOgsxPjcdKMQez’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100006, ‘spi’: 200006, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’sgMBHvybgwgdlJdW’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’POVCLNGeBBwTofNZAAhRQyJhmaztpcCUmtjROCAVKlUcQepncCgOgsxPjcdKMQez’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 7, ‘spi’: 100007, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’LecflLghhytQMzzj’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’rjicmvBIgTSlqfzvSzHuZWmoGnsIkoipSeqMgHnubbBHltmHLiNUUVQMxSUUYXCD’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100007, ‘spi’: 200007, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’LecflLghhytQMzzj’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’rjicmvBIgTSlqfzvSzHuZWmoGnsIkoipSeqMgHnubbBHltmHLiNUUVQMxSUUYXCD’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 10, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 6, ‘n_sa_in’: 1, ‘sa_in’: [100006]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 11, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 7, ‘n_sa_in’: 1, ‘sa_in’: [100007]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=10)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=11)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=10,flags=1)
sw_interface_set_flags(sw_if_index=11,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x06’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x07’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 11, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’DBgJvHDPluxuVXYj’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’xwXJLXUYigxcINKBsUQAyNNLJqUPZXaNoBFQuhZyZKnwDvJPVKFWqjQeUZrEnuIF’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’DBgJvHDPluxuVXYj’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’xwXJLXUYigxcINKBsUQAyNNLJqUPZXaNoBFQuhZyZKnwDvJPVKFWqjQeUZrEnuIF’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’pDdbKohevKUptwTs’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’pdtJymZMLwdhCVZXfhkFpHaazrjeydUtmWQbyoPqeMMEqmtPoEANEncHVysPfyri’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’pDdbKohevKUptwTs’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’pdtJymZMLwdhCVZXfhkFpHaazrjeydUtmWQbyoPqeMMEqmtPoEANEncHVysPfyri’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100006, ‘spi’: 200006, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’sgMBHvybgwgdlJdW’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’POVCLNGeBBwTofNZAAhRQyJhmaztpcCUmtjROCAVKlUcQepncCgOgsxPjcdKMQez’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 6, ‘spi’: 100006, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’sgMBHvybgwgdlJdW’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’POVCLNGeBBwTofNZAAhRQyJhmaztpcCUmtjROCAVKlUcQepncCgOgsxPjcdKMQez’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100007, ‘spi’: 200007, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’LecflLghhytQMzzj’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’rjicmvBIgTSlqfzvSzHuZWmoGnsIkoipSeqMgHnubbBHltmHLiNUUVQMxSUUYXCD’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 7, ‘spi’: 100007, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’LecflLghhytQMzzj’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’rjicmvBIgTSlqfzvSzHuZWmoGnsIkoipSeqMgHnubbBHltmHLiNUUVQMxSUUYXCD’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 9, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100006, ‘n_sa_in’: 1, ‘sa_in’: [6]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 10, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100007, ‘n_sa_in’: 1, ‘sa_in’: [7]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=9)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=10)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=9,flags=1)
sw_interface_set_flags(sw_if_index=10,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x06’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 9, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x07’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-2t4c-avf-ethip4ipsec8tnlswasync-scheduler- 
ip4base-int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’XtcVLiUzzpuVRjMP’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ueHkvgmXiXAQajtwFZSxLAMEImryoTIaoaYnteWviHtmRVAZTVRrBihnPgUMBmmb’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’XtcVLiUzzpuVRjMP’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ueHkvgmXiXAQajtwFZSxLAMEImryoTIaoaYnteWviHtmRVAZTVRrBihnPgUMBmmb’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’FaXPLoQZdVWrhPsN’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’OCKMvZfPLgVRVWSPxVsRiaJPBlWJyhUOYEgAahnSjMTDStnEBItBHTEGesTPnRCR’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’FaXPLoQZdVWrhPsN’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’OCKMvZfPLgVRVWSPxVsRiaJPBlWJyhUOYEgAahnSjMTDStnEBItBHTEGesTPnRCR’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 6, ‘spi’: 100006, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’otvONikXbyzxIDlC’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’CupzuaAzKCAznxYScYnKybWKiwcFQwjAfVeCxFRuxAOpxymgZxLNZRpJbyROuEwA’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100006, ‘spi’: 200006, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’otvONikXbyzxIDlC’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’CupzuaAzKCAznxYScYnKybWKiwcFQwjAfVeCxFRuxAOpxymgZxLNZRpJbyROuEwA’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 7, ‘spi’: 100007, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’NskBtmsdBbRkGtql’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’WTbpSWKpAJLapgQXyhQycPFWbynnPrPzFDRtlVtkJHFRhCVlWLhaIsTbqlLOrVWR’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100007, ‘spi’: 200007, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’NskBtmsdBbRkGtql’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’WTbpSWKpAJLapgQXyhQycPFWbynnPrPzFDRtlVtkJHFRhCVlWLhaIsTbqlLOrVWR’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 10, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 6, ‘n_sa_in’: 1, ‘sa_in’: [100006]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 11, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 7, ‘n_sa_in’: 1, ‘sa_in’: [100007]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=10)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=11)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=10,flags=1)
sw_interface_set_flags(sw_if_index=11,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x06’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x07’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 11, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’XtcVLiUzzpuVRjMP’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ueHkvgmXiXAQajtwFZSxLAMEImryoTIaoaYnteWviHtmRVAZTVRrBihnPgUMBmmb’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’XtcVLiUzzpuVRjMP’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ueHkvgmXiXAQajtwFZSxLAMEImryoTIaoaYnteWviHtmRVAZTVRrBihnPgUMBmmb’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’FaXPLoQZdVWrhPsN’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’OCKMvZfPLgVRVWSPxVsRiaJPBlWJyhUOYEgAahnSjMTDStnEBItBHTEGesTPnRCR’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’FaXPLoQZdVWrhPsN’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’OCKMvZfPLgVRVWSPxVsRiaJPBlWJyhUOYEgAahnSjMTDStnEBItBHTEGesTPnRCR’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100006, ‘spi’: 200006, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’otvONikXbyzxIDlC’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’CupzuaAzKCAznxYScYnKybWKiwcFQwjAfVeCxFRuxAOpxymgZxLNZRpJbyROuEwA’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 6, ‘spi’: 100006, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’otvONikXbyzxIDlC’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’CupzuaAzKCAznxYScYnKybWKiwcFQwjAfVeCxFRuxAOpxymgZxLNZRpJbyROuEwA’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100007, ‘spi’: 200007, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’NskBtmsdBbRkGtql’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’WTbpSWKpAJLapgQXyhQycPFWbynnPrPzFDRtlVtkJHFRhCVlWLhaIsTbqlLOrVWR’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 7, ‘spi’: 100007, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’NskBtmsdBbRkGtql’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’WTbpSWKpAJLapgQXyhQycPFWbynnPrPzFDRtlVtkJHFRhCVlWLhaIsTbqlLOrVWR’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 9, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100006, ‘n_sa_in’: 1, ‘sa_in’: [6]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 10, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100007, ‘n_sa_in’: 1, ‘sa_in’: [7]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=9)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=10)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=9,flags=1)
sw_interface_set_flags(sw_if_index=10,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x06’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 9, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x07’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t4c-avf-ethip4ipsec8tnlswasync-scheduler- 
ip4base-int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’JsMsvKRvoIZRvoXy’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’RZKpsTeOSFTERDGUaJcGReyaEdGJgSpMBCThYQFqtSgflJjQkrBztnzURkDyTWEU’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’JsMsvKRvoIZRvoXy’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’RZKpsTeOSFTERDGUaJcGReyaEdGJgSpMBCThYQFqtSgflJjQkrBztnzURkDyTWEU’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’CWHdhcGwxjDsNWGi’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’fyzYeTNKseCGRPNLHZtGsPJNlvnbNfDiWShqWtgbwmxftbbHWhbfrXZqLIIQxpDn’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’CWHdhcGwxjDsNWGi’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’fyzYeTNKseCGRPNLHZtGsPJNlvnbNfDiWShqWtgbwmxftbbHWhbfrXZqLIIQxpDn’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 6, ‘spi’: 100006, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’TjdYnufHpKoucWZY’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’YIkmQqjIigxUwTPuNpdSYStXnYkRylMkBPpFvlubdAiqvPsEQvezlQldJDTkZDoI’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100006, ‘spi’: 200006, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’TjdYnufHpKoucWZY’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’YIkmQqjIigxUwTPuNpdSYStXnYkRylMkBPpFvlubdAiqvPsEQvezlQldJDTkZDoI’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 7, ‘spi’: 100007, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’aHSUErsuEBRMBhPr’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’wJymDjJkHJLYyiDzdjzkufQwyyWDMdYaWTNtbyCwYPKLGocqdptFhswVdNrFKYnF’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100007, ‘spi’: 200007, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’aHSUErsuEBRMBhPr’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’wJymDjJkHJLYyiDzdjzkufQwyyWDMdYaWTNtbyCwYPKLGocqdptFhswVdNrFKYnF’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 10, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 6, ‘n_sa_in’: 1, ‘sa_in’: [100006]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 11, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 7, ‘n_sa_in’: 1, ‘sa_in’: [100007]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=10)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=11)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=10,flags=1)
sw_interface_set_flags(sw_if_index=11,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x06’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x07’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 11, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’JsMsvKRvoIZRvoXy’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’RZKpsTeOSFTERDGUaJcGReyaEdGJgSpMBCThYQFqtSgflJjQkrBztnzURkDyTWEU’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’JsMsvKRvoIZRvoXy’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’RZKpsTeOSFTERDGUaJcGReyaEdGJgSpMBCThYQFqtSgflJjQkrBztnzURkDyTWEU’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’CWHdhcGwxjDsNWGi’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’fyzYeTNKseCGRPNLHZtGsPJNlvnbNfDiWShqWtgbwmxftbbHWhbfrXZqLIIQxpDn’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’CWHdhcGwxjDsNWGi’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’fyzYeTNKseCGRPNLHZtGsPJNlvnbNfDiWShqWtgbwmxftbbHWhbfrXZqLIIQxpDn’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100006, ‘spi’: 200006, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’TjdYnufHpKoucWZY’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’YIkmQqjIigxUwTPuNpdSYStXnYkRylMkBPpFvlubdAiqvPsEQvezlQldJDTkZDoI’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 6, ‘spi’: 100006, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’TjdYnufHpKoucWZY’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’YIkmQqjIigxUwTPuNpdSYStXnYkRylMkBPpFvlubdAiqvPsEQvezlQldJDTkZDoI’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100007, ‘spi’: 200007, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’aHSUErsuEBRMBhPr’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’wJymDjJkHJLYyiDzdjzkufQwyyWDMdYaWTNtbyCwYPKLGocqdptFhswVdNrFKYnF’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 7, ‘spi’: 100007, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’aHSUErsuEBRMBhPr’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’wJymDjJkHJLYyiDzdjzkufQwyyWDMdYaWTNtbyCwYPKLGocqdptFhswVdNrFKYnF’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 9, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100006, ‘n_sa_in’: 1, ‘sa_in’: [6]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 10, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100007, ‘n_sa_in’: 1, ‘sa_in’: [7]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=9)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=10)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=9,flags=1)
sw_interface_set_flags(sw_if_index=10,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x06’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 9, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x07’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-avf-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t2c-avf-ethip4ipsec8tnlswasync- 
scheduler-ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’bqXdQGhWEIBBLdWI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’bqXdQGhWEIBBLdWI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’HlQvlmfhztTqBiNw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’HlQvlmfhztTqBiNw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 6, ‘spi’: 100006, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’qDAziECZiqmOULmD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100006, ‘spi’: 200006, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’qDAziECZiqmOULmD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 7, ‘spi’: 100007, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’OpxNRcvlmnDFRWfF’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100007, ‘spi’: 200007, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’OpxNRcvlmnDFRWfF’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 10, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 6, ‘n_sa_in’: 1, ‘sa_in’: [100006]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 11, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 7, ‘n_sa_in’: 1, ‘sa_in’: [100007]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=10)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=11)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=10,flags=1)
sw_interface_set_flags(sw_if_index=11,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x06’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x07’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 11, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’bqXdQGhWEIBBLdWI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’bqXdQGhWEIBBLdWI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’HlQvlmfhztTqBiNw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’HlQvlmfhztTqBiNw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100006, ‘spi’: 200006, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’qDAziECZiqmOULmD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 6, ‘spi’: 100006, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’qDAziECZiqmOULmD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100007, ‘spi’: 200007, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’OpxNRcvlmnDFRWfF’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 7, ‘spi’: 100007, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’OpxNRcvlmnDFRWfF’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 9, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100006, ‘n_sa_in’: 1, ‘sa_in’: [6]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 10, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100007, ‘n_sa_in’: 1, ‘sa_in’: [7]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=9)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=10)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=9,flags=1)
sw_interface_set_flags(sw_if_index=10,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x06’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 9, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x07’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-2t4c-avf-ethip4ipsec8tnlswasync- 
scheduler-ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’PwbAmcNhfLukFKZM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’PwbAmcNhfLukFKZM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’oCLXkrrjykwIbjQc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’oCLXkrrjykwIbjQc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 6, ‘spi’: 100006, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’CmsvNXaMGhawzGnQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100006, ‘spi’: 200006, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’CmsvNXaMGhawzGnQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 7, ‘spi’: 100007, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’PQpMRqtdpVKCHwYv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100007, ‘spi’: 200007, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’PQpMRqtdpVKCHwYv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 10, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 6, ‘n_sa_in’: 1, ‘sa_in’: [100006]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 11, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 7, ‘n_sa_in’: 1, ‘sa_in’: [100007]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=10)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=11)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=10,flags=1)
sw_interface_set_flags(sw_if_index=11,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x06’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x07’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 11, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’PwbAmcNhfLukFKZM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’PwbAmcNhfLukFKZM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’oCLXkrrjykwIbjQc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’oCLXkrrjykwIbjQc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100006, ‘spi’: 200006, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’CmsvNXaMGhawzGnQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 6, ‘spi’: 100006, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’CmsvNXaMGhawzGnQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100007, ‘spi’: 200007, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’PQpMRqtdpVKCHwYv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 7, ‘spi’: 100007, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’PQpMRqtdpVKCHwYv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 9, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100006, ‘n_sa_in’: 1, ‘sa_in’: [6]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 10, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100007, ‘n_sa_in’: 1, ‘sa_in’: [7]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=9)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=10)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=9,flags=1)
sw_interface_set_flags(sw_if_index=10,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x06’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 9, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x07’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t2c-avf-ethip4ipsec8tnlswasync- 
scheduler-ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’AdHolRxBROZVIIsg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’AdHolRxBROZVIIsg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’YMreGePOfurKkRWc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’YMreGePOfurKkRWc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 6, ‘spi’: 100006, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’JUhkhixyyPqAJuXP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100006, ‘spi’: 200006, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’JUhkhixyyPqAJuXP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 7, ‘spi’: 100007, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’FGJTjTapnmAKmZYp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100007, ‘spi’: 200007, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’FGJTjTapnmAKmZYp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 10, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 6, ‘n_sa_in’: 1, ‘sa_in’: [100006]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 11, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 7, ‘n_sa_in’: 1, ‘sa_in’: [100007]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=10)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=11)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=10,flags=1)
sw_interface_set_flags(sw_if_index=11,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x06’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x07’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 11, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’AdHolRxBROZVIIsg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’AdHolRxBROZVIIsg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’YMreGePOfurKkRWc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’YMreGePOfurKkRWc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100006, ‘spi’: 200006, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’JUhkhixyyPqAJuXP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 6, ‘spi’: 100006, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’JUhkhixyyPqAJuXP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100007, ‘spi’: 200007, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’FGJTjTapnmAKmZYp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 7, ‘spi’: 100007, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’FGJTjTapnmAKmZYp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 9, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100006, ‘n_sa_in’: 1, ‘sa_in’: [6]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 10, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100007, ‘n_sa_in’: 1, ‘sa_in’: [7]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=9)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=10)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=9,flags=1)
sw_interface_set_flags(sw_if_index=10,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x06’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 9, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x07’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t4c-avf-ethip4ipsec8tnlswasync- 
scheduler-ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’ouQALEdAKPsitrIh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’ouQALEdAKPsitrIh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’DdZHGDEtRKQQToTc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’DdZHGDEtRKQQToTc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 6, ‘spi’: 100006, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’LIRXduUhhroMOhVY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100006, ‘spi’: 200006, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’LIRXduUhhroMOhVY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 7, ‘spi’: 100007, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’BhfZtXHhDODlelei’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100007, ‘spi’: 200007, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’BhfZtXHhDODlelei’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 10, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 6, ‘n_sa_in’: 1, ‘sa_in’: [100006]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 11, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 7, ‘n_sa_in’: 1, ‘sa_in’: [100007]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=10)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=11)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=10,flags=1)
sw_interface_set_flags(sw_if_index=11,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x06’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x07’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 11, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’ouQALEdAKPsitrIh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’ouQALEdAKPsitrIh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’DdZHGDEtRKQQToTc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’DdZHGDEtRKQQToTc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100006, ‘spi’: 200006, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’LIRXduUhhroMOhVY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 6, ‘spi’: 100006, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’LIRXduUhhroMOhVY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100007, ‘spi’: 200007, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’BhfZtXHhDODlelei’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 7, ‘spi’: 100007, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’BhfZtXHhDODlelei’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 9, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100006, ‘n_sa_in’: 1, ‘sa_in’: [6]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 10, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100007, ‘n_sa_in’: 1, ‘sa_in’: [7]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=9)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=10)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=9,flags=1)
sw_interface_set_flags(sw_if_index=10,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x06’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 9, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x07’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-avf-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t2c-avf-ethip4ipsec8tnlswasync- 
scheduler-ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’cUQMsTRJIEAttEaOUftXppQWaYofcGDD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’cUQMsTRJIEAttEaOUftXppQWaYofcGDD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’KDWaUgccxdnzEjAWIDQdtxDDpHUwqnYK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’KDWaUgccxdnzEjAWIDQdtxDDpHUwqnYK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 6, ‘spi’: 100006, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’HCmiqScqAQJMxlhVtynpsuGSgBLhioIf’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100006, ‘spi’: 200006, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’HCmiqScqAQJMxlhVtynpsuGSgBLhioIf’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 7, ‘spi’: 100007, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’WkinFPetsVMqptgzJPEnnerVZwPcjHRp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100007, ‘spi’: 200007, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’WkinFPetsVMqptgzJPEnnerVZwPcjHRp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 10, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 6, ‘n_sa_in’: 1, ‘sa_in’: [100006]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 11, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 7, ‘n_sa_in’: 1, ‘sa_in’: [100007]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=10)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=11)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=10,flags=1)
sw_interface_set_flags(sw_if_index=11,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x06’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x07’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 11, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’cUQMsTRJIEAttEaOUftXppQWaYofcGDD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’cUQMsTRJIEAttEaOUftXppQWaYofcGDD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’KDWaUgccxdnzEjAWIDQdtxDDpHUwqnYK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’KDWaUgccxdnzEjAWIDQdtxDDpHUwqnYK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100006, ‘spi’: 200006, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’HCmiqScqAQJMxlhVtynpsuGSgBLhioIf’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 6, ‘spi’: 100006, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’HCmiqScqAQJMxlhVtynpsuGSgBLhioIf’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100007, ‘spi’: 200007, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’WkinFPetsVMqptgzJPEnnerVZwPcjHRp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 7, ‘spi’: 100007, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’WkinFPetsVMqptgzJPEnnerVZwPcjHRp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 9, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100006, ‘n_sa_in’: 1, ‘sa_in’: [6]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 10, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100007, ‘n_sa_in’: 1, ‘sa_in’: [7]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=9)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=10)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=9,flags=1)
sw_interface_set_flags(sw_if_index=10,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x06’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 9, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x07’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-2t4c-avf-ethip4ipsec8tnlswasync- 
scheduler-ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’ssUCwXyyzWyMYgHlvTfSCLUMpTLXRxUw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’ssUCwXyyzWyMYgHlvTfSCLUMpTLXRxUw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’EssQmYzXIRJBJpUXhMQWuNigpGRCbToi’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’EssQmYzXIRJBJpUXhMQWuNigpGRCbToi’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 6, ‘spi’: 100006, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’XWNxBKiiDibYchPmFKTWeDhuiRYhvZvL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100006, ‘spi’: 200006, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’XWNxBKiiDibYchPmFKTWeDhuiRYhvZvL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 7, ‘spi’: 100007, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’xpxfkFfNfTyRojAMUrjHJVeoPqGPAvuP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100007, ‘spi’: 200007, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’xpxfkFfNfTyRojAMUrjHJVeoPqGPAvuP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 10, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 6, ‘n_sa_in’: 1, ‘sa_in’: [100006]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 11, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 7, ‘n_sa_in’: 1, ‘sa_in’: [100007]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=10)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=11)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=10,flags=1)
sw_interface_set_flags(sw_if_index=11,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x06’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x07’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 11, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’ssUCwXyyzWyMYgHlvTfSCLUMpTLXRxUw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’ssUCwXyyzWyMYgHlvTfSCLUMpTLXRxUw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’EssQmYzXIRJBJpUXhMQWuNigpGRCbToi’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’EssQmYzXIRJBJpUXhMQWuNigpGRCbToi’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100006, ‘spi’: 200006, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’XWNxBKiiDibYchPmFKTWeDhuiRYhvZvL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 6, ‘spi’: 100006, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’XWNxBKiiDibYchPmFKTWeDhuiRYhvZvL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100007, ‘spi’: 200007, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’xpxfkFfNfTyRojAMUrjHJVeoPqGPAvuP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 7, ‘spi’: 100007, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’xpxfkFfNfTyRojAMUrjHJVeoPqGPAvuP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 9, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100006, ‘n_sa_in’: 1, ‘sa_in’: [6]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 10, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100007, ‘n_sa_in’: 1, ‘sa_in’: [7]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=9)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=10)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=9,flags=1)
sw_interface_set_flags(sw_if_index=10,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x06’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 9, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x07’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t2c-avf-ethip4ipsec8tnlswasync- 
scheduler-ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’KZuapCbbEluCGtKOAHGtIVAgtJZQGsvw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’KZuapCbbEluCGtKOAHGtIVAgtJZQGsvw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’BdpDoGaqEprWjtQiKzlMWaPDyKxJQdDH’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’BdpDoGaqEprWjtQiKzlMWaPDyKxJQdDH’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 6, ‘spi’: 100006, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’suwNIEWwNoysRQSrKgmuFjSuiyZACWvm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100006, ‘spi’: 200006, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’suwNIEWwNoysRQSrKgmuFjSuiyZACWvm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 7, ‘spi’: 100007, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’LjhcotsNsZcGKEzRTsxcxhPyzkEdaKvN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100007, ‘spi’: 200007, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’LjhcotsNsZcGKEzRTsxcxhPyzkEdaKvN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 10, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 6, ‘n_sa_in’: 1, ‘sa_in’: [100006]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 11, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 7, ‘n_sa_in’: 1, ‘sa_in’: [100007]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=10)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=11)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=10,flags=1)
sw_interface_set_flags(sw_if_index=11,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x06’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x07’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 11, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’KZuapCbbEluCGtKOAHGtIVAgtJZQGsvw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’KZuapCbbEluCGtKOAHGtIVAgtJZQGsvw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’BdpDoGaqEprWjtQiKzlMWaPDyKxJQdDH’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’BdpDoGaqEprWjtQiKzlMWaPDyKxJQdDH’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100006, ‘spi’: 200006, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’suwNIEWwNoysRQSrKgmuFjSuiyZACWvm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 6, ‘spi’: 100006, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’suwNIEWwNoysRQSrKgmuFjSuiyZACWvm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100007, ‘spi’: 200007, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’LjhcotsNsZcGKEzRTsxcxhPyzkEdaKvN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 7, ‘spi’: 100007, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’LjhcotsNsZcGKEzRTsxcxhPyzkEdaKvN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 9, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100006, ‘n_sa_in’: 1, ‘sa_in’: [6]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 10, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100007, ‘n_sa_in’: 1, ‘sa_in’: [7]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=9)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=10)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=9,flags=1)
sw_interface_set_flags(sw_if_index=10,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x06’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 9, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x07’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t4c-avf-ethip4ipsec8tnlswasync- 
scheduler-ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fe:bd:f9:3d:00’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’kpKGBdixibfvsXdBeRFBYxlvaqOFiTEZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’kpKGBdixibfvsXdBeRFBYxlvaqOFiTEZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’kdhhoaPJdTFMhUcsIUFJSDKBXXaxqGaL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’kdhhoaPJdTFMhUcsIUFJSDKBXXaxqGaL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 6, ‘spi’: 100006, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’oVrDBLHFXkuvxVZVboWShjbaFArpnPCu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100006, ‘spi’: 200006, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’oVrDBLHFXkuvxVZVboWShjbaFArpnPCu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 7, ‘spi’: 100007, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’iifitgihElhEwcOdvnLgVGMDgxWFlaOG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100007, ‘spi’: 200007, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’iifitgihElhEwcOdvnLgVGMDgxWFlaOG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 10, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 6, ‘n_sa_in’: 1, ‘sa_in’: [100006]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 11, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 7, ‘n_sa_in’: 1, ‘sa_in’: [100007]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=10)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=11)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=10,flags=1)
sw_interface_set_flags(sw_if_index=11,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x06’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x07’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 11, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’kpKGBdixibfvsXdBeRFBYxlvaqOFiTEZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’kpKGBdixibfvsXdBeRFBYxlvaqOFiTEZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’kdhhoaPJdTFMhUcsIUFJSDKBXXaxqGaL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’kdhhoaPJdTFMhUcsIUFJSDKBXXaxqGaL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100006, ‘spi’: 200006, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’oVrDBLHFXkuvxVZVboWShjbaFArpnPCu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 6, ‘spi’: 100006, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’oVrDBLHFXkuvxVZVboWShjbaFArpnPCu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100007, ‘spi’: 200007, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’iifitgihElhEwcOdvnLgVGMDgxWFlaOG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 7, ‘spi’: 100007, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’iifitgihElhEwcOdvnLgVGMDgxWFlaOG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 9, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100006, ‘n_sa_in’: 1, ‘sa_in’: [6]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 10, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100007, ‘n_sa_in’: 1, ‘sa_in’: [7]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=9)
sw_interface_set_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=10)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=9,flags=1)
sw_interface_set_flags(sw_if_index=10,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x06’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 9, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x07’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-ethip4ipsec10000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-ethip4ipsec10000tnlsw-ip4base- 
int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-2t1c-ethip4ipsec10000tnlsw-ip4base- 
int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t1c-ethip4ipsec10000tnlsw-ip4base- 
int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-ethip4ipsec10000tnlsw-ip4base-int-aes128gcm-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-ethip4ipsec10000tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-4t2c-ethip4ipsec10000tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-8t4c-ethip4ipsec10000tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-2t1c-ethip4ipsec10000tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-4t2c-ethip4ipsec10000tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t1c-ethip4ipsec10000tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-4t2c-ethip4ipsec10000tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-8t4c-ethip4ipsec10000tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-ethip4ipsec10000tnlsw-ip4base-int-aes256gcm-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-ethip4ipsec10000tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-4t2c-ethip4ipsec10000tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-8t4c-ethip4ipsec10000tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-2t1c-ethip4ipsec10000tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-4t2c-ethip4ipsec10000tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t1c-ethip4ipsec10000tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-4t2c-ethip4ipsec10000tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-8t4c-ethip4ipsec10000tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-ethip4ipsec1000tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-ethip4ipsec1000tnlsw-ip4base- 
int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-2t1c-ethip4ipsec1000tnlsw-ip4base- 
int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t1c-ethip4ipsec1000tnlsw-ip4base- 
int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-ethip4ipsec1000tnlsw-ip4base-int-aes128gcm-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-ethip4ipsec1000tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-4t2c-ethip4ipsec1000tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-8t4c-ethip4ipsec1000tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-2t1c-ethip4ipsec1000tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-4t2c-ethip4ipsec1000tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t1c-ethip4ipsec1000tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-4t2c-ethip4ipsec1000tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-8t4c-ethip4ipsec1000tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-ethip4ipsec1000tnlsw-ip4base-int-aes256gcm-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-ethip4ipsec1000tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-4t2c-ethip4ipsec1000tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-8t4c-ethip4ipsec1000tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-2t1c-ethip4ipsec1000tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-4t2c-ethip4ipsec1000tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t1c-ethip4ipsec1000tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-4t2c-ethip4ipsec1000tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-8t4c-ethip4ipsec1000tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-ethip4ipsec1000tnlsw-ip4base-policy-aes256gcm-ndrpdr

IPv4 IPsec tunnel mode performance test suite.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

25ge2p1xxv710-ethip4ipsec1tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-ethip4ipsec1tnlsw-ip4base- 
int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f8:fd’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’zagXrSJsSaSjyaGR’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’COsoBeTXkSDKtdMjcobTyyDgtBZnOtBMIBesbYNylXNLGKFKbYmDpmcLmdlKHxBq’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’zagXrSJsSaSjyaGR’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’COsoBeTXkSDKtdMjcobTyyDgtBZnOtBMIBesbYNylXNLGKFKbYmDpmcLmdlKHxBq’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’zagXrSJsSaSjyaGR’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’COsoBeTXkSDKtdMjcobTyyDgtBZnOtBMIBesbYNylXNLGKFKbYmDpmcLmdlKHxBq’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’zagXrSJsSaSjyaGR’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’COsoBeTXkSDKtdMjcobTyyDgtBZnOtBMIBesbYNylXNLGKFKbYmDpmcLmdlKHxBq’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-2t1c-ethip4ipsec1tnlsw-ip4base- 
int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f8:fd’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’tIPRTbpcmPVsstdM’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’rjemZvKMkKyNvMoqItzxmHNSLvggFcbSDRBsfRDGwmGcMLBYEZUyNSGnSgThQFpS’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’tIPRTbpcmPVsstdM’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’rjemZvKMkKyNvMoqItzxmHNSLvggFcbSDRBsfRDGwmGcMLBYEZUyNSGnSgThQFpS’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’tIPRTbpcmPVsstdM’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’rjemZvKMkKyNvMoqItzxmHNSLvggFcbSDRBsfRDGwmGcMLBYEZUyNSGnSgThQFpS’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’tIPRTbpcmPVsstdM’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’rjemZvKMkKyNvMoqItzxmHNSLvggFcbSDRBsfRDGwmGcMLBYEZUyNSGnSgThQFpS’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t1c-ethip4ipsec1tnlsw-ip4base- 
int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f8:fd’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’RSgdUoQUdAjpiJVg’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’sHOgQnSgrbXZFSeuhqNwMlWJgRFbElQqqCpFllomgtftIlGAxrBiqBpxkrnmgwLO’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’RSgdUoQUdAjpiJVg’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’sHOgQnSgrbXZFSeuhqNwMlWJgRFbElQqqCpFllomgtftIlGAxrBiqBpxkrnmgwLO’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’RSgdUoQUdAjpiJVg’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’sHOgQnSgrbXZFSeuhqNwMlWJgRFbElQqqCpFllomgtftIlGAxrBiqBpxkrnmgwLO’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’RSgdUoQUdAjpiJVg’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’sHOgQnSgrbXZFSeuhqNwMlWJgRFbElQqqCpFllomgtftIlGAxrBiqBpxkrnmgwLO’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-ethip4ipsec1tnlsw-ip4base-int-aes128gcm-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-ethip4ipsec1tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f8:fd’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’BfHTcFXXvyylHYXW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’BfHTcFXXvyylHYXW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’BfHTcFXXvyylHYXW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’BfHTcFXXvyylHYXW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-4t2c-ethip4ipsec1tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f8:fd’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’SrtjZKZFdoYrQheY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’SrtjZKZFdoYrQheY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’SrtjZKZFdoYrQheY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’SrtjZKZFdoYrQheY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-8t4c-ethip4ipsec1tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f8:fd’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’jNmRYdoBjfliPMjz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’jNmRYdoBjfliPMjz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’jNmRYdoBjfliPMjz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’jNmRYdoBjfliPMjz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-2t1c-ethip4ipsec1tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f8:fd’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’djyhqDEjhAQaWpcu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’djyhqDEjhAQaWpcu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’djyhqDEjhAQaWpcu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’djyhqDEjhAQaWpcu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-4t2c-ethip4ipsec1tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f8:fd’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’YNWvyYQeczIJZiUn’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’YNWvyYQeczIJZiUn’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’YNWvyYQeczIJZiUn’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’YNWvyYQeczIJZiUn’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t1c-ethip4ipsec1tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f8:fd’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’EuuFBDZhycvddVhA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’EuuFBDZhycvddVhA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’EuuFBDZhycvddVhA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’EuuFBDZhycvddVhA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-4t2c-ethip4ipsec1tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f8:fd’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’QqHyfDXhWFLFDcCU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’QqHyfDXhWFLFDcCU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’QqHyfDXhWFLFDcCU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’QqHyfDXhWFLFDcCU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-8t4c-ethip4ipsec1tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f8:fd’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’wyhQWyaBtsKWvlNx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’wyhQWyaBtsKWvlNx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’wyhQWyaBtsKWvlNx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’wyhQWyaBtsKWvlNx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-ethip4ipsec1tnlsw-ip4base-int-aes256gcm-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-ethip4ipsec1tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f8:fd’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’fkbyuQRmKvKdbLJztWPNMWokUYDAsEQg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’fkbyuQRmKvKdbLJztWPNMWokUYDAsEQg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’fkbyuQRmKvKdbLJztWPNMWokUYDAsEQg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’fkbyuQRmKvKdbLJztWPNMWokUYDAsEQg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-4t2c-ethip4ipsec1tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f8:fd’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’xWYcNWtGMLahEinkmHOJqTnwcqQOPSWu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’xWYcNWtGMLahEinkmHOJqTnwcqQOPSWu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’xWYcNWtGMLahEinkmHOJqTnwcqQOPSWu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’xWYcNWtGMLahEinkmHOJqTnwcqQOPSWu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-8t4c-ethip4ipsec1tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f8:fd’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’GbUETkGZigToYPYlzfaBzKCgNhTKHbCt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’GbUETkGZigToYPYlzfaBzKCgNhTKHbCt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’GbUETkGZigToYPYlzfaBzKCgNhTKHbCt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’GbUETkGZigToYPYlzfaBzKCgNhTKHbCt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-2t1c-ethip4ipsec1tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f8:fd’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’ayqOxUTVMEzSZnvMvQhoHzsBXwPKwLcD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’ayqOxUTVMEzSZnvMvQhoHzsBXwPKwLcD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’ayqOxUTVMEzSZnvMvQhoHzsBXwPKwLcD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’ayqOxUTVMEzSZnvMvQhoHzsBXwPKwLcD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-4t2c-ethip4ipsec1tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f8:fd’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’jpzXjWzgbmDQRxgKhgOmsxjobckarMxX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’jpzXjWzgbmDQRxgKhgOmsxjobckarMxX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’jpzXjWzgbmDQRxgKhgOmsxjobckarMxX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’jpzXjWzgbmDQRxgKhgOmsxjobckarMxX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t1c-ethip4ipsec1tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f8:fd’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’WuychLJsGQfxbZEavlBmkexPkFKMWQBI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’WuychLJsGQfxbZEavlBmkexPkFKMWQBI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’WuychLJsGQfxbZEavlBmkexPkFKMWQBI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’WuychLJsGQfxbZEavlBmkexPkFKMWQBI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-4t2c-ethip4ipsec1tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f8:fd’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’fihldcdYPqfJHLCMuaAVEfhcNZnWWedA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’fihldcdYPqfJHLCMuaAVEfhcNZnWWedA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’fihldcdYPqfJHLCMuaAVEfhcNZnWWedA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’fihldcdYPqfJHLCMuaAVEfhcNZnWWedA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-8t4c-ethip4ipsec1tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f8:fd’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’tZopsIntwXUfFUNQfmQkyRdWaHgNDTnT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’tZopsIntwXUfFUNQfmQkyRdWaHgNDTnT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’tZopsIntwXUfFUNQfmQkyRdWaHgNDTnT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’tZopsIntwXUfFUNQfmQkyRdWaHgNDTnT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-ethip4ipsec1tnlsw-ip4base-policy-aes256gcm-ndrpdr

IPv4 IPsec tunnel mode performance test suite.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-ethip4ipsec1tnlsw- 
ip4base-policy-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’dx00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:fd’, ‘ip_address’: IPv4Address(‘100.0.0.2’)})
ipsec_spd_add_del(is_add=True,spd_id=1)
ipsec_interface_add_del_spd(is_add=True,sw_if_index=2,spd_id=1)
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 100, ‘is_outbound’: True, ‘sa_id’: 0, ‘policy’: 0, ‘protocol’: 50, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 100, ‘is_outbound’: False, ‘sa_id’: 0, ‘policy’: 0, ‘protocol’: 50, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 300000, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’EyohWvmGijWLzzPmCmSzTMXgAbtlWQtd’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘100.0.0.1’, ‘dst’: ‘100.0.0.2’, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘protocol’: 50, ‘udp_src_port’: 4500, ‘udp_dst_port’: 4500})
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 10, ‘is_outbound’: True, ‘sa_id’: 100000, ‘policy’: 3, ‘protocol’: 0, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xffxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 200000, ‘spi’: 400000, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’EyohWvmGijWLzzPmCmSzTMXgAbtlWQtd’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘100.0.0.2’, ‘dst’: ‘100.0.0.1’, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘protocol’: 50, ‘udp_src_port’: 4500, ‘udp_dst_port’: 4500})
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 10, ‘is_outbound’: False, ‘sa_id’: 200000, ‘policy’: 3, ‘protocol’: 0, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xffxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x02’}}})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’dx00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ipsec_spd_add_del(is_add=True,spd_id=1)
ipsec_interface_add_del_spd(is_add=True,sw_if_index=2,spd_id=1)
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 100, ‘is_outbound’: True, ‘sa_id’: 0, ‘policy’: 0, ‘protocol’: 50, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 100, ‘is_outbound’: False, ‘sa_id’: 0, ‘policy’: 0, ‘protocol’: 50, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 300000, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’EyohWvmGijWLzzPmCmSzTMXgAbtlWQtd’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘100.0.0.1’, ‘dst’: ‘100.0.0.2’, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘protocol’: 50, ‘udp_src_port’: 4500, ‘udp_dst_port’: 4500})
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 10, ‘is_outbound’: False, ‘sa_id’: 100000, ‘policy’: 3, ‘protocol’: 0, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xffxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 200000, ‘spi’: 400000, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’EyohWvmGijWLzzPmCmSzTMXgAbtlWQtd’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘100.0.0.2’, ‘dst’: ‘100.0.0.1’, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘protocol’: 50, ‘udp_src_port’: 4500, ‘udp_dst_port’: 4500})
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 10, ‘is_outbound’: True, ‘sa_id’: 200000, ‘policy’: 3, ‘protocol’: 0, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xffxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})

 1518b-2t1c-ethip4ipsec1tnlsw- 
ip4base-policy-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’dx00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:fd’, ‘ip_address’: IPv4Address(‘100.0.0.2’)})
ipsec_spd_add_del(is_add=True,spd_id=1)
ipsec_interface_add_del_spd(is_add=True,sw_if_index=2,spd_id=1)
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 100, ‘is_outbound’: True, ‘sa_id’: 0, ‘policy’: 0, ‘protocol’: 50, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 100, ‘is_outbound’: False, ‘sa_id’: 0, ‘policy’: 0, ‘protocol’: 50, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 300000, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’hnvdnVjEShtndTDyMVtkGIPdqElKdFPX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘100.0.0.1’, ‘dst’: ‘100.0.0.2’, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘protocol’: 50, ‘udp_src_port’: 4500, ‘udp_dst_port’: 4500})
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 10, ‘is_outbound’: True, ‘sa_id’: 100000, ‘policy’: 3, ‘protocol’: 0, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xffxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 200000, ‘spi’: 400000, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’hnvdnVjEShtndTDyMVtkGIPdqElKdFPX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘100.0.0.2’, ‘dst’: ‘100.0.0.1’, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘protocol’: 50, ‘udp_src_port’: 4500, ‘udp_dst_port’: 4500})
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 10, ‘is_outbound’: False, ‘sa_id’: 200000, ‘policy’: 3, ‘protocol’: 0, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xffxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x02’}}})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’dx00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ipsec_spd_add_del(is_add=True,spd_id=1)
ipsec_interface_add_del_spd(is_add=True,sw_if_index=2,spd_id=1)
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 100, ‘is_outbound’: True, ‘sa_id’: 0, ‘policy’: 0, ‘protocol’: 50, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 100, ‘is_outbound’: False, ‘sa_id’: 0, ‘policy’: 0, ‘protocol’: 50, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 300000, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’hnvdnVjEShtndTDyMVtkGIPdqElKdFPX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘100.0.0.1’, ‘dst’: ‘100.0.0.2’, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘protocol’: 50, ‘udp_src_port’: 4500, ‘udp_dst_port’: 4500})
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 10, ‘is_outbound’: False, ‘sa_id’: 100000, ‘policy’: 3, ‘protocol’: 0, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xffxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 200000, ‘spi’: 400000, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’hnvdnVjEShtndTDyMVtkGIPdqElKdFPX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘100.0.0.2’, ‘dst’: ‘100.0.0.1’, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘protocol’: 50, ‘udp_src_port’: 4500, ‘udp_dst_port’: 4500})
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 10, ‘is_outbound’: True, ‘sa_id’: 200000, ‘policy’: 3, ‘protocol’: 0, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xffxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})

 imix-2t1c-ethip4ipsec1tnlsw- 
ip4base-policy-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’dx00x00x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f8:fd’, ‘ip_address’: IPv4Address(‘100.0.0.2’)})
ipsec_spd_add_del(is_add=True,spd_id=1)
ipsec_interface_add_del_spd(is_add=True,sw_if_index=2,spd_id=1)
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 100, ‘is_outbound’: True, ‘sa_id’: 0, ‘policy’: 0, ‘protocol’: 50, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 100, ‘is_outbound’: False, ‘sa_id’: 0, ‘policy’: 0, ‘protocol’: 50, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 300000, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’veJRRGGQXSYCYuGXlqhCQayPaClSGInK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘100.0.0.1’, ‘dst’: ‘100.0.0.2’, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘protocol’: 50, ‘udp_src_port’: 4500, ‘udp_dst_port’: 4500})
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 10, ‘is_outbound’: True, ‘sa_id’: 100000, ‘policy’: 3, ‘protocol’: 0, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xffxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 200000, ‘spi’: 400000, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’veJRRGGQXSYCYuGXlqhCQayPaClSGInK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘100.0.0.2’, ‘dst’: ‘100.0.0.1’, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘protocol’: 50, ‘udp_src_port’: 4500, ‘udp_dst_port’: 4500})
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 10, ‘is_outbound’: False, ‘sa_id’: 200000, ‘policy’: 3, ‘protocol’: 0, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xffxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x02’}}})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’dx00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ipsec_spd_add_del(is_add=True,spd_id=1)
ipsec_interface_add_del_spd(is_add=True,sw_if_index=2,spd_id=1)
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 100, ‘is_outbound’: True, ‘sa_id’: 0, ‘policy’: 0, ‘protocol’: 50, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 100, ‘is_outbound’: False, ‘sa_id’: 0, ‘policy’: 0, ‘protocol’: 50, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’dxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 300000, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’veJRRGGQXSYCYuGXlqhCQayPaClSGInK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘100.0.0.1’, ‘dst’: ‘100.0.0.2’, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘protocol’: 50, ‘udp_src_port’: 4500, ‘udp_dst_port’: 4500})
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 10, ‘is_outbound’: False, ‘sa_id’: 100000, ‘policy’: 3, ‘protocol’: 0, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xffxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 200000, ‘spi’: 400000, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’veJRRGGQXSYCYuGXlqhCQayPaClSGInK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘100.0.0.2’, ‘dst’: ‘100.0.0.1’, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘protocol’: 50, ‘udp_src_port’: 4500, ‘udp_dst_port’: 4500})
ipsec_spd_entry_add_del(is_add=True,entry={‘spd_id’: 1, ‘priority’: 10, ‘is_outbound’: True, ‘sa_id’: 200000, ‘policy’: 3, ‘protocol’: 0, ‘remote_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}, ‘local_address_start’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xffxffxffxff’}}, ‘remote_port_start’: 0, ‘remote_port_stop’: 65535, ‘local_port_start’: 0, ‘local_port_stop’: 65535})

25ge2p1xxv710-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t2c-ethip4ipsec1tnlswasync-scheduler- 
ip4base-int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’PccyhenhsJEZWTMe’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ldhdhuBGnyGLoighiIyUCAnBdAsThoqooiVZcMVsHCYJTiCpDKyYcZMpHiJDuQYb’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’PccyhenhsJEZWTMe’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ldhdhuBGnyGLoighiIyUCAnBdAsThoqooiVZcMVsHCYJTiCpDKyYcZMpHiJDuQYb’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’PccyhenhsJEZWTMe’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ldhdhuBGnyGLoighiIyUCAnBdAsThoqooiVZcMVsHCYJTiCpDKyYcZMpHiJDuQYb’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’PccyhenhsJEZWTMe’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ldhdhuBGnyGLoighiIyUCAnBdAsThoqooiVZcMVsHCYJTiCpDKyYcZMpHiJDuQYb’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-2t4c-ethip4ipsec1tnlswasync-scheduler- 
ip4base-int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’RdrgSQDXzEhNazFc’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’PPmKYMpsnCvtzNitLbaldHlMVirAcBBDmIbxKgNJcEGWwvDENPuSkBCGHccVimJQ’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’RdrgSQDXzEhNazFc’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’PPmKYMpsnCvtzNitLbaldHlMVirAcBBDmIbxKgNJcEGWwvDENPuSkBCGHccVimJQ’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’RdrgSQDXzEhNazFc’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’PPmKYMpsnCvtzNitLbaldHlMVirAcBBDmIbxKgNJcEGWwvDENPuSkBCGHccVimJQ’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’RdrgSQDXzEhNazFc’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’PPmKYMpsnCvtzNitLbaldHlMVirAcBBDmIbxKgNJcEGWwvDENPuSkBCGHccVimJQ’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t2c-ethip4ipsec1tnlswasync-scheduler- 
ip4base-int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’wdVLeKEWknaWBHDE’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ZLUzuMmonCuVldrOrklIdbehTTsTpFUUlNoXiLjRaHsSeOdVPBLXbTUTJJtfnagT’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’wdVLeKEWknaWBHDE’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ZLUzuMmonCuVldrOrklIdbehTTsTpFUUlNoXiLjRaHsSeOdVPBLXbTUTJJtfnagT’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’wdVLeKEWknaWBHDE’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ZLUzuMmonCuVldrOrklIdbehTTsTpFUUlNoXiLjRaHsSeOdVPBLXbTUTJJtfnagT’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’wdVLeKEWknaWBHDE’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ZLUzuMmonCuVldrOrklIdbehTTsTpFUUlNoXiLjRaHsSeOdVPBLXbTUTJJtfnagT’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t4c-ethip4ipsec1tnlswasync-scheduler- 
ip4base-int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’cNRolPRCECMluieq’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’oDeJlyDEIlKvuVWyMVViHJRdgsPRBDioswAjzAqvLcZHFmAiOlZttDlzGuSRBLVP’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’cNRolPRCECMluieq’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’oDeJlyDEIlKvuVWyMVViHJRdgsPRBDioswAjzAqvLcZHFmAiOlZttDlzGuSRBLVP’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’cNRolPRCECMluieq’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’oDeJlyDEIlKvuVWyMVViHJRdgsPRBDioswAjzAqvLcZHFmAiOlZttDlzGuSRBLVP’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’cNRolPRCECMluieq’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’oDeJlyDEIlKvuVWyMVViHJRdgsPRBDioswAjzAqvLcZHFmAiOlZttDlzGuSRBLVP’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t2c-ethip4ipsec1tnlswasync-scheduler- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’gHDsUtSLdNNXQhqz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’gHDsUtSLdNNXQhqz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’gHDsUtSLdNNXQhqz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’gHDsUtSLdNNXQhqz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-2t4c-ethip4ipsec1tnlswasync-scheduler- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’xnMGvxWUtjSDhRWB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’xnMGvxWUtjSDhRWB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’xnMGvxWUtjSDhRWB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’xnMGvxWUtjSDhRWB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-2t2c-ethip4ipsec1tnlswasync-scheduler- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’lWCvfjZDjAPgIymD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’lWCvfjZDjAPgIymD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’lWCvfjZDjAPgIymD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’lWCvfjZDjAPgIymD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t2c-ethip4ipsec1tnlswasync-scheduler- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’oaXhARogfNaBDvlW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’oaXhARogfNaBDvlW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’oaXhARogfNaBDvlW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’oaXhARogfNaBDvlW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t4c-ethip4ipsec1tnlswasync-scheduler- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’jVLWAvaebvDkowhI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’jVLWAvaebvDkowhI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’jVLWAvaebvDkowhI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’jVLWAvaebvDkowhI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t2c-ethip4ipsec1tnlswasync-scheduler- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’EWgHjhynSMygarWKVyZvtkSLImryaJzK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’EWgHjhynSMygarWKVyZvtkSLImryaJzK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’EWgHjhynSMygarWKVyZvtkSLImryaJzK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’EWgHjhynSMygarWKVyZvtkSLImryaJzK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-2t4c-ethip4ipsec1tnlswasync-scheduler- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’RVnVjyPLNOVfsiHHJwpDtvXYWrZcnQYC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’RVnVjyPLNOVfsiHHJwpDtvXYWrZcnQYC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’RVnVjyPLNOVfsiHHJwpDtvXYWrZcnQYC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’RVnVjyPLNOVfsiHHJwpDtvXYWrZcnQYC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-2t2c-ethip4ipsec1tnlswasync-scheduler- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’kuDwsPXhAaeLJxdfBZvNWlnYvjaSQTTv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’kuDwsPXhAaeLJxdfBZvNWlnYvjaSQTTv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’kuDwsPXhAaeLJxdfBZvNWlnYvjaSQTTv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’kuDwsPXhAaeLJxdfBZvNWlnYvjaSQTTv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t2c-ethip4ipsec1tnlswasync-scheduler- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’voHNPRnOCTtRZLMNxLbelKaSQdsPZWJz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’voHNPRnOCTtRZLMNxLbelKaSQdsPZWJz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’voHNPRnOCTtRZLMNxLbelKaSQdsPZWJz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’voHNPRnOCTtRZLMNxLbelKaSQdsPZWJz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t4c-ethip4ipsec1tnlswasync-scheduler- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’dCReMlAXgXbvyIEbSFCDBQHbYuJVVxzy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’dCReMlAXgXbvyIEbSFCDBQHbYuJVVxzy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’dCReMlAXgXbvyIEbSFCDBQHbYuJVVxzy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’dCReMlAXgXbvyIEbSFCDBQHbYuJVVxzy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_flags(sw_if_index=3,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t4c-ethip4ipsec2tnlswasync-scheduler- 
ip4base-int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’IdPSaYegnDiRggrh’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’QPzAHKEgePVIelsZzxZLpozJqOvIYztaHvmtgFudrZYkuytGFXcyqsmVznrwIFTZ’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’IdPSaYegnDiRggrh’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’QPzAHKEgePVIelsZzxZLpozJqOvIYztaHvmtgFudrZYkuytGFXcyqsmVznrwIFTZ’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’HeCEkNLuUHfuQInC’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’LfFwLwPJBhdmvAAcgxXuHJvGqScDXijdZTWeRscGxBcviFAXjqXidnkRCYkcKAHh’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’HeCEkNLuUHfuQInC’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’LfFwLwPJBhdmvAAcgxXuHJvGqScDXijdZTWeRscGxBcviFAXjqXidnkRCYkcKAHh’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’IdPSaYegnDiRggrh’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’QPzAHKEgePVIelsZzxZLpozJqOvIYztaHvmtgFudrZYkuytGFXcyqsmVznrwIFTZ’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’IdPSaYegnDiRggrh’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’QPzAHKEgePVIelsZzxZLpozJqOvIYztaHvmtgFudrZYkuytGFXcyqsmVznrwIFTZ’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’HeCEkNLuUHfuQInC’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’LfFwLwPJBhdmvAAcgxXuHJvGqScDXijdZTWeRscGxBcviFAXjqXidnkRCYkcKAHh’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’HeCEkNLuUHfuQInC’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’LfFwLwPJBhdmvAAcgxXuHJvGqScDXijdZTWeRscGxBcviFAXjqXidnkRCYkcKAHh’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t4c-ethip4ipsec2tnlswasync-scheduler- 
ip4base-int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’wTxeOmvvAHTyqaGc’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’gXIQCxtRZAcQIdwnOsGxwNVJWpyHuTwZOMjeFySfqyOjglsAcQkAFLFfJyEHvyKZ’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’wTxeOmvvAHTyqaGc’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’gXIQCxtRZAcQIdwnOsGxwNVJWpyHuTwZOMjeFySfqyOjglsAcQkAFLFfJyEHvyKZ’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’flmtjnKvCfsaoNVm’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’pdpsPLfMFwnQBMSWFHShmopFWujyBnBezFtXdoUkRKScyypYKyAygXgdudwUgtry’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’flmtjnKvCfsaoNVm’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’pdpsPLfMFwnQBMSWFHShmopFWujyBnBezFtXdoUkRKScyypYKyAygXgdudwUgtry’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’wTxeOmvvAHTyqaGc’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’gXIQCxtRZAcQIdwnOsGxwNVJWpyHuTwZOMjeFySfqyOjglsAcQkAFLFfJyEHvyKZ’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’wTxeOmvvAHTyqaGc’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’gXIQCxtRZAcQIdwnOsGxwNVJWpyHuTwZOMjeFySfqyOjglsAcQkAFLFfJyEHvyKZ’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’flmtjnKvCfsaoNVm’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’pdpsPLfMFwnQBMSWFHShmopFWujyBnBezFtXdoUkRKScyypYKyAygXgdudwUgtry’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’flmtjnKvCfsaoNVm’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’pdpsPLfMFwnQBMSWFHShmopFWujyBnBezFtXdoUkRKScyypYKyAygXgdudwUgtry’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t2c-ethip4ipsec2tnlswasync-scheduler- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’cKvJcSPvPitZrArI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’cKvJcSPvPitZrArI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’PZsAzJKLRHZhiwyh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’PZsAzJKLRHZhiwyh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’cKvJcSPvPitZrArI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’cKvJcSPvPitZrArI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’PZsAzJKLRHZhiwyh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’PZsAzJKLRHZhiwyh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-2t4c-ethip4ipsec2tnlswasync-scheduler- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’WLJwdGLOoXHCYAol’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’WLJwdGLOoXHCYAol’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’XhdaHhUrJBWgoncX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’XhdaHhUrJBWgoncX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’WLJwdGLOoXHCYAol’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’WLJwdGLOoXHCYAol’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’XhdaHhUrJBWgoncX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’XhdaHhUrJBWgoncX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t2c-ethip4ipsec2tnlswasync-scheduler- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’LxdhgVzCcdaPHKCg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’LxdhgVzCcdaPHKCg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’IGRtQkbcZZgBJKMz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’IGRtQkbcZZgBJKMz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’LxdhgVzCcdaPHKCg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’LxdhgVzCcdaPHKCg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’IGRtQkbcZZgBJKMz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’IGRtQkbcZZgBJKMz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t4c-ethip4ipsec2tnlswasync-scheduler- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’AiLCWrPuymrALZIN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’AiLCWrPuymrALZIN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’qoWrgUqsuWRPfhWf’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’qoWrgUqsuWRPfhWf’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’AiLCWrPuymrALZIN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’AiLCWrPuymrALZIN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’qoWrgUqsuWRPfhWf’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’qoWrgUqsuWRPfhWf’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-ethip4ipsec2tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t2c-ethip4ipsec2tnlswasync-scheduler- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’TxdKxOpQroXOevlzVPhqZKyufLEkVWoF’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’TxdKxOpQroXOevlzVPhqZKyufLEkVWoF’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’IfjWVNThOVAwuCBVrsJyclbTJFBNFAxS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’IfjWVNThOVAwuCBVrsJyclbTJFBNFAxS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’TxdKxOpQroXOevlzVPhqZKyufLEkVWoF’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’TxdKxOpQroXOevlzVPhqZKyufLEkVWoF’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’IfjWVNThOVAwuCBVrsJyclbTJFBNFAxS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’IfjWVNThOVAwuCBVrsJyclbTJFBNFAxS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-2t4c-ethip4ipsec2tnlswasync-scheduler- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’loNXMyYaCBSKGpXtdXRYkGAbbInaBMCr’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’loNXMyYaCBSKGpXtdXRYkGAbbInaBMCr’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’yppVjLSTTsllSybgKmwmvXYejbMisbOB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’yppVjLSTTsllSybgKmwmvXYejbMisbOB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’loNXMyYaCBSKGpXtdXRYkGAbbInaBMCr’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’loNXMyYaCBSKGpXtdXRYkGAbbInaBMCr’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’yppVjLSTTsllSybgKmwmvXYejbMisbOB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’yppVjLSTTsllSybgKmwmvXYejbMisbOB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t2c-ethip4ipsec2tnlswasync-scheduler- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’esshTIeRQlwtHfRcGgkqsPJOxdKHbTkF’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’esshTIeRQlwtHfRcGgkqsPJOxdKHbTkF’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’AQQXopolivGrcaJSAHVFqoaxSMRfhqmZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’AQQXopolivGrcaJSAHVFqoaxSMRfhqmZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’esshTIeRQlwtHfRcGgkqsPJOxdKHbTkF’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’esshTIeRQlwtHfRcGgkqsPJOxdKHbTkF’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’AQQXopolivGrcaJSAHVFqoaxSMRfhqmZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’AQQXopolivGrcaJSAHVFqoaxSMRfhqmZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t4c-ethip4ipsec2tnlswasync-scheduler- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’gQpgYQEZRgeeypDjZlUtvQhFMWLfNAwb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’gQpgYQEZRgeeypDjZlUtvQhFMWLfNAwb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’TIuECViMGnjvxZAUmdABcyLVNFqboqAv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’TIuECViMGnjvxZAUmdABcyLVNFqboqAv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’gQpgYQEZRgeeypDjZlUtvQhFMWLfNAwb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’gQpgYQEZRgeeypDjZlUtvQhFMWLfNAwb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’TIuECViMGnjvxZAUmdABcyLVNFqboqAv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’TIuECViMGnjvxZAUmdABcyLVNFqboqAv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-ethip4ipsec40tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-ethip4ipsec40tnlsw-ip4base- 
int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec create loopback interface
exec set interface state loop0 up
exec set interface ip address TwentyFiveGigabitEthernet3b/0/1 200.0.0.1/24
exec set ip neighbor TwentyFiveGigabitEthernet3b/0/1 200.0.0.2 3c:fd:fe:bd:f8:fd static
exec set interface ip address loop0 100.0.0.1/32
exec create ipip tunnel src 100.0.0.1 dst 200.0.0.2 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-cbc-128 crypto-key 457465754c4e7a5778697271766e4b6d integ-alg sha-512-256 integ-key 454b6f73704a5177705951565a5545734e49686b614a4e61744570624543717852655177636561614962774b7a7162676c50627958545a4142594779526c4564 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-cbc-128 crypto-key 457465754c4e7a5778697271766e4b6d integ-alg sha-512-256 integ-key 454b6f73704a5177705951565a5545734e49686b614a4e61744570624543717852655177636561614962774b7a7162676c50627958545a4142594779526c4564 esp
exec ipsec tunnel protect ipip0 sa-out 0 sa-in 100000 add
exec set interface ip address loop0 100.0.1.1/32
exec create ipip tunnel src 100.0.1.1 dst 200.0.0.2 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-cbc-128 crypto-key 49696668595879554479584f77584244 integ-alg sha-512-256 integ-key 6d7564594c5a64636168536c554b6d4b5548427652625273676a6c5370785a515766766b6249576b7872567a585962474a4b49436c4f774b5375517a6a544e69 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-cbc-128 crypto-key 49696668595879554479584f77584244 integ-alg sha-512-256 integ-key 6d7564594c5a64636168536c554b6d4b5548427652625273676a6c5370785a515766766b6249576b7872567a585962474a4b49436c4f774b5375517a6a544e69 esp
exec ipsec tunnel protect ipip1 sa-out 1 sa-in 100001 add
exec set interface ip address loop0 100.0.2.1/32
exec create ipip tunnel src 100.0.2.1 dst 200.0.0.2 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-cbc-128 crypto-key 645378515150766e644945686a43716b integ-alg sha-512-256 integ-key 417972654e4f4c41456347696c43767174534b756d5763655176726e47527768517a484e50636b6b6d62425a494a4147674b645a66506554734a6e6e70635953 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-cbc-128 crypto-key 645378515150766e644945686a43716b integ-alg sha-512-256 integ-key 417972654e4f4c41456347696c43767174534b756d5763655176726e47527768517a484e50636b6b6d62425a494a4147674b645a66506554734a6e6e70635953 esp
exec ipsec tunnel protect ipip2 sa-out 2 sa-in 100002 add
exec set interface ip address loop0 100.0.3.1/32
exec create ipip tunnel src 100.0.3.1 dst 200.0.0.2 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-cbc-128 crypto-key 68537672544355526946445972537454 integ-alg sha-512-256 integ-key 526f4a686a506b65667345536278534a4d6d4b6f64587859697175756f67546b764c6545536f61746669434145477365626356417a6269595472556f5a415967 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-cbc-128 crypto-key 68537672544355526946445972537454 integ-alg sha-512-256 integ-key 526f4a686a506b65667345536278534a4d6d4b6f64587859697175756f67546b764c6545536f61746669434145477365626356417a6269595472556f5a415967 esp
exec ipsec tunnel protect ipip3 sa-out 3 sa-in 100003 add
exec set interface ip address loop0 100.0.4.1/32
exec create ipip tunnel src 100.0.4.1 dst 200.0.0.2 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-cbc-128 crypto-key 50425a4761746f6d767345726a444a48 integ-alg sha-512-256 integ-key 5058697a4c6e62566c645a74675279537a6e4c6b5879705872764d7355456c577a4c4b596b74645241535774446e4f6d79597a524c68766f554f497073664478 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-cbc-128 crypto-key 50425a4761746f6d767345726a444a48 integ-alg sha-512-256 integ-key 5058697a4c6e62566c645a74675279537a6e4c6b5879705872764d7355456c577a4c4b596b74645241535774446e4f6d79597a524c68766f554f497073664478 esp
exec ipsec tunnel protect ipip4 sa-out 4 sa-in 100004 add
exec set interface ip address loop0 100.0.5.1/32
exec create ipip tunnel src 100.0.5.1 dst 200.0.0.2 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-cbc-128 crypto-key 69506249784552637969746e6275514c integ-alg sha-512-256 integ-key 526e68704a45776a6876514555615275454a535a70436d4465616352515641415a51624252494369626e4c415574574956766946546275556b65634947725851 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-cbc-128 crypto-key 69506249784552637969746e6275514c integ-alg sha-512-256 integ-key 526e68704a45776a6876514555615275454a535a70436d4465616352515641415a51624252494369626e4c415574574956766946546275556b65634947725851 esp
exec ipsec tunnel protect ipip5 sa-out 5 sa-in 100005 add
exec set interface ip address loop0 100.0.6.1/32
exec create ipip tunnel src 100.0.6.1 dst 200.0.0.2 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-cbc-128 crypto-key 4e586f696b437961486e6c556e786954 integ-alg sha-512-256 integ-key 675a69675748437a6476786649714d6344417a6446546e455657774468707146744f556a77657153664f63776d6c4572417957654a6b6c797a676643526a4372 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-cbc-128 crypto-key 4e586f696b437961486e6c556e786954 integ-alg sha-512-256 integ-key 675a69675748437a6476786649714d6344417a6446546e455657774468707146744f556a77657153664f63776d6c4572417957654a6b6c797a676643526a4372 esp
exec ipsec tunnel protect ipip6 sa-out 6 sa-in 100006 add
exec set interface ip address loop0 100.0.7.1/32
exec create ipip tunnel src 100.0.7.1 dst 200.0.0.2 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-cbc-128 crypto-key 4d706d6e53666164534f425369574b6e integ-alg sha-512-256 integ-key 6676756a4a49576252485a47754a45717469795a6f4843494c4e446269454c6d6e7650444a45546c69616779547668556e517974586a7470686f656679466468 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-cbc-128 crypto-key 4d706d6e53666164534f425369574b6e integ-alg sha-512-256 integ-key 6676756a4a49576252485a47754a45717469795a6f4843494c4e446269454c6d6e7650444a45546c69616779547668556e517974586a7470686f656679466468 esp
exec ipsec tunnel protect ipip7 sa-out 7 sa-in 100007 add
exec set interface ip address loop0 100.0.8.1/32
exec create ipip tunnel src 100.0.8.1 dst 200.0.0.2 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-cbc-128 crypto-key 775262797a6a78656a534c7a457a6c5a integ-alg sha-512-256 integ-key 486a5856586769504d66627a76655a6e696575444b4364706957576142616b794e6c7a7953617964627165554c55795566794b6d4776676479575169426d4349 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-cbc-128 crypto-key 775262797a6a78656a534c7a457a6c5a integ-alg sha-512-256 integ-key 486a5856586769504d66627a76655a6e696575444b4364706957576142616b794e6c7a7953617964627165554c55795566794b6d4776676479575169426d4349 esp
exec ipsec tunnel protect ipip8 sa-out 8 sa-in 100008 add
exec set interface ip address loop0 100.0.9.1/32
exec create ipip tunnel src 100.0.9.1 dst 200.0.0.2 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-cbc-128 crypto-key 4e5572745a697577475959506c526a70 integ-alg sha-512-256 integ-key 6e6175786c656249636d7247676457677154747173464a62615945417176694a695579416a414648744c524b57677a7279707645524849475871644c50796767 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-cbc-128 crypto-key 4e5572745a697577475959506c526a70 integ-alg sha-512-256 integ-key 6e6175786c656249636d7247676457677154747173464a62615945417176694a695579416a414648744c524b57677a7279707645524849475871644c50796767 esp
exec ipsec tunnel protect ipip9 sa-out 9 sa-in 100009 add
exec set interface ip address loop0 100.0.10.1/32
exec create ipip tunnel src 100.0.10.1 dst 200.0.0.2 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-cbc-128 crypto-key 6a4e7a4471614d436b6163546f67564b integ-alg sha-512-256 integ-key 50724f44584c64624d59655578546c65455466494343447549744a7863426650526153686a4c6e444c684446546b4949556c5370715555566e54795557467150 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-cbc-128 crypto-key 6a4e7a4471614d436b6163546f67564b integ-alg sha-512-256 integ-key 50724f44584c64624d59655578546c65455466494343447549744a7863426650526153686a4c6e444c684446546b4949556c5370715555566e54795557467150 esp
exec ipsec tunnel protect ipip10 sa-out 10 sa-in 100010 add
exec set interface ip address loop0 100.0.11.1/32
exec create ipip tunnel src 100.0.11.1 dst 200.0.0.2 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-cbc-128 crypto-key 755949694851764c5642544662725171 integ-alg sha-512-256 integ-key 754e6850504d667746525a436173584f41515072466b5447516b4d584f556b45736577774358674c70637253575a716d524e6a796a466c56796149547275734d esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-cbc-128 crypto-key 755949694851764c5642544662725171 integ-alg sha-512-256 integ-key 754e6850504d667746525a436173584f41515072466b5447516b4d584f556b45736577774358674c70637253575a716d524e6a796a466c56796149547275734d esp
exec ipsec tunnel protect ipip11 sa-out 11 sa-in 100011 add
exec set interface ip address loop0 100.0.12.1/32
exec create ipip tunnel src 100.0.12.1 dst 200.0.0.2 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-cbc-128 crypto-key 6d57596a6f6f48776953476344486343 integ-alg sha-512-256 integ-key 4868505a7279654f4b637142445563556879716a4d494c646b6d4e466c6c4474687170584f68566f6b6b4a7a5349484452645a44675853657767685073634655 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-cbc-128 crypto-key 6d57596a6f6f48776953476344486343 integ-alg sha-512-256 integ-key 4868505a7279654f4b637142445563556879716a4d494c646b6d4e466c6c4474687170584f68566f6b6b4a7a5349484452645a44675853657767685073634655 esp
exec ipsec tunnel protect ipip12 sa-out 12 sa-in 100012 add
exec set interface ip address loop0 100.0.13.1/32
exec create ipip tunnel src 100.0.13.1 dst 200.0.0.2 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-cbc-128 crypto-key 764f45466c5063746452736c57624b4a integ-alg sha-512-256 integ-key 64756e6157614f5a42544d4c416179724148774e467353556650616f76737871746d78756b6e696f61444f454d45535254574c734b786f784f6d4f587869444d esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-cbc-128 crypto-key 764f45466c5063746452736c57624b4a integ-alg sha-512-256 integ-key 64756e6157614f5a42544d4c416179724148774e467353556650616f76737871746d78756b6e696f61444f454d45535254574c734b786f784f6d4f587869444d esp
exec ipsec tunnel protect ipip13 sa-out 13 sa-in 100013 add
exec set interface ip address loop0 100.0.14.1/32
exec create ipip tunnel src 100.0.14.1 dst 200.0.0.2 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-cbc-128 crypto-key 78626f6b715871666b5844646f436152 integ-alg sha-512-256 integ-key 69506159686a7764566768594c517a4c726a44597544724662664564624e4c704c73457a6b75694a707663535a48654a586a67624c41784e7a454f495370686f esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-cbc-128 crypto-key 78626f6b715871666b5844646f436152 integ-alg sha-512-256 integ-key 69506159686a7764566768594c517a4c726a44597544724662664564624e4c704c73457a6b75694a707663535a48654a586a67624c41784e7a454f495370686f esp
exec ipsec tunnel protect ipip14 sa-out 14 sa-in 100014 add
exec set interface ip address loop0 100.0.15.1/32
exec create ipip tunnel src 100.0.15.1 dst 200.0.0.2 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-cbc-128 crypto-key 6c494a45734b6a464379665367756156 integ-alg sha-512-256 integ-key 424e575a78476b666d4b4a444c595a46464b68426c544479714149674e646b647768697a775176565874655573754a6c756e6968794358506f666b725a537953 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-cbc-128 crypto-key 6c494a45734b6a464379665367756156 integ-alg sha-512-256 integ-key 424e575a78476b666d4b4a444c595a46464b68426c544479714149674e646b647768697a775176565874655573754a6c756e6968794358506f666b725a537953 esp
exec ipsec tunnel protect ipip15 sa-out 15 sa-in 100015 add
exec set interface ip address loop0 100.0.16.1/32
exec create ipip tunnel src 100.0.16.1 dst 200.0.0.2 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-cbc-128 crypto-key 7744496f686e77566e77635847596a43 integ-alg sha-512-256 integ-key 534f787a6c576a776e4e55547744497a754a4341595341637763535461467765775a6359576f584d657973766a5a55657248706e4b47746e4b554d514d68616d esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-cbc-128 crypto-key 7744496f686e77566e77635847596a43 integ-alg sha-512-256 integ-key 534f787a6c576a776e4e55547744497a754a4341595341637763535461467765775a6359576f584d657973766a5a55657248706e4b47746e4b554d514d68616d esp
exec ipsec tunnel protect ipip16 sa-out 16 sa-in 100016 add
exec set interface ip address loop0 100.0.17.1/32
exec create ipip tunnel src 100.0.17.1 dst 200.0.0.2 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-cbc-128 crypto-key 6652666f53456173594269614a62497a integ-alg sha-512-256 integ-key 554f4b4c5853644d7074676949487951415648645a756449614849415945435647444474747961466366476166666f68754f6667794b59476f61564a56756f62 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-cbc-128 crypto-key 6652666f53456173594269614a62497a integ-alg sha-512-256 integ-key 554f4b4c5853644d7074676949487951415648645a756449614849415945435647444474747961466366476166666f68754f6667794b59476f61564a56756f62 esp
exec ipsec tunnel protect ipip17 sa-out 17 sa-in 100017 add
exec set interface ip address loop0 100.0.18.1/32
exec create ipip tunnel src 100.0.18.1 dst 200.0.0.2 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-cbc-128 crypto-key 504444486c4a6b496271414165655675 integ-alg sha-512-256 integ-key 6d504c7a787152747966797767446a724369677468444d6e6f57416a54734253646c51615265786a554957566e4e4d68746b51634258705043664e4d67514a41 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-cbc-128 crypto-key 504444486c4a6b496271414165655675 integ-alg sha-512-256 integ-key 6d504c7a787152747966797767446a724369677468444d6e6f57416a54734253646c51615265786a554957566e4e4d68746b51634258705043664e4d67514a41 esp
exec ipsec tunnel protect ipip18 sa-out 18 sa-in 100018 add
exec set interface ip address loop0 100.0.19.1/32
exec create ipip tunnel src 100.0.19.1 dst 200.0.0.2 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-cbc-128 crypto-key 4b7677566273615a43656c4767597274 integ-alg sha-512-256 integ-key 4d507463627a6b684964596c514846524e48624b78426e66485a7768694e7a767574546c4f68426c59514b43586f4a745a764974416863614b485853696b7453 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-cbc-128 crypto-key 4b7677566273615a43656c4767597274 integ-alg sha-512-256 integ-key 4d507463627a6b684964596c514846524e48624b78426e66485a7768694e7a767574546c4f68426c59514b43586f4a745a764974416863614b485853696b7453 esp
exec ipsec tunnel protect ipip19 sa-out 19 sa-in 100019 add
exec set interface ip address loop0 100.0.20.1/32
exec create ipip tunnel src 100.0.20.1 dst 200.0.0.2 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-cbc-128 crypto-key 5a6b45544679416f6f69725a77506d74 integ-alg sha-512-256 integ-key 786854736d69576e766365544c69435153575572466c6373414d7a4471496d4d645344414978495a534c615a4250536271514c47504967484673506372466153 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-cbc-128 crypto-key 5a6b45544679416f6f69725a77506d74 integ-alg sha-512-256 integ-key 786854736d69576e766365544c69435153575572466c6373414d7a4471496d4d645344414978495a534c615a4250536271514c47504967484673506372466153 esp
exec ipsec tunnel protect ipip20 sa-out 20 sa-in 100020 add
exec set interface ip address loop0 100.0.21.1/32
exec create ipip tunnel src 100.0.21.1 dst 200.0.0.2 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-cbc-128 crypto-key 564a47415944537555714c6650747863 integ-alg sha-512-256 integ-key 4648737a6d4c4a694a7862706d434d7a6e506d6b674a6945474d665152624561796e746d7856574b4e6756686a64766d46457947434244426b6d44514c54754a esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-cbc-128 crypto-key 564a47415944537555714c6650747863 integ-alg sha-512-256 integ-key 4648737a6d4c4a694a7862706d434d7a6e506d6b674a6945474d665152624561796e746d7856574b4e6756686a64766d46457947434244426b6d44514c54754a esp
exec ipsec tunnel protect ipip21 sa-out 21 sa-in 100021 add
exec set interface ip address loop0 100.0.22.1/32
exec create ipip tunnel src 100.0.22.1 dst 200.0.0.2 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-cbc-128 crypto-key 544e776b6a466854664b5853627a6871 integ-alg sha-512-256 integ-key 45696f4950487a5453445a5459797977506978786e587a786c42526955565a414e554666484f4d4f6e7075724a667062445349526b6f7243657a6f706c6c7451 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-cbc-128 crypto-key 544e776b6a466854664b5853627a6871 integ-alg sha-512-256 integ-key 45696f4950487a5453445a5459797977506978786e587a786c42526955565a414e554666484f4d4f6e7075724a667062445349526b6f7243657a6f706c6c7451 esp
exec ipsec tunnel protect ipip22 sa-out 22 sa-in 100022 add
exec set interface ip address loop0 100.0.23.1/32
exec create ipip tunnel src 100.0.23.1 dst 200.0.0.2 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-cbc-128 crypto-key 68706e4b47586467446c707a77634b43 integ-alg sha-512-256 integ-key 76505a5941616c724757554c7158466b4a43725459554b6e576f736b58737073745949766d7a4241615848746c577758796a544a706a42585a49796379515042 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-cbc-128 crypto-key 68706e4b47586467446c707a77634b43 integ-alg sha-512-256 integ-key 76505a5941616c724757554c7158466b4a43725459554b6e576f736b58737073745949766d7a4241615848746c577758796a544a706a42585a49796379515042 esp
exec ipsec tunnel protect ipip23 sa-out 23 sa-in 100023 add
exec set interface ip address loop0 100.0.24.1/32
exec create ipip tunnel src 100.0.24.1 dst 200.0.0.2 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-cbc-128 crypto-key 514e737275574155666b6879746d5856 integ-alg sha-512-256 integ-key 677a475366514378794a7773706a4145737a57656c7878704d77496c6f7755464f44644b764a595044714a56696c55707745637857534b4874536c4f67496e51 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-cbc-128 crypto-key 514e737275574155666b6879746d5856 integ-alg sha-512-256 integ-key 677a475366514378794a7773706a4145737a57656c7878704d77496c6f7755464f44644b764a595044714a56696c55707745637857534b4874536c4f67496e51 esp
exec ipsec tunnel protect ipip24 sa-out 24 sa-in 100024 add
exec set interface ip address loop0 100.0.25.1/32
exec create ipip tunnel src 100.0.25.1 dst 200.0.0.2 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-cbc-128 crypto-key 55546f796d4a67766c57786771497366 integ-alg sha-512-256 integ-key 56717a6d787073455375617147674571417251496d5259494f494b42765942766871616641706f774a594478426e437368706a635471684d47756e4d76676474 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-cbc-128 crypto-key 55546f796d4a67766c57786771497366 integ-alg sha-512-256 integ-key 56717a6d787073455375617147674571417251496d5259494f494b42765942766871616641706f774a594478426e437368706a635471684d47756e4d76676474 esp
exec ipsec tunnel protect ipip25 sa-out 25 sa-in 100025 add
exec set interface ip address loop0 100.0.26.1/32
exec create ipip tunnel src 100.0.26.1 dst 200.0.0.2 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-cbc-128 crypto-key 574d68657553724f494f7a7454527563 integ-alg sha-512-256 integ-key 6c6464706646776865634e5047554b7271424a774f67516772524c4142535249534c4e7666746d73614473444b79696f466676544a766f655a4c4d666c45556d esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-cbc-128 crypto-key 574d68657553724f494f7a7454527563 integ-alg sha-512-256 integ-key 6c6464706646776865634e5047554b7271424a774f67516772524c4142535249534c4e7666746d73614473444b79696f466676544a766f655a4c4d666c45556d esp
exec ipsec tunnel protect ipip26 sa-out 26 sa-in 100026 add
exec set interface ip address loop0 100.0.27.1/32
exec create ipip tunnel src 100.0.27.1 dst 200.0.0.2 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-cbc-128 crypto-key 59595344716145696c7251755265465a integ-alg sha-512-256 integ-key 49557a764c58737662797972476e58516d58644b744f74454f71476555556f6e65495a6d516c7a7158564350446d45496e4b534473784241416b575274784c48 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-cbc-128 crypto-key 59595344716145696c7251755265465a integ-alg sha-512-256 integ-key 49557a764c58737662797972476e58516d58644b744f74454f71476555556f6e65495a6d516c7a7158564350446d45496e4b534473784241416b575274784c48 esp
exec ipsec tunnel protect ipip27 sa-out 27 sa-in 100027 add
exec set interface ip address loop0 100.0.28.1/32
exec create ipip tunnel src 100.0.28.1 dst 200.0.0.2 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-cbc-128 crypto-key 534f59614866524e796b724172666f47 integ-alg sha-512-256 integ-key 506f45747a5271594646546167704b4877506a4a7274686a7741426e6e72796445526e734a774f57784875594664434f616b7a62454f4165786145594c6e7068 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-cbc-128 crypto-key 534f59614866524e796b724172666f47 integ-alg sha-512-256 integ-key 506f45747a5271594646546167704b4877506a4a7274686a7741426e6e72796445526e734a774f57784875594664434f616b7a62454f4165786145594c6e7068 esp
exec ipsec tunnel protect ipip28 sa-out 28 sa-in 100028 add
exec set interface ip address loop0 100.0.29.1/32
exec create ipip tunnel src 100.0.29.1 dst 200.0.0.2 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-cbc-128 crypto-key 6e46744d5762684e544d59697a49556a integ-alg sha-512-256 integ-key 626b546179444666494d4e736d466f4f5575434c737446694d47764e66456671444e797670766b41476762516a74425551744d5a41476d755445704750777650 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-cbc-128 crypto-key 6e46744d5762684e544d59697a49556a integ-alg sha-512-256 integ-key 626b546179444666494d4e736d466f4f5575434c737446694d47764e66456671444e797670766b41476762516a74425551744d5a41476d755445704750777650 esp
exec ipsec tunnel protect ipip29 sa-out 29 sa-in 100029 add
exec set interface ip address loop0 100.0.30.1/32
exec create ipip tunnel src 100.0.30.1 dst 200.0.0.2 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-cbc-128 crypto-key 726e6b795a6f694865536a75774a796d integ-alg sha-512-256 integ-key 76644f63635a4f7759794753714b51535a574941555358684e4e4352564b5764546e545a4564696f6b684c66476b6a554c68464b4c634f75574f53694e65416c esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-cbc-128 crypto-key 726e6b795a6f694865536a75774a796d integ-alg sha-512-256 integ-key 76644f63635a4f7759794753714b51535a574941555358684e4e4352564b5764546e545a4564696f6b684c66476b6a554c68464b4c634f75574f53694e65416c esp
exec ipsec tunnel protect ipip30 sa-out 30 sa-in 100030 add
exec set interface ip address loop0 100.0.31.1/32
exec create ipip tunnel src 100.0.31.1 dst 200.0.0.2 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-cbc-128 crypto-key 6672416e704752517853436657666d49 integ-alg sha-512-256 integ-key 496a7951507544714266424251795a47574a4a435a79486f764371507a6d587777444d63586b4d62717075685a4e52464b55684f42676e4c526b536b506f7579 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-cbc-128 crypto-key 6672416e704752517853436657666d49 integ-alg sha-512-256 integ-key 496a7951507544714266424251795a47574a4a435a79486f764371507a6d587777444d63586b4d62717075685a4e52464b55684f42676e4c526b536b506f7579 esp
exec ipsec tunnel protect ipip31 sa-out 31 sa-in 100031 add
exec set interface ip address loop0 100.0.32.1/32
exec create ipip tunnel src 100.0.32.1 dst 200.0.0.2 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-cbc-128 crypto-key 555a70667a65576c6951555366524b4c integ-alg sha-512-256 integ-key 78656e65764141776f4f71634a6d6253667750754c6b734a43644d4b73667346564b5067456759504e596765674b717861756b624b57424a53524951434e4b47 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-cbc-128 crypto-key 555a70667a65576c6951555366524b4c integ-alg sha-512-256 integ-key 78656e65764141776f4f71634a6d6253667750754c6b734a43644d4b73667346564b5067456759504e596765674b717861756b624b57424a53524951434e4b47 esp
exec ipsec tunnel protect ipip32 sa-out 32 sa-in 100032 add
exec set interface ip address loop0 100.0.33.1/32
exec create ipip tunnel src 100.0.33.1 dst 200.0.0.2 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-cbc-128 crypto-key 4d4c636b4b4c4a796f414e63796f6e53 integ-alg sha-512-256 integ-key 4559476b597273474f565a504e784f436c6b7a6a416654576941664c744945715679497355456a7744424858745a444d6a4c48496967696d586852614a4b704b esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-cbc-128 crypto-key 4d4c636b4b4c4a796f414e63796f6e53 integ-alg sha-512-256 integ-key 4559476b597273474f565a504e784f436c6b7a6a416654576941664c744945715679497355456a7744424858745a444d6a4c48496967696d586852614a4b704b esp
exec ipsec tunnel protect ipip33 sa-out 33 sa-in 100033 add
exec set interface ip address loop0 100.0.34.1/32
exec create ipip tunnel src 100.0.34.1 dst 200.0.0.2 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-cbc-128 crypto-key 544c5678494566467654515749565768 integ-alg sha-512-256 integ-key 795449615a7263725775436152535a55666b706d4c645651486e534c634b514e58666a5954704e55626153786a4b735371425a49576e59586d6b6d7751454664 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-cbc-128 crypto-key 544c5678494566467654515749565768 integ-alg sha-512-256 integ-key 795449615a7263725775436152535a55666b706d4c645651486e534c634b514e58666a5954704e55626153786a4b735371425a49576e59586d6b6d7751454664 esp
exec ipsec tunnel protect ipip34 sa-out 34 sa-in 100034 add
exec set interface ip address loop0 100.0.35.1/32
exec create ipip tunnel src 100.0.35.1 dst 200.0.0.2 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-cbc-128 crypto-key 624c736a6143634e7a4d5a706c516c75 integ-alg sha-512-256 integ-key 796f66516e6442737367516445714c62784d4a6b464f4d5a62487974616d6e496e464c644c5144486d6856625845574a71535a416b64495a536943585a427a67 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-cbc-128 crypto-key 624c736a6143634e7a4d5a706c516c75 integ-alg sha-512-256 integ-key 796f66516e6442737367516445714c62784d4a6b464f4d5a62487974616d6e496e464c644c5144486d6856625845574a71535a416b64495a536943585a427a67 esp
exec ipsec tunnel protect ipip35 sa-out 35 sa-in 100035 add
exec set interface ip address loop0 100.0.36.1/32
exec create ipip tunnel src 100.0.36.1 dst 200.0.0.2 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-cbc-128 crypto-key 704c697664727a714b77594e6655424d integ-alg sha-512-256 integ-key 7a734174706971596c6c674e474358435a5168456d767a4347666b7443525078567458556d5a53414f504d446e48557855456672736d515542624c62457a5a77 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-cbc-128 crypto-key 704c697664727a714b77594e6655424d integ-alg sha-512-256 integ-key 7a734174706971596c6c674e474358435a5168456d767a4347666b7443525078567458556d5a53414f504d446e48557855456672736d515542624c62457a5a77 esp
exec ipsec tunnel protect ipip36 sa-out 36 sa-in 100036 add
exec set interface ip address loop0 100.0.37.1/32
exec create ipip tunnel src 100.0.37.1 dst 200.0.0.2 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-cbc-128 crypto-key 51756f7a69416551545851654a625758 integ-alg sha-512-256 integ-key 7a4d776679776770506874786b4a4d676a6b6655586879644f576e4a7a414a6c486678724d6252496b52576673654c61776f4d6178524a7a44616e59454e6d4a esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-cbc-128 crypto-key 51756f7a69416551545851654a625758 integ-alg sha-512-256 integ-key 7a4d776679776770506874786b4a4d676a6b6655586879644f576e4a7a414a6c486678724d6252496b52576673654c61776f4d6178524a7a44616e59454e6d4a esp
exec ipsec tunnel protect ipip37 sa-out 37 sa-in 100037 add
exec set interface ip address loop0 100.0.38.1/32
exec create ipip tunnel src 100.0.38.1 dst 200.0.0.2 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-cbc-128 crypto-key 626c72724b57536b4b6f424145795061 integ-alg sha-512-256 integ-key 74414a52426557776a7364766e6a4f6b667544697a48776753634546574f444158576f427150447577575170516a4e62444344694667504168744e58746d6d6f esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-cbc-128 crypto-key 626c72724b57536b4b6f424145795061 integ-alg sha-512-256 integ-key 74414a52426557776a7364766e6a4f6b667544697a48776753634546574f444158576f427150447577575170516a4e62444344694667504168744e58746d6d6f esp
exec ipsec tunnel protect ipip38 sa-out 38 sa-in 100038 add
exec set interface ip address loop0 100.0.39.1/32
exec create ipip tunnel src 100.0.39.1 dst 200.0.0.2 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-cbc-128 crypto-key 50456f524b567071444e75674d5a6b6b integ-alg sha-512-256 integ-key 66755457517971556f764c4b50644850786f6b4e465a4d55714642495a6378664d4c684242586479667543526a4d6377626e6f5069587a584342427a6c546963 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-cbc-128 crypto-key 50456f524b567071444e75674d5a6b6b integ-alg sha-512-256 integ-key 66755457517971556f764c4b50644850786f6b4e465a4d55714642495a6378664d4c684242586479667543526a4d6377626e6f5069587a584342427a6c546963 esp
exec ipsec tunnel protect ipip39 sa-out 39 sa-in 100039 add
exec set interface unnumbered ipip0 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip0 up
exec ip route add 20.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip1 up
exec ip route add 20.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip2 up
exec ip route add 20.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip3 up
exec ip route add 20.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip4 up
exec ip route add 20.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip5 up
exec ip route add 20.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip6 up
exec ip route add 20.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip7 up
exec ip route add 20.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip8 up
exec ip route add 20.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip9 up
exec ip route add 20.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip10 up
exec ip route add 20.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip11 up
exec ip route add 20.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip12 up
exec ip route add 20.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip13 up
exec ip route add 20.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip14 up
exec ip route add 20.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip15 up
exec ip route add 20.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip16 up
exec ip route add 20.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip17 up
exec ip route add 20.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip18 up
exec ip route add 20.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip19 up
exec ip route add 20.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip20 up
exec ip route add 20.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip21 up
exec ip route add 20.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip22 up
exec ip route add 20.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip23 up
exec ip route add 20.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip24 up
exec ip route add 20.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip25 up
exec ip route add 20.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip26 up
exec ip route add 20.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip27 up
exec ip route add 20.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip28 up
exec ip route add 20.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip29 up
exec ip route add 20.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip30 up
exec ip route add 20.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip31 up
exec ip route add 20.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip32 up
exec ip route add 20.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip33 up
exec ip route add 20.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip34 up
exec ip route add 20.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip35 up
exec ip route add 20.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip36 up
exec ip route add 20.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip37 up
exec ip route add 20.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip38 up
exec ip route add 20.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip39 up
exec ip route add 20.0.0.39/32 via ipip39
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec set interface ip address TwentyFiveGigabitEthernet3b/0/1 200.0.0.2/24.0
exec create ipip tunnel src 200.0.0.2 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-cbc-128 crypto-key 457465754c4e7a5778697271766e4b6d integ-alg sha-512-256 integ-key 454b6f73704a5177705951565a5545734e49686b614a4e61744570624543717852655177636561614962774b7a7162676c50627958545a4142594779526c4564 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-cbc-128 crypto-key 457465754c4e7a5778697271766e4b6d integ-alg sha-512-256 integ-key 454b6f73704a5177705951565a5545734e49686b614a4e61744570624543717852655177636561614962774b7a7162676c50627958545a4142594779526c4564 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-cbc-128 crypto-key 49696668595879554479584f77584244 integ-alg sha-512-256 integ-key 6d7564594c5a64636168536c554b6d4b5548427652625273676a6c5370785a515766766b6249576b7872567a585962474a4b49436c4f774b5375517a6a544e69 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-cbc-128 crypto-key 49696668595879554479584f77584244 integ-alg sha-512-256 integ-key 6d7564594c5a64636168536c554b6d4b5548427652625273676a6c5370785a515766766b6249576b7872567a585962474a4b49436c4f774b5375517a6a544e69 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-cbc-128 crypto-key 645378515150766e644945686a43716b integ-alg sha-512-256 integ-key 417972654e4f4c41456347696c43767174534b756d5763655176726e47527768517a484e50636b6b6d62425a494a4147674b645a66506554734a6e6e70635953 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-cbc-128 crypto-key 645378515150766e644945686a43716b integ-alg sha-512-256 integ-key 417972654e4f4c41456347696c43767174534b756d5763655176726e47527768517a484e50636b6b6d62425a494a4147674b645a66506554734a6e6e70635953 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-cbc-128 crypto-key 68537672544355526946445972537454 integ-alg sha-512-256 integ-key 526f4a686a506b65667345536278534a4d6d4b6f64587859697175756f67546b764c6545536f61746669434145477365626356417a6269595472556f5a415967 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-cbc-128 crypto-key 68537672544355526946445972537454 integ-alg sha-512-256 integ-key 526f4a686a506b65667345536278534a4d6d4b6f64587859697175756f67546b764c6545536f61746669434145477365626356417a6269595472556f5a415967 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-cbc-128 crypto-key 50425a4761746f6d767345726a444a48 integ-alg sha-512-256 integ-key 5058697a4c6e62566c645a74675279537a6e4c6b5879705872764d7355456c577a4c4b596b74645241535774446e4f6d79597a524c68766f554f497073664478 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-cbc-128 crypto-key 50425a4761746f6d767345726a444a48 integ-alg sha-512-256 integ-key 5058697a4c6e62566c645a74675279537a6e4c6b5879705872764d7355456c577a4c4b596b74645241535774446e4f6d79597a524c68766f554f497073664478 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-cbc-128 crypto-key 69506249784552637969746e6275514c integ-alg sha-512-256 integ-key 526e68704a45776a6876514555615275454a535a70436d4465616352515641415a51624252494369626e4c415574574956766946546275556b65634947725851 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-cbc-128 crypto-key 69506249784552637969746e6275514c integ-alg sha-512-256 integ-key 526e68704a45776a6876514555615275454a535a70436d4465616352515641415a51624252494369626e4c415574574956766946546275556b65634947725851 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-cbc-128 crypto-key 4e586f696b437961486e6c556e786954 integ-alg sha-512-256 integ-key 675a69675748437a6476786649714d6344417a6446546e455657774468707146744f556a77657153664f63776d6c4572417957654a6b6c797a676643526a4372 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-cbc-128 crypto-key 4e586f696b437961486e6c556e786954 integ-alg sha-512-256 integ-key 675a69675748437a6476786649714d6344417a6446546e455657774468707146744f556a77657153664f63776d6c4572417957654a6b6c797a676643526a4372 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-cbc-128 crypto-key 4d706d6e53666164534f425369574b6e integ-alg sha-512-256 integ-key 6676756a4a49576252485a47754a45717469795a6f4843494c4e446269454c6d6e7650444a45546c69616779547668556e517974586a7470686f656679466468 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-cbc-128 crypto-key 4d706d6e53666164534f425369574b6e integ-alg sha-512-256 integ-key 6676756a4a49576252485a47754a45717469795a6f4843494c4e446269454c6d6e7650444a45546c69616779547668556e517974586a7470686f656679466468 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-cbc-128 crypto-key 775262797a6a78656a534c7a457a6c5a integ-alg sha-512-256 integ-key 486a5856586769504d66627a76655a6e696575444b4364706957576142616b794e6c7a7953617964627165554c55795566794b6d4776676479575169426d4349 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-cbc-128 crypto-key 775262797a6a78656a534c7a457a6c5a integ-alg sha-512-256 integ-key 486a5856586769504d66627a76655a6e696575444b4364706957576142616b794e6c7a7953617964627165554c55795566794b6d4776676479575169426d4349 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-cbc-128 crypto-key 4e5572745a697577475959506c526a70 integ-alg sha-512-256 integ-key 6e6175786c656249636d7247676457677154747173464a62615945417176694a695579416a414648744c524b57677a7279707645524849475871644c50796767 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-cbc-128 crypto-key 4e5572745a697577475959506c526a70 integ-alg sha-512-256 integ-key 6e6175786c656249636d7247676457677154747173464a62615945417176694a695579416a414648744c524b57677a7279707645524849475871644c50796767 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-cbc-128 crypto-key 6a4e7a4471614d436b6163546f67564b integ-alg sha-512-256 integ-key 50724f44584c64624d59655578546c65455466494343447549744a7863426650526153686a4c6e444c684446546b4949556c5370715555566e54795557467150 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-cbc-128 crypto-key 6a4e7a4471614d436b6163546f67564b integ-alg sha-512-256 integ-key 50724f44584c64624d59655578546c65455466494343447549744a7863426650526153686a4c6e444c684446546b4949556c5370715555566e54795557467150 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-cbc-128 crypto-key 755949694851764c5642544662725171 integ-alg sha-512-256 integ-key 754e6850504d667746525a436173584f41515072466b5447516b4d584f556b45736577774358674c70637253575a716d524e6a796a466c56796149547275734d esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-cbc-128 crypto-key 755949694851764c5642544662725171 integ-alg sha-512-256 integ-key 754e6850504d667746525a436173584f41515072466b5447516b4d584f556b45736577774358674c70637253575a716d524e6a796a466c56796149547275734d esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-cbc-128 crypto-key 6d57596a6f6f48776953476344486343 integ-alg sha-512-256 integ-key 4868505a7279654f4b637142445563556879716a4d494c646b6d4e466c6c4474687170584f68566f6b6b4a7a5349484452645a44675853657767685073634655 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-cbc-128 crypto-key 6d57596a6f6f48776953476344486343 integ-alg sha-512-256 integ-key 4868505a7279654f4b637142445563556879716a4d494c646b6d4e466c6c4474687170584f68566f6b6b4a7a5349484452645a44675853657767685073634655 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-cbc-128 crypto-key 764f45466c5063746452736c57624b4a integ-alg sha-512-256 integ-key 64756e6157614f5a42544d4c416179724148774e467353556650616f76737871746d78756b6e696f61444f454d45535254574c734b786f784f6d4f587869444d esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-cbc-128 crypto-key 764f45466c5063746452736c57624b4a integ-alg sha-512-256 integ-key 64756e6157614f5a42544d4c416179724148774e467353556650616f76737871746d78756b6e696f61444f454d45535254574c734b786f784f6d4f587869444d esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-cbc-128 crypto-key 78626f6b715871666b5844646f436152 integ-alg sha-512-256 integ-key 69506159686a7764566768594c517a4c726a44597544724662664564624e4c704c73457a6b75694a707663535a48654a586a67624c41784e7a454f495370686f esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-cbc-128 crypto-key 78626f6b715871666b5844646f436152 integ-alg sha-512-256 integ-key 69506159686a7764566768594c517a4c726a44597544724662664564624e4c704c73457a6b75694a707663535a48654a586a67624c41784e7a454f495370686f esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-cbc-128 crypto-key 6c494a45734b6a464379665367756156 integ-alg sha-512-256 integ-key 424e575a78476b666d4b4a444c595a46464b68426c544479714149674e646b647768697a775176565874655573754a6c756e6968794358506f666b725a537953 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-cbc-128 crypto-key 6c494a45734b6a464379665367756156 integ-alg sha-512-256 integ-key 424e575a78476b666d4b4a444c595a46464b68426c544479714149674e646b647768697a775176565874655573754a6c756e6968794358506f666b725a537953 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-cbc-128 crypto-key 7744496f686e77566e77635847596a43 integ-alg sha-512-256 integ-key 534f787a6c576a776e4e55547744497a754a4341595341637763535461467765775a6359576f584d657973766a5a55657248706e4b47746e4b554d514d68616d esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-cbc-128 crypto-key 7744496f686e77566e77635847596a43 integ-alg sha-512-256 integ-key 534f787a6c576a776e4e55547744497a754a4341595341637763535461467765775a6359576f584d657973766a5a55657248706e4b47746e4b554d514d68616d esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-cbc-128 crypto-key 6652666f53456173594269614a62497a integ-alg sha-512-256 integ-key 554f4b4c5853644d7074676949487951415648645a756449614849415945435647444474747961466366476166666f68754f6667794b59476f61564a56756f62 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-cbc-128 crypto-key 6652666f53456173594269614a62497a integ-alg sha-512-256 integ-key 554f4b4c5853644d7074676949487951415648645a756449614849415945435647444474747961466366476166666f68754f6667794b59476f61564a56756f62 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-cbc-128 crypto-key 504444486c4a6b496271414165655675 integ-alg sha-512-256 integ-key 6d504c7a787152747966797767446a724369677468444d6e6f57416a54734253646c51615265786a554957566e4e4d68746b51634258705043664e4d67514a41 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-cbc-128 crypto-key 504444486c4a6b496271414165655675 integ-alg sha-512-256 integ-key 6d504c7a787152747966797767446a724369677468444d6e6f57416a54734253646c51615265786a554957566e4e4d68746b51634258705043664e4d67514a41 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-cbc-128 crypto-key 4b7677566273615a43656c4767597274 integ-alg sha-512-256 integ-key 4d507463627a6b684964596c514846524e48624b78426e66485a7768694e7a767574546c4f68426c59514b43586f4a745a764974416863614b485853696b7453 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-cbc-128 crypto-key 4b7677566273615a43656c4767597274 integ-alg sha-512-256 integ-key 4d507463627a6b684964596c514846524e48624b78426e66485a7768694e7a767574546c4f68426c59514b43586f4a745a764974416863614b485853696b7453 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-cbc-128 crypto-key 5a6b45544679416f6f69725a77506d74 integ-alg sha-512-256 integ-key 786854736d69576e766365544c69435153575572466c6373414d7a4471496d4d645344414978495a534c615a4250536271514c47504967484673506372466153 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-cbc-128 crypto-key 5a6b45544679416f6f69725a77506d74 integ-alg sha-512-256 integ-key 786854736d69576e766365544c69435153575572466c6373414d7a4471496d4d645344414978495a534c615a4250536271514c47504967484673506372466153 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-cbc-128 crypto-key 564a47415944537555714c6650747863 integ-alg sha-512-256 integ-key 4648737a6d4c4a694a7862706d434d7a6e506d6b674a6945474d665152624561796e746d7856574b4e6756686a64766d46457947434244426b6d44514c54754a esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-cbc-128 crypto-key 564a47415944537555714c6650747863 integ-alg sha-512-256 integ-key 4648737a6d4c4a694a7862706d434d7a6e506d6b674a6945474d665152624561796e746d7856574b4e6756686a64766d46457947434244426b6d44514c54754a esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-cbc-128 crypto-key 544e776b6a466854664b5853627a6871 integ-alg sha-512-256 integ-key 45696f4950487a5453445a5459797977506978786e587a786c42526955565a414e554666484f4d4f6e7075724a667062445349526b6f7243657a6f706c6c7451 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-cbc-128 crypto-key 544e776b6a466854664b5853627a6871 integ-alg sha-512-256 integ-key 45696f4950487a5453445a5459797977506978786e587a786c42526955565a414e554666484f4d4f6e7075724a667062445349526b6f7243657a6f706c6c7451 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-cbc-128 crypto-key 68706e4b47586467446c707a77634b43 integ-alg sha-512-256 integ-key 76505a5941616c724757554c7158466b4a43725459554b6e576f736b58737073745949766d7a4241615848746c577758796a544a706a42585a49796379515042 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-cbc-128 crypto-key 68706e4b47586467446c707a77634b43 integ-alg sha-512-256 integ-key 76505a5941616c724757554c7158466b4a43725459554b6e576f736b58737073745949766d7a4241615848746c577758796a544a706a42585a49796379515042 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-cbc-128 crypto-key 514e737275574155666b6879746d5856 integ-alg sha-512-256 integ-key 677a475366514378794a7773706a4145737a57656c7878704d77496c6f7755464f44644b764a595044714a56696c55707745637857534b4874536c4f67496e51 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-cbc-128 crypto-key 514e737275574155666b6879746d5856 integ-alg sha-512-256 integ-key 677a475366514378794a7773706a4145737a57656c7878704d77496c6f7755464f44644b764a595044714a56696c55707745637857534b4874536c4f67496e51 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-cbc-128 crypto-key 55546f796d4a67766c57786771497366 integ-alg sha-512-256 integ-key 56717a6d787073455375617147674571417251496d5259494f494b42765942766871616641706f774a594478426e437368706a635471684d47756e4d76676474 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-cbc-128 crypto-key 55546f796d4a67766c57786771497366 integ-alg sha-512-256 integ-key 56717a6d787073455375617147674571417251496d5259494f494b42765942766871616641706f774a594478426e437368706a635471684d47756e4d76676474 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-cbc-128 crypto-key 574d68657553724f494f7a7454527563 integ-alg sha-512-256 integ-key 6c6464706646776865634e5047554b7271424a774f67516772524c4142535249534c4e7666746d73614473444b79696f466676544a766f655a4c4d666c45556d esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-cbc-128 crypto-key 574d68657553724f494f7a7454527563 integ-alg sha-512-256 integ-key 6c6464706646776865634e5047554b7271424a774f67516772524c4142535249534c4e7666746d73614473444b79696f466676544a766f655a4c4d666c45556d esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-cbc-128 crypto-key 59595344716145696c7251755265465a integ-alg sha-512-256 integ-key 49557a764c58737662797972476e58516d58644b744f74454f71476555556f6e65495a6d516c7a7158564350446d45496e4b534473784241416b575274784c48 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-cbc-128 crypto-key 59595344716145696c7251755265465a integ-alg sha-512-256 integ-key 49557a764c58737662797972476e58516d58644b744f74454f71476555556f6e65495a6d516c7a7158564350446d45496e4b534473784241416b575274784c48 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-cbc-128 crypto-key 534f59614866524e796b724172666f47 integ-alg sha-512-256 integ-key 506f45747a5271594646546167704b4877506a4a7274686a7741426e6e72796445526e734a774f57784875594664434f616b7a62454f4165786145594c6e7068 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-cbc-128 crypto-key 534f59614866524e796b724172666f47 integ-alg sha-512-256 integ-key 506f45747a5271594646546167704b4877506a4a7274686a7741426e6e72796445526e734a774f57784875594664434f616b7a62454f4165786145594c6e7068 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-cbc-128 crypto-key 6e46744d5762684e544d59697a49556a integ-alg sha-512-256 integ-key 626b546179444666494d4e736d466f4f5575434c737446694d47764e66456671444e797670766b41476762516a74425551744d5a41476d755445704750777650 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-cbc-128 crypto-key 6e46744d5762684e544d59697a49556a integ-alg sha-512-256 integ-key 626b546179444666494d4e736d466f4f5575434c737446694d47764e66456671444e797670766b41476762516a74425551744d5a41476d755445704750777650 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-cbc-128 crypto-key 726e6b795a6f694865536a75774a796d integ-alg sha-512-256 integ-key 76644f63635a4f7759794753714b51535a574941555358684e4e4352564b5764546e545a4564696f6b684c66476b6a554c68464b4c634f75574f53694e65416c esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-cbc-128 crypto-key 726e6b795a6f694865536a75774a796d integ-alg sha-512-256 integ-key 76644f63635a4f7759794753714b51535a574941555358684e4e4352564b5764546e545a4564696f6b684c66476b6a554c68464b4c634f75574f53694e65416c esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-cbc-128 crypto-key 6672416e704752517853436657666d49 integ-alg sha-512-256 integ-key 496a7951507544714266424251795a47574a4a435a79486f764371507a6d587777444d63586b4d62717075685a4e52464b55684f42676e4c526b536b506f7579 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-cbc-128 crypto-key 6672416e704752517853436657666d49 integ-alg sha-512-256 integ-key 496a7951507544714266424251795a47574a4a435a79486f764371507a6d587777444d63586b4d62717075685a4e52464b55684f42676e4c526b536b506f7579 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-cbc-128 crypto-key 555a70667a65576c6951555366524b4c integ-alg sha-512-256 integ-key 78656e65764141776f4f71634a6d6253667750754c6b734a43644d4b73667346564b5067456759504e596765674b717861756b624b57424a53524951434e4b47 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-cbc-128 crypto-key 555a70667a65576c6951555366524b4c integ-alg sha-512-256 integ-key 78656e65764141776f4f71634a6d6253667750754c6b734a43644d4b73667346564b5067456759504e596765674b717861756b624b57424a53524951434e4b47 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-cbc-128 crypto-key 4d4c636b4b4c4a796f414e63796f6e53 integ-alg sha-512-256 integ-key 4559476b597273474f565a504e784f436c6b7a6a416654576941664c744945715679497355456a7744424858745a444d6a4c48496967696d586852614a4b704b esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-cbc-128 crypto-key 4d4c636b4b4c4a796f414e63796f6e53 integ-alg sha-512-256 integ-key 4559476b597273474f565a504e784f436c6b7a6a416654576941664c744945715679497355456a7744424858745a444d6a4c48496967696d586852614a4b704b esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-cbc-128 crypto-key 544c5678494566467654515749565768 integ-alg sha-512-256 integ-key 795449615a7263725775436152535a55666b706d4c645651486e534c634b514e58666a5954704e55626153786a4b735371425a49576e59586d6b6d7751454664 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-cbc-128 crypto-key 544c5678494566467654515749565768 integ-alg sha-512-256 integ-key 795449615a7263725775436152535a55666b706d4c645651486e534c634b514e58666a5954704e55626153786a4b735371425a49576e59586d6b6d7751454664 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-cbc-128 crypto-key 624c736a6143634e7a4d5a706c516c75 integ-alg sha-512-256 integ-key 796f66516e6442737367516445714c62784d4a6b464f4d5a62487974616d6e496e464c644c5144486d6856625845574a71535a416b64495a536943585a427a67 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-cbc-128 crypto-key 624c736a6143634e7a4d5a706c516c75 integ-alg sha-512-256 integ-key 796f66516e6442737367516445714c62784d4a6b464f4d5a62487974616d6e496e464c644c5144486d6856625845574a71535a416b64495a536943585a427a67 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-cbc-128 crypto-key 704c697664727a714b77594e6655424d integ-alg sha-512-256 integ-key 7a734174706971596c6c674e474358435a5168456d767a4347666b7443525078567458556d5a53414f504d446e48557855456672736d515542624c62457a5a77 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-cbc-128 crypto-key 704c697664727a714b77594e6655424d integ-alg sha-512-256 integ-key 7a734174706971596c6c674e474358435a5168456d767a4347666b7443525078567458556d5a53414f504d446e48557855456672736d515542624c62457a5a77 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-cbc-128 crypto-key 51756f7a69416551545851654a625758 integ-alg sha-512-256 integ-key 7a4d776679776770506874786b4a4d676a6b6655586879644f576e4a7a414a6c486678724d6252496b52576673654c61776f4d6178524a7a44616e59454e6d4a esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-cbc-128 crypto-key 51756f7a69416551545851654a625758 integ-alg sha-512-256 integ-key 7a4d776679776770506874786b4a4d676a6b6655586879644f576e4a7a414a6c486678724d6252496b52576673654c61776f4d6178524a7a44616e59454e6d4a esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-cbc-128 crypto-key 626c72724b57536b4b6f424145795061 integ-alg sha-512-256 integ-key 74414a52426557776a7364766e6a4f6b667544697a48776753634546574f444158576f427150447577575170516a4e62444344694667504168744e58746d6d6f esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-cbc-128 crypto-key 626c72724b57536b4b6f424145795061 integ-alg sha-512-256 integ-key 74414a52426557776a7364766e6a4f6b667544697a48776753634546574f444158576f427150447577575170516a4e62444344694667504168744e58746d6d6f esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-cbc-128 crypto-key 50456f524b567071444e75674d5a6b6b integ-alg sha-512-256 integ-key 66755457517971556f764c4b50644850786f6b4e465a4d55714642495a6378664d4c684242586479667543526a4d6377626e6f5069587a584342427a6c546963 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-cbc-128 crypto-key 50456f524b567071444e75674d5a6b6b integ-alg sha-512-256 integ-key 66755457517971556f764c4b50644850786f6b4e465a4d55714642495a6378664d4c684242586479667543526a4d6377626e6f5069587a584342427a6c546963 esp
exec ipsec tunnel protect ipip39 sa-out 100039 sa-in 39 add
exec ip route add 100.0.0.1/8 via 200.0.0.1 TwentyFiveGigabitEthernet3b/0/1
exec set interface unnumbered ipip0 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip0 up
exec ip route add 10.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip1 up
exec ip route add 10.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip2 up
exec ip route add 10.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip3 up
exec ip route add 10.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip4 up
exec ip route add 10.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip5 up
exec ip route add 10.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip6 up
exec ip route add 10.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip7 up
exec ip route add 10.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip8 up
exec ip route add 10.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip9 up
exec ip route add 10.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip10 up
exec ip route add 10.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip11 up
exec ip route add 10.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip12 up
exec ip route add 10.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip13 up
exec ip route add 10.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip14 up
exec ip route add 10.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip15 up
exec ip route add 10.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip16 up
exec ip route add 10.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip17 up
exec ip route add 10.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip18 up
exec ip route add 10.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip19 up
exec ip route add 10.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip20 up
exec ip route add 10.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip21 up
exec ip route add 10.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip22 up
exec ip route add 10.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip23 up
exec ip route add 10.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip24 up
exec ip route add 10.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip25 up
exec ip route add 10.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip26 up
exec ip route add 10.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip27 up
exec ip route add 10.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip28 up
exec ip route add 10.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip29 up
exec ip route add 10.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip30 up
exec ip route add 10.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip31 up
exec ip route add 10.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip32 up
exec ip route add 10.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip33 up
exec ip route add 10.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip34 up
exec ip route add 10.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip35 up
exec ip route add 10.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip36 up
exec ip route add 10.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip37 up
exec ip route add 10.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip38 up
exec ip route add 10.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip39 up
exec ip route add 10.0.0.39/32 via ipip39

 1518b-2t1c-ethip4ipsec40tnlsw-ip4base- 
int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec create loopback interface
exec set interface state loop0 up
exec set interface ip address TwentyFiveGigabitEthernet3b/0/1 200.0.0.1/24
exec set ip neighbor TwentyFiveGigabitEthernet3b/0/1 200.0.0.2 3c:fd:fe:bd:f8:fd static
exec set interface ip address loop0 100.0.0.1/32
exec create ipip tunnel src 100.0.0.1 dst 200.0.0.2 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-cbc-128 crypto-key 586a6477524c534d776f71766c576269 integ-alg sha-512-256 integ-key 717764514f736d46475870526d796e76794e675462524f485378744a4741644850614c7549444462587a70476a7a4a5a62767665434d53546f7479596d6e4a72 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-cbc-128 crypto-key 586a6477524c534d776f71766c576269 integ-alg sha-512-256 integ-key 717764514f736d46475870526d796e76794e675462524f485378744a4741644850614c7549444462587a70476a7a4a5a62767665434d53546f7479596d6e4a72 esp
exec ipsec tunnel protect ipip0 sa-out 0 sa-in 100000 add
exec set interface ip address loop0 100.0.1.1/32
exec create ipip tunnel src 100.0.1.1 dst 200.0.0.2 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-cbc-128 crypto-key 74664855644e6e6c455a6c4741576244 integ-alg sha-512-256 integ-key 6a554451765264564e666c4d7a5471424b5449774f7a7845426a43747947474b764c504d7641784c46584e7546764e7052724f44417749646550627379554151 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-cbc-128 crypto-key 74664855644e6e6c455a6c4741576244 integ-alg sha-512-256 integ-key 6a554451765264564e666c4d7a5471424b5449774f7a7845426a43747947474b764c504d7641784c46584e7546764e7052724f44417749646550627379554151 esp
exec ipsec tunnel protect ipip1 sa-out 1 sa-in 100001 add
exec set interface ip address loop0 100.0.2.1/32
exec create ipip tunnel src 100.0.2.1 dst 200.0.0.2 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-cbc-128 crypto-key 6b484368504f514d58566f726a436f76 integ-alg sha-512-256 integ-key 6d6858556878586b4f77666c746f706871664f694555536c7443624d757573734c4e4f5051457077695a446c6f67496d446e74556d7a65534861544759455a68 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-cbc-128 crypto-key 6b484368504f514d58566f726a436f76 integ-alg sha-512-256 integ-key 6d6858556878586b4f77666c746f706871664f694555536c7443624d757573734c4e4f5051457077695a446c6f67496d446e74556d7a65534861544759455a68 esp
exec ipsec tunnel protect ipip2 sa-out 2 sa-in 100002 add
exec set interface ip address loop0 100.0.3.1/32
exec create ipip tunnel src 100.0.3.1 dst 200.0.0.2 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-cbc-128 crypto-key 744d687370725179554e535564766272 integ-alg sha-512-256 integ-key 5a54796845635a675148474847744d4c48624e50615456486b49646963704e794d4a45707a4a6c5370656d477a495979774c55626a4b62534443506150686c54 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-cbc-128 crypto-key 744d687370725179554e535564766272 integ-alg sha-512-256 integ-key 5a54796845635a675148474847744d4c48624e50615456486b49646963704e794d4a45707a4a6c5370656d477a495979774c55626a4b62534443506150686c54 esp
exec ipsec tunnel protect ipip3 sa-out 3 sa-in 100003 add
exec set interface ip address loop0 100.0.4.1/32
exec create ipip tunnel src 100.0.4.1 dst 200.0.0.2 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-cbc-128 crypto-key 646456694447735177474447706d6153 integ-alg sha-512-256 integ-key 634c58526d534867697267626b6755564c51445043724453536f437775696a5366545a736b7370736e5669584b70664e6c4c4e454f43574d566a49645769514e esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-cbc-128 crypto-key 646456694447735177474447706d6153 integ-alg sha-512-256 integ-key 634c58526d534867697267626b6755564c51445043724453536f437775696a5366545a736b7370736e5669584b70664e6c4c4e454f43574d566a49645769514e esp
exec ipsec tunnel protect ipip4 sa-out 4 sa-in 100004 add
exec set interface ip address loop0 100.0.5.1/32
exec create ipip tunnel src 100.0.5.1 dst 200.0.0.2 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-cbc-128 crypto-key 514a586a724a506c61534c6b57775642 integ-alg sha-512-256 integ-key 746b4b724b794d72537577696c697a52566661786b42424f4b6a416a5851594f706768794b70754f6750656842784c585441746f587a44666257794769646a65 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-cbc-128 crypto-key 514a586a724a506c61534c6b57775642 integ-alg sha-512-256 integ-key 746b4b724b794d72537577696c697a52566661786b42424f4b6a416a5851594f706768794b70754f6750656842784c585441746f587a44666257794769646a65 esp
exec ipsec tunnel protect ipip5 sa-out 5 sa-in 100005 add
exec set interface ip address loop0 100.0.6.1/32
exec create ipip tunnel src 100.0.6.1 dst 200.0.0.2 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-cbc-128 crypto-key 5a4a617a637177524c6c566a61467448 integ-alg sha-512-256 integ-key 52554b6a52436a44687669456c526f6255566a547a7a724b6867537a58535364766f6c726577686277685341414673717a496d6f6f736f667659434577436a55 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-cbc-128 crypto-key 5a4a617a637177524c6c566a61467448 integ-alg sha-512-256 integ-key 52554b6a52436a44687669456c526f6255566a547a7a724b6867537a58535364766f6c726577686277685341414673717a496d6f6f736f667659434577436a55 esp
exec ipsec tunnel protect ipip6 sa-out 6 sa-in 100006 add
exec set interface ip address loop0 100.0.7.1/32
exec create ipip tunnel src 100.0.7.1 dst 200.0.0.2 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-cbc-128 crypto-key 457377786d6a5a5458546b574d506e74 integ-alg sha-512-256 integ-key 5a435357416b6e46706c646a5a61696b4e6c48686872766a6f56734c6a784e6d696666424c49575546595270456c45576e46614b6a46667570665661614e4150 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-cbc-128 crypto-key 457377786d6a5a5458546b574d506e74 integ-alg sha-512-256 integ-key 5a435357416b6e46706c646a5a61696b4e6c48686872766a6f56734c6a784e6d696666424c49575546595270456c45576e46614b6a46667570665661614e4150 esp
exec ipsec tunnel protect ipip7 sa-out 7 sa-in 100007 add
exec set interface ip address loop0 100.0.8.1/32
exec create ipip tunnel src 100.0.8.1 dst 200.0.0.2 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-cbc-128 crypto-key 4a77756c544445774d4f4c616a487757 integ-alg sha-512-256 integ-key 4d454e7a67494e4f6f49474b677a6154546a6f5757545755574a51474c6a5061514c6e42614e55564c686541566141536165414d426e6856765a5879735a5543 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-cbc-128 crypto-key 4a77756c544445774d4f4c616a487757 integ-alg sha-512-256 integ-key 4d454e7a67494e4f6f49474b677a6154546a6f5757545755574a51474c6a5061514c6e42614e55564c686541566141536165414d426e6856765a5879735a5543 esp
exec ipsec tunnel protect ipip8 sa-out 8 sa-in 100008 add
exec set interface ip address loop0 100.0.9.1/32
exec create ipip tunnel src 100.0.9.1 dst 200.0.0.2 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-cbc-128 crypto-key 586a584842635659776f4b44624f4773 integ-alg sha-512-256 integ-key 53544d44754a6f66674b5a524772714766787a4e4c76445859766f566a47695a54436547744d53504f4556696c4f4a4f547a6e554f5a65586d59664265694257 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-cbc-128 crypto-key 586a584842635659776f4b44624f4773 integ-alg sha-512-256 integ-key 53544d44754a6f66674b5a524772714766787a4e4c76445859766f566a47695a54436547744d53504f4556696c4f4a4f547a6e554f5a65586d59664265694257 esp
exec ipsec tunnel protect ipip9 sa-out 9 sa-in 100009 add
exec set interface ip address loop0 100.0.10.1/32
exec create ipip tunnel src 100.0.10.1 dst 200.0.0.2 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-cbc-128 crypto-key 486d63686e4d5a41504c714f4e43484d integ-alg sha-512-256 integ-key 6c467754454d497173566d6c5941456147794e696e5273446b7348524b44446c70786443734542554a62515644536779727269774e694f756569464748456d43 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-cbc-128 crypto-key 486d63686e4d5a41504c714f4e43484d integ-alg sha-512-256 integ-key 6c467754454d497173566d6c5941456147794e696e5273446b7348524b44446c70786443734542554a62515644536779727269774e694f756569464748456d43 esp
exec ipsec tunnel protect ipip10 sa-out 10 sa-in 100010 add
exec set interface ip address loop0 100.0.11.1/32
exec create ipip tunnel src 100.0.11.1 dst 200.0.0.2 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-cbc-128 crypto-key 4c47787864455a586e6452454356616e integ-alg sha-512-256 integ-key 49735364666e62704553794b77467046506a786d6152584c4e684655456c724d65657044694f4764565a5576735a654144454e7a45586c554668597955724655 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-cbc-128 crypto-key 4c47787864455a586e6452454356616e integ-alg sha-512-256 integ-key 49735364666e62704553794b77467046506a786d6152584c4e684655456c724d65657044694f4764565a5576735a654144454e7a45586c554668597955724655 esp
exec ipsec tunnel protect ipip11 sa-out 11 sa-in 100011 add
exec set interface ip address loop0 100.0.12.1/32
exec create ipip tunnel src 100.0.12.1 dst 200.0.0.2 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-cbc-128 crypto-key 495454466c49414a5747587277414e79 integ-alg sha-512-256 integ-key 4c65717553425951784552796d6146726f487a51726a49536c474274545458474e676c4b78456f6e62794578784b495450437a6c577443717761507278446858 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-cbc-128 crypto-key 495454466c49414a5747587277414e79 integ-alg sha-512-256 integ-key 4c65717553425951784552796d6146726f487a51726a49536c474274545458474e676c4b78456f6e62794578784b495450437a6c577443717761507278446858 esp
exec ipsec tunnel protect ipip12 sa-out 12 sa-in 100012 add
exec set interface ip address loop0 100.0.13.1/32
exec create ipip tunnel src 100.0.13.1 dst 200.0.0.2 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-cbc-128 crypto-key 7366436369555345645773556b765a6b integ-alg sha-512-256 integ-key 55497464506d6c434e764e61744f7672455a67456d4e574569537256416a596a77794d5a786642485a5455596b61526c446c5358716f5772614b785a58684555 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-cbc-128 crypto-key 7366436369555345645773556b765a6b integ-alg sha-512-256 integ-key 55497464506d6c434e764e61744f7672455a67456d4e574569537256416a596a77794d5a786642485a5455596b61526c446c5358716f5772614b785a58684555 esp
exec ipsec tunnel protect ipip13 sa-out 13 sa-in 100013 add
exec set interface ip address loop0 100.0.14.1/32
exec create ipip tunnel src 100.0.14.1 dst 200.0.0.2 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-cbc-128 crypto-key 4e66634c44757373684c674f6a4e416c integ-alg sha-512-256 integ-key 6b4855435a5a794142535a4e49516c6854456d64626d697647636345677074484b6f6e5a62716b6c5248515344614a6e457879716d425a73724453455a6b6b6b esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-cbc-128 crypto-key 4e66634c44757373684c674f6a4e416c integ-alg sha-512-256 integ-key 6b4855435a5a794142535a4e49516c6854456d64626d697647636345677074484b6f6e5a62716b6c5248515344614a6e457879716d425a73724453455a6b6b6b esp
exec ipsec tunnel protect ipip14 sa-out 14 sa-in 100014 add
exec set interface ip address loop0 100.0.15.1/32
exec create ipip tunnel src 100.0.15.1 dst 200.0.0.2 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-cbc-128 crypto-key 5a7655717770617267704d79596f6f44 integ-alg sha-512-256 integ-key 7543645947426d51614652577368594c72507949647269795557446470444c5a6d42627750794d78625843595a41725278697278446a45684153736c7a61767a esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-cbc-128 crypto-key 5a7655717770617267704d79596f6f44 integ-alg sha-512-256 integ-key 7543645947426d51614652577368594c72507949647269795557446470444c5a6d42627750794d78625843595a41725278697278446a45684153736c7a61767a esp
exec ipsec tunnel protect ipip15 sa-out 15 sa-in 100015 add
exec set interface ip address loop0 100.0.16.1/32
exec create ipip tunnel src 100.0.16.1 dst 200.0.0.2 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-cbc-128 crypto-key 59727a596847584b5054726254454d64 integ-alg sha-512-256 integ-key 4a454a7864734d4859426a454e76695a656a546c4e51464c52695663524a755565684e534a4b584a516971455146596d734741466d66704e7562614a46535048 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-cbc-128 crypto-key 59727a596847584b5054726254454d64 integ-alg sha-512-256 integ-key 4a454a7864734d4859426a454e76695a656a546c4e51464c52695663524a755565684e534a4b584a516971455146596d734741466d66704e7562614a46535048 esp
exec ipsec tunnel protect ipip16 sa-out 16 sa-in 100016 add
exec set interface ip address loop0 100.0.17.1/32
exec create ipip tunnel src 100.0.17.1 dst 200.0.0.2 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-cbc-128 crypto-key 4376707349595a4e61574f6b6a6c4e53 integ-alg sha-512-256 integ-key 69596e50584e6b78765676526f566e4279484e61454f4161675451625a4142566545416e65644a68676751544259427970686e495974667741584d4f7941584a esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-cbc-128 crypto-key 4376707349595a4e61574f6b6a6c4e53 integ-alg sha-512-256 integ-key 69596e50584e6b78765676526f566e4279484e61454f4161675451625a4142566545416e65644a68676751544259427970686e495974667741584d4f7941584a esp
exec ipsec tunnel protect ipip17 sa-out 17 sa-in 100017 add
exec set interface ip address loop0 100.0.18.1/32
exec create ipip tunnel src 100.0.18.1 dst 200.0.0.2 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-cbc-128 crypto-key 4a47546a724b4d76746c4e534247476c integ-alg sha-512-256 integ-key 664d6150784c594b66616b736b776e484d7855456854634f495a7a595257475a6c637443504475456c63526f67416c4a58646a57744b6f5a476e655176425a48 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-cbc-128 crypto-key 4a47546a724b4d76746c4e534247476c integ-alg sha-512-256 integ-key 664d6150784c594b66616b736b776e484d7855456854634f495a7a595257475a6c637443504475456c63526f67416c4a58646a57744b6f5a476e655176425a48 esp
exec ipsec tunnel protect ipip18 sa-out 18 sa-in 100018 add
exec set interface ip address loop0 100.0.19.1/32
exec create ipip tunnel src 100.0.19.1 dst 200.0.0.2 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-cbc-128 crypto-key 64594c6c53586f645979596258494a58 integ-alg sha-512-256 integ-key 6e446e71434248574b66764c436f4e734e70474e724c584968785347456f6e5257684b617a6747674156526f776772794b48556170694a584f78786356527476 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-cbc-128 crypto-key 64594c6c53586f645979596258494a58 integ-alg sha-512-256 integ-key 6e446e71434248574b66764c436f4e734e70474e724c584968785347456f6e5257684b617a6747674156526f776772794b48556170694a584f78786356527476 esp
exec ipsec tunnel protect ipip19 sa-out 19 sa-in 100019 add
exec set interface ip address loop0 100.0.20.1/32
exec create ipip tunnel src 100.0.20.1 dst 200.0.0.2 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-cbc-128 crypto-key 51586368757a464a4679614457466446 integ-alg sha-512-256 integ-key 6b576f484b7768776a46706a45464362695347736f4f7167644b4c4646527258784657655476706b414865665543634155554d4e6b6771546c6e6a5472635872 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-cbc-128 crypto-key 51586368757a464a4679614457466446 integ-alg sha-512-256 integ-key 6b576f484b7768776a46706a45464362695347736f4f7167644b4c4646527258784657655476706b414865665543634155554d4e6b6771546c6e6a5472635872 esp
exec ipsec tunnel protect ipip20 sa-out 20 sa-in 100020 add
exec set interface ip address loop0 100.0.21.1/32
exec create ipip tunnel src 100.0.21.1 dst 200.0.0.2 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-cbc-128 crypto-key 49696f4e744d62446865646962556e46 integ-alg sha-512-256 integ-key 70706869486345686a5243425279526c61667a5a756a5858556c616e4e6e4843414654736f714b4d6253754d4a635950764e62445364656e6a566b6d6d776d62 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-cbc-128 crypto-key 49696f4e744d62446865646962556e46 integ-alg sha-512-256 integ-key 70706869486345686a5243425279526c61667a5a756a5858556c616e4e6e4843414654736f714b4d6253754d4a635950764e62445364656e6a566b6d6d776d62 esp
exec ipsec tunnel protect ipip21 sa-out 21 sa-in 100021 add
exec set interface ip address loop0 100.0.22.1/32
exec create ipip tunnel src 100.0.22.1 dst 200.0.0.2 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-cbc-128 crypto-key 6b52634c5a68444652547679486b4e52 integ-alg sha-512-256 integ-key 4161776d5472676d75454d7366676a766770476b43725559476e726f496671454d654f464b76516b5a70627a787a715a7050694f55646e66576d635554747850 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-cbc-128 crypto-key 6b52634c5a68444652547679486b4e52 integ-alg sha-512-256 integ-key 4161776d5472676d75454d7366676a766770476b43725559476e726f496671454d654f464b76516b5a70627a787a715a7050694f55646e66576d635554747850 esp
exec ipsec tunnel protect ipip22 sa-out 22 sa-in 100022 add
exec set interface ip address loop0 100.0.23.1/32
exec create ipip tunnel src 100.0.23.1 dst 200.0.0.2 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-cbc-128 crypto-key 6378586870554550526e42454c4b6c75 integ-alg sha-512-256 integ-key 7a79484d556d4854424f52434d425541726d5554514466797865576b74654761506f6451724d5a6c4e7458555144446a45656955496a417462545a486c556844 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-cbc-128 crypto-key 6378586870554550526e42454c4b6c75 integ-alg sha-512-256 integ-key 7a79484d556d4854424f52434d425541726d5554514466797865576b74654761506f6451724d5a6c4e7458555144446a45656955496a417462545a486c556844 esp
exec ipsec tunnel protect ipip23 sa-out 23 sa-in 100023 add
exec set interface ip address loop0 100.0.24.1/32
exec create ipip tunnel src 100.0.24.1 dst 200.0.0.2 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-cbc-128 crypto-key 7063577a676e45586b666a4e4d796570 integ-alg sha-512-256 integ-key 467a4c73536b625a7a6b71775169506a4e57556a78576149756e697077676b767379764c6f795244756b496479427546415262554a79707a6a526d567257794c esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-cbc-128 crypto-key 7063577a676e45586b666a4e4d796570 integ-alg sha-512-256 integ-key 467a4c73536b625a7a6b71775169506a4e57556a78576149756e697077676b767379764c6f795244756b496479427546415262554a79707a6a526d567257794c esp
exec ipsec tunnel protect ipip24 sa-out 24 sa-in 100024 add
exec set interface ip address loop0 100.0.25.1/32
exec create ipip tunnel src 100.0.25.1 dst 200.0.0.2 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-cbc-128 crypto-key 51656b696169796c6a7072556d7a6b65 integ-alg sha-512-256 integ-key 486a534d6b735769616e445575726d5a6b4a7a514c6a527977666d74466d49474459767357637976414b514a436368614a544279764a6f756976626b41414276 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-cbc-128 crypto-key 51656b696169796c6a7072556d7a6b65 integ-alg sha-512-256 integ-key 486a534d6b735769616e445575726d5a6b4a7a514c6a527977666d74466d49474459767357637976414b514a436368614a544279764a6f756976626b41414276 esp
exec ipsec tunnel protect ipip25 sa-out 25 sa-in 100025 add
exec set interface ip address loop0 100.0.26.1/32
exec create ipip tunnel src 100.0.26.1 dst 200.0.0.2 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-cbc-128 crypto-key 4d744c436f756b57744c6c754b446666 integ-alg sha-512-256 integ-key 68616b4f6277524361527143547543657a7541457458696c496f69515078536352556c747a6446496869506478734445757072657a785a436449785972695346 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-cbc-128 crypto-key 4d744c436f756b57744c6c754b446666 integ-alg sha-512-256 integ-key 68616b4f6277524361527143547543657a7541457458696c496f69515078536352556c747a6446496869506478734445757072657a785a436449785972695346 esp
exec ipsec tunnel protect ipip26 sa-out 26 sa-in 100026 add
exec set interface ip address loop0 100.0.27.1/32
exec create ipip tunnel src 100.0.27.1 dst 200.0.0.2 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-cbc-128 crypto-key 4c4e5863516b61427158436871455176 integ-alg sha-512-256 integ-key 5756594e504962696850686b6b6f55666d756a505a6851716855656253674e6a6478465471585a76706d61486f5a7545446d6f71694a58454b44556869426a6e esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-cbc-128 crypto-key 4c4e5863516b61427158436871455176 integ-alg sha-512-256 integ-key 5756594e504962696850686b6b6f55666d756a505a6851716855656253674e6a6478465471585a76706d61486f5a7545446d6f71694a58454b44556869426a6e esp
exec ipsec tunnel protect ipip27 sa-out 27 sa-in 100027 add
exec set interface ip address loop0 100.0.28.1/32
exec create ipip tunnel src 100.0.28.1 dst 200.0.0.2 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-cbc-128 crypto-key 545a6b78726a5472534462745250436c integ-alg sha-512-256 integ-key 4d55666e464642414b6945684942654b6e66587668584f776548446d4e55664b5a6b5a5277515a514c757544666e796d79705a77436a6645487a4a4f46516f4f esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-cbc-128 crypto-key 545a6b78726a5472534462745250436c integ-alg sha-512-256 integ-key 4d55666e464642414b6945684942654b6e66587668584f776548446d4e55664b5a6b5a5277515a514c757544666e796d79705a77436a6645487a4a4f46516f4f esp
exec ipsec tunnel protect ipip28 sa-out 28 sa-in 100028 add
exec set interface ip address loop0 100.0.29.1/32
exec create ipip tunnel src 100.0.29.1 dst 200.0.0.2 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-cbc-128 crypto-key 4a5561666167546c546578505a416475 integ-alg sha-512-256 integ-key 4b4278465746705142584c794d746253755371784a4855534c4b6a5273464d6a70654269464a6f484e42587566496b72644d654f6f725273757a4b5065797845 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-cbc-128 crypto-key 4a5561666167546c546578505a416475 integ-alg sha-512-256 integ-key 4b4278465746705142584c794d746253755371784a4855534c4b6a5273464d6a70654269464a6f484e42587566496b72644d654f6f725273757a4b5065797845 esp
exec ipsec tunnel protect ipip29 sa-out 29 sa-in 100029 add
exec set interface ip address loop0 100.0.30.1/32
exec create ipip tunnel src 100.0.30.1 dst 200.0.0.2 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-cbc-128 crypto-key 66476e5a7a716b4f7a6a69727a597054 integ-alg sha-512-256 integ-key 4a454e65795563596464476c797a54686775695a56546b70515744784b64466a5265646e4278765a477678654a6c7458696869686e57625658706543506b4f74 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-cbc-128 crypto-key 66476e5a7a716b4f7a6a69727a597054 integ-alg sha-512-256 integ-key 4a454e65795563596464476c797a54686775695a56546b70515744784b64466a5265646e4278765a477678654a6c7458696869686e57625658706543506b4f74 esp
exec ipsec tunnel protect ipip30 sa-out 30 sa-in 100030 add
exec set interface ip address loop0 100.0.31.1/32
exec create ipip tunnel src 100.0.31.1 dst 200.0.0.2 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-cbc-128 crypto-key 71724668427242567273654b746a577a integ-alg sha-512-256 integ-key 684557747754526346727541714e486f6453496c726a6b456f4f664969704d5a7a4e767657794d7966676e51566e41665242585355434a454f6c766d4d4c4b63 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-cbc-128 crypto-key 71724668427242567273654b746a577a integ-alg sha-512-256 integ-key 684557747754526346727541714e486f6453496c726a6b456f4f664969704d5a7a4e767657794d7966676e51566e41665242585355434a454f6c766d4d4c4b63 esp
exec ipsec tunnel protect ipip31 sa-out 31 sa-in 100031 add
exec set interface ip address loop0 100.0.32.1/32
exec create ipip tunnel src 100.0.32.1 dst 200.0.0.2 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-cbc-128 crypto-key 53624361674973667243674370576e57 integ-alg sha-512-256 integ-key 744a534c424c47456767614c7554644a79756157704658717a4b634d50634654526144426f756a4a5450466f74496d4c744e4571484d78787049544e45786846 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-cbc-128 crypto-key 53624361674973667243674370576e57 integ-alg sha-512-256 integ-key 744a534c424c47456767614c7554644a79756157704658717a4b634d50634654526144426f756a4a5450466f74496d4c744e4571484d78787049544e45786846 esp
exec ipsec tunnel protect ipip32 sa-out 32 sa-in 100032 add
exec set interface ip address loop0 100.0.33.1/32
exec create ipip tunnel src 100.0.33.1 dst 200.0.0.2 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-cbc-128 crypto-key 74595a66474453414e44734b48777178 integ-alg sha-512-256 integ-key 62416d4776486273497a655245506c7369756f5875667a6c684869427848524f4353645a464c48685a67506e494e58676e737652776e7249534951745079674d esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-cbc-128 crypto-key 74595a66474453414e44734b48777178 integ-alg sha-512-256 integ-key 62416d4776486273497a655245506c7369756f5875667a6c684869427848524f4353645a464c48685a67506e494e58676e737652776e7249534951745079674d esp
exec ipsec tunnel protect ipip33 sa-out 33 sa-in 100033 add
exec set interface ip address loop0 100.0.34.1/32
exec create ipip tunnel src 100.0.34.1 dst 200.0.0.2 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-cbc-128 crypto-key 444666745674647554616c5843497953 integ-alg sha-512-256 integ-key 4f534c526d6e71707272794964547a51496f4d646f54737a516a56736c5a41737561596d626a746c48496d646d466f73424a4a574b626751684b4f7a476a6343 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-cbc-128 crypto-key 444666745674647554616c5843497953 integ-alg sha-512-256 integ-key 4f534c526d6e71707272794964547a51496f4d646f54737a516a56736c5a41737561596d626a746c48496d646d466f73424a4a574b626751684b4f7a476a6343 esp
exec ipsec tunnel protect ipip34 sa-out 34 sa-in 100034 add
exec set interface ip address loop0 100.0.35.1/32
exec create ipip tunnel src 100.0.35.1 dst 200.0.0.2 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-cbc-128 crypto-key 6f6c506c5a52476d634b6e736c586247 integ-alg sha-512-256 integ-key 504241634b6779714865706d47585176667a664141657a685648506c704d6c76654c4a494859627267744c61796648475445646d465361626e746555724d4471 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-cbc-128 crypto-key 6f6c506c5a52476d634b6e736c586247 integ-alg sha-512-256 integ-key 504241634b6779714865706d47585176667a664141657a685648506c704d6c76654c4a494859627267744c61796648475445646d465361626e746555724d4471 esp
exec ipsec tunnel protect ipip35 sa-out 35 sa-in 100035 add
exec set interface ip address loop0 100.0.36.1/32
exec create ipip tunnel src 100.0.36.1 dst 200.0.0.2 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-cbc-128 crypto-key 4e616c7a77726a536e49484d46654846 integ-alg sha-512-256 integ-key 4a494c5678547962584a4d4b6150536e50726d56486d454275446f6d6e44774b594f6c6e6c7076685279476b74686752417065686e68486f4166746e65796248 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-cbc-128 crypto-key 4e616c7a77726a536e49484d46654846 integ-alg sha-512-256 integ-key 4a494c5678547962584a4d4b6150536e50726d56486d454275446f6d6e44774b594f6c6e6c7076685279476b74686752417065686e68486f4166746e65796248 esp
exec ipsec tunnel protect ipip36 sa-out 36 sa-in 100036 add
exec set interface ip address loop0 100.0.37.1/32
exec create ipip tunnel src 100.0.37.1 dst 200.0.0.2 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-cbc-128 crypto-key 635172684a7a6c6d774d76745a71556b integ-alg sha-512-256 integ-key 5a5a61627843485763576143647a6843596342717355764961785449636e564e6c704e66575a4e45626569514f4868675a444e6d754e6e44546871654e6f4c65 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-cbc-128 crypto-key 635172684a7a6c6d774d76745a71556b integ-alg sha-512-256 integ-key 5a5a61627843485763576143647a6843596342717355764961785449636e564e6c704e66575a4e45626569514f4868675a444e6d754e6e44546871654e6f4c65 esp
exec ipsec tunnel protect ipip37 sa-out 37 sa-in 100037 add
exec set interface ip address loop0 100.0.38.1/32
exec create ipip tunnel src 100.0.38.1 dst 200.0.0.2 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-cbc-128 crypto-key 535145557868705a455574646177776c integ-alg sha-512-256 integ-key 6c4d6b4a6878764e684c5354687247564c716b734d6b7947415075494c5a514b5451746b546d4a575758546365627a7459677964714954424f676a41595a594d esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-cbc-128 crypto-key 535145557868705a455574646177776c integ-alg sha-512-256 integ-key 6c4d6b4a6878764e684c5354687247564c716b734d6b7947415075494c5a514b5451746b546d4a575758546365627a7459677964714954424f676a41595a594d esp
exec ipsec tunnel protect ipip38 sa-out 38 sa-in 100038 add
exec set interface ip address loop0 100.0.39.1/32
exec create ipip tunnel src 100.0.39.1 dst 200.0.0.2 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-cbc-128 crypto-key 766878764d6165646a5852446e41704c integ-alg sha-512-256 integ-key 7159524b4b4f4b42685a4e7258654a7a664f666f4861454847667a73456d6c73554c664d667a47734177477569556f62524b6548624a4c547955755348446d6b esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-cbc-128 crypto-key 766878764d6165646a5852446e41704c integ-alg sha-512-256 integ-key 7159524b4b4f4b42685a4e7258654a7a664f666f4861454847667a73456d6c73554c664d667a47734177477569556f62524b6548624a4c547955755348446d6b esp
exec ipsec tunnel protect ipip39 sa-out 39 sa-in 100039 add
exec set interface unnumbered ipip0 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip0 up
exec ip route add 20.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip1 up
exec ip route add 20.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip2 up
exec ip route add 20.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip3 up
exec ip route add 20.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip4 up
exec ip route add 20.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip5 up
exec ip route add 20.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip6 up
exec ip route add 20.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip7 up
exec ip route add 20.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip8 up
exec ip route add 20.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip9 up
exec ip route add 20.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip10 up
exec ip route add 20.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip11 up
exec ip route add 20.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip12 up
exec ip route add 20.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip13 up
exec ip route add 20.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip14 up
exec ip route add 20.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip15 up
exec ip route add 20.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip16 up
exec ip route add 20.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip17 up
exec ip route add 20.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip18 up
exec ip route add 20.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip19 up
exec ip route add 20.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip20 up
exec ip route add 20.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip21 up
exec ip route add 20.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip22 up
exec ip route add 20.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip23 up
exec ip route add 20.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip24 up
exec ip route add 20.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip25 up
exec ip route add 20.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip26 up
exec ip route add 20.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip27 up
exec ip route add 20.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip28 up
exec ip route add 20.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip29 up
exec ip route add 20.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip30 up
exec ip route add 20.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip31 up
exec ip route add 20.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip32 up
exec ip route add 20.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip33 up
exec ip route add 20.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip34 up
exec ip route add 20.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip35 up
exec ip route add 20.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip36 up
exec ip route add 20.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip37 up
exec ip route add 20.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip38 up
exec ip route add 20.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip39 up
exec ip route add 20.0.0.39/32 via ipip39
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec set interface ip address TwentyFiveGigabitEthernet3b/0/1 200.0.0.2/24.0
exec create ipip tunnel src 200.0.0.2 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-cbc-128 crypto-key 586a6477524c534d776f71766c576269 integ-alg sha-512-256 integ-key 717764514f736d46475870526d796e76794e675462524f485378744a4741644850614c7549444462587a70476a7a4a5a62767665434d53546f7479596d6e4a72 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-cbc-128 crypto-key 586a6477524c534d776f71766c576269 integ-alg sha-512-256 integ-key 717764514f736d46475870526d796e76794e675462524f485378744a4741644850614c7549444462587a70476a7a4a5a62767665434d53546f7479596d6e4a72 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-cbc-128 crypto-key 74664855644e6e6c455a6c4741576244 integ-alg sha-512-256 integ-key 6a554451765264564e666c4d7a5471424b5449774f7a7845426a43747947474b764c504d7641784c46584e7546764e7052724f44417749646550627379554151 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-cbc-128 crypto-key 74664855644e6e6c455a6c4741576244 integ-alg sha-512-256 integ-key 6a554451765264564e666c4d7a5471424b5449774f7a7845426a43747947474b764c504d7641784c46584e7546764e7052724f44417749646550627379554151 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-cbc-128 crypto-key 6b484368504f514d58566f726a436f76 integ-alg sha-512-256 integ-key 6d6858556878586b4f77666c746f706871664f694555536c7443624d757573734c4e4f5051457077695a446c6f67496d446e74556d7a65534861544759455a68 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-cbc-128 crypto-key 6b484368504f514d58566f726a436f76 integ-alg sha-512-256 integ-key 6d6858556878586b4f77666c746f706871664f694555536c7443624d757573734c4e4f5051457077695a446c6f67496d446e74556d7a65534861544759455a68 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-cbc-128 crypto-key 744d687370725179554e535564766272 integ-alg sha-512-256 integ-key 5a54796845635a675148474847744d4c48624e50615456486b49646963704e794d4a45707a4a6c5370656d477a495979774c55626a4b62534443506150686c54 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-cbc-128 crypto-key 744d687370725179554e535564766272 integ-alg sha-512-256 integ-key 5a54796845635a675148474847744d4c48624e50615456486b49646963704e794d4a45707a4a6c5370656d477a495979774c55626a4b62534443506150686c54 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-cbc-128 crypto-key 646456694447735177474447706d6153 integ-alg sha-512-256 integ-key 634c58526d534867697267626b6755564c51445043724453536f437775696a5366545a736b7370736e5669584b70664e6c4c4e454f43574d566a49645769514e esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-cbc-128 crypto-key 646456694447735177474447706d6153 integ-alg sha-512-256 integ-key 634c58526d534867697267626b6755564c51445043724453536f437775696a5366545a736b7370736e5669584b70664e6c4c4e454f43574d566a49645769514e esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-cbc-128 crypto-key 514a586a724a506c61534c6b57775642 integ-alg sha-512-256 integ-key 746b4b724b794d72537577696c697a52566661786b42424f4b6a416a5851594f706768794b70754f6750656842784c585441746f587a44666257794769646a65 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-cbc-128 crypto-key 514a586a724a506c61534c6b57775642 integ-alg sha-512-256 integ-key 746b4b724b794d72537577696c697a52566661786b42424f4b6a416a5851594f706768794b70754f6750656842784c585441746f587a44666257794769646a65 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-cbc-128 crypto-key 5a4a617a637177524c6c566a61467448 integ-alg sha-512-256 integ-key 52554b6a52436a44687669456c526f6255566a547a7a724b6867537a58535364766f6c726577686277685341414673717a496d6f6f736f667659434577436a55 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-cbc-128 crypto-key 5a4a617a637177524c6c566a61467448 integ-alg sha-512-256 integ-key 52554b6a52436a44687669456c526f6255566a547a7a724b6867537a58535364766f6c726577686277685341414673717a496d6f6f736f667659434577436a55 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-cbc-128 crypto-key 457377786d6a5a5458546b574d506e74 integ-alg sha-512-256 integ-key 5a435357416b6e46706c646a5a61696b4e6c48686872766a6f56734c6a784e6d696666424c49575546595270456c45576e46614b6a46667570665661614e4150 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-cbc-128 crypto-key 457377786d6a5a5458546b574d506e74 integ-alg sha-512-256 integ-key 5a435357416b6e46706c646a5a61696b4e6c48686872766a6f56734c6a784e6d696666424c49575546595270456c45576e46614b6a46667570665661614e4150 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-cbc-128 crypto-key 4a77756c544445774d4f4c616a487757 integ-alg sha-512-256 integ-key 4d454e7a67494e4f6f49474b677a6154546a6f5757545755574a51474c6a5061514c6e42614e55564c686541566141536165414d426e6856765a5879735a5543 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-cbc-128 crypto-key 4a77756c544445774d4f4c616a487757 integ-alg sha-512-256 integ-key 4d454e7a67494e4f6f49474b677a6154546a6f5757545755574a51474c6a5061514c6e42614e55564c686541566141536165414d426e6856765a5879735a5543 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-cbc-128 crypto-key 586a584842635659776f4b44624f4773 integ-alg sha-512-256 integ-key 53544d44754a6f66674b5a524772714766787a4e4c76445859766f566a47695a54436547744d53504f4556696c4f4a4f547a6e554f5a65586d59664265694257 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-cbc-128 crypto-key 586a584842635659776f4b44624f4773 integ-alg sha-512-256 integ-key 53544d44754a6f66674b5a524772714766787a4e4c76445859766f566a47695a54436547744d53504f4556696c4f4a4f547a6e554f5a65586d59664265694257 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-cbc-128 crypto-key 486d63686e4d5a41504c714f4e43484d integ-alg sha-512-256 integ-key 6c467754454d497173566d6c5941456147794e696e5273446b7348524b44446c70786443734542554a62515644536779727269774e694f756569464748456d43 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-cbc-128 crypto-key 486d63686e4d5a41504c714f4e43484d integ-alg sha-512-256 integ-key 6c467754454d497173566d6c5941456147794e696e5273446b7348524b44446c70786443734542554a62515644536779727269774e694f756569464748456d43 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-cbc-128 crypto-key 4c47787864455a586e6452454356616e integ-alg sha-512-256 integ-key 49735364666e62704553794b77467046506a786d6152584c4e684655456c724d65657044694f4764565a5576735a654144454e7a45586c554668597955724655 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-cbc-128 crypto-key 4c47787864455a586e6452454356616e integ-alg sha-512-256 integ-key 49735364666e62704553794b77467046506a786d6152584c4e684655456c724d65657044694f4764565a5576735a654144454e7a45586c554668597955724655 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-cbc-128 crypto-key 495454466c49414a5747587277414e79 integ-alg sha-512-256 integ-key 4c65717553425951784552796d6146726f487a51726a49536c474274545458474e676c4b78456f6e62794578784b495450437a6c577443717761507278446858 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-cbc-128 crypto-key 495454466c49414a5747587277414e79 integ-alg sha-512-256 integ-key 4c65717553425951784552796d6146726f487a51726a49536c474274545458474e676c4b78456f6e62794578784b495450437a6c577443717761507278446858 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-cbc-128 crypto-key 7366436369555345645773556b765a6b integ-alg sha-512-256 integ-key 55497464506d6c434e764e61744f7672455a67456d4e574569537256416a596a77794d5a786642485a5455596b61526c446c5358716f5772614b785a58684555 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-cbc-128 crypto-key 7366436369555345645773556b765a6b integ-alg sha-512-256 integ-key 55497464506d6c434e764e61744f7672455a67456d4e574569537256416a596a77794d5a786642485a5455596b61526c446c5358716f5772614b785a58684555 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-cbc-128 crypto-key 4e66634c44757373684c674f6a4e416c integ-alg sha-512-256 integ-key 6b4855435a5a794142535a4e49516c6854456d64626d697647636345677074484b6f6e5a62716b6c5248515344614a6e457879716d425a73724453455a6b6b6b esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-cbc-128 crypto-key 4e66634c44757373684c674f6a4e416c integ-alg sha-512-256 integ-key 6b4855435a5a794142535a4e49516c6854456d64626d697647636345677074484b6f6e5a62716b6c5248515344614a6e457879716d425a73724453455a6b6b6b esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-cbc-128 crypto-key 5a7655717770617267704d79596f6f44 integ-alg sha-512-256 integ-key 7543645947426d51614652577368594c72507949647269795557446470444c5a6d42627750794d78625843595a41725278697278446a45684153736c7a61767a esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-cbc-128 crypto-key 5a7655717770617267704d79596f6f44 integ-alg sha-512-256 integ-key 7543645947426d51614652577368594c72507949647269795557446470444c5a6d42627750794d78625843595a41725278697278446a45684153736c7a61767a esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-cbc-128 crypto-key 59727a596847584b5054726254454d64 integ-alg sha-512-256 integ-key 4a454a7864734d4859426a454e76695a656a546c4e51464c52695663524a755565684e534a4b584a516971455146596d734741466d66704e7562614a46535048 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-cbc-128 crypto-key 59727a596847584b5054726254454d64 integ-alg sha-512-256 integ-key 4a454a7864734d4859426a454e76695a656a546c4e51464c52695663524a755565684e534a4b584a516971455146596d734741466d66704e7562614a46535048 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-cbc-128 crypto-key 4376707349595a4e61574f6b6a6c4e53 integ-alg sha-512-256 integ-key 69596e50584e6b78765676526f566e4279484e61454f4161675451625a4142566545416e65644a68676751544259427970686e495974667741584d4f7941584a esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-cbc-128 crypto-key 4376707349595a4e61574f6b6a6c4e53 integ-alg sha-512-256 integ-key 69596e50584e6b78765676526f566e4279484e61454f4161675451625a4142566545416e65644a68676751544259427970686e495974667741584d4f7941584a esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-cbc-128 crypto-key 4a47546a724b4d76746c4e534247476c integ-alg sha-512-256 integ-key 664d6150784c594b66616b736b776e484d7855456854634f495a7a595257475a6c637443504475456c63526f67416c4a58646a57744b6f5a476e655176425a48 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-cbc-128 crypto-key 4a47546a724b4d76746c4e534247476c integ-alg sha-512-256 integ-key 664d6150784c594b66616b736b776e484d7855456854634f495a7a595257475a6c637443504475456c63526f67416c4a58646a57744b6f5a476e655176425a48 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-cbc-128 crypto-key 64594c6c53586f645979596258494a58 integ-alg sha-512-256 integ-key 6e446e71434248574b66764c436f4e734e70474e724c584968785347456f6e5257684b617a6747674156526f776772794b48556170694a584f78786356527476 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-cbc-128 crypto-key 64594c6c53586f645979596258494a58 integ-alg sha-512-256 integ-key 6e446e71434248574b66764c436f4e734e70474e724c584968785347456f6e5257684b617a6747674156526f776772794b48556170694a584f78786356527476 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-cbc-128 crypto-key 51586368757a464a4679614457466446 integ-alg sha-512-256 integ-key 6b576f484b7768776a46706a45464362695347736f4f7167644b4c4646527258784657655476706b414865665543634155554d4e6b6771546c6e6a5472635872 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-cbc-128 crypto-key 51586368757a464a4679614457466446 integ-alg sha-512-256 integ-key 6b576f484b7768776a46706a45464362695347736f4f7167644b4c4646527258784657655476706b414865665543634155554d4e6b6771546c6e6a5472635872 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-cbc-128 crypto-key 49696f4e744d62446865646962556e46 integ-alg sha-512-256 integ-key 70706869486345686a5243425279526c61667a5a756a5858556c616e4e6e4843414654736f714b4d6253754d4a635950764e62445364656e6a566b6d6d776d62 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-cbc-128 crypto-key 49696f4e744d62446865646962556e46 integ-alg sha-512-256 integ-key 70706869486345686a5243425279526c61667a5a756a5858556c616e4e6e4843414654736f714b4d6253754d4a635950764e62445364656e6a566b6d6d776d62 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-cbc-128 crypto-key 6b52634c5a68444652547679486b4e52 integ-alg sha-512-256 integ-key 4161776d5472676d75454d7366676a766770476b43725559476e726f496671454d654f464b76516b5a70627a787a715a7050694f55646e66576d635554747850 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-cbc-128 crypto-key 6b52634c5a68444652547679486b4e52 integ-alg sha-512-256 integ-key 4161776d5472676d75454d7366676a766770476b43725559476e726f496671454d654f464b76516b5a70627a787a715a7050694f55646e66576d635554747850 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-cbc-128 crypto-key 6378586870554550526e42454c4b6c75 integ-alg sha-512-256 integ-key 7a79484d556d4854424f52434d425541726d5554514466797865576b74654761506f6451724d5a6c4e7458555144446a45656955496a417462545a486c556844 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-cbc-128 crypto-key 6378586870554550526e42454c4b6c75 integ-alg sha-512-256 integ-key 7a79484d556d4854424f52434d425541726d5554514466797865576b74654761506f6451724d5a6c4e7458555144446a45656955496a417462545a486c556844 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-cbc-128 crypto-key 7063577a676e45586b666a4e4d796570 integ-alg sha-512-256 integ-key 467a4c73536b625a7a6b71775169506a4e57556a78576149756e697077676b767379764c6f795244756b496479427546415262554a79707a6a526d567257794c esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-cbc-128 crypto-key 7063577a676e45586b666a4e4d796570 integ-alg sha-512-256 integ-key 467a4c73536b625a7a6b71775169506a4e57556a78576149756e697077676b767379764c6f795244756b496479427546415262554a79707a6a526d567257794c esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-cbc-128 crypto-key 51656b696169796c6a7072556d7a6b65 integ-alg sha-512-256 integ-key 486a534d6b735769616e445575726d5a6b4a7a514c6a527977666d74466d49474459767357637976414b514a436368614a544279764a6f756976626b41414276 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-cbc-128 crypto-key 51656b696169796c6a7072556d7a6b65 integ-alg sha-512-256 integ-key 486a534d6b735769616e445575726d5a6b4a7a514c6a527977666d74466d49474459767357637976414b514a436368614a544279764a6f756976626b41414276 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-cbc-128 crypto-key 4d744c436f756b57744c6c754b446666 integ-alg sha-512-256 integ-key 68616b4f6277524361527143547543657a7541457458696c496f69515078536352556c747a6446496869506478734445757072657a785a436449785972695346 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-cbc-128 crypto-key 4d744c436f756b57744c6c754b446666 integ-alg sha-512-256 integ-key 68616b4f6277524361527143547543657a7541457458696c496f69515078536352556c747a6446496869506478734445757072657a785a436449785972695346 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-cbc-128 crypto-key 4c4e5863516b61427158436871455176 integ-alg sha-512-256 integ-key 5756594e504962696850686b6b6f55666d756a505a6851716855656253674e6a6478465471585a76706d61486f5a7545446d6f71694a58454b44556869426a6e esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-cbc-128 crypto-key 4c4e5863516b61427158436871455176 integ-alg sha-512-256 integ-key 5756594e504962696850686b6b6f55666d756a505a6851716855656253674e6a6478465471585a76706d61486f5a7545446d6f71694a58454b44556869426a6e esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-cbc-128 crypto-key 545a6b78726a5472534462745250436c integ-alg sha-512-256 integ-key 4d55666e464642414b6945684942654b6e66587668584f776548446d4e55664b5a6b5a5277515a514c757544666e796d79705a77436a6645487a4a4f46516f4f esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-cbc-128 crypto-key 545a6b78726a5472534462745250436c integ-alg sha-512-256 integ-key 4d55666e464642414b6945684942654b6e66587668584f776548446d4e55664b5a6b5a5277515a514c757544666e796d79705a77436a6645487a4a4f46516f4f esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-cbc-128 crypto-key 4a5561666167546c546578505a416475 integ-alg sha-512-256 integ-key 4b4278465746705142584c794d746253755371784a4855534c4b6a5273464d6a70654269464a6f484e42587566496b72644d654f6f725273757a4b5065797845 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-cbc-128 crypto-key 4a5561666167546c546578505a416475 integ-alg sha-512-256 integ-key 4b4278465746705142584c794d746253755371784a4855534c4b6a5273464d6a70654269464a6f484e42587566496b72644d654f6f725273757a4b5065797845 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-cbc-128 crypto-key 66476e5a7a716b4f7a6a69727a597054 integ-alg sha-512-256 integ-key 4a454e65795563596464476c797a54686775695a56546b70515744784b64466a5265646e4278765a477678654a6c7458696869686e57625658706543506b4f74 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-cbc-128 crypto-key 66476e5a7a716b4f7a6a69727a597054 integ-alg sha-512-256 integ-key 4a454e65795563596464476c797a54686775695a56546b70515744784b64466a5265646e4278765a477678654a6c7458696869686e57625658706543506b4f74 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-cbc-128 crypto-key 71724668427242567273654b746a577a integ-alg sha-512-256 integ-key 684557747754526346727541714e486f6453496c726a6b456f4f664969704d5a7a4e767657794d7966676e51566e41665242585355434a454f6c766d4d4c4b63 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-cbc-128 crypto-key 71724668427242567273654b746a577a integ-alg sha-512-256 integ-key 684557747754526346727541714e486f6453496c726a6b456f4f664969704d5a7a4e767657794d7966676e51566e41665242585355434a454f6c766d4d4c4b63 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-cbc-128 crypto-key 53624361674973667243674370576e57 integ-alg sha-512-256 integ-key 744a534c424c47456767614c7554644a79756157704658717a4b634d50634654526144426f756a4a5450466f74496d4c744e4571484d78787049544e45786846 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-cbc-128 crypto-key 53624361674973667243674370576e57 integ-alg sha-512-256 integ-key 744a534c424c47456767614c7554644a79756157704658717a4b634d50634654526144426f756a4a5450466f74496d4c744e4571484d78787049544e45786846 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-cbc-128 crypto-key 74595a66474453414e44734b48777178 integ-alg sha-512-256 integ-key 62416d4776486273497a655245506c7369756f5875667a6c684869427848524f4353645a464c48685a67506e494e58676e737652776e7249534951745079674d esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-cbc-128 crypto-key 74595a66474453414e44734b48777178 integ-alg sha-512-256 integ-key 62416d4776486273497a655245506c7369756f5875667a6c684869427848524f4353645a464c48685a67506e494e58676e737652776e7249534951745079674d esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-cbc-128 crypto-key 444666745674647554616c5843497953 integ-alg sha-512-256 integ-key 4f534c526d6e71707272794964547a51496f4d646f54737a516a56736c5a41737561596d626a746c48496d646d466f73424a4a574b626751684b4f7a476a6343 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-cbc-128 crypto-key 444666745674647554616c5843497953 integ-alg sha-512-256 integ-key 4f534c526d6e71707272794964547a51496f4d646f54737a516a56736c5a41737561596d626a746c48496d646d466f73424a4a574b626751684b4f7a476a6343 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-cbc-128 crypto-key 6f6c506c5a52476d634b6e736c586247 integ-alg sha-512-256 integ-key 504241634b6779714865706d47585176667a664141657a685648506c704d6c76654c4a494859627267744c61796648475445646d465361626e746555724d4471 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-cbc-128 crypto-key 6f6c506c5a52476d634b6e736c586247 integ-alg sha-512-256 integ-key 504241634b6779714865706d47585176667a664141657a685648506c704d6c76654c4a494859627267744c61796648475445646d465361626e746555724d4471 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-cbc-128 crypto-key 4e616c7a77726a536e49484d46654846 integ-alg sha-512-256 integ-key 4a494c5678547962584a4d4b6150536e50726d56486d454275446f6d6e44774b594f6c6e6c7076685279476b74686752417065686e68486f4166746e65796248 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-cbc-128 crypto-key 4e616c7a77726a536e49484d46654846 integ-alg sha-512-256 integ-key 4a494c5678547962584a4d4b6150536e50726d56486d454275446f6d6e44774b594f6c6e6c7076685279476b74686752417065686e68486f4166746e65796248 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-cbc-128 crypto-key 635172684a7a6c6d774d76745a71556b integ-alg sha-512-256 integ-key 5a5a61627843485763576143647a6843596342717355764961785449636e564e6c704e66575a4e45626569514f4868675a444e6d754e6e44546871654e6f4c65 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-cbc-128 crypto-key 635172684a7a6c6d774d76745a71556b integ-alg sha-512-256 integ-key 5a5a61627843485763576143647a6843596342717355764961785449636e564e6c704e66575a4e45626569514f4868675a444e6d754e6e44546871654e6f4c65 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-cbc-128 crypto-key 535145557868705a455574646177776c integ-alg sha-512-256 integ-key 6c4d6b4a6878764e684c5354687247564c716b734d6b7947415075494c5a514b5451746b546d4a575758546365627a7459677964714954424f676a41595a594d esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-cbc-128 crypto-key 535145557868705a455574646177776c integ-alg sha-512-256 integ-key 6c4d6b4a6878764e684c5354687247564c716b734d6b7947415075494c5a514b5451746b546d4a575758546365627a7459677964714954424f676a41595a594d esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-cbc-128 crypto-key 766878764d6165646a5852446e41704c integ-alg sha-512-256 integ-key 7159524b4b4f4b42685a4e7258654a7a664f666f4861454847667a73456d6c73554c664d667a47734177477569556f62524b6548624a4c547955755348446d6b esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-cbc-128 crypto-key 766878764d6165646a5852446e41704c integ-alg sha-512-256 integ-key 7159524b4b4f4b42685a4e7258654a7a664f666f4861454847667a73456d6c73554c664d667a47734177477569556f62524b6548624a4c547955755348446d6b esp
exec ipsec tunnel protect ipip39 sa-out 100039 sa-in 39 add
exec ip route add 100.0.0.1/8 via 200.0.0.1 TwentyFiveGigabitEthernet3b/0/1
exec set interface unnumbered ipip0 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip0 up
exec ip route add 10.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip1 up
exec ip route add 10.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip2 up
exec ip route add 10.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip3 up
exec ip route add 10.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip4 up
exec ip route add 10.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip5 up
exec ip route add 10.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip6 up
exec ip route add 10.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip7 up
exec ip route add 10.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip8 up
exec ip route add 10.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip9 up
exec ip route add 10.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip10 up
exec ip route add 10.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip11 up
exec ip route add 10.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip12 up
exec ip route add 10.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip13 up
exec ip route add 10.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip14 up
exec ip route add 10.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip15 up
exec ip route add 10.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip16 up
exec ip route add 10.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip17 up
exec ip route add 10.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip18 up
exec ip route add 10.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip19 up
exec ip route add 10.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip20 up
exec ip route add 10.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip21 up
exec ip route add 10.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip22 up
exec ip route add 10.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip23 up
exec ip route add 10.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip24 up
exec ip route add 10.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip25 up
exec ip route add 10.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip26 up
exec ip route add 10.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip27 up
exec ip route add 10.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip28 up
exec ip route add 10.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip29 up
exec ip route add 10.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip30 up
exec ip route add 10.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip31 up
exec ip route add 10.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip32 up
exec ip route add 10.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip33 up
exec ip route add 10.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip34 up
exec ip route add 10.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip35 up
exec ip route add 10.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip36 up
exec ip route add 10.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip37 up
exec ip route add 10.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip38 up
exec ip route add 10.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip39 up
exec ip route add 10.0.0.39/32 via ipip39

 imix-2t1c-ethip4ipsec40tnlsw-ip4base- 
int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec create loopback interface
exec set interface state loop0 up
exec set interface ip address TwentyFiveGigabitEthernet3b/0/1 200.0.0.1/24
exec set ip neighbor TwentyFiveGigabitEthernet3b/0/1 200.0.0.2 3c:fd:fe:bd:f8:fd static
exec set interface ip address loop0 100.0.0.1/32
exec create ipip tunnel src 100.0.0.1 dst 200.0.0.2 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-cbc-128 crypto-key 514b636f755a586a516d4e6b77534471 integ-alg sha-512-256 integ-key 514a786d6b55477a42434f4b757a4a77646d735a77696f536e6869784b54496d576142466a54574d64476e727349426879445a7a73597a737545515264454a51 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-cbc-128 crypto-key 514b636f755a586a516d4e6b77534471 integ-alg sha-512-256 integ-key 514a786d6b55477a42434f4b757a4a77646d735a77696f536e6869784b54496d576142466a54574d64476e727349426879445a7a73597a737545515264454a51 esp
exec ipsec tunnel protect ipip0 sa-out 0 sa-in 100000 add
exec set interface ip address loop0 100.0.1.1/32
exec create ipip tunnel src 100.0.1.1 dst 200.0.0.2 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-cbc-128 crypto-key 736e6e63774e79654e62447550447550 integ-alg sha-512-256 integ-key 4b6268586351726241774f574859674c7055626c7a764c4678627666545968665a454c70554c544167497a75746f6c5a4a714a766b6552616f6467457652554c esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-cbc-128 crypto-key 736e6e63774e79654e62447550447550 integ-alg sha-512-256 integ-key 4b6268586351726241774f574859674c7055626c7a764c4678627666545968665a454c70554c544167497a75746f6c5a4a714a766b6552616f6467457652554c esp
exec ipsec tunnel protect ipip1 sa-out 1 sa-in 100001 add
exec set interface ip address loop0 100.0.2.1/32
exec create ipip tunnel src 100.0.2.1 dst 200.0.0.2 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-cbc-128 crypto-key 594d666b5a4f45794644445879524e53 integ-alg sha-512-256 integ-key 4563586a79576f63794c6375424a646f7641794f70435547486a7a43496c414a74704c6e4a4374634c6f545671684a756472756c50746361584171726f694d42 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-cbc-128 crypto-key 594d666b5a4f45794644445879524e53 integ-alg sha-512-256 integ-key 4563586a79576f63794c6375424a646f7641794f70435547486a7a43496c414a74704c6e4a4374634c6f545671684a756472756c50746361584171726f694d42 esp
exec ipsec tunnel protect ipip2 sa-out 2 sa-in 100002 add
exec set interface ip address loop0 100.0.3.1/32
exec create ipip tunnel src 100.0.3.1 dst 200.0.0.2 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-cbc-128 crypto-key 4b6a505076556a7261474c5470496148 integ-alg sha-512-256 integ-key 48506b48686c6c7a61556d4a754e765a6c6d4b4f67687576626956776166637742704e4674696176644966696c5a4372574f5871417469706243506e4b566466 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-cbc-128 crypto-key 4b6a505076556a7261474c5470496148 integ-alg sha-512-256 integ-key 48506b48686c6c7a61556d4a754e765a6c6d4b4f67687576626956776166637742704e4674696176644966696c5a4372574f5871417469706243506e4b566466 esp
exec ipsec tunnel protect ipip3 sa-out 3 sa-in 100003 add
exec set interface ip address loop0 100.0.4.1/32
exec create ipip tunnel src 100.0.4.1 dst 200.0.0.2 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-cbc-128 crypto-key 595447414870475941485a5459475953 integ-alg sha-512-256 integ-key 7a464c6f784a494b6e717a4f426d6c686f4566424b6d7959554d6875516362636349496e666973547545647877446c764b4b67456247776b5164517a70754d73 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-cbc-128 crypto-key 595447414870475941485a5459475953 integ-alg sha-512-256 integ-key 7a464c6f784a494b6e717a4f426d6c686f4566424b6d7959554d6875516362636349496e666973547545647877446c764b4b67456247776b5164517a70754d73 esp
exec ipsec tunnel protect ipip4 sa-out 4 sa-in 100004 add
exec set interface ip address loop0 100.0.5.1/32
exec create ipip tunnel src 100.0.5.1 dst 200.0.0.2 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-cbc-128 crypto-key 694e6642646668494b7a66784e486d62 integ-alg sha-512-256 integ-key 6c7861576a446d417679757341504c47596542665a6d4b737669736a504a566663576b416c4d63554f4d6b6e477a44445964716f5a616456574a466847786750 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-cbc-128 crypto-key 694e6642646668494b7a66784e486d62 integ-alg sha-512-256 integ-key 6c7861576a446d417679757341504c47596542665a6d4b737669736a504a566663576b416c4d63554f4d6b6e477a44445964716f5a616456574a466847786750 esp
exec ipsec tunnel protect ipip5 sa-out 5 sa-in 100005 add
exec set interface ip address loop0 100.0.6.1/32
exec create ipip tunnel src 100.0.6.1 dst 200.0.0.2 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-cbc-128 crypto-key 6d41494873534654656b636a526a6b71 integ-alg sha-512-256 integ-key 7a4843696d62676e7045467a4551734a7855706250446579664a476c74475968616b62527368766d4d756d447a504f5868685246456b5676594b506171786259 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-cbc-128 crypto-key 6d41494873534654656b636a526a6b71 integ-alg sha-512-256 integ-key 7a4843696d62676e7045467a4551734a7855706250446579664a476c74475968616b62527368766d4d756d447a504f5868685246456b5676594b506171786259 esp
exec ipsec tunnel protect ipip6 sa-out 6 sa-in 100006 add
exec set interface ip address loop0 100.0.7.1/32
exec create ipip tunnel src 100.0.7.1 dst 200.0.0.2 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-cbc-128 crypto-key 586b466b7a72786a6d6677626e6d6347 integ-alg sha-512-256 integ-key 6744697a516443466c62436677534165634f5972784a4b49716a446d7279675152624d6a43457a76564b6d7061697553426d45626c5475776651536956676673 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-cbc-128 crypto-key 586b466b7a72786a6d6677626e6d6347 integ-alg sha-512-256 integ-key 6744697a516443466c62436677534165634f5972784a4b49716a446d7279675152624d6a43457a76564b6d7061697553426d45626c5475776651536956676673 esp
exec ipsec tunnel protect ipip7 sa-out 7 sa-in 100007 add
exec set interface ip address loop0 100.0.8.1/32
exec create ipip tunnel src 100.0.8.1 dst 200.0.0.2 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-cbc-128 crypto-key 486d4a76667674594d756d675a425865 integ-alg sha-512-256 integ-key 7347615265575568577654785674665a597845617464525874676d594e53756546426c4474464747654e5a75416561714c546863766e5261704f526f727a4578 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-cbc-128 crypto-key 486d4a76667674594d756d675a425865 integ-alg sha-512-256 integ-key 7347615265575568577654785674665a597845617464525874676d594e53756546426c4474464747654e5a75416561714c546863766e5261704f526f727a4578 esp
exec ipsec tunnel protect ipip8 sa-out 8 sa-in 100008 add
exec set interface ip address loop0 100.0.9.1/32
exec create ipip tunnel src 100.0.9.1 dst 200.0.0.2 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-cbc-128 crypto-key 58786a4e42634c71706e6f4665537164 integ-alg sha-512-256 integ-key 7544706369774f4d416a7852756d5a667878706a556b4c6165484967474e7867486f4c6a67734c426d715155714a774967624f55686272756a514c7876644d6c esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-cbc-128 crypto-key 58786a4e42634c71706e6f4665537164 integ-alg sha-512-256 integ-key 7544706369774f4d416a7852756d5a667878706a556b4c6165484967474e7867486f4c6a67734c426d715155714a774967624f55686272756a514c7876644d6c esp
exec ipsec tunnel protect ipip9 sa-out 9 sa-in 100009 add
exec set interface ip address loop0 100.0.10.1/32
exec create ipip tunnel src 100.0.10.1 dst 200.0.0.2 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-cbc-128 crypto-key 536d656d52534a5665654b6b7a767563 integ-alg sha-512-256 integ-key 747a51425a78654a6472516d566d58657673686f5553734b55496d6a66656165664d5778454c75526743417a79554966746e6b4d61525a6749614e5654416e44 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-cbc-128 crypto-key 536d656d52534a5665654b6b7a767563 integ-alg sha-512-256 integ-key 747a51425a78654a6472516d566d58657673686f5553734b55496d6a66656165664d5778454c75526743417a79554966746e6b4d61525a6749614e5654416e44 esp
exec ipsec tunnel protect ipip10 sa-out 10 sa-in 100010 add
exec set interface ip address loop0 100.0.11.1/32
exec create ipip tunnel src 100.0.11.1 dst 200.0.0.2 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-cbc-128 crypto-key 4e77456f7558484b46754f4768706254 integ-alg sha-512-256 integ-key 4750744f64764d6b57664c4648727a76685642687a74767a5769496b72637370526851676e5651487a6349734471464947674c77616671465854657155554676 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-cbc-128 crypto-key 4e77456f7558484b46754f4768706254 integ-alg sha-512-256 integ-key 4750744f64764d6b57664c4648727a76685642687a74767a5769496b72637370526851676e5651487a6349734471464947674c77616671465854657155554676 esp
exec ipsec tunnel protect ipip11 sa-out 11 sa-in 100011 add
exec set interface ip address loop0 100.0.12.1/32
exec create ipip tunnel src 100.0.12.1 dst 200.0.0.2 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-cbc-128 crypto-key 4c7565417144556b435957706c4c425a integ-alg sha-512-256 integ-key 534a4873717a6f415971544d47616e48625179707947596a6a6f6f5a49775373436f706b466a686761647146745a59527350467076445a52466f496c7a4c4f44 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-cbc-128 crypto-key 4c7565417144556b435957706c4c425a integ-alg sha-512-256 integ-key 534a4873717a6f415971544d47616e48625179707947596a6a6f6f5a49775373436f706b466a686761647146745a59527350467076445a52466f496c7a4c4f44 esp
exec ipsec tunnel protect ipip12 sa-out 12 sa-in 100012 add
exec set interface ip address loop0 100.0.13.1/32
exec create ipip tunnel src 100.0.13.1 dst 200.0.0.2 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-cbc-128 crypto-key 544d79614256595971624d667a426a6c integ-alg sha-512-256 integ-key 4d6764794c684249644a74525654706e70556e61774875677775486548766342666e59514c554b62664752686a634856506e6f6656714e576748557458595447 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-cbc-128 crypto-key 544d79614256595971624d667a426a6c integ-alg sha-512-256 integ-key 4d6764794c684249644a74525654706e70556e61774875677775486548766342666e59514c554b62664752686a634856506e6f6656714e576748557458595447 esp
exec ipsec tunnel protect ipip13 sa-out 13 sa-in 100013 add
exec set interface ip address loop0 100.0.14.1/32
exec create ipip tunnel src 100.0.14.1 dst 200.0.0.2 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-cbc-128 crypto-key 61564f67505975497a4f697045664165 integ-alg sha-512-256 integ-key 6656654874665762506e5067766e707a57466a67546a664d564c754869587a677144714655575469584c485048735746476a7378464162706357745254705853 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-cbc-128 crypto-key 61564f67505975497a4f697045664165 integ-alg sha-512-256 integ-key 6656654874665762506e5067766e707a57466a67546a664d564c754869587a677144714655575469584c485048735746476a7378464162706357745254705853 esp
exec ipsec tunnel protect ipip14 sa-out 14 sa-in 100014 add
exec set interface ip address loop0 100.0.15.1/32
exec create ipip tunnel src 100.0.15.1 dst 200.0.0.2 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-cbc-128 crypto-key 79747461676c73474645416363506159 integ-alg sha-512-256 integ-key 71676b756f6b67694e71466c6c74745469644759566342494a6e4572794269415761494665566d624e45786b77516c556b734552774c676f5a6e61534d536453 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-cbc-128 crypto-key 79747461676c73474645416363506159 integ-alg sha-512-256 integ-key 71676b756f6b67694e71466c6c74745469644759566342494a6e4572794269415761494665566d624e45786b77516c556b734552774c676f5a6e61534d536453 esp
exec ipsec tunnel protect ipip15 sa-out 15 sa-in 100015 add
exec set interface ip address loop0 100.0.16.1/32
exec create ipip tunnel src 100.0.16.1 dst 200.0.0.2 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-cbc-128 crypto-key 6a497346735767524b5549475945436f integ-alg sha-512-256 integ-key 57714b625359534b674d475a73494858594e4d6c5a456162706245756e4d4a7a6e434146744e7969516272414b7068647677556b50717870664b796b64745872 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-cbc-128 crypto-key 6a497346735767524b5549475945436f integ-alg sha-512-256 integ-key 57714b625359534b674d475a73494858594e4d6c5a456162706245756e4d4a7a6e434146744e7969516272414b7068647677556b50717870664b796b64745872 esp
exec ipsec tunnel protect ipip16 sa-out 16 sa-in 100016 add
exec set interface ip address loop0 100.0.17.1/32
exec create ipip tunnel src 100.0.17.1 dst 200.0.0.2 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-cbc-128 crypto-key 686a4e4870486558557a44534e694678 integ-alg sha-512-256 integ-key 4b4b7057496253646853674a58724d796d7374504c56746a74677072696961717467774b495a685154436d4a535062654b4b644e4870654958726d48436c7375 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-cbc-128 crypto-key 686a4e4870486558557a44534e694678 integ-alg sha-512-256 integ-key 4b4b7057496253646853674a58724d796d7374504c56746a74677072696961717467774b495a685154436d4a535062654b4b644e4870654958726d48436c7375 esp
exec ipsec tunnel protect ipip17 sa-out 17 sa-in 100017 add
exec set interface ip address loop0 100.0.18.1/32
exec create ipip tunnel src 100.0.18.1 dst 200.0.0.2 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-cbc-128 crypto-key 626776455a4571575a446a6a74674662 integ-alg sha-512-256 integ-key 4263676e6952686f7a67424448625a6f7a754d7450437948536d426e6d6f42726b4b6d444d7946504f646c6d7767454c7259646e4464706a585579656667516d esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-cbc-128 crypto-key 626776455a4571575a446a6a74674662 integ-alg sha-512-256 integ-key 4263676e6952686f7a67424448625a6f7a754d7450437948536d426e6d6f42726b4b6d444d7946504f646c6d7767454c7259646e4464706a585579656667516d esp
exec ipsec tunnel protect ipip18 sa-out 18 sa-in 100018 add
exec set interface ip address loop0 100.0.19.1/32
exec create ipip tunnel src 100.0.19.1 dst 200.0.0.2 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-cbc-128 crypto-key 4f5a4c79705a63616d76734f58504d57 integ-alg sha-512-256 integ-key 6f68534b6658776b737a4d657175694f6c4f6f7850574c6743477565506e686f4f64496b487648465975634b667165457644534a646957676c7444494d617543 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-cbc-128 crypto-key 4f5a4c79705a63616d76734f58504d57 integ-alg sha-512-256 integ-key 6f68534b6658776b737a4d657175694f6c4f6f7850574c6743477565506e686f4f64496b487648465975634b667165457644534a646957676c7444494d617543 esp
exec ipsec tunnel protect ipip19 sa-out 19 sa-in 100019 add
exec set interface ip address loop0 100.0.20.1/32
exec create ipip tunnel src 100.0.20.1 dst 200.0.0.2 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-cbc-128 crypto-key 71427073546c704a56514d7657746e4a integ-alg sha-512-256 integ-key 715a4c585465667362616e6e42546a4a73546d6952564c484d4a6d627a7744416457774c41776c5a767065666e5a544b6851516b5a4765725679765763777566 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-cbc-128 crypto-key 71427073546c704a56514d7657746e4a integ-alg sha-512-256 integ-key 715a4c585465667362616e6e42546a4a73546d6952564c484d4a6d627a7744416457774c41776c5a767065666e5a544b6851516b5a4765725679765763777566 esp
exec ipsec tunnel protect ipip20 sa-out 20 sa-in 100020 add
exec set interface ip address loop0 100.0.21.1/32
exec create ipip tunnel src 100.0.21.1 dst 200.0.0.2 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-cbc-128 crypto-key 58636a4862484e5a6c6e41756a5a6264 integ-alg sha-512-256 integ-key 484658494a79616f72515a55414177425a766b6f69776a5452484c677361726a435344557a476443785649654250656165746e534b787a446563714544694744 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-cbc-128 crypto-key 58636a4862484e5a6c6e41756a5a6264 integ-alg sha-512-256 integ-key 484658494a79616f72515a55414177425a766b6f69776a5452484c677361726a435344557a476443785649654250656165746e534b787a446563714544694744 esp
exec ipsec tunnel protect ipip21 sa-out 21 sa-in 100021 add
exec set interface ip address loop0 100.0.22.1/32
exec create ipip tunnel src 100.0.22.1 dst 200.0.0.2 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-cbc-128 crypto-key 4174756e737374684a6e655a4b415268 integ-alg sha-512-256 integ-key 4975614f4e5263444f79446355686c55516f566a616f46454a5958727748565a4a4a4949434970644c464565667469456b636a765957787446657a494d5a6b6f esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-cbc-128 crypto-key 4174756e737374684a6e655a4b415268 integ-alg sha-512-256 integ-key 4975614f4e5263444f79446355686c55516f566a616f46454a5958727748565a4a4a4949434970644c464565667469456b636a765957787446657a494d5a6b6f esp
exec ipsec tunnel protect ipip22 sa-out 22 sa-in 100022 add
exec set interface ip address loop0 100.0.23.1/32
exec create ipip tunnel src 100.0.23.1 dst 200.0.0.2 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-cbc-128 crypto-key 4148504c4d4f45426f4d58794a786577 integ-alg sha-512-256 integ-key 426b54666e796d67666d7345494266736b686b5650574d4d4679515744717657446c566968774e6454566e4d6c66426f737a4d6d7155496852564c6f66504f48 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-cbc-128 crypto-key 4148504c4d4f45426f4d58794a786577 integ-alg sha-512-256 integ-key 426b54666e796d67666d7345494266736b686b5650574d4d4679515744717657446c566968774e6454566e4d6c66426f737a4d6d7155496852564c6f66504f48 esp
exec ipsec tunnel protect ipip23 sa-out 23 sa-in 100023 add
exec set interface ip address loop0 100.0.24.1/32
exec create ipip tunnel src 100.0.24.1 dst 200.0.0.2 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-cbc-128 crypto-key 6750416a51484242425469656c6c6471 integ-alg sha-512-256 integ-key 59787648784f4a4276434b53736c5378526d73484b4e6568547364615469786b6a74514446446a6355687770546a436e7970575679414b436479637759456248 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-cbc-128 crypto-key 6750416a51484242425469656c6c6471 integ-alg sha-512-256 integ-key 59787648784f4a4276434b53736c5378526d73484b4e6568547364615469786b6a74514446446a6355687770546a436e7970575679414b436479637759456248 esp
exec ipsec tunnel protect ipip24 sa-out 24 sa-in 100024 add
exec set interface ip address loop0 100.0.25.1/32
exec create ipip tunnel src 100.0.25.1 dst 200.0.0.2 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-cbc-128 crypto-key 77714d747252724f536f734355685061 integ-alg sha-512-256 integ-key 73676572446a6965784f4f714e4e48645179584d446361616859506c5858776d7378585655446344744176775859506d63426e774268436c6b6c64546c4c7157 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-cbc-128 crypto-key 77714d747252724f536f734355685061 integ-alg sha-512-256 integ-key 73676572446a6965784f4f714e4e48645179584d446361616859506c5858776d7378585655446344744176775859506d63426e774268436c6b6c64546c4c7157 esp
exec ipsec tunnel protect ipip25 sa-out 25 sa-in 100025 add
exec set interface ip address loop0 100.0.26.1/32
exec create ipip tunnel src 100.0.26.1 dst 200.0.0.2 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-cbc-128 crypto-key 674d4665476850694d664c55636a7757 integ-alg sha-512-256 integ-key 446a427a4e75456e4871426f52576e7366584f4341447a53736757555943585a6149666c464a72455053456f6f586f73796b6153734b47664e67596d4c74724c esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-cbc-128 crypto-key 674d4665476850694d664c55636a7757 integ-alg sha-512-256 integ-key 446a427a4e75456e4871426f52576e7366584f4341447a53736757555943585a6149666c464a72455053456f6f586f73796b6153734b47664e67596d4c74724c esp
exec ipsec tunnel protect ipip26 sa-out 26 sa-in 100026 add
exec set interface ip address loop0 100.0.27.1/32
exec create ipip tunnel src 100.0.27.1 dst 200.0.0.2 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-cbc-128 crypto-key 4d49544d644363555a71704f50727041 integ-alg sha-512-256 integ-key 467676596c5a574167446975776877555047626b6e4c69697778726a696f69494e4a53565947424d486a6675674b43476d4d4756786c4f58714d486d4b6f7677 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-cbc-128 crypto-key 4d49544d644363555a71704f50727041 integ-alg sha-512-256 integ-key 467676596c5a574167446975776877555047626b6e4c69697778726a696f69494e4a53565947424d486a6675674b43476d4d4756786c4f58714d486d4b6f7677 esp
exec ipsec tunnel protect ipip27 sa-out 27 sa-in 100027 add
exec set interface ip address loop0 100.0.28.1/32
exec create ipip tunnel src 100.0.28.1 dst 200.0.0.2 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-cbc-128 crypto-key 684b58695071414176464b48677a454f integ-alg sha-512-256 integ-key 72774372454648726543714e4a4a4c484a51465a4a7679446d46656e76734f78614478426a6e466e7750426a4f734a4d4c6868797672715661687a4448535445 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-cbc-128 crypto-key 684b58695071414176464b48677a454f integ-alg sha-512-256 integ-key 72774372454648726543714e4a4a4c484a51465a4a7679446d46656e76734f78614478426a6e466e7750426a4f734a4d4c6868797672715661687a4448535445 esp
exec ipsec tunnel protect ipip28 sa-out 28 sa-in 100028 add
exec set interface ip address loop0 100.0.29.1/32
exec create ipip tunnel src 100.0.29.1 dst 200.0.0.2 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-cbc-128 crypto-key 6577416876684a676357786a79785063 integ-alg sha-512-256 integ-key 664f544548504c667a6563615552686f48774f6c6d64517259777478697061456f755253746645554f53736a4d4743444459584561444e614e6643484b6b5772 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-cbc-128 crypto-key 6577416876684a676357786a79785063 integ-alg sha-512-256 integ-key 664f544548504c667a6563615552686f48774f6c6d64517259777478697061456f755253746645554f53736a4d4743444459584561444e614e6643484b6b5772 esp
exec ipsec tunnel protect ipip29 sa-out 29 sa-in 100029 add
exec set interface ip address loop0 100.0.30.1/32
exec create ipip tunnel src 100.0.30.1 dst 200.0.0.2 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-cbc-128 crypto-key 5377676c6f6367504b564a7075796b41 integ-alg sha-512-256 integ-key 79745a78664e5a7075746d4c4d51776979446a7252594c6550676d416e6577565878706d6e44594263536e72624e646177766f6a494571774e535a76424a4478 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-cbc-128 crypto-key 5377676c6f6367504b564a7075796b41 integ-alg sha-512-256 integ-key 79745a78664e5a7075746d4c4d51776979446a7252594c6550676d416e6577565878706d6e44594263536e72624e646177766f6a494571774e535a76424a4478 esp
exec ipsec tunnel protect ipip30 sa-out 30 sa-in 100030 add
exec set interface ip address loop0 100.0.31.1/32
exec create ipip tunnel src 100.0.31.1 dst 200.0.0.2 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-cbc-128 crypto-key 4253747a5154717272594653636a6158 integ-alg sha-512-256 integ-key 70745177437669707a544e72764659784671616b466b7676656f5946476e70415a686d7a7a786f5659527a73504c59494177744b70646e6f71546d5846524456 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-cbc-128 crypto-key 4253747a5154717272594653636a6158 integ-alg sha-512-256 integ-key 70745177437669707a544e72764659784671616b466b7676656f5946476e70415a686d7a7a786f5659527a73504c59494177744b70646e6f71546d5846524456 esp
exec ipsec tunnel protect ipip31 sa-out 31 sa-in 100031 add
exec set interface ip address loop0 100.0.32.1/32
exec create ipip tunnel src 100.0.32.1 dst 200.0.0.2 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-cbc-128 crypto-key 7a6948466b445852635779706c62476b integ-alg sha-512-256 integ-key 6577507a5544795a5541436f58576d694d5a66427172556c6b78676e4e4a4f6470586d706762736968527242776f454e5670727a6c4a776543746c6841726868 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-cbc-128 crypto-key 7a6948466b445852635779706c62476b integ-alg sha-512-256 integ-key 6577507a5544795a5541436f58576d694d5a66427172556c6b78676e4e4a4f6470586d706762736968527242776f454e5670727a6c4a776543746c6841726868 esp
exec ipsec tunnel protect ipip32 sa-out 32 sa-in 100032 add
exec set interface ip address loop0 100.0.33.1/32
exec create ipip tunnel src 100.0.33.1 dst 200.0.0.2 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-cbc-128 crypto-key 544c4d7746674b494276796e73644e56 integ-alg sha-512-256 integ-key 45784657524852774d616c70516c6f454d5752784e7569426541544979674449775163464e7046444257444c6f74435142787050514975436e5968646470434c esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-cbc-128 crypto-key 544c4d7746674b494276796e73644e56 integ-alg sha-512-256 integ-key 45784657524852774d616c70516c6f454d5752784e7569426541544979674449775163464e7046444257444c6f74435142787050514975436e5968646470434c esp
exec ipsec tunnel protect ipip33 sa-out 33 sa-in 100033 add
exec set interface ip address loop0 100.0.34.1/32
exec create ipip tunnel src 100.0.34.1 dst 200.0.0.2 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-cbc-128 crypto-key 4b5278704f52696c4f63696c73424c7a integ-alg sha-512-256 integ-key 5254716b755761665853626c636b466a55505570635076416c56586d77735364424d624252584764764861664e766258626c57506a434950486e4d525a6a7267 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-cbc-128 crypto-key 4b5278704f52696c4f63696c73424c7a integ-alg sha-512-256 integ-key 5254716b755761665853626c636b466a55505570635076416c56586d77735364424d624252584764764861664e766258626c57506a434950486e4d525a6a7267 esp
exec ipsec tunnel protect ipip34 sa-out 34 sa-in 100034 add
exec set interface ip address loop0 100.0.35.1/32
exec create ipip tunnel src 100.0.35.1 dst 200.0.0.2 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-cbc-128 crypto-key 41414d516b4c485257426f6857536c5a integ-alg sha-512-256 integ-key 4547586a7573746348685041724968746763427158794c6571624c5543784c7a7766444f4b6c4f624d6b6d7a526343634d7070424c566b774f4e4e4e5245594f esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-cbc-128 crypto-key 41414d516b4c485257426f6857536c5a integ-alg sha-512-256 integ-key 4547586a7573746348685041724968746763427158794c6571624c5543784c7a7766444f4b6c4f624d6b6d7a526343634d7070424c566b774f4e4e4e5245594f esp
exec ipsec tunnel protect ipip35 sa-out 35 sa-in 100035 add
exec set interface ip address loop0 100.0.36.1/32
exec create ipip tunnel src 100.0.36.1 dst 200.0.0.2 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-cbc-128 crypto-key 56664d744579754f745a51564361516f integ-alg sha-512-256 integ-key 4e444175716c5741434c554f654c5a4d4a456b704445774d714c454a7942656f6e454f4647557158576e77796a744649566f69504567685957757946614d7168 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-cbc-128 crypto-key 56664d744579754f745a51564361516f integ-alg sha-512-256 integ-key 4e444175716c5741434c554f654c5a4d4a456b704445774d714c454a7942656f6e454f4647557158576e77796a744649566f69504567685957757946614d7168 esp
exec ipsec tunnel protect ipip36 sa-out 36 sa-in 100036 add
exec set interface ip address loop0 100.0.37.1/32
exec create ipip tunnel src 100.0.37.1 dst 200.0.0.2 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-cbc-128 crypto-key 6a75464d5364764c7158595941436352 integ-alg sha-512-256 integ-key 735a6242686a784f474b464a746b664267654661686d6e63666b7365546f6d4a587057657a4f6b7a63456d4e686156647a647655796d4b4666677a5373714153 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-cbc-128 crypto-key 6a75464d5364764c7158595941436352 integ-alg sha-512-256 integ-key 735a6242686a784f474b464a746b664267654661686d6e63666b7365546f6d4a587057657a4f6b7a63456d4e686156647a647655796d4b4666677a5373714153 esp
exec ipsec tunnel protect ipip37 sa-out 37 sa-in 100037 add
exec set interface ip address loop0 100.0.38.1/32
exec create ipip tunnel src 100.0.38.1 dst 200.0.0.2 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-cbc-128 crypto-key 7a4d69424154536e5073477945764154 integ-alg sha-512-256 integ-key 4c686577454363515251574a4b78705277706d6c5a70506e654f484b71686d696f69644c634b4c4c776273535a5743724447664749487752657341566948444a esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-cbc-128 crypto-key 7a4d69424154536e5073477945764154 integ-alg sha-512-256 integ-key 4c686577454363515251574a4b78705277706d6c5a70506e654f484b71686d696f69644c634b4c4c776273535a5743724447664749487752657341566948444a esp
exec ipsec tunnel protect ipip38 sa-out 38 sa-in 100038 add
exec set interface ip address loop0 100.0.39.1/32
exec create ipip tunnel src 100.0.39.1 dst 200.0.0.2 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-cbc-128 crypto-key 686f576e634f667474756e5256564d51 integ-alg sha-512-256 integ-key 4b53614464484b4a4b73536b6c665242784a4273686b57554445674b476b69467a4c57417575776f696a7049465451524f457864477165516c626b42764a4941 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-cbc-128 crypto-key 686f576e634f667474756e5256564d51 integ-alg sha-512-256 integ-key 4b53614464484b4a4b73536b6c665242784a4273686b57554445674b476b69467a4c57417575776f696a7049465451524f457864477165516c626b42764a4941 esp
exec ipsec tunnel protect ipip39 sa-out 39 sa-in 100039 add
exec set interface unnumbered ipip0 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip0 up
exec ip route add 20.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip1 up
exec ip route add 20.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip2 up
exec ip route add 20.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip3 up
exec ip route add 20.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip4 up
exec ip route add 20.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip5 up
exec ip route add 20.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip6 up
exec ip route add 20.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip7 up
exec ip route add 20.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip8 up
exec ip route add 20.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip9 up
exec ip route add 20.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip10 up
exec ip route add 20.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip11 up
exec ip route add 20.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip12 up
exec ip route add 20.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip13 up
exec ip route add 20.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip14 up
exec ip route add 20.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip15 up
exec ip route add 20.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip16 up
exec ip route add 20.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip17 up
exec ip route add 20.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip18 up
exec ip route add 20.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip19 up
exec ip route add 20.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip20 up
exec ip route add 20.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip21 up
exec ip route add 20.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip22 up
exec ip route add 20.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip23 up
exec ip route add 20.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip24 up
exec ip route add 20.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip25 up
exec ip route add 20.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip26 up
exec ip route add 20.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip27 up
exec ip route add 20.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip28 up
exec ip route add 20.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip29 up
exec ip route add 20.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip30 up
exec ip route add 20.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip31 up
exec ip route add 20.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip32 up
exec ip route add 20.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip33 up
exec ip route add 20.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip34 up
exec ip route add 20.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip35 up
exec ip route add 20.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip36 up
exec ip route add 20.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip37 up
exec ip route add 20.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip38 up
exec ip route add 20.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip39 up
exec ip route add 20.0.0.39/32 via ipip39
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec set interface ip address TwentyFiveGigabitEthernet3b/0/1 200.0.0.2/24.0
exec create ipip tunnel src 200.0.0.2 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-cbc-128 crypto-key 514b636f755a586a516d4e6b77534471 integ-alg sha-512-256 integ-key 514a786d6b55477a42434f4b757a4a77646d735a77696f536e6869784b54496d576142466a54574d64476e727349426879445a7a73597a737545515264454a51 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-cbc-128 crypto-key 514b636f755a586a516d4e6b77534471 integ-alg sha-512-256 integ-key 514a786d6b55477a42434f4b757a4a77646d735a77696f536e6869784b54496d576142466a54574d64476e727349426879445a7a73597a737545515264454a51 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-cbc-128 crypto-key 736e6e63774e79654e62447550447550 integ-alg sha-512-256 integ-key 4b6268586351726241774f574859674c7055626c7a764c4678627666545968665a454c70554c544167497a75746f6c5a4a714a766b6552616f6467457652554c esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-cbc-128 crypto-key 736e6e63774e79654e62447550447550 integ-alg sha-512-256 integ-key 4b6268586351726241774f574859674c7055626c7a764c4678627666545968665a454c70554c544167497a75746f6c5a4a714a766b6552616f6467457652554c esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-cbc-128 crypto-key 594d666b5a4f45794644445879524e53 integ-alg sha-512-256 integ-key 4563586a79576f63794c6375424a646f7641794f70435547486a7a43496c414a74704c6e4a4374634c6f545671684a756472756c50746361584171726f694d42 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-cbc-128 crypto-key 594d666b5a4f45794644445879524e53 integ-alg sha-512-256 integ-key 4563586a79576f63794c6375424a646f7641794f70435547486a7a43496c414a74704c6e4a4374634c6f545671684a756472756c50746361584171726f694d42 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-cbc-128 crypto-key 4b6a505076556a7261474c5470496148 integ-alg sha-512-256 integ-key 48506b48686c6c7a61556d4a754e765a6c6d4b4f67687576626956776166637742704e4674696176644966696c5a4372574f5871417469706243506e4b566466 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-cbc-128 crypto-key 4b6a505076556a7261474c5470496148 integ-alg sha-512-256 integ-key 48506b48686c6c7a61556d4a754e765a6c6d4b4f67687576626956776166637742704e4674696176644966696c5a4372574f5871417469706243506e4b566466 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-cbc-128 crypto-key 595447414870475941485a5459475953 integ-alg sha-512-256 integ-key 7a464c6f784a494b6e717a4f426d6c686f4566424b6d7959554d6875516362636349496e666973547545647877446c764b4b67456247776b5164517a70754d73 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-cbc-128 crypto-key 595447414870475941485a5459475953 integ-alg sha-512-256 integ-key 7a464c6f784a494b6e717a4f426d6c686f4566424b6d7959554d6875516362636349496e666973547545647877446c764b4b67456247776b5164517a70754d73 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-cbc-128 crypto-key 694e6642646668494b7a66784e486d62 integ-alg sha-512-256 integ-key 6c7861576a446d417679757341504c47596542665a6d4b737669736a504a566663576b416c4d63554f4d6b6e477a44445964716f5a616456574a466847786750 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-cbc-128 crypto-key 694e6642646668494b7a66784e486d62 integ-alg sha-512-256 integ-key 6c7861576a446d417679757341504c47596542665a6d4b737669736a504a566663576b416c4d63554f4d6b6e477a44445964716f5a616456574a466847786750 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-cbc-128 crypto-key 6d41494873534654656b636a526a6b71 integ-alg sha-512-256 integ-key 7a4843696d62676e7045467a4551734a7855706250446579664a476c74475968616b62527368766d4d756d447a504f5868685246456b5676594b506171786259 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-cbc-128 crypto-key 6d41494873534654656b636a526a6b71 integ-alg sha-512-256 integ-key 7a4843696d62676e7045467a4551734a7855706250446579664a476c74475968616b62527368766d4d756d447a504f5868685246456b5676594b506171786259 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-cbc-128 crypto-key 586b466b7a72786a6d6677626e6d6347 integ-alg sha-512-256 integ-key 6744697a516443466c62436677534165634f5972784a4b49716a446d7279675152624d6a43457a76564b6d7061697553426d45626c5475776651536956676673 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-cbc-128 crypto-key 586b466b7a72786a6d6677626e6d6347 integ-alg sha-512-256 integ-key 6744697a516443466c62436677534165634f5972784a4b49716a446d7279675152624d6a43457a76564b6d7061697553426d45626c5475776651536956676673 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-cbc-128 crypto-key 486d4a76667674594d756d675a425865 integ-alg sha-512-256 integ-key 7347615265575568577654785674665a597845617464525874676d594e53756546426c4474464747654e5a75416561714c546863766e5261704f526f727a4578 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-cbc-128 crypto-key 486d4a76667674594d756d675a425865 integ-alg sha-512-256 integ-key 7347615265575568577654785674665a597845617464525874676d594e53756546426c4474464747654e5a75416561714c546863766e5261704f526f727a4578 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-cbc-128 crypto-key 58786a4e42634c71706e6f4665537164 integ-alg sha-512-256 integ-key 7544706369774f4d416a7852756d5a667878706a556b4c6165484967474e7867486f4c6a67734c426d715155714a774967624f55686272756a514c7876644d6c esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-cbc-128 crypto-key 58786a4e42634c71706e6f4665537164 integ-alg sha-512-256 integ-key 7544706369774f4d416a7852756d5a667878706a556b4c6165484967474e7867486f4c6a67734c426d715155714a774967624f55686272756a514c7876644d6c esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-cbc-128 crypto-key 536d656d52534a5665654b6b7a767563 integ-alg sha-512-256 integ-key 747a51425a78654a6472516d566d58657673686f5553734b55496d6a66656165664d5778454c75526743417a79554966746e6b4d61525a6749614e5654416e44 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-cbc-128 crypto-key 536d656d52534a5665654b6b7a767563 integ-alg sha-512-256 integ-key 747a51425a78654a6472516d566d58657673686f5553734b55496d6a66656165664d5778454c75526743417a79554966746e6b4d61525a6749614e5654416e44 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-cbc-128 crypto-key 4e77456f7558484b46754f4768706254 integ-alg sha-512-256 integ-key 4750744f64764d6b57664c4648727a76685642687a74767a5769496b72637370526851676e5651487a6349734471464947674c77616671465854657155554676 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-cbc-128 crypto-key 4e77456f7558484b46754f4768706254 integ-alg sha-512-256 integ-key 4750744f64764d6b57664c4648727a76685642687a74767a5769496b72637370526851676e5651487a6349734471464947674c77616671465854657155554676 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-cbc-128 crypto-key 4c7565417144556b435957706c4c425a integ-alg sha-512-256 integ-key 534a4873717a6f415971544d47616e48625179707947596a6a6f6f5a49775373436f706b466a686761647146745a59527350467076445a52466f496c7a4c4f44 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-cbc-128 crypto-key 4c7565417144556b435957706c4c425a integ-alg sha-512-256 integ-key 534a4873717a6f415971544d47616e48625179707947596a6a6f6f5a49775373436f706b466a686761647146745a59527350467076445a52466f496c7a4c4f44 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-cbc-128 crypto-key 544d79614256595971624d667a426a6c integ-alg sha-512-256 integ-key 4d6764794c684249644a74525654706e70556e61774875677775486548766342666e59514c554b62664752686a634856506e6f6656714e576748557458595447 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-cbc-128 crypto-key 544d79614256595971624d667a426a6c integ-alg sha-512-256 integ-key 4d6764794c684249644a74525654706e70556e61774875677775486548766342666e59514c554b62664752686a634856506e6f6656714e576748557458595447 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-cbc-128 crypto-key 61564f67505975497a4f697045664165 integ-alg sha-512-256 integ-key 6656654874665762506e5067766e707a57466a67546a664d564c754869587a677144714655575469584c485048735746476a7378464162706357745254705853 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-cbc-128 crypto-key 61564f67505975497a4f697045664165 integ-alg sha-512-256 integ-key 6656654874665762506e5067766e707a57466a67546a664d564c754869587a677144714655575469584c485048735746476a7378464162706357745254705853 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-cbc-128 crypto-key 79747461676c73474645416363506159 integ-alg sha-512-256 integ-key 71676b756f6b67694e71466c6c74745469644759566342494a6e4572794269415761494665566d624e45786b77516c556b734552774c676f5a6e61534d536453 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-cbc-128 crypto-key 79747461676c73474645416363506159 integ-alg sha-512-256 integ-key 71676b756f6b67694e71466c6c74745469644759566342494a6e4572794269415761494665566d624e45786b77516c556b734552774c676f5a6e61534d536453 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-cbc-128 crypto-key 6a497346735767524b5549475945436f integ-alg sha-512-256 integ-key 57714b625359534b674d475a73494858594e4d6c5a456162706245756e4d4a7a6e434146744e7969516272414b7068647677556b50717870664b796b64745872 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-cbc-128 crypto-key 6a497346735767524b5549475945436f integ-alg sha-512-256 integ-key 57714b625359534b674d475a73494858594e4d6c5a456162706245756e4d4a7a6e434146744e7969516272414b7068647677556b50717870664b796b64745872 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-cbc-128 crypto-key 686a4e4870486558557a44534e694678 integ-alg sha-512-256 integ-key 4b4b7057496253646853674a58724d796d7374504c56746a74677072696961717467774b495a685154436d4a535062654b4b644e4870654958726d48436c7375 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-cbc-128 crypto-key 686a4e4870486558557a44534e694678 integ-alg sha-512-256 integ-key 4b4b7057496253646853674a58724d796d7374504c56746a74677072696961717467774b495a685154436d4a535062654b4b644e4870654958726d48436c7375 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-cbc-128 crypto-key 626776455a4571575a446a6a74674662 integ-alg sha-512-256 integ-key 4263676e6952686f7a67424448625a6f7a754d7450437948536d426e6d6f42726b4b6d444d7946504f646c6d7767454c7259646e4464706a585579656667516d esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-cbc-128 crypto-key 626776455a4571575a446a6a74674662 integ-alg sha-512-256 integ-key 4263676e6952686f7a67424448625a6f7a754d7450437948536d426e6d6f42726b4b6d444d7946504f646c6d7767454c7259646e4464706a585579656667516d esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-cbc-128 crypto-key 4f5a4c79705a63616d76734f58504d57 integ-alg sha-512-256 integ-key 6f68534b6658776b737a4d657175694f6c4f6f7850574c6743477565506e686f4f64496b487648465975634b667165457644534a646957676c7444494d617543 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-cbc-128 crypto-key 4f5a4c79705a63616d76734f58504d57 integ-alg sha-512-256 integ-key 6f68534b6658776b737a4d657175694f6c4f6f7850574c6743477565506e686f4f64496b487648465975634b667165457644534a646957676c7444494d617543 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-cbc-128 crypto-key 71427073546c704a56514d7657746e4a integ-alg sha-512-256 integ-key 715a4c585465667362616e6e42546a4a73546d6952564c484d4a6d627a7744416457774c41776c5a767065666e5a544b6851516b5a4765725679765763777566 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-cbc-128 crypto-key 71427073546c704a56514d7657746e4a integ-alg sha-512-256 integ-key 715a4c585465667362616e6e42546a4a73546d6952564c484d4a6d627a7744416457774c41776c5a767065666e5a544b6851516b5a4765725679765763777566 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-cbc-128 crypto-key 58636a4862484e5a6c6e41756a5a6264 integ-alg sha-512-256 integ-key 484658494a79616f72515a55414177425a766b6f69776a5452484c677361726a435344557a476443785649654250656165746e534b787a446563714544694744 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-cbc-128 crypto-key 58636a4862484e5a6c6e41756a5a6264 integ-alg sha-512-256 integ-key 484658494a79616f72515a55414177425a766b6f69776a5452484c677361726a435344557a476443785649654250656165746e534b787a446563714544694744 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-cbc-128 crypto-key 4174756e737374684a6e655a4b415268 integ-alg sha-512-256 integ-key 4975614f4e5263444f79446355686c55516f566a616f46454a5958727748565a4a4a4949434970644c464565667469456b636a765957787446657a494d5a6b6f esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-cbc-128 crypto-key 4174756e737374684a6e655a4b415268 integ-alg sha-512-256 integ-key 4975614f4e5263444f79446355686c55516f566a616f46454a5958727748565a4a4a4949434970644c464565667469456b636a765957787446657a494d5a6b6f esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-cbc-128 crypto-key 4148504c4d4f45426f4d58794a786577 integ-alg sha-512-256 integ-key 426b54666e796d67666d7345494266736b686b5650574d4d4679515744717657446c566968774e6454566e4d6c66426f737a4d6d7155496852564c6f66504f48 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-cbc-128 crypto-key 4148504c4d4f45426f4d58794a786577 integ-alg sha-512-256 integ-key 426b54666e796d67666d7345494266736b686b5650574d4d4679515744717657446c566968774e6454566e4d6c66426f737a4d6d7155496852564c6f66504f48 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-cbc-128 crypto-key 6750416a51484242425469656c6c6471 integ-alg sha-512-256 integ-key 59787648784f4a4276434b53736c5378526d73484b4e6568547364615469786b6a74514446446a6355687770546a436e7970575679414b436479637759456248 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-cbc-128 crypto-key 6750416a51484242425469656c6c6471 integ-alg sha-512-256 integ-key 59787648784f4a4276434b53736c5378526d73484b4e6568547364615469786b6a74514446446a6355687770546a436e7970575679414b436479637759456248 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-cbc-128 crypto-key 77714d747252724f536f734355685061 integ-alg sha-512-256 integ-key 73676572446a6965784f4f714e4e48645179584d446361616859506c5858776d7378585655446344744176775859506d63426e774268436c6b6c64546c4c7157 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-cbc-128 crypto-key 77714d747252724f536f734355685061 integ-alg sha-512-256 integ-key 73676572446a6965784f4f714e4e48645179584d446361616859506c5858776d7378585655446344744176775859506d63426e774268436c6b6c64546c4c7157 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-cbc-128 crypto-key 674d4665476850694d664c55636a7757 integ-alg sha-512-256 integ-key 446a427a4e75456e4871426f52576e7366584f4341447a53736757555943585a6149666c464a72455053456f6f586f73796b6153734b47664e67596d4c74724c esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-cbc-128 crypto-key 674d4665476850694d664c55636a7757 integ-alg sha-512-256 integ-key 446a427a4e75456e4871426f52576e7366584f4341447a53736757555943585a6149666c464a72455053456f6f586f73796b6153734b47664e67596d4c74724c esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-cbc-128 crypto-key 4d49544d644363555a71704f50727041 integ-alg sha-512-256 integ-key 467676596c5a574167446975776877555047626b6e4c69697778726a696f69494e4a53565947424d486a6675674b43476d4d4756786c4f58714d486d4b6f7677 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-cbc-128 crypto-key 4d49544d644363555a71704f50727041 integ-alg sha-512-256 integ-key 467676596c5a574167446975776877555047626b6e4c69697778726a696f69494e4a53565947424d486a6675674b43476d4d4756786c4f58714d486d4b6f7677 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-cbc-128 crypto-key 684b58695071414176464b48677a454f integ-alg sha-512-256 integ-key 72774372454648726543714e4a4a4c484a51465a4a7679446d46656e76734f78614478426a6e466e7750426a4f734a4d4c6868797672715661687a4448535445 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-cbc-128 crypto-key 684b58695071414176464b48677a454f integ-alg sha-512-256 integ-key 72774372454648726543714e4a4a4c484a51465a4a7679446d46656e76734f78614478426a6e466e7750426a4f734a4d4c6868797672715661687a4448535445 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-cbc-128 crypto-key 6577416876684a676357786a79785063 integ-alg sha-512-256 integ-key 664f544548504c667a6563615552686f48774f6c6d64517259777478697061456f755253746645554f53736a4d4743444459584561444e614e6643484b6b5772 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-cbc-128 crypto-key 6577416876684a676357786a79785063 integ-alg sha-512-256 integ-key 664f544548504c667a6563615552686f48774f6c6d64517259777478697061456f755253746645554f53736a4d4743444459584561444e614e6643484b6b5772 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-cbc-128 crypto-key 5377676c6f6367504b564a7075796b41 integ-alg sha-512-256 integ-key 79745a78664e5a7075746d4c4d51776979446a7252594c6550676d416e6577565878706d6e44594263536e72624e646177766f6a494571774e535a76424a4478 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-cbc-128 crypto-key 5377676c6f6367504b564a7075796b41 integ-alg sha-512-256 integ-key 79745a78664e5a7075746d4c4d51776979446a7252594c6550676d416e6577565878706d6e44594263536e72624e646177766f6a494571774e535a76424a4478 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-cbc-128 crypto-key 4253747a5154717272594653636a6158 integ-alg sha-512-256 integ-key 70745177437669707a544e72764659784671616b466b7676656f5946476e70415a686d7a7a786f5659527a73504c59494177744b70646e6f71546d5846524456 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-cbc-128 crypto-key 4253747a5154717272594653636a6158 integ-alg sha-512-256 integ-key 70745177437669707a544e72764659784671616b466b7676656f5946476e70415a686d7a7a786f5659527a73504c59494177744b70646e6f71546d5846524456 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-cbc-128 crypto-key 7a6948466b445852635779706c62476b integ-alg sha-512-256 integ-key 6577507a5544795a5541436f58576d694d5a66427172556c6b78676e4e4a4f6470586d706762736968527242776f454e5670727a6c4a776543746c6841726868 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-cbc-128 crypto-key 7a6948466b445852635779706c62476b integ-alg sha-512-256 integ-key 6577507a5544795a5541436f58576d694d5a66427172556c6b78676e4e4a4f6470586d706762736968527242776f454e5670727a6c4a776543746c6841726868 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-cbc-128 crypto-key 544c4d7746674b494276796e73644e56 integ-alg sha-512-256 integ-key 45784657524852774d616c70516c6f454d5752784e7569426541544979674449775163464e7046444257444c6f74435142787050514975436e5968646470434c esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-cbc-128 crypto-key 544c4d7746674b494276796e73644e56 integ-alg sha-512-256 integ-key 45784657524852774d616c70516c6f454d5752784e7569426541544979674449775163464e7046444257444c6f74435142787050514975436e5968646470434c esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-cbc-128 crypto-key 4b5278704f52696c4f63696c73424c7a integ-alg sha-512-256 integ-key 5254716b755761665853626c636b466a55505570635076416c56586d77735364424d624252584764764861664e766258626c57506a434950486e4d525a6a7267 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-cbc-128 crypto-key 4b5278704f52696c4f63696c73424c7a integ-alg sha-512-256 integ-key 5254716b755761665853626c636b466a55505570635076416c56586d77735364424d624252584764764861664e766258626c57506a434950486e4d525a6a7267 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-cbc-128 crypto-key 41414d516b4c485257426f6857536c5a integ-alg sha-512-256 integ-key 4547586a7573746348685041724968746763427158794c6571624c5543784c7a7766444f4b6c4f624d6b6d7a526343634d7070424c566b774f4e4e4e5245594f esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-cbc-128 crypto-key 41414d516b4c485257426f6857536c5a integ-alg sha-512-256 integ-key 4547586a7573746348685041724968746763427158794c6571624c5543784c7a7766444f4b6c4f624d6b6d7a526343634d7070424c566b774f4e4e4e5245594f esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-cbc-128 crypto-key 56664d744579754f745a51564361516f integ-alg sha-512-256 integ-key 4e444175716c5741434c554f654c5a4d4a456b704445774d714c454a7942656f6e454f4647557158576e77796a744649566f69504567685957757946614d7168 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-cbc-128 crypto-key 56664d744579754f745a51564361516f integ-alg sha-512-256 integ-key 4e444175716c5741434c554f654c5a4d4a456b704445774d714c454a7942656f6e454f4647557158576e77796a744649566f69504567685957757946614d7168 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-cbc-128 crypto-key 6a75464d5364764c7158595941436352 integ-alg sha-512-256 integ-key 735a6242686a784f474b464a746b664267654661686d6e63666b7365546f6d4a587057657a4f6b7a63456d4e686156647a647655796d4b4666677a5373714153 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-cbc-128 crypto-key 6a75464d5364764c7158595941436352 integ-alg sha-512-256 integ-key 735a6242686a784f474b464a746b664267654661686d6e63666b7365546f6d4a587057657a4f6b7a63456d4e686156647a647655796d4b4666677a5373714153 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-cbc-128 crypto-key 7a4d69424154536e5073477945764154 integ-alg sha-512-256 integ-key 4c686577454363515251574a4b78705277706d6c5a70506e654f484b71686d696f69644c634b4c4c776273535a5743724447664749487752657341566948444a esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-cbc-128 crypto-key 7a4d69424154536e5073477945764154 integ-alg sha-512-256 integ-key 4c686577454363515251574a4b78705277706d6c5a70506e654f484b71686d696f69644c634b4c4c776273535a5743724447664749487752657341566948444a esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-cbc-128 crypto-key 686f576e634f667474756e5256564d51 integ-alg sha-512-256 integ-key 4b53614464484b4a4b73536b6c665242784a4273686b57554445674b476b69467a4c57417575776f696a7049465451524f457864477165516c626b42764a4941 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-cbc-128 crypto-key 686f576e634f667474756e5256564d51 integ-alg sha-512-256 integ-key 4b53614464484b4a4b73536b6c665242784a4273686b57554445674b476b69467a4c57417575776f696a7049465451524f457864477165516c626b42764a4941 esp
exec ipsec tunnel protect ipip39 sa-out 100039 sa-in 39 add
exec ip route add 100.0.0.1/8 via 200.0.0.1 TwentyFiveGigabitEthernet3b/0/1
exec set interface unnumbered ipip0 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip0 up
exec ip route add 10.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip1 up
exec ip route add 10.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip2 up
exec ip route add 10.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip3 up
exec ip route add 10.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip4 up
exec ip route add 10.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip5 up
exec ip route add 10.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip6 up
exec ip route add 10.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip7 up
exec ip route add 10.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip8 up
exec ip route add 10.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip9 up
exec ip route add 10.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip10 up
exec ip route add 10.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip11 up
exec ip route add 10.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip12 up
exec ip route add 10.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip13 up
exec ip route add 10.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip14 up
exec ip route add 10.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip15 up
exec ip route add 10.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip16 up
exec ip route add 10.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip17 up
exec ip route add 10.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip18 up
exec ip route add 10.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip19 up
exec ip route add 10.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip20 up
exec ip route add 10.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip21 up
exec ip route add 10.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip22 up
exec ip route add 10.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip23 up
exec ip route add 10.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip24 up
exec ip route add 10.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip25 up
exec ip route add 10.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip26 up
exec ip route add 10.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip27 up
exec ip route add 10.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip28 up
exec ip route add 10.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip29 up
exec ip route add 10.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip30 up
exec ip route add 10.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip31 up
exec ip route add 10.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip32 up
exec ip route add 10.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip33 up
exec ip route add 10.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip34 up
exec ip route add 10.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip35 up
exec ip route add 10.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip36 up
exec ip route add 10.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip37 up
exec ip route add 10.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip38 up
exec ip route add 10.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip39 up
exec ip route add 10.0.0.39/32 via ipip39

25ge2p1xxv710-ethip4ipsec40tnlsw-ip4base-int-aes128gcm-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-ethip4ipsec40tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec create loopback interface
exec set interface state loop0 up
exec set interface ip address TwentyFiveGigabitEthernet3b/0/1 200.0.0.1/24
exec set ip neighbor TwentyFiveGigabitEthernet3b/0/1 200.0.0.2 3c:fd:fe:bd:f8:fd static
exec set interface ip address loop0 100.0.0.1/32
exec create ipip tunnel src 100.0.0.1 dst 200.0.0.2 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 474273486665537674534a586777496d esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 474273486665537674534a586777496d esp
exec ipsec tunnel protect ipip0 sa-out 0 sa-in 100000 add
exec set interface ip address loop0 100.0.1.1/32
exec create ipip tunnel src 100.0.1.1 dst 200.0.0.2 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 626c55426f556e484b516456776b6963 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 626c55426f556e484b516456776b6963 esp
exec ipsec tunnel protect ipip1 sa-out 1 sa-in 100001 add
exec set interface ip address loop0 100.0.2.1/32
exec create ipip tunnel src 100.0.2.1 dst 200.0.0.2 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 66466658624a43526d4b696b54434759 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 66466658624a43526d4b696b54434759 esp
exec ipsec tunnel protect ipip2 sa-out 2 sa-in 100002 add
exec set interface ip address loop0 100.0.3.1/32
exec create ipip tunnel src 100.0.3.1 dst 200.0.0.2 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 57677a43424d435a6b4e66464d56537a esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 57677a43424d435a6b4e66464d56537a esp
exec ipsec tunnel protect ipip3 sa-out 3 sa-in 100003 add
exec set interface ip address loop0 100.0.4.1/32
exec create ipip tunnel src 100.0.4.1 dst 200.0.0.2 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 7745755255774f4f4e45764156515764 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 7745755255774f4f4e45764156515764 esp
exec ipsec tunnel protect ipip4 sa-out 4 sa-in 100004 add
exec set interface ip address loop0 100.0.5.1/32
exec create ipip tunnel src 100.0.5.1 dst 200.0.0.2 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 47654c686b6358664975694b6471765a esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 47654c686b6358664975694b6471765a esp
exec ipsec tunnel protect ipip5 sa-out 5 sa-in 100005 add
exec set interface ip address loop0 100.0.6.1/32
exec create ipip tunnel src 100.0.6.1 dst 200.0.0.2 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 655367624756556258457a4774574863 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 655367624756556258457a4774574863 esp
exec ipsec tunnel protect ipip6 sa-out 6 sa-in 100006 add
exec set interface ip address loop0 100.0.7.1/32
exec create ipip tunnel src 100.0.7.1 dst 200.0.0.2 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 596857574b43595a63616a4e6c6a625a esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 596857574b43595a63616a4e6c6a625a esp
exec ipsec tunnel protect ipip7 sa-out 7 sa-in 100007 add
exec set interface ip address loop0 100.0.8.1/32
exec create ipip tunnel src 100.0.8.1 dst 200.0.0.2 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 716a71546f78466c515059476871644c esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 716a71546f78466c515059476871644c esp
exec ipsec tunnel protect ipip8 sa-out 8 sa-in 100008 add
exec set interface ip address loop0 100.0.9.1/32
exec create ipip tunnel src 100.0.9.1 dst 200.0.0.2 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 76546c53467167526549496a587a4a57 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 76546c53467167526549496a587a4a57 esp
exec ipsec tunnel protect ipip9 sa-out 9 sa-in 100009 add
exec set interface ip address loop0 100.0.10.1/32
exec create ipip tunnel src 100.0.10.1 dst 200.0.0.2 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 695a63785a726876544a5757645a6e75 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 695a63785a726876544a5757645a6e75 esp
exec ipsec tunnel protect ipip10 sa-out 10 sa-in 100010 add
exec set interface ip address loop0 100.0.11.1/32
exec create ipip tunnel src 100.0.11.1 dst 200.0.0.2 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 4a47656c6b70486c53587763766d6a44 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 4a47656c6b70486c53587763766d6a44 esp
exec ipsec tunnel protect ipip11 sa-out 11 sa-in 100011 add
exec set interface ip address loop0 100.0.12.1/32
exec create ipip tunnel src 100.0.12.1 dst 200.0.0.2 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 47614c5378506c75446c4e4558537253 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 47614c5378506c75446c4e4558537253 esp
exec ipsec tunnel protect ipip12 sa-out 12 sa-in 100012 add
exec set interface ip address loop0 100.0.13.1/32
exec create ipip tunnel src 100.0.13.1 dst 200.0.0.2 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 66535a5144784b467845694f64725a4f esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 66535a5144784b467845694f64725a4f esp
exec ipsec tunnel protect ipip13 sa-out 13 sa-in 100013 add
exec set interface ip address loop0 100.0.14.1/32
exec create ipip tunnel src 100.0.14.1 dst 200.0.0.2 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 46476c4c6a77445770485447734a6d6f esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 46476c4c6a77445770485447734a6d6f esp
exec ipsec tunnel protect ipip14 sa-out 14 sa-in 100014 add
exec set interface ip address loop0 100.0.15.1/32
exec create ipip tunnel src 100.0.15.1 dst 200.0.0.2 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 426561716c744b53706372496957554b esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 426561716c744b53706372496957554b esp
exec ipsec tunnel protect ipip15 sa-out 15 sa-in 100015 add
exec set interface ip address loop0 100.0.16.1/32
exec create ipip tunnel src 100.0.16.1 dst 200.0.0.2 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 7354636151534a4c6e64764b416d5078 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 7354636151534a4c6e64764b416d5078 esp
exec ipsec tunnel protect ipip16 sa-out 16 sa-in 100016 add
exec set interface ip address loop0 100.0.17.1/32
exec create ipip tunnel src 100.0.17.1 dst 200.0.0.2 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 6d646d6578476f544e6278646a664374 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 6d646d6578476f544e6278646a664374 esp
exec ipsec tunnel protect ipip17 sa-out 17 sa-in 100017 add
exec set interface ip address loop0 100.0.18.1/32
exec create ipip tunnel src 100.0.18.1 dst 200.0.0.2 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 70647272614a436f6376716b6f677365 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 70647272614a436f6376716b6f677365 esp
exec ipsec tunnel protect ipip18 sa-out 18 sa-in 100018 add
exec set interface ip address loop0 100.0.19.1/32
exec create ipip tunnel src 100.0.19.1 dst 200.0.0.2 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 4b744b694c6375427871435476495855 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 4b744b694c6375427871435476495855 esp
exec ipsec tunnel protect ipip19 sa-out 19 sa-in 100019 add
exec set interface ip address loop0 100.0.20.1/32
exec create ipip tunnel src 100.0.20.1 dst 200.0.0.2 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 694a4958705951735677616558635042 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 694a4958705951735677616558635042 esp
exec ipsec tunnel protect ipip20 sa-out 20 sa-in 100020 add
exec set interface ip address loop0 100.0.21.1/32
exec create ipip tunnel src 100.0.21.1 dst 200.0.0.2 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 4e6e435a726f6d737468687976444270 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 4e6e435a726f6d737468687976444270 esp
exec ipsec tunnel protect ipip21 sa-out 21 sa-in 100021 add
exec set interface ip address loop0 100.0.22.1/32
exec create ipip tunnel src 100.0.22.1 dst 200.0.0.2 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 66584b5644696c794859764e686a636d esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 66584b5644696c794859764e686a636d esp
exec ipsec tunnel protect ipip22 sa-out 22 sa-in 100022 add
exec set interface ip address loop0 100.0.23.1/32
exec create ipip tunnel src 100.0.23.1 dst 200.0.0.2 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 654142594d4e63797861684e716e4250 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 654142594d4e63797861684e716e4250 esp
exec ipsec tunnel protect ipip23 sa-out 23 sa-in 100023 add
exec set interface ip address loop0 100.0.24.1/32
exec create ipip tunnel src 100.0.24.1 dst 200.0.0.2 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 71444f476c6e7a6452535676774f7152 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 71444f476c6e7a6452535676774f7152 esp
exec ipsec tunnel protect ipip24 sa-out 24 sa-in 100024 add
exec set interface ip address loop0 100.0.25.1/32
exec create ipip tunnel src 100.0.25.1 dst 200.0.0.2 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 736a7a68746875476b444152546f6c6e esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 736a7a68746875476b444152546f6c6e esp
exec ipsec tunnel protect ipip25 sa-out 25 sa-in 100025 add
exec set interface ip address loop0 100.0.26.1/32
exec create ipip tunnel src 100.0.26.1 dst 200.0.0.2 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 555948466b664b775361436278577042 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 555948466b664b775361436278577042 esp
exec ipsec tunnel protect ipip26 sa-out 26 sa-in 100026 add
exec set interface ip address loop0 100.0.27.1/32
exec create ipip tunnel src 100.0.27.1 dst 200.0.0.2 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 536e7354694a6875676a49724158676d esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 536e7354694a6875676a49724158676d esp
exec ipsec tunnel protect ipip27 sa-out 27 sa-in 100027 add
exec set interface ip address loop0 100.0.28.1/32
exec create ipip tunnel src 100.0.28.1 dst 200.0.0.2 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 5a62494f7577446a6854725845765545 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 5a62494f7577446a6854725845765545 esp
exec ipsec tunnel protect ipip28 sa-out 28 sa-in 100028 add
exec set interface ip address loop0 100.0.29.1/32
exec create ipip tunnel src 100.0.29.1 dst 200.0.0.2 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 48747442616964734377446b496a5a57 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 48747442616964734377446b496a5a57 esp
exec ipsec tunnel protect ipip29 sa-out 29 sa-in 100029 add
exec set interface ip address loop0 100.0.30.1/32
exec create ipip tunnel src 100.0.30.1 dst 200.0.0.2 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 526d454d474559466263725776796a67 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 526d454d474559466263725776796a67 esp
exec ipsec tunnel protect ipip30 sa-out 30 sa-in 100030 add
exec set interface ip address loop0 100.0.31.1/32
exec create ipip tunnel src 100.0.31.1 dst 200.0.0.2 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 5956666c71466574437a4950664a4c6d esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 5956666c71466574437a4950664a4c6d esp
exec ipsec tunnel protect ipip31 sa-out 31 sa-in 100031 add
exec set interface ip address loop0 100.0.32.1/32
exec create ipip tunnel src 100.0.32.1 dst 200.0.0.2 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 5351434c6e596f417577734c6444534b esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 5351434c6e596f417577734c6444534b esp
exec ipsec tunnel protect ipip32 sa-out 32 sa-in 100032 add
exec set interface ip address loop0 100.0.33.1/32
exec create ipip tunnel src 100.0.33.1 dst 200.0.0.2 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 6c6c784f586773446841574c50517250 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 6c6c784f586773446841574c50517250 esp
exec ipsec tunnel protect ipip33 sa-out 33 sa-in 100033 add
exec set interface ip address loop0 100.0.34.1/32
exec create ipip tunnel src 100.0.34.1 dst 200.0.0.2 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 6a784d77764f5950694a494b74564f7a esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 6a784d77764f5950694a494b74564f7a esp
exec ipsec tunnel protect ipip34 sa-out 34 sa-in 100034 add
exec set interface ip address loop0 100.0.35.1/32
exec create ipip tunnel src 100.0.35.1 dst 200.0.0.2 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 6a427852576c4e425850464d47775741 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 6a427852576c4e425850464d47775741 esp
exec ipsec tunnel protect ipip35 sa-out 35 sa-in 100035 add
exec set interface ip address loop0 100.0.36.1/32
exec create ipip tunnel src 100.0.36.1 dst 200.0.0.2 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 6d5770646d696477496f7342646d4b62 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 6d5770646d696477496f7342646d4b62 esp
exec ipsec tunnel protect ipip36 sa-out 36 sa-in 100036 add
exec set interface ip address loop0 100.0.37.1/32
exec create ipip tunnel src 100.0.37.1 dst 200.0.0.2 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 64727a784c6d64726e644161574e5279 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 64727a784c6d64726e644161574e5279 esp
exec ipsec tunnel protect ipip37 sa-out 37 sa-in 100037 add
exec set interface ip address loop0 100.0.38.1/32
exec create ipip tunnel src 100.0.38.1 dst 200.0.0.2 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 7773505a7863545a5072784578647558 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 7773505a7863545a5072784578647558 esp
exec ipsec tunnel protect ipip38 sa-out 38 sa-in 100038 add
exec set interface ip address loop0 100.0.39.1/32
exec create ipip tunnel src 100.0.39.1 dst 200.0.0.2 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 6877744d746b534b4c644b7a57556a50 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 6877744d746b534b4c644b7a57556a50 esp
exec ipsec tunnel protect ipip39 sa-out 39 sa-in 100039 add
exec set interface unnumbered ipip0 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip0 up
exec ip route add 20.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip1 up
exec ip route add 20.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip2 up
exec ip route add 20.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip3 up
exec ip route add 20.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip4 up
exec ip route add 20.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip5 up
exec ip route add 20.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip6 up
exec ip route add 20.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip7 up
exec ip route add 20.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip8 up
exec ip route add 20.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip9 up
exec ip route add 20.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip10 up
exec ip route add 20.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip11 up
exec ip route add 20.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip12 up
exec ip route add 20.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip13 up
exec ip route add 20.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip14 up
exec ip route add 20.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip15 up
exec ip route add 20.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip16 up
exec ip route add 20.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip17 up
exec ip route add 20.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip18 up
exec ip route add 20.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip19 up
exec ip route add 20.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip20 up
exec ip route add 20.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip21 up
exec ip route add 20.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip22 up
exec ip route add 20.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip23 up
exec ip route add 20.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip24 up
exec ip route add 20.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip25 up
exec ip route add 20.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip26 up
exec ip route add 20.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip27 up
exec ip route add 20.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip28 up
exec ip route add 20.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip29 up
exec ip route add 20.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip30 up
exec ip route add 20.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip31 up
exec ip route add 20.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip32 up
exec ip route add 20.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip33 up
exec ip route add 20.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip34 up
exec ip route add 20.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip35 up
exec ip route add 20.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip36 up
exec ip route add 20.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip37 up
exec ip route add 20.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip38 up
exec ip route add 20.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip39 up
exec ip route add 20.0.0.39/32 via ipip39
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec set interface ip address TwentyFiveGigabitEthernet3b/0/1 200.0.0.2/24.0
exec create ipip tunnel src 200.0.0.2 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 474273486665537674534a586777496d esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 474273486665537674534a586777496d esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 626c55426f556e484b516456776b6963 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 626c55426f556e484b516456776b6963 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 66466658624a43526d4b696b54434759 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 66466658624a43526d4b696b54434759 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 57677a43424d435a6b4e66464d56537a esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 57677a43424d435a6b4e66464d56537a esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 7745755255774f4f4e45764156515764 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 7745755255774f4f4e45764156515764 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 47654c686b6358664975694b6471765a esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 47654c686b6358664975694b6471765a esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 655367624756556258457a4774574863 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 655367624756556258457a4774574863 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 596857574b43595a63616a4e6c6a625a esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 596857574b43595a63616a4e6c6a625a esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 716a71546f78466c515059476871644c esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 716a71546f78466c515059476871644c esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 76546c53467167526549496a587a4a57 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 76546c53467167526549496a587a4a57 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 695a63785a726876544a5757645a6e75 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 695a63785a726876544a5757645a6e75 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 4a47656c6b70486c53587763766d6a44 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 4a47656c6b70486c53587763766d6a44 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 47614c5378506c75446c4e4558537253 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 47614c5378506c75446c4e4558537253 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 66535a5144784b467845694f64725a4f esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 66535a5144784b467845694f64725a4f esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 46476c4c6a77445770485447734a6d6f esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 46476c4c6a77445770485447734a6d6f esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 426561716c744b53706372496957554b esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 426561716c744b53706372496957554b esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 7354636151534a4c6e64764b416d5078 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 7354636151534a4c6e64764b416d5078 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 6d646d6578476f544e6278646a664374 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 6d646d6578476f544e6278646a664374 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 70647272614a436f6376716b6f677365 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 70647272614a436f6376716b6f677365 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 4b744b694c6375427871435476495855 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 4b744b694c6375427871435476495855 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 694a4958705951735677616558635042 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 694a4958705951735677616558635042 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 4e6e435a726f6d737468687976444270 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 4e6e435a726f6d737468687976444270 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 66584b5644696c794859764e686a636d esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 66584b5644696c794859764e686a636d esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 654142594d4e63797861684e716e4250 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 654142594d4e63797861684e716e4250 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 71444f476c6e7a6452535676774f7152 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 71444f476c6e7a6452535676774f7152 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 736a7a68746875476b444152546f6c6e esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 736a7a68746875476b444152546f6c6e esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 555948466b664b775361436278577042 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 555948466b664b775361436278577042 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 536e7354694a6875676a49724158676d esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 536e7354694a6875676a49724158676d esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 5a62494f7577446a6854725845765545 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 5a62494f7577446a6854725845765545 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 48747442616964734377446b496a5a57 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 48747442616964734377446b496a5a57 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 526d454d474559466263725776796a67 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 526d454d474559466263725776796a67 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 5956666c71466574437a4950664a4c6d esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 5956666c71466574437a4950664a4c6d esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 5351434c6e596f417577734c6444534b esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 5351434c6e596f417577734c6444534b esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 6c6c784f586773446841574c50517250 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 6c6c784f586773446841574c50517250 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 6a784d77764f5950694a494b74564f7a esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 6a784d77764f5950694a494b74564f7a esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 6a427852576c4e425850464d47775741 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 6a427852576c4e425850464d47775741 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 6d5770646d696477496f7342646d4b62 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 6d5770646d696477496f7342646d4b62 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 64727a784c6d64726e644161574e5279 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 64727a784c6d64726e644161574e5279 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 7773505a7863545a5072784578647558 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 7773505a7863545a5072784578647558 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 6877744d746b534b4c644b7a57556a50 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 6877744d746b534b4c644b7a57556a50 esp
exec ipsec tunnel protect ipip39 sa-out 100039 sa-in 39 add
exec ip route add 100.0.0.1/8 via 200.0.0.1 TwentyFiveGigabitEthernet3b/0/1
exec set interface unnumbered ipip0 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip0 up
exec ip route add 10.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip1 up
exec ip route add 10.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip2 up
exec ip route add 10.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip3 up
exec ip route add 10.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip4 up
exec ip route add 10.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip5 up
exec ip route add 10.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip6 up
exec ip route add 10.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip7 up
exec ip route add 10.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip8 up
exec ip route add 10.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip9 up
exec ip route add 10.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip10 up
exec ip route add 10.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip11 up
exec ip route add 10.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip12 up
exec ip route add 10.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip13 up
exec ip route add 10.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip14 up
exec ip route add 10.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip15 up
exec ip route add 10.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip16 up
exec ip route add 10.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip17 up
exec ip route add 10.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip18 up
exec ip route add 10.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip19 up
exec ip route add 10.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip20 up
exec ip route add 10.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip21 up
exec ip route add 10.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip22 up
exec ip route add 10.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip23 up
exec ip route add 10.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip24 up
exec ip route add 10.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip25 up
exec ip route add 10.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip26 up
exec ip route add 10.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip27 up
exec ip route add 10.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip28 up
exec ip route add 10.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip29 up
exec ip route add 10.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip30 up
exec ip route add 10.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip31 up
exec ip route add 10.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip32 up
exec ip route add 10.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip33 up
exec ip route add 10.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip34 up
exec ip route add 10.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip35 up
exec ip route add 10.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip36 up
exec ip route add 10.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip37 up
exec ip route add 10.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip38 up
exec ip route add 10.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip39 up
exec ip route add 10.0.0.39/32 via ipip39

 64b-4t2c-ethip4ipsec40tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec create loopback interface
exec set interface state loop0 up
exec set interface ip address TwentyFiveGigabitEthernet3b/0/1 200.0.0.1/24
exec set ip neighbor TwentyFiveGigabitEthernet3b/0/1 200.0.0.2 3c:fd:fe:bd:f8:fd static
exec set interface ip address loop0 100.0.0.1/32
exec create ipip tunnel src 100.0.0.1 dst 200.0.0.2 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 63516b7376775a6c674c74415276666b esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 63516b7376775a6c674c74415276666b esp
exec ipsec tunnel protect ipip0 sa-out 0 sa-in 100000 add
exec set interface ip address loop0 100.0.1.1/32
exec create ipip tunnel src 100.0.1.1 dst 200.0.0.2 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 7362686d58507449426e75446a76726d esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 7362686d58507449426e75446a76726d esp
exec ipsec tunnel protect ipip1 sa-out 1 sa-in 100001 add
exec set interface ip address loop0 100.0.2.1/32
exec create ipip tunnel src 100.0.2.1 dst 200.0.0.2 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 7a424c4f70706d50476b66504a77646f esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 7a424c4f70706d50476b66504a77646f esp
exec ipsec tunnel protect ipip2 sa-out 2 sa-in 100002 add
exec set interface ip address loop0 100.0.3.1/32
exec create ipip tunnel src 100.0.3.1 dst 200.0.0.2 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 6b6a51486866526753764f59684f6243 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 6b6a51486866526753764f59684f6243 esp
exec ipsec tunnel protect ipip3 sa-out 3 sa-in 100003 add
exec set interface ip address loop0 100.0.4.1/32
exec create ipip tunnel src 100.0.4.1 dst 200.0.0.2 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 68516364754d6941675150414e75536c esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 68516364754d6941675150414e75536c esp
exec ipsec tunnel protect ipip4 sa-out 4 sa-in 100004 add
exec set interface ip address loop0 100.0.5.1/32
exec create ipip tunnel src 100.0.5.1 dst 200.0.0.2 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 7263534d53716a63767976647164574a esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 7263534d53716a63767976647164574a esp
exec ipsec tunnel protect ipip5 sa-out 5 sa-in 100005 add
exec set interface ip address loop0 100.0.6.1/32
exec create ipip tunnel src 100.0.6.1 dst 200.0.0.2 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 5359546a46435845424e716377577864 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 5359546a46435845424e716377577864 esp
exec ipsec tunnel protect ipip6 sa-out 6 sa-in 100006 add
exec set interface ip address loop0 100.0.7.1/32
exec create ipip tunnel src 100.0.7.1 dst 200.0.0.2 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 765a777972646a524b5255584152636c esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 765a777972646a524b5255584152636c esp
exec ipsec tunnel protect ipip7 sa-out 7 sa-in 100007 add
exec set interface ip address loop0 100.0.8.1/32
exec create ipip tunnel src 100.0.8.1 dst 200.0.0.2 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 525647454a5a4e4a4a7461636c567878 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 525647454a5a4e4a4a7461636c567878 esp
exec ipsec tunnel protect ipip8 sa-out 8 sa-in 100008 add
exec set interface ip address loop0 100.0.9.1/32
exec create ipip tunnel src 100.0.9.1 dst 200.0.0.2 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 4f51496a6c46746c5673685244796e45 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 4f51496a6c46746c5673685244796e45 esp
exec ipsec tunnel protect ipip9 sa-out 9 sa-in 100009 add
exec set interface ip address loop0 100.0.10.1/32
exec create ipip tunnel src 100.0.10.1 dst 200.0.0.2 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 766d6256565174666b4d467245675148 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 766d6256565174666b4d467245675148 esp
exec ipsec tunnel protect ipip10 sa-out 10 sa-in 100010 add
exec set interface ip address loop0 100.0.11.1/32
exec create ipip tunnel src 100.0.11.1 dst 200.0.0.2 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 70446e46645873744d5a794876565179 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 70446e46645873744d5a794876565179 esp
exec ipsec tunnel protect ipip11 sa-out 11 sa-in 100011 add
exec set interface ip address loop0 100.0.12.1/32
exec create ipip tunnel src 100.0.12.1 dst 200.0.0.2 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 4c77524d747577726659566452765974 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 4c77524d747577726659566452765974 esp
exec ipsec tunnel protect ipip12 sa-out 12 sa-in 100012 add
exec set interface ip address loop0 100.0.13.1/32
exec create ipip tunnel src 100.0.13.1 dst 200.0.0.2 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 61727a65666e63437a554463524d627a esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 61727a65666e63437a554463524d627a esp
exec ipsec tunnel protect ipip13 sa-out 13 sa-in 100013 add
exec set interface ip address loop0 100.0.14.1/32
exec create ipip tunnel src 100.0.14.1 dst 200.0.0.2 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 426c4f4f6d6263557957615971656955 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 426c4f4f6d6263557957615971656955 esp
exec ipsec tunnel protect ipip14 sa-out 14 sa-in 100014 add
exec set interface ip address loop0 100.0.15.1/32
exec create ipip tunnel src 100.0.15.1 dst 200.0.0.2 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 59414654676244735247596c554f7270 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 59414654676244735247596c554f7270 esp
exec ipsec tunnel protect ipip15 sa-out 15 sa-in 100015 add
exec set interface ip address loop0 100.0.16.1/32
exec create ipip tunnel src 100.0.16.1 dst 200.0.0.2 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 48544354744d714677464d717345686c esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 48544354744d714677464d717345686c esp
exec ipsec tunnel protect ipip16 sa-out 16 sa-in 100016 add
exec set interface ip address loop0 100.0.17.1/32
exec create ipip tunnel src 100.0.17.1 dst 200.0.0.2 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 4842727058756b756f484e46734a4779 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 4842727058756b756f484e46734a4779 esp
exec ipsec tunnel protect ipip17 sa-out 17 sa-in 100017 add
exec set interface ip address loop0 100.0.18.1/32
exec create ipip tunnel src 100.0.18.1 dst 200.0.0.2 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 4e4d677a41494f437874706648417467 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 4e4d677a41494f437874706648417467 esp
exec ipsec tunnel protect ipip18 sa-out 18 sa-in 100018 add
exec set interface ip address loop0 100.0.19.1/32
exec create ipip tunnel src 100.0.19.1 dst 200.0.0.2 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 72617772507553416b78666171544251 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 72617772507553416b78666171544251 esp
exec ipsec tunnel protect ipip19 sa-out 19 sa-in 100019 add
exec set interface ip address loop0 100.0.20.1/32
exec create ipip tunnel src 100.0.20.1 dst 200.0.0.2 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 737079426c55736b4250716b654e6457 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 737079426c55736b4250716b654e6457 esp
exec ipsec tunnel protect ipip20 sa-out 20 sa-in 100020 add
exec set interface ip address loop0 100.0.21.1/32
exec create ipip tunnel src 100.0.21.1 dst 200.0.0.2 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 5a7055574372716b584c664970477861 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 5a7055574372716b584c664970477861 esp
exec ipsec tunnel protect ipip21 sa-out 21 sa-in 100021 add
exec set interface ip address loop0 100.0.22.1/32
exec create ipip tunnel src 100.0.22.1 dst 200.0.0.2 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 69506f67457a687a50644f4c68464c7a esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 69506f67457a687a50644f4c68464c7a esp
exec ipsec tunnel protect ipip22 sa-out 22 sa-in 100022 add
exec set interface ip address loop0 100.0.23.1/32
exec create ipip tunnel src 100.0.23.1 dst 200.0.0.2 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 6d504c76726b4e784174436f69787354 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 6d504c76726b4e784174436f69787354 esp
exec ipsec tunnel protect ipip23 sa-out 23 sa-in 100023 add
exec set interface ip address loop0 100.0.24.1/32
exec create ipip tunnel src 100.0.24.1 dst 200.0.0.2 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 75566b444f4c69616d71787659444f59 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 75566b444f4c69616d71787659444f59 esp
exec ipsec tunnel protect ipip24 sa-out 24 sa-in 100024 add
exec set interface ip address loop0 100.0.25.1/32
exec create ipip tunnel src 100.0.25.1 dst 200.0.0.2 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 4271737a7457624f5a416c4e426f664c esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 4271737a7457624f5a416c4e426f664c esp
exec ipsec tunnel protect ipip25 sa-out 25 sa-in 100025 add
exec set interface ip address loop0 100.0.26.1/32
exec create ipip tunnel src 100.0.26.1 dst 200.0.0.2 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 697775614b494f586c666278464b6a64 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 697775614b494f586c666278464b6a64 esp
exec ipsec tunnel protect ipip26 sa-out 26 sa-in 100026 add
exec set interface ip address loop0 100.0.27.1/32
exec create ipip tunnel src 100.0.27.1 dst 200.0.0.2 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 7149474f414154727267476947724a6a esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 7149474f414154727267476947724a6a esp
exec ipsec tunnel protect ipip27 sa-out 27 sa-in 100027 add
exec set interface ip address loop0 100.0.28.1/32
exec create ipip tunnel src 100.0.28.1 dst 200.0.0.2 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 67526b7862517a78435744455a584179 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 67526b7862517a78435744455a584179 esp
exec ipsec tunnel protect ipip28 sa-out 28 sa-in 100028 add
exec set interface ip address loop0 100.0.29.1/32
exec create ipip tunnel src 100.0.29.1 dst 200.0.0.2 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 7961646b41455163786f6269484f4163 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 7961646b41455163786f6269484f4163 esp
exec ipsec tunnel protect ipip29 sa-out 29 sa-in 100029 add
exec set interface ip address loop0 100.0.30.1/32
exec create ipip tunnel src 100.0.30.1 dst 200.0.0.2 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 614d576f6278424c574357446a66466c esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 614d576f6278424c574357446a66466c esp
exec ipsec tunnel protect ipip30 sa-out 30 sa-in 100030 add
exec set interface ip address loop0 100.0.31.1/32
exec create ipip tunnel src 100.0.31.1 dst 200.0.0.2 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 796862417857774b444c5572466e5175 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 796862417857774b444c5572466e5175 esp
exec ipsec tunnel protect ipip31 sa-out 31 sa-in 100031 add
exec set interface ip address loop0 100.0.32.1/32
exec create ipip tunnel src 100.0.32.1 dst 200.0.0.2 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 67634e5144576d445271426d615a6f42 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 67634e5144576d445271426d615a6f42 esp
exec ipsec tunnel protect ipip32 sa-out 32 sa-in 100032 add
exec set interface ip address loop0 100.0.33.1/32
exec create ipip tunnel src 100.0.33.1 dst 200.0.0.2 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 59634a4b76464e486f786d7641467a50 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 59634a4b76464e486f786d7641467a50 esp
exec ipsec tunnel protect ipip33 sa-out 33 sa-in 100033 add
exec set interface ip address loop0 100.0.34.1/32
exec create ipip tunnel src 100.0.34.1 dst 200.0.0.2 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 7755724251477a4d6972587148684345 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 7755724251477a4d6972587148684345 esp
exec ipsec tunnel protect ipip34 sa-out 34 sa-in 100034 add
exec set interface ip address loop0 100.0.35.1/32
exec create ipip tunnel src 100.0.35.1 dst 200.0.0.2 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 6872767765514d6757776e71646a424a esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 6872767765514d6757776e71646a424a esp
exec ipsec tunnel protect ipip35 sa-out 35 sa-in 100035 add
exec set interface ip address loop0 100.0.36.1/32
exec create ipip tunnel src 100.0.36.1 dst 200.0.0.2 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 59564d5a62754a706e6e716242747876 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 59564d5a62754a706e6e716242747876 esp
exec ipsec tunnel protect ipip36 sa-out 36 sa-in 100036 add
exec set interface ip address loop0 100.0.37.1/32
exec create ipip tunnel src 100.0.37.1 dst 200.0.0.2 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 554d667567794b6f42514c7a55694b57 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 554d667567794b6f42514c7a55694b57 esp
exec ipsec tunnel protect ipip37 sa-out 37 sa-in 100037 add
exec set interface ip address loop0 100.0.38.1/32
exec create ipip tunnel src 100.0.38.1 dst 200.0.0.2 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 5a704551484f5548727a516151424854 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 5a704551484f5548727a516151424854 esp
exec ipsec tunnel protect ipip38 sa-out 38 sa-in 100038 add
exec set interface ip address loop0 100.0.39.1/32
exec create ipip tunnel src 100.0.39.1 dst 200.0.0.2 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 68756f62687947716b6e4a43614c516a esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 68756f62687947716b6e4a43614c516a esp
exec ipsec tunnel protect ipip39 sa-out 39 sa-in 100039 add
exec set interface unnumbered ipip0 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip0 up
exec ip route add 20.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip1 up
exec ip route add 20.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip2 up
exec ip route add 20.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip3 up
exec ip route add 20.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip4 up
exec ip route add 20.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip5 up
exec ip route add 20.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip6 up
exec ip route add 20.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip7 up
exec ip route add 20.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip8 up
exec ip route add 20.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip9 up
exec ip route add 20.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip10 up
exec ip route add 20.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip11 up
exec ip route add 20.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip12 up
exec ip route add 20.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip13 up
exec ip route add 20.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip14 up
exec ip route add 20.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip15 up
exec ip route add 20.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip16 up
exec ip route add 20.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip17 up
exec ip route add 20.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip18 up
exec ip route add 20.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip19 up
exec ip route add 20.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip20 up
exec ip route add 20.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip21 up
exec ip route add 20.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip22 up
exec ip route add 20.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip23 up
exec ip route add 20.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip24 up
exec ip route add 20.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip25 up
exec ip route add 20.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip26 up
exec ip route add 20.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip27 up
exec ip route add 20.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip28 up
exec ip route add 20.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip29 up
exec ip route add 20.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip30 up
exec ip route add 20.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip31 up
exec ip route add 20.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip32 up
exec ip route add 20.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip33 up
exec ip route add 20.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip34 up
exec ip route add 20.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip35 up
exec ip route add 20.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip36 up
exec ip route add 20.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip37 up
exec ip route add 20.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip38 up
exec ip route add 20.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip39 up
exec ip route add 20.0.0.39/32 via ipip39
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec set interface ip address TwentyFiveGigabitEthernet3b/0/1 200.0.0.2/24.0
exec create ipip tunnel src 200.0.0.2 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 63516b7376775a6c674c74415276666b esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 63516b7376775a6c674c74415276666b esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 7362686d58507449426e75446a76726d esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 7362686d58507449426e75446a76726d esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 7a424c4f70706d50476b66504a77646f esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 7a424c4f70706d50476b66504a77646f esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 6b6a51486866526753764f59684f6243 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 6b6a51486866526753764f59684f6243 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 68516364754d6941675150414e75536c esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 68516364754d6941675150414e75536c esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 7263534d53716a63767976647164574a esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 7263534d53716a63767976647164574a esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 5359546a46435845424e716377577864 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 5359546a46435845424e716377577864 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 765a777972646a524b5255584152636c esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 765a777972646a524b5255584152636c esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 525647454a5a4e4a4a7461636c567878 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 525647454a5a4e4a4a7461636c567878 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 4f51496a6c46746c5673685244796e45 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 4f51496a6c46746c5673685244796e45 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 766d6256565174666b4d467245675148 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 766d6256565174666b4d467245675148 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 70446e46645873744d5a794876565179 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 70446e46645873744d5a794876565179 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 4c77524d747577726659566452765974 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 4c77524d747577726659566452765974 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 61727a65666e63437a554463524d627a esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 61727a65666e63437a554463524d627a esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 426c4f4f6d6263557957615971656955 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 426c4f4f6d6263557957615971656955 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 59414654676244735247596c554f7270 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 59414654676244735247596c554f7270 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 48544354744d714677464d717345686c esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 48544354744d714677464d717345686c esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 4842727058756b756f484e46734a4779 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 4842727058756b756f484e46734a4779 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 4e4d677a41494f437874706648417467 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 4e4d677a41494f437874706648417467 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 72617772507553416b78666171544251 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 72617772507553416b78666171544251 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 737079426c55736b4250716b654e6457 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 737079426c55736b4250716b654e6457 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 5a7055574372716b584c664970477861 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 5a7055574372716b584c664970477861 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 69506f67457a687a50644f4c68464c7a esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 69506f67457a687a50644f4c68464c7a esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 6d504c76726b4e784174436f69787354 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 6d504c76726b4e784174436f69787354 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 75566b444f4c69616d71787659444f59 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 75566b444f4c69616d71787659444f59 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 4271737a7457624f5a416c4e426f664c esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 4271737a7457624f5a416c4e426f664c esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 697775614b494f586c666278464b6a64 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 697775614b494f586c666278464b6a64 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 7149474f414154727267476947724a6a esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 7149474f414154727267476947724a6a esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 67526b7862517a78435744455a584179 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 67526b7862517a78435744455a584179 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 7961646b41455163786f6269484f4163 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 7961646b41455163786f6269484f4163 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 614d576f6278424c574357446a66466c esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 614d576f6278424c574357446a66466c esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 796862417857774b444c5572466e5175 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 796862417857774b444c5572466e5175 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 67634e5144576d445271426d615a6f42 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 67634e5144576d445271426d615a6f42 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 59634a4b76464e486f786d7641467a50 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 59634a4b76464e486f786d7641467a50 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 7755724251477a4d6972587148684345 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 7755724251477a4d6972587148684345 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 6872767765514d6757776e71646a424a esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 6872767765514d6757776e71646a424a esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 59564d5a62754a706e6e716242747876 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 59564d5a62754a706e6e716242747876 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 554d667567794b6f42514c7a55694b57 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 554d667567794b6f42514c7a55694b57 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 5a704551484f5548727a516151424854 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 5a704551484f5548727a516151424854 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 68756f62687947716b6e4a43614c516a esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 68756f62687947716b6e4a43614c516a esp
exec ipsec tunnel protect ipip39 sa-out 100039 sa-in 39 add
exec ip route add 100.0.0.1/8 via 200.0.0.1 TwentyFiveGigabitEthernet3b/0/1
exec set interface unnumbered ipip0 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip0 up
exec ip route add 10.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip1 up
exec ip route add 10.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip2 up
exec ip route add 10.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip3 up
exec ip route add 10.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip4 up
exec ip route add 10.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip5 up
exec ip route add 10.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip6 up
exec ip route add 10.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip7 up
exec ip route add 10.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip8 up
exec ip route add 10.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip9 up
exec ip route add 10.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip10 up
exec ip route add 10.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip11 up
exec ip route add 10.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip12 up
exec ip route add 10.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip13 up
exec ip route add 10.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip14 up
exec ip route add 10.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip15 up
exec ip route add 10.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip16 up
exec ip route add 10.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip17 up
exec ip route add 10.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip18 up
exec ip route add 10.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip19 up
exec ip route add 10.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip20 up
exec ip route add 10.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip21 up
exec ip route add 10.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip22 up
exec ip route add 10.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip23 up
exec ip route add 10.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip24 up
exec ip route add 10.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip25 up
exec ip route add 10.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip26 up
exec ip route add 10.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip27 up
exec ip route add 10.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip28 up
exec ip route add 10.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip29 up
exec ip route add 10.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip30 up
exec ip route add 10.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip31 up
exec ip route add 10.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip32 up
exec ip route add 10.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip33 up
exec ip route add 10.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip34 up
exec ip route add 10.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip35 up
exec ip route add 10.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip36 up
exec ip route add 10.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip37 up
exec ip route add 10.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip38 up
exec ip route add 10.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip39 up
exec ip route add 10.0.0.39/32 via ipip39

 64b-8t4c-ethip4ipsec40tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec create loopback interface
exec set interface state loop0 up
exec set interface ip address TwentyFiveGigabitEthernet3b/0/1 200.0.0.1/24
exec set ip neighbor TwentyFiveGigabitEthernet3b/0/1 200.0.0.2 3c:fd:fe:bd:f8:fd static
exec set interface ip address loop0 100.0.0.1/32
exec create ipip tunnel src 100.0.0.1 dst 200.0.0.2 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 43695144706f54774a446b7862765872 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 43695144706f54774a446b7862765872 esp
exec ipsec tunnel protect ipip0 sa-out 0 sa-in 100000 add
exec set interface ip address loop0 100.0.1.1/32
exec create ipip tunnel src 100.0.1.1 dst 200.0.0.2 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 416e5746434e664d7871504256786155 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 416e5746434e664d7871504256786155 esp
exec ipsec tunnel protect ipip1 sa-out 1 sa-in 100001 add
exec set interface ip address loop0 100.0.2.1/32
exec create ipip tunnel src 100.0.2.1 dst 200.0.0.2 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 56484a5063476c42726a4d626178774f esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 56484a5063476c42726a4d626178774f esp
exec ipsec tunnel protect ipip2 sa-out 2 sa-in 100002 add
exec set interface ip address loop0 100.0.3.1/32
exec create ipip tunnel src 100.0.3.1 dst 200.0.0.2 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 41534765414c6b4a66584b446d504570 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 41534765414c6b4a66584b446d504570 esp
exec ipsec tunnel protect ipip3 sa-out 3 sa-in 100003 add
exec set interface ip address loop0 100.0.4.1/32
exec create ipip tunnel src 100.0.4.1 dst 200.0.0.2 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 6e46417a78484e72506d70726b535552 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 6e46417a78484e72506d70726b535552 esp
exec ipsec tunnel protect ipip4 sa-out 4 sa-in 100004 add
exec set interface ip address loop0 100.0.5.1/32
exec create ipip tunnel src 100.0.5.1 dst 200.0.0.2 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 6c7a4c626b616d705956565378525a45 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 6c7a4c626b616d705956565378525a45 esp
exec ipsec tunnel protect ipip5 sa-out 5 sa-in 100005 add
exec set interface ip address loop0 100.0.6.1/32
exec create ipip tunnel src 100.0.6.1 dst 200.0.0.2 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 797362474a5666784649694463796958 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 797362474a5666784649694463796958 esp
exec ipsec tunnel protect ipip6 sa-out 6 sa-in 100006 add
exec set interface ip address loop0 100.0.7.1/32
exec create ipip tunnel src 100.0.7.1 dst 200.0.0.2 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 567a504d6e4a69774151436d73495145 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 567a504d6e4a69774151436d73495145 esp
exec ipsec tunnel protect ipip7 sa-out 7 sa-in 100007 add
exec set interface ip address loop0 100.0.8.1/32
exec create ipip tunnel src 100.0.8.1 dst 200.0.0.2 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 5667725664765353686b634b42547677 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 5667725664765353686b634b42547677 esp
exec ipsec tunnel protect ipip8 sa-out 8 sa-in 100008 add
exec set interface ip address loop0 100.0.9.1/32
exec create ipip tunnel src 100.0.9.1 dst 200.0.0.2 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 49566c4a776e416a52675a78446a6570 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 49566c4a776e416a52675a78446a6570 esp
exec ipsec tunnel protect ipip9 sa-out 9 sa-in 100009 add
exec set interface ip address loop0 100.0.10.1/32
exec create ipip tunnel src 100.0.10.1 dst 200.0.0.2 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 61746175416756646655435442626e73 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 61746175416756646655435442626e73 esp
exec ipsec tunnel protect ipip10 sa-out 10 sa-in 100010 add
exec set interface ip address loop0 100.0.11.1/32
exec create ipip tunnel src 100.0.11.1 dst 200.0.0.2 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 44516f714b7678704b6b416452427442 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 44516f714b7678704b6b416452427442 esp
exec ipsec tunnel protect ipip11 sa-out 11 sa-in 100011 add
exec set interface ip address loop0 100.0.12.1/32
exec create ipip tunnel src 100.0.12.1 dst 200.0.0.2 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 717674685965514e766e52417746495a esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 717674685965514e766e52417746495a esp
exec ipsec tunnel protect ipip12 sa-out 12 sa-in 100012 add
exec set interface ip address loop0 100.0.13.1/32
exec create ipip tunnel src 100.0.13.1 dst 200.0.0.2 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 61735a59536f5a7a724e6977576b5148 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 61735a59536f5a7a724e6977576b5148 esp
exec ipsec tunnel protect ipip13 sa-out 13 sa-in 100013 add
exec set interface ip address loop0 100.0.14.1/32
exec create ipip tunnel src 100.0.14.1 dst 200.0.0.2 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 6c6a75677a546547644573575054786b esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 6c6a75677a546547644573575054786b esp
exec ipsec tunnel protect ipip14 sa-out 14 sa-in 100014 add
exec set interface ip address loop0 100.0.15.1/32
exec create ipip tunnel src 100.0.15.1 dst 200.0.0.2 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 586b73686874794f63694c4144504875 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 586b73686874794f63694c4144504875 esp
exec ipsec tunnel protect ipip15 sa-out 15 sa-in 100015 add
exec set interface ip address loop0 100.0.16.1/32
exec create ipip tunnel src 100.0.16.1 dst 200.0.0.2 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 4c5041487a6244455a486d766a7a4179 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 4c5041487a6244455a486d766a7a4179 esp
exec ipsec tunnel protect ipip16 sa-out 16 sa-in 100016 add
exec set interface ip address loop0 100.0.17.1/32
exec create ipip tunnel src 100.0.17.1 dst 200.0.0.2 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 54657645734857504771485a6b656a4c esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 54657645734857504771485a6b656a4c esp
exec ipsec tunnel protect ipip17 sa-out 17 sa-in 100017 add
exec set interface ip address loop0 100.0.18.1/32
exec create ipip tunnel src 100.0.18.1 dst 200.0.0.2 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 544c6b4a484174737564794e416b507a esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 544c6b4a484174737564794e416b507a esp
exec ipsec tunnel protect ipip18 sa-out 18 sa-in 100018 add
exec set interface ip address loop0 100.0.19.1/32
exec create ipip tunnel src 100.0.19.1 dst 200.0.0.2 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 58456c5166556348534b5354474b416c esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 58456c5166556348534b5354474b416c esp
exec ipsec tunnel protect ipip19 sa-out 19 sa-in 100019 add
exec set interface ip address loop0 100.0.20.1/32
exec create ipip tunnel src 100.0.20.1 dst 200.0.0.2 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 6b5856504b6342536f79414665635a7a esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 6b5856504b6342536f79414665635a7a esp
exec ipsec tunnel protect ipip20 sa-out 20 sa-in 100020 add
exec set interface ip address loop0 100.0.21.1/32
exec create ipip tunnel src 100.0.21.1 dst 200.0.0.2 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 46474a566f7177614d77664868525357 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 46474a566f7177614d77664868525357 esp
exec ipsec tunnel protect ipip21 sa-out 21 sa-in 100021 add
exec set interface ip address loop0 100.0.22.1/32
exec create ipip tunnel src 100.0.22.1 dst 200.0.0.2 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 4e584c78685872756557724e67655751 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 4e584c78685872756557724e67655751 esp
exec ipsec tunnel protect ipip22 sa-out 22 sa-in 100022 add
exec set interface ip address loop0 100.0.23.1/32
exec create ipip tunnel src 100.0.23.1 dst 200.0.0.2 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 484d54496e4665486d51795274415869 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 484d54496e4665486d51795274415869 esp
exec ipsec tunnel protect ipip23 sa-out 23 sa-in 100023 add
exec set interface ip address loop0 100.0.24.1/32
exec create ipip tunnel src 100.0.24.1 dst 200.0.0.2 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 6c666576437571675155615476574565 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 6c666576437571675155615476574565 esp
exec ipsec tunnel protect ipip24 sa-out 24 sa-in 100024 add
exec set interface ip address loop0 100.0.25.1/32
exec create ipip tunnel src 100.0.25.1 dst 200.0.0.2 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 45526f616c78634f6873794c7a49654b esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 45526f616c78634f6873794c7a49654b esp
exec ipsec tunnel protect ipip25 sa-out 25 sa-in 100025 add
exec set interface ip address loop0 100.0.26.1/32
exec create ipip tunnel src 100.0.26.1 dst 200.0.0.2 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 6a6573587a72797a776d57426870747a esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 6a6573587a72797a776d57426870747a esp
exec ipsec tunnel protect ipip26 sa-out 26 sa-in 100026 add
exec set interface ip address loop0 100.0.27.1/32
exec create ipip tunnel src 100.0.27.1 dst 200.0.0.2 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 7170617a554a70416a4f654147625765 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 7170617a554a70416a4f654147625765 esp
exec ipsec tunnel protect ipip27 sa-out 27 sa-in 100027 add
exec set interface ip address loop0 100.0.28.1/32
exec create ipip tunnel src 100.0.28.1 dst 200.0.0.2 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 4d6f5a414c44666e6664627148726f71 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 4d6f5a414c44666e6664627148726f71 esp
exec ipsec tunnel protect ipip28 sa-out 28 sa-in 100028 add
exec set interface ip address loop0 100.0.29.1/32
exec create ipip tunnel src 100.0.29.1 dst 200.0.0.2 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 786b4b4641644e69774b61524d465363 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 786b4b4641644e69774b61524d465363 esp
exec ipsec tunnel protect ipip29 sa-out 29 sa-in 100029 add
exec set interface ip address loop0 100.0.30.1/32
exec create ipip tunnel src 100.0.30.1 dst 200.0.0.2 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 4562674b6f4e43644944496366414f78 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 4562674b6f4e43644944496366414f78 esp
exec ipsec tunnel protect ipip30 sa-out 30 sa-in 100030 add
exec set interface ip address loop0 100.0.31.1/32
exec create ipip tunnel src 100.0.31.1 dst 200.0.0.2 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 53536a5769797063554663596f6c7459 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 53536a5769797063554663596f6c7459 esp
exec ipsec tunnel protect ipip31 sa-out 31 sa-in 100031 add
exec set interface ip address loop0 100.0.32.1/32
exec create ipip tunnel src 100.0.32.1 dst 200.0.0.2 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 66475a777778486f59716e54796c7441 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 66475a777778486f59716e54796c7441 esp
exec ipsec tunnel protect ipip32 sa-out 32 sa-in 100032 add
exec set interface ip address loop0 100.0.33.1/32
exec create ipip tunnel src 100.0.33.1 dst 200.0.0.2 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 65447358636344787269737468425051 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 65447358636344787269737468425051 esp
exec ipsec tunnel protect ipip33 sa-out 33 sa-in 100033 add
exec set interface ip address loop0 100.0.34.1/32
exec create ipip tunnel src 100.0.34.1 dst 200.0.0.2 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 7859695178734d61724a45686c6e6951 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 7859695178734d61724a45686c6e6951 esp
exec ipsec tunnel protect ipip34 sa-out 34 sa-in 100034 add
exec set interface ip address loop0 100.0.35.1/32
exec create ipip tunnel src 100.0.35.1 dst 200.0.0.2 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 57774d7751715974505162767641794c esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 57774d7751715974505162767641794c esp
exec ipsec tunnel protect ipip35 sa-out 35 sa-in 100035 add
exec set interface ip address loop0 100.0.36.1/32
exec create ipip tunnel src 100.0.36.1 dst 200.0.0.2 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 7446664f796258797967614c6856425a esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 7446664f796258797967614c6856425a esp
exec ipsec tunnel protect ipip36 sa-out 36 sa-in 100036 add
exec set interface ip address loop0 100.0.37.1/32
exec create ipip tunnel src 100.0.37.1 dst 200.0.0.2 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 736458526d576a4551617478784c6476 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 736458526d576a4551617478784c6476 esp
exec ipsec tunnel protect ipip37 sa-out 37 sa-in 100037 add
exec set interface ip address loop0 100.0.38.1/32
exec create ipip tunnel src 100.0.38.1 dst 200.0.0.2 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 696c534e597263566c586768766e6f6e esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 696c534e597263566c586768766e6f6e esp
exec ipsec tunnel protect ipip38 sa-out 38 sa-in 100038 add
exec set interface ip address loop0 100.0.39.1/32
exec create ipip tunnel src 100.0.39.1 dst 200.0.0.2 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 6246686e6d6677424a4947784d5a654c esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 6246686e6d6677424a4947784d5a654c esp
exec ipsec tunnel protect ipip39 sa-out 39 sa-in 100039 add
exec set interface unnumbered ipip0 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip0 up
exec ip route add 20.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip1 up
exec ip route add 20.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip2 up
exec ip route add 20.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip3 up
exec ip route add 20.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip4 up
exec ip route add 20.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip5 up
exec ip route add 20.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip6 up
exec ip route add 20.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip7 up
exec ip route add 20.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip8 up
exec ip route add 20.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip9 up
exec ip route add 20.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip10 up
exec ip route add 20.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip11 up
exec ip route add 20.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip12 up
exec ip route add 20.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip13 up
exec ip route add 20.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip14 up
exec ip route add 20.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip15 up
exec ip route add 20.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip16 up
exec ip route add 20.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip17 up
exec ip route add 20.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip18 up
exec ip route add 20.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip19 up
exec ip route add 20.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip20 up
exec ip route add 20.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip21 up
exec ip route add 20.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip22 up
exec ip route add 20.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip23 up
exec ip route add 20.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip24 up
exec ip route add 20.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip25 up
exec ip route add 20.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip26 up
exec ip route add 20.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip27 up
exec ip route add 20.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip28 up
exec ip route add 20.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip29 up
exec ip route add 20.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip30 up
exec ip route add 20.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip31 up
exec ip route add 20.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip32 up
exec ip route add 20.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip33 up
exec ip route add 20.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip34 up
exec ip route add 20.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip35 up
exec ip route add 20.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip36 up
exec ip route add 20.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip37 up
exec ip route add 20.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip38 up
exec ip route add 20.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip39 up
exec ip route add 20.0.0.39/32 via ipip39
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec set interface ip address TwentyFiveGigabitEthernet3b/0/1 200.0.0.2/24.0
exec create ipip tunnel src 200.0.0.2 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 43695144706f54774a446b7862765872 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 43695144706f54774a446b7862765872 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 416e5746434e664d7871504256786155 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 416e5746434e664d7871504256786155 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 56484a5063476c42726a4d626178774f esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 56484a5063476c42726a4d626178774f esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 41534765414c6b4a66584b446d504570 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 41534765414c6b4a66584b446d504570 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 6e46417a78484e72506d70726b535552 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 6e46417a78484e72506d70726b535552 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 6c7a4c626b616d705956565378525a45 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 6c7a4c626b616d705956565378525a45 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 797362474a5666784649694463796958 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 797362474a5666784649694463796958 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 567a504d6e4a69774151436d73495145 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 567a504d6e4a69774151436d73495145 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 5667725664765353686b634b42547677 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 5667725664765353686b634b42547677 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 49566c4a776e416a52675a78446a6570 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 49566c4a776e416a52675a78446a6570 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 61746175416756646655435442626e73 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 61746175416756646655435442626e73 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 44516f714b7678704b6b416452427442 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 44516f714b7678704b6b416452427442 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 717674685965514e766e52417746495a esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 717674685965514e766e52417746495a esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 61735a59536f5a7a724e6977576b5148 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 61735a59536f5a7a724e6977576b5148 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 6c6a75677a546547644573575054786b esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 6c6a75677a546547644573575054786b esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 586b73686874794f63694c4144504875 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 586b73686874794f63694c4144504875 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 4c5041487a6244455a486d766a7a4179 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 4c5041487a6244455a486d766a7a4179 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 54657645734857504771485a6b656a4c esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 54657645734857504771485a6b656a4c esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 544c6b4a484174737564794e416b507a esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 544c6b4a484174737564794e416b507a esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 58456c5166556348534b5354474b416c esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 58456c5166556348534b5354474b416c esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 6b5856504b6342536f79414665635a7a esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 6b5856504b6342536f79414665635a7a esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 46474a566f7177614d77664868525357 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 46474a566f7177614d77664868525357 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 4e584c78685872756557724e67655751 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 4e584c78685872756557724e67655751 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 484d54496e4665486d51795274415869 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 484d54496e4665486d51795274415869 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 6c666576437571675155615476574565 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 6c666576437571675155615476574565 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 45526f616c78634f6873794c7a49654b esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 45526f616c78634f6873794c7a49654b esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 6a6573587a72797a776d57426870747a esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 6a6573587a72797a776d57426870747a esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 7170617a554a70416a4f654147625765 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 7170617a554a70416a4f654147625765 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 4d6f5a414c44666e6664627148726f71 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 4d6f5a414c44666e6664627148726f71 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 786b4b4641644e69774b61524d465363 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 786b4b4641644e69774b61524d465363 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 4562674b6f4e43644944496366414f78 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 4562674b6f4e43644944496366414f78 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 53536a5769797063554663596f6c7459 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 53536a5769797063554663596f6c7459 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 66475a777778486f59716e54796c7441 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 66475a777778486f59716e54796c7441 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 65447358636344787269737468425051 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 65447358636344787269737468425051 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 7859695178734d61724a45686c6e6951 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 7859695178734d61724a45686c6e6951 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 57774d7751715974505162767641794c esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 57774d7751715974505162767641794c esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 7446664f796258797967614c6856425a esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 7446664f796258797967614c6856425a esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 736458526d576a4551617478784c6476 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 736458526d576a4551617478784c6476 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 696c534e597263566c586768766e6f6e esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 696c534e597263566c586768766e6f6e esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 6246686e6d6677424a4947784d5a654c esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 6246686e6d6677424a4947784d5a654c esp
exec ipsec tunnel protect ipip39 sa-out 100039 sa-in 39 add
exec ip route add 100.0.0.1/8 via 200.0.0.1 TwentyFiveGigabitEthernet3b/0/1
exec set interface unnumbered ipip0 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip0 up
exec ip route add 10.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip1 up
exec ip route add 10.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip2 up
exec ip route add 10.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip3 up
exec ip route add 10.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip4 up
exec ip route add 10.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip5 up
exec ip route add 10.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip6 up
exec ip route add 10.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip7 up
exec ip route add 10.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip8 up
exec ip route add 10.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip9 up
exec ip route add 10.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip10 up
exec ip route add 10.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip11 up
exec ip route add 10.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip12 up
exec ip route add 10.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip13 up
exec ip route add 10.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip14 up
exec ip route add 10.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip15 up
exec ip route add 10.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip16 up
exec ip route add 10.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip17 up
exec ip route add 10.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip18 up
exec ip route add 10.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip19 up
exec ip route add 10.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip20 up
exec ip route add 10.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip21 up
exec ip route add 10.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip22 up
exec ip route add 10.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip23 up
exec ip route add 10.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip24 up
exec ip route add 10.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip25 up
exec ip route add 10.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip26 up
exec ip route add 10.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip27 up
exec ip route add 10.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip28 up
exec ip route add 10.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip29 up
exec ip route add 10.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip30 up
exec ip route add 10.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip31 up
exec ip route add 10.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip32 up
exec ip route add 10.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip33 up
exec ip route add 10.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip34 up
exec ip route add 10.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip35 up
exec ip route add 10.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip36 up
exec ip route add 10.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip37 up
exec ip route add 10.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip38 up
exec ip route add 10.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip39 up
exec ip route add 10.0.0.39/32 via ipip39

 1518b-2t1c-ethip4ipsec40tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec create loopback interface
exec set interface state loop0 up
exec set interface ip address TwentyFiveGigabitEthernet3b/0/1 200.0.0.1/24
exec set ip neighbor TwentyFiveGigabitEthernet3b/0/1 200.0.0.2 3c:fd:fe:bd:f8:fd static
exec set interface ip address loop0 100.0.0.1/32
exec create ipip tunnel src 100.0.0.1 dst 200.0.0.2 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 766d4e717248654e5672477348745a54 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 766d4e717248654e5672477348745a54 esp
exec ipsec tunnel protect ipip0 sa-out 0 sa-in 100000 add
exec set interface ip address loop0 100.0.1.1/32
exec create ipip tunnel src 100.0.1.1 dst 200.0.0.2 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 627354474f586d55676551535664646f esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 627354474f586d55676551535664646f esp
exec ipsec tunnel protect ipip1 sa-out 1 sa-in 100001 add
exec set interface ip address loop0 100.0.2.1/32
exec create ipip tunnel src 100.0.2.1 dst 200.0.0.2 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 4962416d634a714f67486445576f6961 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 4962416d634a714f67486445576f6961 esp
exec ipsec tunnel protect ipip2 sa-out 2 sa-in 100002 add
exec set interface ip address loop0 100.0.3.1/32
exec create ipip tunnel src 100.0.3.1 dst 200.0.0.2 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 616c56744d4f615541774f656a544b57 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 616c56744d4f615541774f656a544b57 esp
exec ipsec tunnel protect ipip3 sa-out 3 sa-in 100003 add
exec set interface ip address loop0 100.0.4.1/32
exec create ipip tunnel src 100.0.4.1 dst 200.0.0.2 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 4f48735754456f6a5871497178656269 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 4f48735754456f6a5871497178656269 esp
exec ipsec tunnel protect ipip4 sa-out 4 sa-in 100004 add
exec set interface ip address loop0 100.0.5.1/32
exec create ipip tunnel src 100.0.5.1 dst 200.0.0.2 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 684a4e59795969614249704375646966 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 684a4e59795969614249704375646966 esp
exec ipsec tunnel protect ipip5 sa-out 5 sa-in 100005 add
exec set interface ip address loop0 100.0.6.1/32
exec create ipip tunnel src 100.0.6.1 dst 200.0.0.2 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 6e4e6d65617a52684b547a6a65786b62 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 6e4e6d65617a52684b547a6a65786b62 esp
exec ipsec tunnel protect ipip6 sa-out 6 sa-in 100006 add
exec set interface ip address loop0 100.0.7.1/32
exec create ipip tunnel src 100.0.7.1 dst 200.0.0.2 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 50466859765a63514863614f544c6458 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 50466859765a63514863614f544c6458 esp
exec ipsec tunnel protect ipip7 sa-out 7 sa-in 100007 add
exec set interface ip address loop0 100.0.8.1/32
exec create ipip tunnel src 100.0.8.1 dst 200.0.0.2 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 5662706f75615046574d6a6756646d51 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 5662706f75615046574d6a6756646d51 esp
exec ipsec tunnel protect ipip8 sa-out 8 sa-in 100008 add
exec set interface ip address loop0 100.0.9.1/32
exec create ipip tunnel src 100.0.9.1 dst 200.0.0.2 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 527269616d68776e4a66416450744942 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 527269616d68776e4a66416450744942 esp
exec ipsec tunnel protect ipip9 sa-out 9 sa-in 100009 add
exec set interface ip address loop0 100.0.10.1/32
exec create ipip tunnel src 100.0.10.1 dst 200.0.0.2 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 65446a7a436c435a557769564a784165 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 65446a7a436c435a557769564a784165 esp
exec ipsec tunnel protect ipip10 sa-out 10 sa-in 100010 add
exec set interface ip address loop0 100.0.11.1/32
exec create ipip tunnel src 100.0.11.1 dst 200.0.0.2 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 636b6b6b7674425746744f7241547562 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 636b6b6b7674425746744f7241547562 esp
exec ipsec tunnel protect ipip11 sa-out 11 sa-in 100011 add
exec set interface ip address loop0 100.0.12.1/32
exec create ipip tunnel src 100.0.12.1 dst 200.0.0.2 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 6a44725368455a5a425162757465497a esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 6a44725368455a5a425162757465497a esp
exec ipsec tunnel protect ipip12 sa-out 12 sa-in 100012 add
exec set interface ip address loop0 100.0.13.1/32
exec create ipip tunnel src 100.0.13.1 dst 200.0.0.2 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 475571557252624f485862536a467669 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 475571557252624f485862536a467669 esp
exec ipsec tunnel protect ipip13 sa-out 13 sa-in 100013 add
exec set interface ip address loop0 100.0.14.1/32
exec create ipip tunnel src 100.0.14.1 dst 200.0.0.2 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 6956457747724e47535848684a504969 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 6956457747724e47535848684a504969 esp
exec ipsec tunnel protect ipip14 sa-out 14 sa-in 100014 add
exec set interface ip address loop0 100.0.15.1/32
exec create ipip tunnel src 100.0.15.1 dst 200.0.0.2 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 694f4d52714c79687152485957665254 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 694f4d52714c79687152485957665254 esp
exec ipsec tunnel protect ipip15 sa-out 15 sa-in 100015 add
exec set interface ip address loop0 100.0.16.1/32
exec create ipip tunnel src 100.0.16.1 dst 200.0.0.2 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 4b70476c56586d4253666f7a6b67784e esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 4b70476c56586d4253666f7a6b67784e esp
exec ipsec tunnel protect ipip16 sa-out 16 sa-in 100016 add
exec set interface ip address loop0 100.0.17.1/32
exec create ipip tunnel src 100.0.17.1 dst 200.0.0.2 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 62484443757a494c5257756670534267 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 62484443757a494c5257756670534267 esp
exec ipsec tunnel protect ipip17 sa-out 17 sa-in 100017 add
exec set interface ip address loop0 100.0.18.1/32
exec create ipip tunnel src 100.0.18.1 dst 200.0.0.2 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 52777647554c716a67436842496f7171 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 52777647554c716a67436842496f7171 esp
exec ipsec tunnel protect ipip18 sa-out 18 sa-in 100018 add
exec set interface ip address loop0 100.0.19.1/32
exec create ipip tunnel src 100.0.19.1 dst 200.0.0.2 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 745a424e77674c6a6e637a4952714262 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 745a424e77674c6a6e637a4952714262 esp
exec ipsec tunnel protect ipip19 sa-out 19 sa-in 100019 add
exec set interface ip address loop0 100.0.20.1/32
exec create ipip tunnel src 100.0.20.1 dst 200.0.0.2 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 446e70435479694a676f677570414253 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 446e70435479694a676f677570414253 esp
exec ipsec tunnel protect ipip20 sa-out 20 sa-in 100020 add
exec set interface ip address loop0 100.0.21.1/32
exec create ipip tunnel src 100.0.21.1 dst 200.0.0.2 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 7a63507969567347706e4a6870725859 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 7a63507969567347706e4a6870725859 esp
exec ipsec tunnel protect ipip21 sa-out 21 sa-in 100021 add
exec set interface ip address loop0 100.0.22.1/32
exec create ipip tunnel src 100.0.22.1 dst 200.0.0.2 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 466f41477a4d7a58695649524d617857 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 466f41477a4d7a58695649524d617857 esp
exec ipsec tunnel protect ipip22 sa-out 22 sa-in 100022 add
exec set interface ip address loop0 100.0.23.1/32
exec create ipip tunnel src 100.0.23.1 dst 200.0.0.2 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 414d6e6a76676d547949595949537a63 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 414d6e6a76676d547949595949537a63 esp
exec ipsec tunnel protect ipip23 sa-out 23 sa-in 100023 add
exec set interface ip address loop0 100.0.24.1/32
exec create ipip tunnel src 100.0.24.1 dst 200.0.0.2 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 677a62496c68426e585747664f455071 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 677a62496c68426e585747664f455071 esp
exec ipsec tunnel protect ipip24 sa-out 24 sa-in 100024 add
exec set interface ip address loop0 100.0.25.1/32
exec create ipip tunnel src 100.0.25.1 dst 200.0.0.2 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 6f584a6f5348594a456c735045664645 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 6f584a6f5348594a456c735045664645 esp
exec ipsec tunnel protect ipip25 sa-out 25 sa-in 100025 add
exec set interface ip address loop0 100.0.26.1/32
exec create ipip tunnel src 100.0.26.1 dst 200.0.0.2 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 6f5756644747774c73636d7667686c48 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 6f5756644747774c73636d7667686c48 esp
exec ipsec tunnel protect ipip26 sa-out 26 sa-in 100026 add
exec set interface ip address loop0 100.0.27.1/32
exec create ipip tunnel src 100.0.27.1 dst 200.0.0.2 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 4e496b5761677a7a6c47715a5977466e esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 4e496b5761677a7a6c47715a5977466e esp
exec ipsec tunnel protect ipip27 sa-out 27 sa-in 100027 add
exec set interface ip address loop0 100.0.28.1/32
exec create ipip tunnel src 100.0.28.1 dst 200.0.0.2 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 75797a516c496d584e46454e4463694a esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 75797a516c496d584e46454e4463694a esp
exec ipsec tunnel protect ipip28 sa-out 28 sa-in 100028 add
exec set interface ip address loop0 100.0.29.1/32
exec create ipip tunnel src 100.0.29.1 dst 200.0.0.2 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 77694e45446c77487252784e65447457 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 77694e45446c77487252784e65447457 esp
exec ipsec tunnel protect ipip29 sa-out 29 sa-in 100029 add
exec set interface ip address loop0 100.0.30.1/32
exec create ipip tunnel src 100.0.30.1 dst 200.0.0.2 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 715469536f4841727a4d776e50447642 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 715469536f4841727a4d776e50447642 esp
exec ipsec tunnel protect ipip30 sa-out 30 sa-in 100030 add
exec set interface ip address loop0 100.0.31.1/32
exec create ipip tunnel src 100.0.31.1 dst 200.0.0.2 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 56534b466e4256765445694b7a556b68 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 56534b466e4256765445694b7a556b68 esp
exec ipsec tunnel protect ipip31 sa-out 31 sa-in 100031 add
exec set interface ip address loop0 100.0.32.1/32
exec create ipip tunnel src 100.0.32.1 dst 200.0.0.2 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 4f46434f6764587368457a47734f4550 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 4f46434f6764587368457a47734f4550 esp
exec ipsec tunnel protect ipip32 sa-out 32 sa-in 100032 add
exec set interface ip address loop0 100.0.33.1/32
exec create ipip tunnel src 100.0.33.1 dst 200.0.0.2 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 576c774a54584352784a414f7158554d esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 576c774a54584352784a414f7158554d esp
exec ipsec tunnel protect ipip33 sa-out 33 sa-in 100033 add
exec set interface ip address loop0 100.0.34.1/32
exec create ipip tunnel src 100.0.34.1 dst 200.0.0.2 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 68625249767741686d43534a74517948 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 68625249767741686d43534a74517948 esp
exec ipsec tunnel protect ipip34 sa-out 34 sa-in 100034 add
exec set interface ip address loop0 100.0.35.1/32
exec create ipip tunnel src 100.0.35.1 dst 200.0.0.2 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 7a73457a5044566c6270666b4753737a esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 7a73457a5044566c6270666b4753737a esp
exec ipsec tunnel protect ipip35 sa-out 35 sa-in 100035 add
exec set interface ip address loop0 100.0.36.1/32
exec create ipip tunnel src 100.0.36.1 dst 200.0.0.2 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 6f537249717878745842676b6e5a7153 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 6f537249717878745842676b6e5a7153 esp
exec ipsec tunnel protect ipip36 sa-out 36 sa-in 100036 add
exec set interface ip address loop0 100.0.37.1/32
exec create ipip tunnel src 100.0.37.1 dst 200.0.0.2 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 70514571646e77736158717459737177 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 70514571646e77736158717459737177 esp
exec ipsec tunnel protect ipip37 sa-out 37 sa-in 100037 add
exec set interface ip address loop0 100.0.38.1/32
exec create ipip tunnel src 100.0.38.1 dst 200.0.0.2 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 6f697a427356776a6378536b4859764d esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 6f697a427356776a6378536b4859764d esp
exec ipsec tunnel protect ipip38 sa-out 38 sa-in 100038 add
exec set interface ip address loop0 100.0.39.1/32
exec create ipip tunnel src 100.0.39.1 dst 200.0.0.2 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 4b63695069516961547772496e6a6871 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 4b63695069516961547772496e6a6871 esp
exec ipsec tunnel protect ipip39 sa-out 39 sa-in 100039 add
exec set interface unnumbered ipip0 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip0 up
exec ip route add 20.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip1 up
exec ip route add 20.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip2 up
exec ip route add 20.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip3 up
exec ip route add 20.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip4 up
exec ip route add 20.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip5 up
exec ip route add 20.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip6 up
exec ip route add 20.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip7 up
exec ip route add 20.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip8 up
exec ip route add 20.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip9 up
exec ip route add 20.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip10 up
exec ip route add 20.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip11 up
exec ip route add 20.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip12 up
exec ip route add 20.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip13 up
exec ip route add 20.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip14 up
exec ip route add 20.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip15 up
exec ip route add 20.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip16 up
exec ip route add 20.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip17 up
exec ip route add 20.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip18 up
exec ip route add 20.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip19 up
exec ip route add 20.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip20 up
exec ip route add 20.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip21 up
exec ip route add 20.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip22 up
exec ip route add 20.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip23 up
exec ip route add 20.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip24 up
exec ip route add 20.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip25 up
exec ip route add 20.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip26 up
exec ip route add 20.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip27 up
exec ip route add 20.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip28 up
exec ip route add 20.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip29 up
exec ip route add 20.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip30 up
exec ip route add 20.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip31 up
exec ip route add 20.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip32 up
exec ip route add 20.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip33 up
exec ip route add 20.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip34 up
exec ip route add 20.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip35 up
exec ip route add 20.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip36 up
exec ip route add 20.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip37 up
exec ip route add 20.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip38 up
exec ip route add 20.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip39 up
exec ip route add 20.0.0.39/32 via ipip39
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec set interface ip address TwentyFiveGigabitEthernet3b/0/1 200.0.0.2/24.0
exec create ipip tunnel src 200.0.0.2 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 766d4e717248654e5672477348745a54 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 766d4e717248654e5672477348745a54 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 627354474f586d55676551535664646f esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 627354474f586d55676551535664646f esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 4962416d634a714f67486445576f6961 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 4962416d634a714f67486445576f6961 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 616c56744d4f615541774f656a544b57 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 616c56744d4f615541774f656a544b57 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 4f48735754456f6a5871497178656269 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 4f48735754456f6a5871497178656269 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 684a4e59795969614249704375646966 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 684a4e59795969614249704375646966 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 6e4e6d65617a52684b547a6a65786b62 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 6e4e6d65617a52684b547a6a65786b62 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 50466859765a63514863614f544c6458 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 50466859765a63514863614f544c6458 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 5662706f75615046574d6a6756646d51 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 5662706f75615046574d6a6756646d51 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 527269616d68776e4a66416450744942 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 527269616d68776e4a66416450744942 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 65446a7a436c435a557769564a784165 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 65446a7a436c435a557769564a784165 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 636b6b6b7674425746744f7241547562 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 636b6b6b7674425746744f7241547562 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 6a44725368455a5a425162757465497a esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 6a44725368455a5a425162757465497a esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 475571557252624f485862536a467669 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 475571557252624f485862536a467669 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 6956457747724e47535848684a504969 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 6956457747724e47535848684a504969 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 694f4d52714c79687152485957665254 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 694f4d52714c79687152485957665254 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 4b70476c56586d4253666f7a6b67784e esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 4b70476c56586d4253666f7a6b67784e esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 62484443757a494c5257756670534267 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 62484443757a494c5257756670534267 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 52777647554c716a67436842496f7171 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 52777647554c716a67436842496f7171 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 745a424e77674c6a6e637a4952714262 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 745a424e77674c6a6e637a4952714262 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 446e70435479694a676f677570414253 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 446e70435479694a676f677570414253 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 7a63507969567347706e4a6870725859 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 7a63507969567347706e4a6870725859 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 466f41477a4d7a58695649524d617857 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 466f41477a4d7a58695649524d617857 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 414d6e6a76676d547949595949537a63 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 414d6e6a76676d547949595949537a63 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 677a62496c68426e585747664f455071 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 677a62496c68426e585747664f455071 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 6f584a6f5348594a456c735045664645 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 6f584a6f5348594a456c735045664645 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 6f5756644747774c73636d7667686c48 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 6f5756644747774c73636d7667686c48 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 4e496b5761677a7a6c47715a5977466e esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 4e496b5761677a7a6c47715a5977466e esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 75797a516c496d584e46454e4463694a esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 75797a516c496d584e46454e4463694a esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 77694e45446c77487252784e65447457 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 77694e45446c77487252784e65447457 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 715469536f4841727a4d776e50447642 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 715469536f4841727a4d776e50447642 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 56534b466e4256765445694b7a556b68 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 56534b466e4256765445694b7a556b68 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 4f46434f6764587368457a47734f4550 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 4f46434f6764587368457a47734f4550 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 576c774a54584352784a414f7158554d esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 576c774a54584352784a414f7158554d esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 68625249767741686d43534a74517948 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 68625249767741686d43534a74517948 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 7a73457a5044566c6270666b4753737a esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 7a73457a5044566c6270666b4753737a esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 6f537249717878745842676b6e5a7153 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 6f537249717878745842676b6e5a7153 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 70514571646e77736158717459737177 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 70514571646e77736158717459737177 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 6f697a427356776a6378536b4859764d esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 6f697a427356776a6378536b4859764d esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 4b63695069516961547772496e6a6871 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 4b63695069516961547772496e6a6871 esp
exec ipsec tunnel protect ipip39 sa-out 100039 sa-in 39 add
exec ip route add 100.0.0.1/8 via 200.0.0.1 TwentyFiveGigabitEthernet3b/0/1
exec set interface unnumbered ipip0 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip0 up
exec ip route add 10.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip1 up
exec ip route add 10.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip2 up
exec ip route add 10.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip3 up
exec ip route add 10.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip4 up
exec ip route add 10.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip5 up
exec ip route add 10.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip6 up
exec ip route add 10.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip7 up
exec ip route add 10.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip8 up
exec ip route add 10.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip9 up
exec ip route add 10.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip10 up
exec ip route add 10.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip11 up
exec ip route add 10.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip12 up
exec ip route add 10.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip13 up
exec ip route add 10.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip14 up
exec ip route add 10.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip15 up
exec ip route add 10.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip16 up
exec ip route add 10.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip17 up
exec ip route add 10.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip18 up
exec ip route add 10.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip19 up
exec ip route add 10.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip20 up
exec ip route add 10.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip21 up
exec ip route add 10.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip22 up
exec ip route add 10.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip23 up
exec ip route add 10.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip24 up
exec ip route add 10.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip25 up
exec ip route add 10.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip26 up
exec ip route add 10.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip27 up
exec ip route add 10.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip28 up
exec ip route add 10.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip29 up
exec ip route add 10.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip30 up
exec ip route add 10.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip31 up
exec ip route add 10.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip32 up
exec ip route add 10.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip33 up
exec ip route add 10.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip34 up
exec ip route add 10.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip35 up
exec ip route add 10.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip36 up
exec ip route add 10.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip37 up
exec ip route add 10.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip38 up
exec ip route add 10.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip39 up
exec ip route add 10.0.0.39/32 via ipip39

 1518b-4t2c-ethip4ipsec40tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec create loopback interface
exec set interface state loop0 up
exec set interface ip address TwentyFiveGigabitEthernet3b/0/1 200.0.0.1/24
exec set ip neighbor TwentyFiveGigabitEthernet3b/0/1 200.0.0.2 3c:fd:fe:bd:f8:fd static
exec set interface ip address loop0 100.0.0.1/32
exec create ipip tunnel src 100.0.0.1 dst 200.0.0.2 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 466c576756566d6a6a6b44764c514257 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 466c576756566d6a6a6b44764c514257 esp
exec ipsec tunnel protect ipip0 sa-out 0 sa-in 100000 add
exec set interface ip address loop0 100.0.1.1/32
exec create ipip tunnel src 100.0.1.1 dst 200.0.0.2 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 4257726453466e5a47556f6b4f766a5a esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 4257726453466e5a47556f6b4f766a5a esp
exec ipsec tunnel protect ipip1 sa-out 1 sa-in 100001 add
exec set interface ip address loop0 100.0.2.1/32
exec create ipip tunnel src 100.0.2.1 dst 200.0.0.2 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 6d696a436541496d54666c6c426a6365 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 6d696a436541496d54666c6c426a6365 esp
exec ipsec tunnel protect ipip2 sa-out 2 sa-in 100002 add
exec set interface ip address loop0 100.0.3.1/32
exec create ipip tunnel src 100.0.3.1 dst 200.0.0.2 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 5348784c76584a5862477167707a5942 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 5348784c76584a5862477167707a5942 esp
exec ipsec tunnel protect ipip3 sa-out 3 sa-in 100003 add
exec set interface ip address loop0 100.0.4.1/32
exec create ipip tunnel src 100.0.4.1 dst 200.0.0.2 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 774c6c545161756d6869795a634d4469 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 774c6c545161756d6869795a634d4469 esp
exec ipsec tunnel protect ipip4 sa-out 4 sa-in 100004 add
exec set interface ip address loop0 100.0.5.1/32
exec create ipip tunnel src 100.0.5.1 dst 200.0.0.2 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 63775551484251516843464d53637468 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 63775551484251516843464d53637468 esp
exec ipsec tunnel protect ipip5 sa-out 5 sa-in 100005 add
exec set interface ip address loop0 100.0.6.1/32
exec create ipip tunnel src 100.0.6.1 dst 200.0.0.2 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 454d576a5362516f745a6f566b7a7549 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 454d576a5362516f745a6f566b7a7549 esp
exec ipsec tunnel protect ipip6 sa-out 6 sa-in 100006 add
exec set interface ip address loop0 100.0.7.1/32
exec create ipip tunnel src 100.0.7.1 dst 200.0.0.2 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 4c62484a765473414d5577794e656148 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 4c62484a765473414d5577794e656148 esp
exec ipsec tunnel protect ipip7 sa-out 7 sa-in 100007 add
exec set interface ip address loop0 100.0.8.1/32
exec create ipip tunnel src 100.0.8.1 dst 200.0.0.2 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 4e726764495a4f50734c6368545a5164 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 4e726764495a4f50734c6368545a5164 esp
exec ipsec tunnel protect ipip8 sa-out 8 sa-in 100008 add
exec set interface ip address loop0 100.0.9.1/32
exec create ipip tunnel src 100.0.9.1 dst 200.0.0.2 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 7a706c4f6c7067476f47545076776876 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 7a706c4f6c7067476f47545076776876 esp
exec ipsec tunnel protect ipip9 sa-out 9 sa-in 100009 add
exec set interface ip address loop0 100.0.10.1/32
exec create ipip tunnel src 100.0.10.1 dst 200.0.0.2 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 69797473616a62627a41554c5649736f esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 69797473616a62627a41554c5649736f esp
exec ipsec tunnel protect ipip10 sa-out 10 sa-in 100010 add
exec set interface ip address loop0 100.0.11.1/32
exec create ipip tunnel src 100.0.11.1 dst 200.0.0.2 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 75545a744f51695a624579464a6b7771 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 75545a744f51695a624579464a6b7771 esp
exec ipsec tunnel protect ipip11 sa-out 11 sa-in 100011 add
exec set interface ip address loop0 100.0.12.1/32
exec create ipip tunnel src 100.0.12.1 dst 200.0.0.2 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 6a6b61584f4766576465654748576a7a esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 6a6b61584f4766576465654748576a7a esp
exec ipsec tunnel protect ipip12 sa-out 12 sa-in 100012 add
exec set interface ip address loop0 100.0.13.1/32
exec create ipip tunnel src 100.0.13.1 dst 200.0.0.2 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 4f7157724a68746c586a535a6e774457 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 4f7157724a68746c586a535a6e774457 esp
exec ipsec tunnel protect ipip13 sa-out 13 sa-in 100013 add
exec set interface ip address loop0 100.0.14.1/32
exec create ipip tunnel src 100.0.14.1 dst 200.0.0.2 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 757473695845737168657361746e416c esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 757473695845737168657361746e416c esp
exec ipsec tunnel protect ipip14 sa-out 14 sa-in 100014 add
exec set interface ip address loop0 100.0.15.1/32
exec create ipip tunnel src 100.0.15.1 dst 200.0.0.2 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 7179787a4e6255567065794e716f6468 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 7179787a4e6255567065794e716f6468 esp
exec ipsec tunnel protect ipip15 sa-out 15 sa-in 100015 add
exec set interface ip address loop0 100.0.16.1/32
exec create ipip tunnel src 100.0.16.1 dst 200.0.0.2 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 435549766a57626f636876487a59684b esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 435549766a57626f636876487a59684b esp
exec ipsec tunnel protect ipip16 sa-out 16 sa-in 100016 add
exec set interface ip address loop0 100.0.17.1/32
exec create ipip tunnel src 100.0.17.1 dst 200.0.0.2 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 515a79794d45764f716c584758715369 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 515a79794d45764f716c584758715369 esp
exec ipsec tunnel protect ipip17 sa-out 17 sa-in 100017 add
exec set interface ip address loop0 100.0.18.1/32
exec create ipip tunnel src 100.0.18.1 dst 200.0.0.2 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 6c6b4f5567704870644970546354634a esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 6c6b4f5567704870644970546354634a esp
exec ipsec tunnel protect ipip18 sa-out 18 sa-in 100018 add
exec set interface ip address loop0 100.0.19.1/32
exec create ipip tunnel src 100.0.19.1 dst 200.0.0.2 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 78744d6d6f5975424d6852575579584f esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 78744d6d6f5975424d6852575579584f esp
exec ipsec tunnel protect ipip19 sa-out 19 sa-in 100019 add
exec set interface ip address loop0 100.0.20.1/32
exec create ipip tunnel src 100.0.20.1 dst 200.0.0.2 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 4d7153717746744d6f7a736e536c4e78 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 4d7153717746744d6f7a736e536c4e78 esp
exec ipsec tunnel protect ipip20 sa-out 20 sa-in 100020 add
exec set interface ip address loop0 100.0.21.1/32
exec create ipip tunnel src 100.0.21.1 dst 200.0.0.2 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 6f47784b656a664f5a7a6b4441796f75 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 6f47784b656a664f5a7a6b4441796f75 esp
exec ipsec tunnel protect ipip21 sa-out 21 sa-in 100021 add
exec set interface ip address loop0 100.0.22.1/32
exec create ipip tunnel src 100.0.22.1 dst 200.0.0.2 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 4e466262724f7450414e547176455174 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 4e466262724f7450414e547176455174 esp
exec ipsec tunnel protect ipip22 sa-out 22 sa-in 100022 add
exec set interface ip address loop0 100.0.23.1/32
exec create ipip tunnel src 100.0.23.1 dst 200.0.0.2 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 556d6f53514a5a58636278454a597259 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 556d6f53514a5a58636278454a597259 esp
exec ipsec tunnel protect ipip23 sa-out 23 sa-in 100023 add
exec set interface ip address loop0 100.0.24.1/32
exec create ipip tunnel src 100.0.24.1 dst 200.0.0.2 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 4d58686858754b795072626a58426565 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 4d58686858754b795072626a58426565 esp
exec ipsec tunnel protect ipip24 sa-out 24 sa-in 100024 add
exec set interface ip address loop0 100.0.25.1/32
exec create ipip tunnel src 100.0.25.1 dst 200.0.0.2 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 576976646779556c49754e6f7962744c esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 576976646779556c49754e6f7962744c esp
exec ipsec tunnel protect ipip25 sa-out 25 sa-in 100025 add
exec set interface ip address loop0 100.0.26.1/32
exec create ipip tunnel src 100.0.26.1 dst 200.0.0.2 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 79475266614955426942616662575152 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 79475266614955426942616662575152 esp
exec ipsec tunnel protect ipip26 sa-out 26 sa-in 100026 add
exec set interface ip address loop0 100.0.27.1/32
exec create ipip tunnel src 100.0.27.1 dst 200.0.0.2 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 4378574d756a516e5750684d586f615a esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 4378574d756a516e5750684d586f615a esp
exec ipsec tunnel protect ipip27 sa-out 27 sa-in 100027 add
exec set interface ip address loop0 100.0.28.1/32
exec create ipip tunnel src 100.0.28.1 dst 200.0.0.2 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 416263584770534c527a66486f6b6552 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 416263584770534c527a66486f6b6552 esp
exec ipsec tunnel protect ipip28 sa-out 28 sa-in 100028 add
exec set interface ip address loop0 100.0.29.1/32
exec create ipip tunnel src 100.0.29.1 dst 200.0.0.2 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 6c476e7343776f5a4a495571676f6470 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 6c476e7343776f5a4a495571676f6470 esp
exec ipsec tunnel protect ipip29 sa-out 29 sa-in 100029 add
exec set interface ip address loop0 100.0.30.1/32
exec create ipip tunnel src 100.0.30.1 dst 200.0.0.2 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 4c44616745574c5055614e4a734f4a70 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 4c44616745574c5055614e4a734f4a70 esp
exec ipsec tunnel protect ipip30 sa-out 30 sa-in 100030 add
exec set interface ip address loop0 100.0.31.1/32
exec create ipip tunnel src 100.0.31.1 dst 200.0.0.2 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 6c4d694f59595779436a4c764a6c546d esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 6c4d694f59595779436a4c764a6c546d esp
exec ipsec tunnel protect ipip31 sa-out 31 sa-in 100031 add
exec set interface ip address loop0 100.0.32.1/32
exec create ipip tunnel src 100.0.32.1 dst 200.0.0.2 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 577345775051624d5567726d52766162 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 577345775051624d5567726d52766162 esp
exec ipsec tunnel protect ipip32 sa-out 32 sa-in 100032 add
exec set interface ip address loop0 100.0.33.1/32
exec create ipip tunnel src 100.0.33.1 dst 200.0.0.2 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 56714c676653564e4261494a70466a49 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 56714c676653564e4261494a70466a49 esp
exec ipsec tunnel protect ipip33 sa-out 33 sa-in 100033 add
exec set interface ip address loop0 100.0.34.1/32
exec create ipip tunnel src 100.0.34.1 dst 200.0.0.2 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 6176657559774364614e4d78776a546d esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 6176657559774364614e4d78776a546d esp
exec ipsec tunnel protect ipip34 sa-out 34 sa-in 100034 add
exec set interface ip address loop0 100.0.35.1/32
exec create ipip tunnel src 100.0.35.1 dst 200.0.0.2 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 6c54587269666a73744b576d54597248 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 6c54587269666a73744b576d54597248 esp
exec ipsec tunnel protect ipip35 sa-out 35 sa-in 100035 add
exec set interface ip address loop0 100.0.36.1/32
exec create ipip tunnel src 100.0.36.1 dst 200.0.0.2 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 4e414d4647576767796f6b6b56544855 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 4e414d4647576767796f6b6b56544855 esp
exec ipsec tunnel protect ipip36 sa-out 36 sa-in 100036 add
exec set interface ip address loop0 100.0.37.1/32
exec create ipip tunnel src 100.0.37.1 dst 200.0.0.2 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 6d4a614b475a776e6b556d654565577a esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 6d4a614b475a776e6b556d654565577a esp
exec ipsec tunnel protect ipip37 sa-out 37 sa-in 100037 add
exec set interface ip address loop0 100.0.38.1/32
exec create ipip tunnel src 100.0.38.1 dst 200.0.0.2 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 695364626966586f774178616e774178 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 695364626966586f774178616e774178 esp
exec ipsec tunnel protect ipip38 sa-out 38 sa-in 100038 add
exec set interface ip address loop0 100.0.39.1/32
exec create ipip tunnel src 100.0.39.1 dst 200.0.0.2 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 576668556c617a4b5a6f4d5576495a71 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 576668556c617a4b5a6f4d5576495a71 esp
exec ipsec tunnel protect ipip39 sa-out 39 sa-in 100039 add
exec set interface unnumbered ipip0 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip0 up
exec ip route add 20.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip1 up
exec ip route add 20.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip2 up
exec ip route add 20.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip3 up
exec ip route add 20.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip4 up
exec ip route add 20.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip5 up
exec ip route add 20.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip6 up
exec ip route add 20.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip7 up
exec ip route add 20.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip8 up
exec ip route add 20.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip9 up
exec ip route add 20.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip10 up
exec ip route add 20.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip11 up
exec ip route add 20.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip12 up
exec ip route add 20.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip13 up
exec ip route add 20.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip14 up
exec ip route add 20.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip15 up
exec ip route add 20.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip16 up
exec ip route add 20.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip17 up
exec ip route add 20.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip18 up
exec ip route add 20.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip19 up
exec ip route add 20.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip20 up
exec ip route add 20.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip21 up
exec ip route add 20.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip22 up
exec ip route add 20.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip23 up
exec ip route add 20.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip24 up
exec ip route add 20.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip25 up
exec ip route add 20.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip26 up
exec ip route add 20.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip27 up
exec ip route add 20.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip28 up
exec ip route add 20.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip29 up
exec ip route add 20.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip30 up
exec ip route add 20.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip31 up
exec ip route add 20.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip32 up
exec ip route add 20.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip33 up
exec ip route add 20.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip34 up
exec ip route add 20.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip35 up
exec ip route add 20.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip36 up
exec ip route add 20.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip37 up
exec ip route add 20.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip38 up
exec ip route add 20.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip39 up
exec ip route add 20.0.0.39/32 via ipip39
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec set interface ip address TwentyFiveGigabitEthernet3b/0/1 200.0.0.2/24.0
exec create ipip tunnel src 200.0.0.2 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 466c576756566d6a6a6b44764c514257 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 466c576756566d6a6a6b44764c514257 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 4257726453466e5a47556f6b4f766a5a esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 4257726453466e5a47556f6b4f766a5a esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 6d696a436541496d54666c6c426a6365 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 6d696a436541496d54666c6c426a6365 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 5348784c76584a5862477167707a5942 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 5348784c76584a5862477167707a5942 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 774c6c545161756d6869795a634d4469 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 774c6c545161756d6869795a634d4469 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 63775551484251516843464d53637468 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 63775551484251516843464d53637468 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 454d576a5362516f745a6f566b7a7549 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 454d576a5362516f745a6f566b7a7549 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 4c62484a765473414d5577794e656148 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 4c62484a765473414d5577794e656148 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 4e726764495a4f50734c6368545a5164 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 4e726764495a4f50734c6368545a5164 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 7a706c4f6c7067476f47545076776876 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 7a706c4f6c7067476f47545076776876 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 69797473616a62627a41554c5649736f esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 69797473616a62627a41554c5649736f esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 75545a744f51695a624579464a6b7771 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 75545a744f51695a624579464a6b7771 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 6a6b61584f4766576465654748576a7a esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 6a6b61584f4766576465654748576a7a esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 4f7157724a68746c586a535a6e774457 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 4f7157724a68746c586a535a6e774457 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 757473695845737168657361746e416c esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 757473695845737168657361746e416c esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 7179787a4e6255567065794e716f6468 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 7179787a4e6255567065794e716f6468 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 435549766a57626f636876487a59684b esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 435549766a57626f636876487a59684b esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 515a79794d45764f716c584758715369 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 515a79794d45764f716c584758715369 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 6c6b4f5567704870644970546354634a esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 6c6b4f5567704870644970546354634a esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 78744d6d6f5975424d6852575579584f esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 78744d6d6f5975424d6852575579584f esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 4d7153717746744d6f7a736e536c4e78 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 4d7153717746744d6f7a736e536c4e78 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 6f47784b656a664f5a7a6b4441796f75 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 6f47784b656a664f5a7a6b4441796f75 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 4e466262724f7450414e547176455174 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 4e466262724f7450414e547176455174 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 556d6f53514a5a58636278454a597259 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 556d6f53514a5a58636278454a597259 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 4d58686858754b795072626a58426565 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 4d58686858754b795072626a58426565 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 576976646779556c49754e6f7962744c esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 576976646779556c49754e6f7962744c esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 79475266614955426942616662575152 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 79475266614955426942616662575152 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 4378574d756a516e5750684d586f615a esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 4378574d756a516e5750684d586f615a esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 416263584770534c527a66486f6b6552 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 416263584770534c527a66486f6b6552 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 6c476e7343776f5a4a495571676f6470 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 6c476e7343776f5a4a495571676f6470 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 4c44616745574c5055614e4a734f4a70 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 4c44616745574c5055614e4a734f4a70 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 6c4d694f59595779436a4c764a6c546d esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 6c4d694f59595779436a4c764a6c546d esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 577345775051624d5567726d52766162 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 577345775051624d5567726d52766162 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 56714c676653564e4261494a70466a49 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 56714c676653564e4261494a70466a49 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 6176657559774364614e4d78776a546d esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 6176657559774364614e4d78776a546d esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 6c54587269666a73744b576d54597248 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 6c54587269666a73744b576d54597248 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 4e414d4647576767796f6b6b56544855 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 4e414d4647576767796f6b6b56544855 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 6d4a614b475a776e6b556d654565577a esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 6d4a614b475a776e6b556d654565577a esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 695364626966586f774178616e774178 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 695364626966586f774178616e774178 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 576668556c617a4b5a6f4d5576495a71 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 576668556c617a4b5a6f4d5576495a71 esp
exec ipsec tunnel protect ipip39 sa-out 100039 sa-in 39 add
exec ip route add 100.0.0.1/8 via 200.0.0.1 TwentyFiveGigabitEthernet3b/0/1
exec set interface unnumbered ipip0 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip0 up
exec ip route add 10.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip1 up
exec ip route add 10.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip2 up
exec ip route add 10.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip3 up
exec ip route add 10.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip4 up
exec ip route add 10.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip5 up
exec ip route add 10.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip6 up
exec ip route add 10.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip7 up
exec ip route add 10.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip8 up
exec ip route add 10.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip9 up
exec ip route add 10.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip10 up
exec ip route add 10.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip11 up
exec ip route add 10.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip12 up
exec ip route add 10.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip13 up
exec ip route add 10.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip14 up
exec ip route add 10.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip15 up
exec ip route add 10.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip16 up
exec ip route add 10.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip17 up
exec ip route add 10.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip18 up
exec ip route add 10.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip19 up
exec ip route add 10.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip20 up
exec ip route add 10.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip21 up
exec ip route add 10.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip22 up
exec ip route add 10.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip23 up
exec ip route add 10.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip24 up
exec ip route add 10.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip25 up
exec ip route add 10.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip26 up
exec ip route add 10.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip27 up
exec ip route add 10.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip28 up
exec ip route add 10.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip29 up
exec ip route add 10.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip30 up
exec ip route add 10.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip31 up
exec ip route add 10.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip32 up
exec ip route add 10.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip33 up
exec ip route add 10.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip34 up
exec ip route add 10.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip35 up
exec ip route add 10.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip36 up
exec ip route add 10.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip37 up
exec ip route add 10.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip38 up
exec ip route add 10.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip39 up
exec ip route add 10.0.0.39/32 via ipip39

 imix-2t1c-ethip4ipsec40tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec create loopback interface
exec set interface state loop0 up
exec set interface ip address TwentyFiveGigabitEthernet3b/0/1 200.0.0.1/24
exec set ip neighbor TwentyFiveGigabitEthernet3b/0/1 200.0.0.2 3c:fd:fe:bd:f8:fd static
exec set interface ip address loop0 100.0.0.1/32
exec create ipip tunnel src 100.0.0.1 dst 200.0.0.2 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 71557342656158466a6f5642654a6144 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 71557342656158466a6f5642654a6144 esp
exec ipsec tunnel protect ipip0 sa-out 0 sa-in 100000 add
exec set interface ip address loop0 100.0.1.1/32
exec create ipip tunnel src 100.0.1.1 dst 200.0.0.2 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 556d714f5a5761754a68794948634169 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 556d714f5a5761754a68794948634169 esp
exec ipsec tunnel protect ipip1 sa-out 1 sa-in 100001 add
exec set interface ip address loop0 100.0.2.1/32
exec create ipip tunnel src 100.0.2.1 dst 200.0.0.2 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 6a465254596e4f52456a56466e434166 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 6a465254596e4f52456a56466e434166 esp
exec ipsec tunnel protect ipip2 sa-out 2 sa-in 100002 add
exec set interface ip address loop0 100.0.3.1/32
exec create ipip tunnel src 100.0.3.1 dst 200.0.0.2 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 48517a6976686f6251717a5262644d69 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 48517a6976686f6251717a5262644d69 esp
exec ipsec tunnel protect ipip3 sa-out 3 sa-in 100003 add
exec set interface ip address loop0 100.0.4.1/32
exec create ipip tunnel src 100.0.4.1 dst 200.0.0.2 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 6c4d53634855556871674a72576a4742 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 6c4d53634855556871674a72576a4742 esp
exec ipsec tunnel protect ipip4 sa-out 4 sa-in 100004 add
exec set interface ip address loop0 100.0.5.1/32
exec create ipip tunnel src 100.0.5.1 dst 200.0.0.2 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 646372644c694d48564f6e4e436c4863 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 646372644c694d48564f6e4e436c4863 esp
exec ipsec tunnel protect ipip5 sa-out 5 sa-in 100005 add
exec set interface ip address loop0 100.0.6.1/32
exec create ipip tunnel src 100.0.6.1 dst 200.0.0.2 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 48417553514e59726b675365626f566d esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 48417553514e59726b675365626f566d esp
exec ipsec tunnel protect ipip6 sa-out 6 sa-in 100006 add
exec set interface ip address loop0 100.0.7.1/32
exec create ipip tunnel src 100.0.7.1 dst 200.0.0.2 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 6b726275647a4e687178626673586347 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 6b726275647a4e687178626673586347 esp
exec ipsec tunnel protect ipip7 sa-out 7 sa-in 100007 add
exec set interface ip address loop0 100.0.8.1/32
exec create ipip tunnel src 100.0.8.1 dst 200.0.0.2 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 6152634f6b43416e796f50494a554256 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 6152634f6b43416e796f50494a554256 esp
exec ipsec tunnel protect ipip8 sa-out 8 sa-in 100008 add
exec set interface ip address loop0 100.0.9.1/32
exec create ipip tunnel src 100.0.9.1 dst 200.0.0.2 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 4f4b44616441544e4677505148556c6b esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 4f4b44616441544e4677505148556c6b esp
exec ipsec tunnel protect ipip9 sa-out 9 sa-in 100009 add
exec set interface ip address loop0 100.0.10.1/32
exec create ipip tunnel src 100.0.10.1 dst 200.0.0.2 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 59447a537547517557464a686951734d esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 59447a537547517557464a686951734d esp
exec ipsec tunnel protect ipip10 sa-out 10 sa-in 100010 add
exec set interface ip address loop0 100.0.11.1/32
exec create ipip tunnel src 100.0.11.1 dst 200.0.0.2 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 4a416877516663714550735558726d63 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 4a416877516663714550735558726d63 esp
exec ipsec tunnel protect ipip11 sa-out 11 sa-in 100011 add
exec set interface ip address loop0 100.0.12.1/32
exec create ipip tunnel src 100.0.12.1 dst 200.0.0.2 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 6c6d5558444471436151617478506b67 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 6c6d5558444471436151617478506b67 esp
exec ipsec tunnel protect ipip12 sa-out 12 sa-in 100012 add
exec set interface ip address loop0 100.0.13.1/32
exec create ipip tunnel src 100.0.13.1 dst 200.0.0.2 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 57436f684f577a65454b75504572764b esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 57436f684f577a65454b75504572764b esp
exec ipsec tunnel protect ipip13 sa-out 13 sa-in 100013 add
exec set interface ip address loop0 100.0.14.1/32
exec create ipip tunnel src 100.0.14.1 dst 200.0.0.2 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 726e635047466c5745556e6d62676e7a esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 726e635047466c5745556e6d62676e7a esp
exec ipsec tunnel protect ipip14 sa-out 14 sa-in 100014 add
exec set interface ip address loop0 100.0.15.1/32
exec create ipip tunnel src 100.0.15.1 dst 200.0.0.2 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 4a7752586a45657162456f6c784d6d66 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 4a7752586a45657162456f6c784d6d66 esp
exec ipsec tunnel protect ipip15 sa-out 15 sa-in 100015 add
exec set interface ip address loop0 100.0.16.1/32
exec create ipip tunnel src 100.0.16.1 dst 200.0.0.2 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 544f4a555146666b4d67514f55627a61 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 544f4a555146666b4d67514f55627a61 esp
exec ipsec tunnel protect ipip16 sa-out 16 sa-in 100016 add
exec set interface ip address loop0 100.0.17.1/32
exec create ipip tunnel src 100.0.17.1 dst 200.0.0.2 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 4768624e5658796c6a6b4a4e7057536f esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 4768624e5658796c6a6b4a4e7057536f esp
exec ipsec tunnel protect ipip17 sa-out 17 sa-in 100017 add
exec set interface ip address loop0 100.0.18.1/32
exec create ipip tunnel src 100.0.18.1 dst 200.0.0.2 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 4d4157516e55694376556d58576b584b esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 4d4157516e55694376556d58576b584b esp
exec ipsec tunnel protect ipip18 sa-out 18 sa-in 100018 add
exec set interface ip address loop0 100.0.19.1/32
exec create ipip tunnel src 100.0.19.1 dst 200.0.0.2 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 4f454541456d6c46574d646962566252 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 4f454541456d6c46574d646962566252 esp
exec ipsec tunnel protect ipip19 sa-out 19 sa-in 100019 add
exec set interface ip address loop0 100.0.20.1/32
exec create ipip tunnel src 100.0.20.1 dst 200.0.0.2 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 6d416f457459427a5774426950486475 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 6d416f457459427a5774426950486475 esp
exec ipsec tunnel protect ipip20 sa-out 20 sa-in 100020 add
exec set interface ip address loop0 100.0.21.1/32
exec create ipip tunnel src 100.0.21.1 dst 200.0.0.2 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 72477561766b636e4376646e6f757050 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 72477561766b636e4376646e6f757050 esp
exec ipsec tunnel protect ipip21 sa-out 21 sa-in 100021 add
exec set interface ip address loop0 100.0.22.1/32
exec create ipip tunnel src 100.0.22.1 dst 200.0.0.2 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 63515479515173457253436943666f73 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 63515479515173457253436943666f73 esp
exec ipsec tunnel protect ipip22 sa-out 22 sa-in 100022 add
exec set interface ip address loop0 100.0.23.1/32
exec create ipip tunnel src 100.0.23.1 dst 200.0.0.2 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 7a4d517a597370784d654e6f4b556747 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 7a4d517a597370784d654e6f4b556747 esp
exec ipsec tunnel protect ipip23 sa-out 23 sa-in 100023 add
exec set interface ip address loop0 100.0.24.1/32
exec create ipip tunnel src 100.0.24.1 dst 200.0.0.2 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 567a795665625674744e6c6e4c65746b esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 567a795665625674744e6c6e4c65746b esp
exec ipsec tunnel protect ipip24 sa-out 24 sa-in 100024 add
exec set interface ip address loop0 100.0.25.1/32
exec create ipip tunnel src 100.0.25.1 dst 200.0.0.2 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 5577696b456d535a706c7a4143625577 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 5577696b456d535a706c7a4143625577 esp
exec ipsec tunnel protect ipip25 sa-out 25 sa-in 100025 add
exec set interface ip address loop0 100.0.26.1/32
exec create ipip tunnel src 100.0.26.1 dst 200.0.0.2 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 50694659616858624b4e447668714f6c esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 50694659616858624b4e447668714f6c esp
exec ipsec tunnel protect ipip26 sa-out 26 sa-in 100026 add
exec set interface ip address loop0 100.0.27.1/32
exec create ipip tunnel src 100.0.27.1 dst 200.0.0.2 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 43634c6c5377677964535972454b416c esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 43634c6c5377677964535972454b416c esp
exec ipsec tunnel protect ipip27 sa-out 27 sa-in 100027 add
exec set interface ip address loop0 100.0.28.1/32
exec create ipip tunnel src 100.0.28.1 dst 200.0.0.2 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 74574469684957666742715349616969 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 74574469684957666742715349616969 esp
exec ipsec tunnel protect ipip28 sa-out 28 sa-in 100028 add
exec set interface ip address loop0 100.0.29.1/32
exec create ipip tunnel src 100.0.29.1 dst 200.0.0.2 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 50505366506b68594575484a4f79415a esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 50505366506b68594575484a4f79415a esp
exec ipsec tunnel protect ipip29 sa-out 29 sa-in 100029 add
exec set interface ip address loop0 100.0.30.1/32
exec create ipip tunnel src 100.0.30.1 dst 200.0.0.2 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 6b4b4d795a7046747846546d4648675a esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 6b4b4d795a7046747846546d4648675a esp
exec ipsec tunnel protect ipip30 sa-out 30 sa-in 100030 add
exec set interface ip address loop0 100.0.31.1/32
exec create ipip tunnel src 100.0.31.1 dst 200.0.0.2 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 51695a46716664634b7067794a497374 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 51695a46716664634b7067794a497374 esp
exec ipsec tunnel protect ipip31 sa-out 31 sa-in 100031 add
exec set interface ip address loop0 100.0.32.1/32
exec create ipip tunnel src 100.0.32.1 dst 200.0.0.2 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 567078585443726e715a705948697058 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 567078585443726e715a705948697058 esp
exec ipsec tunnel protect ipip32 sa-out 32 sa-in 100032 add
exec set interface ip address loop0 100.0.33.1/32
exec create ipip tunnel src 100.0.33.1 dst 200.0.0.2 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 61754e435a46576d496343624975514d esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 61754e435a46576d496343624975514d esp
exec ipsec tunnel protect ipip33 sa-out 33 sa-in 100033 add
exec set interface ip address loop0 100.0.34.1/32
exec create ipip tunnel src 100.0.34.1 dst 200.0.0.2 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 4768484d7253505a6c5559477a485750 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 4768484d7253505a6c5559477a485750 esp
exec ipsec tunnel protect ipip34 sa-out 34 sa-in 100034 add
exec set interface ip address loop0 100.0.35.1/32
exec create ipip tunnel src 100.0.35.1 dst 200.0.0.2 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 78635953614d65536b4f4471576c424d esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 78635953614d65536b4f4471576c424d esp
exec ipsec tunnel protect ipip35 sa-out 35 sa-in 100035 add
exec set interface ip address loop0 100.0.36.1/32
exec create ipip tunnel src 100.0.36.1 dst 200.0.0.2 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 59795a63655261677a4d67496e45574f esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 59795a63655261677a4d67496e45574f esp
exec ipsec tunnel protect ipip36 sa-out 36 sa-in 100036 add
exec set interface ip address loop0 100.0.37.1/32
exec create ipip tunnel src 100.0.37.1 dst 200.0.0.2 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 74584951564d4e7a6842566e63566661 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 74584951564d4e7a6842566e63566661 esp
exec ipsec tunnel protect ipip37 sa-out 37 sa-in 100037 add
exec set interface ip address loop0 100.0.38.1/32
exec create ipip tunnel src 100.0.38.1 dst 200.0.0.2 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 59656954585148477172755665574863 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 59656954585148477172755665574863 esp
exec ipsec tunnel protect ipip38 sa-out 38 sa-in 100038 add
exec set interface ip address loop0 100.0.39.1/32
exec create ipip tunnel src 100.0.39.1 dst 200.0.0.2 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 526d6f457666666b577452504b78434b esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 526d6f457666666b577452504b78434b esp
exec ipsec tunnel protect ipip39 sa-out 39 sa-in 100039 add
exec set interface unnumbered ipip0 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip0 up
exec ip route add 20.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip1 up
exec ip route add 20.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip2 up
exec ip route add 20.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip3 up
exec ip route add 20.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip4 up
exec ip route add 20.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip5 up
exec ip route add 20.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip6 up
exec ip route add 20.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip7 up
exec ip route add 20.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip8 up
exec ip route add 20.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip9 up
exec ip route add 20.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip10 up
exec ip route add 20.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip11 up
exec ip route add 20.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip12 up
exec ip route add 20.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip13 up
exec ip route add 20.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip14 up
exec ip route add 20.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip15 up
exec ip route add 20.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip16 up
exec ip route add 20.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip17 up
exec ip route add 20.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip18 up
exec ip route add 20.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip19 up
exec ip route add 20.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip20 up
exec ip route add 20.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip21 up
exec ip route add 20.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip22 up
exec ip route add 20.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip23 up
exec ip route add 20.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip24 up
exec ip route add 20.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip25 up
exec ip route add 20.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip26 up
exec ip route add 20.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip27 up
exec ip route add 20.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip28 up
exec ip route add 20.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip29 up
exec ip route add 20.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip30 up
exec ip route add 20.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip31 up
exec ip route add 20.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip32 up
exec ip route add 20.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip33 up
exec ip route add 20.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip34 up
exec ip route add 20.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip35 up
exec ip route add 20.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip36 up
exec ip route add 20.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip37 up
exec ip route add 20.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip38 up
exec ip route add 20.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip39 up
exec ip route add 20.0.0.39/32 via ipip39
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec set interface ip address TwentyFiveGigabitEthernet3b/0/1 200.0.0.2/24.0
exec create ipip tunnel src 200.0.0.2 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 71557342656158466a6f5642654a6144 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 71557342656158466a6f5642654a6144 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 556d714f5a5761754a68794948634169 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 556d714f5a5761754a68794948634169 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 6a465254596e4f52456a56466e434166 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 6a465254596e4f52456a56466e434166 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 48517a6976686f6251717a5262644d69 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 48517a6976686f6251717a5262644d69 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 6c4d53634855556871674a72576a4742 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 6c4d53634855556871674a72576a4742 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 646372644c694d48564f6e4e436c4863 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 646372644c694d48564f6e4e436c4863 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 48417553514e59726b675365626f566d esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 48417553514e59726b675365626f566d esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 6b726275647a4e687178626673586347 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 6b726275647a4e687178626673586347 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 6152634f6b43416e796f50494a554256 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 6152634f6b43416e796f50494a554256 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 4f4b44616441544e4677505148556c6b esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 4f4b44616441544e4677505148556c6b esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 59447a537547517557464a686951734d esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 59447a537547517557464a686951734d esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 4a416877516663714550735558726d63 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 4a416877516663714550735558726d63 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 6c6d5558444471436151617478506b67 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 6c6d5558444471436151617478506b67 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 57436f684f577a65454b75504572764b esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 57436f684f577a65454b75504572764b esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 726e635047466c5745556e6d62676e7a esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 726e635047466c5745556e6d62676e7a esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 4a7752586a45657162456f6c784d6d66 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 4a7752586a45657162456f6c784d6d66 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 544f4a555146666b4d67514f55627a61 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 544f4a555146666b4d67514f55627a61 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 4768624e5658796c6a6b4a4e7057536f esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 4768624e5658796c6a6b4a4e7057536f esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 4d4157516e55694376556d58576b584b esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 4d4157516e55694376556d58576b584b esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 4f454541456d6c46574d646962566252 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 4f454541456d6c46574d646962566252 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 6d416f457459427a5774426950486475 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 6d416f457459427a5774426950486475 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 72477561766b636e4376646e6f757050 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 72477561766b636e4376646e6f757050 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 63515479515173457253436943666f73 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 63515479515173457253436943666f73 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 7a4d517a597370784d654e6f4b556747 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 7a4d517a597370784d654e6f4b556747 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 567a795665625674744e6c6e4c65746b esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 567a795665625674744e6c6e4c65746b esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 5577696b456d535a706c7a4143625577 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 5577696b456d535a706c7a4143625577 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 50694659616858624b4e447668714f6c esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 50694659616858624b4e447668714f6c esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 43634c6c5377677964535972454b416c esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 43634c6c5377677964535972454b416c esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 74574469684957666742715349616969 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 74574469684957666742715349616969 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 50505366506b68594575484a4f79415a esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 50505366506b68594575484a4f79415a esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 6b4b4d795a7046747846546d4648675a esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 6b4b4d795a7046747846546d4648675a esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 51695a46716664634b7067794a497374 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 51695a46716664634b7067794a497374 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 567078585443726e715a705948697058 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 567078585443726e715a705948697058 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 61754e435a46576d496343624975514d esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 61754e435a46576d496343624975514d esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 4768484d7253505a6c5559477a485750 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 4768484d7253505a6c5559477a485750 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 78635953614d65536b4f4471576c424d esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 78635953614d65536b4f4471576c424d esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 59795a63655261677a4d67496e45574f esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 59795a63655261677a4d67496e45574f esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 74584951564d4e7a6842566e63566661 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 74584951564d4e7a6842566e63566661 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 59656954585148477172755665574863 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 59656954585148477172755665574863 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 526d6f457666666b577452504b78434b esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 526d6f457666666b577452504b78434b esp
exec ipsec tunnel protect ipip39 sa-out 100039 sa-in 39 add
exec ip route add 100.0.0.1/8 via 200.0.0.1 TwentyFiveGigabitEthernet3b/0/1
exec set interface unnumbered ipip0 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip0 up
exec ip route add 10.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip1 up
exec ip route add 10.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip2 up
exec ip route add 10.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip3 up
exec ip route add 10.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip4 up
exec ip route add 10.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip5 up
exec ip route add 10.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip6 up
exec ip route add 10.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip7 up
exec ip route add 10.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip8 up
exec ip route add 10.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip9 up
exec ip route add 10.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip10 up
exec ip route add 10.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip11 up
exec ip route add 10.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip12 up
exec ip route add 10.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip13 up
exec ip route add 10.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip14 up
exec ip route add 10.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip15 up
exec ip route add 10.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip16 up
exec ip route add 10.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip17 up
exec ip route add 10.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip18 up
exec ip route add 10.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip19 up
exec ip route add 10.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip20 up
exec ip route add 10.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip21 up
exec ip route add 10.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip22 up
exec ip route add 10.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip23 up
exec ip route add 10.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip24 up
exec ip route add 10.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip25 up
exec ip route add 10.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip26 up
exec ip route add 10.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip27 up
exec ip route add 10.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip28 up
exec ip route add 10.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip29 up
exec ip route add 10.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip30 up
exec ip route add 10.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip31 up
exec ip route add 10.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip32 up
exec ip route add 10.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip33 up
exec ip route add 10.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip34 up
exec ip route add 10.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip35 up
exec ip route add 10.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip36 up
exec ip route add 10.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip37 up
exec ip route add 10.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip38 up
exec ip route add 10.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip39 up
exec ip route add 10.0.0.39/32 via ipip39

 imix-4t2c-ethip4ipsec40tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec create loopback interface
exec set interface state loop0 up
exec set interface ip address TwentyFiveGigabitEthernet3b/0/1 200.0.0.1/24
exec set ip neighbor TwentyFiveGigabitEthernet3b/0/1 200.0.0.2 3c:fd:fe:bd:f8:fd static
exec set interface ip address loop0 100.0.0.1/32
exec create ipip tunnel src 100.0.0.1 dst 200.0.0.2 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 4a675366446a7a74466b456b71776545 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 4a675366446a7a74466b456b71776545 esp
exec ipsec tunnel protect ipip0 sa-out 0 sa-in 100000 add
exec set interface ip address loop0 100.0.1.1/32
exec create ipip tunnel src 100.0.1.1 dst 200.0.0.2 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 425a6666734d4b757a7453656c4f5766 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 425a6666734d4b757a7453656c4f5766 esp
exec ipsec tunnel protect ipip1 sa-out 1 sa-in 100001 add
exec set interface ip address loop0 100.0.2.1/32
exec create ipip tunnel src 100.0.2.1 dst 200.0.0.2 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 6d515645614558534a67764a7a635a70 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 6d515645614558534a67764a7a635a70 esp
exec ipsec tunnel protect ipip2 sa-out 2 sa-in 100002 add
exec set interface ip address loop0 100.0.3.1/32
exec create ipip tunnel src 100.0.3.1 dst 200.0.0.2 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 4a596143657875627879726d6f42676e esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 4a596143657875627879726d6f42676e esp
exec ipsec tunnel protect ipip3 sa-out 3 sa-in 100003 add
exec set interface ip address loop0 100.0.4.1/32
exec create ipip tunnel src 100.0.4.1 dst 200.0.0.2 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 7753686f655157634f4864614e52656b esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 7753686f655157634f4864614e52656b esp
exec ipsec tunnel protect ipip4 sa-out 4 sa-in 100004 add
exec set interface ip address loop0 100.0.5.1/32
exec create ipip tunnel src 100.0.5.1 dst 200.0.0.2 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 59467466445a5156427076456d6d4e4b esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 59467466445a5156427076456d6d4e4b esp
exec ipsec tunnel protect ipip5 sa-out 5 sa-in 100005 add
exec set interface ip address loop0 100.0.6.1/32
exec create ipip tunnel src 100.0.6.1 dst 200.0.0.2 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 746a53724e50757459764153716d646a esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 746a53724e50757459764153716d646a esp
exec ipsec tunnel protect ipip6 sa-out 6 sa-in 100006 add
exec set interface ip address loop0 100.0.7.1/32
exec create ipip tunnel src 100.0.7.1 dst 200.0.0.2 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 505743577046757975525843734b5673 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 505743577046757975525843734b5673 esp
exec ipsec tunnel protect ipip7 sa-out 7 sa-in 100007 add
exec set interface ip address loop0 100.0.8.1/32
exec create ipip tunnel src 100.0.8.1 dst 200.0.0.2 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 656b6a466777447a4a566a6f44517a6a esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 656b6a466777447a4a566a6f44517a6a esp
exec ipsec tunnel protect ipip8 sa-out 8 sa-in 100008 add
exec set interface ip address loop0 100.0.9.1/32
exec create ipip tunnel src 100.0.9.1 dst 200.0.0.2 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 4a474b7575586e5557546c77576c6e4e esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 4a474b7575586e5557546c77576c6e4e esp
exec ipsec tunnel protect ipip9 sa-out 9 sa-in 100009 add
exec set interface ip address loop0 100.0.10.1/32
exec create ipip tunnel src 100.0.10.1 dst 200.0.0.2 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 6f564f787964545043724a58554c4d72 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 6f564f787964545043724a58554c4d72 esp
exec ipsec tunnel protect ipip10 sa-out 10 sa-in 100010 add
exec set interface ip address loop0 100.0.11.1/32
exec create ipip tunnel src 100.0.11.1 dst 200.0.0.2 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 4f665775436d626b73626a4549637777 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 4f665775436d626b73626a4549637777 esp
exec ipsec tunnel protect ipip11 sa-out 11 sa-in 100011 add
exec set interface ip address loop0 100.0.12.1/32
exec create ipip tunnel src 100.0.12.1 dst 200.0.0.2 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 70767a445a566f62675847556c474a50 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 70767a445a566f62675847556c474a50 esp
exec ipsec tunnel protect ipip12 sa-out 12 sa-in 100012 add
exec set interface ip address loop0 100.0.13.1/32
exec create ipip tunnel src 100.0.13.1 dst 200.0.0.2 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 514b7479444777664277444a64416c6c esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 514b7479444777664277444a64416c6c esp
exec ipsec tunnel protect ipip13 sa-out 13 sa-in 100013 add
exec set interface ip address loop0 100.0.14.1/32
exec create ipip tunnel src 100.0.14.1 dst 200.0.0.2 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 6a75654941796278725a4a624b466243 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 6a75654941796278725a4a624b466243 esp
exec ipsec tunnel protect ipip14 sa-out 14 sa-in 100014 add
exec set interface ip address loop0 100.0.15.1/32
exec create ipip tunnel src 100.0.15.1 dst 200.0.0.2 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 6d73715943524d56494c78646f7a6645 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 6d73715943524d56494c78646f7a6645 esp
exec ipsec tunnel protect ipip15 sa-out 15 sa-in 100015 add
exec set interface ip address loop0 100.0.16.1/32
exec create ipip tunnel src 100.0.16.1 dst 200.0.0.2 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 68786764716a71786d6849466e4a7156 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 68786764716a71786d6849466e4a7156 esp
exec ipsec tunnel protect ipip16 sa-out 16 sa-in 100016 add
exec set interface ip address loop0 100.0.17.1/32
exec create ipip tunnel src 100.0.17.1 dst 200.0.0.2 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 75734464724e726962586d5a78544e6e esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 75734464724e726962586d5a78544e6e esp
exec ipsec tunnel protect ipip17 sa-out 17 sa-in 100017 add
exec set interface ip address loop0 100.0.18.1/32
exec create ipip tunnel src 100.0.18.1 dst 200.0.0.2 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 644b6645766261635664726c4b474a66 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 644b6645766261635664726c4b474a66 esp
exec ipsec tunnel protect ipip18 sa-out 18 sa-in 100018 add
exec set interface ip address loop0 100.0.19.1/32
exec create ipip tunnel src 100.0.19.1 dst 200.0.0.2 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 4b4d796e4c6c4a4179644172615a4472 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 4b4d796e4c6c4a4179644172615a4472 esp
exec ipsec tunnel protect ipip19 sa-out 19 sa-in 100019 add
exec set interface ip address loop0 100.0.20.1/32
exec create ipip tunnel src 100.0.20.1 dst 200.0.0.2 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 68724267614e6b6f56424e694c745471 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 68724267614e6b6f56424e694c745471 esp
exec ipsec tunnel protect ipip20 sa-out 20 sa-in 100020 add
exec set interface ip address loop0 100.0.21.1/32
exec create ipip tunnel src 100.0.21.1 dst 200.0.0.2 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 79415969736b6248657263784a6d5168 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 79415969736b6248657263784a6d5168 esp
exec ipsec tunnel protect ipip21 sa-out 21 sa-in 100021 add
exec set interface ip address loop0 100.0.22.1/32
exec create ipip tunnel src 100.0.22.1 dst 200.0.0.2 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 5a5567736368624d45585258576a5763 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 5a5567736368624d45585258576a5763 esp
exec ipsec tunnel protect ipip22 sa-out 22 sa-in 100022 add
exec set interface ip address loop0 100.0.23.1/32
exec create ipip tunnel src 100.0.23.1 dst 200.0.0.2 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 495662575a6d6f546f47786b4772464a esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 495662575a6d6f546f47786b4772464a esp
exec ipsec tunnel protect ipip23 sa-out 23 sa-in 100023 add
exec set interface ip address loop0 100.0.24.1/32
exec create ipip tunnel src 100.0.24.1 dst 200.0.0.2 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 456e47474f767157504b564a415a6e65 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 456e47474f767157504b564a415a6e65 esp
exec ipsec tunnel protect ipip24 sa-out 24 sa-in 100024 add
exec set interface ip address loop0 100.0.25.1/32
exec create ipip tunnel src 100.0.25.1 dst 200.0.0.2 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 484549787066576948616a4750416745 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 484549787066576948616a4750416745 esp
exec ipsec tunnel protect ipip25 sa-out 25 sa-in 100025 add
exec set interface ip address loop0 100.0.26.1/32
exec create ipip tunnel src 100.0.26.1 dst 200.0.0.2 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 634363687964744d7a6e4270534b5964 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 634363687964744d7a6e4270534b5964 esp
exec ipsec tunnel protect ipip26 sa-out 26 sa-in 100026 add
exec set interface ip address loop0 100.0.27.1/32
exec create ipip tunnel src 100.0.27.1 dst 200.0.0.2 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 426f4a524b4e436d7663476a49547049 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 426f4a524b4e436d7663476a49547049 esp
exec ipsec tunnel protect ipip27 sa-out 27 sa-in 100027 add
exec set interface ip address loop0 100.0.28.1/32
exec create ipip tunnel src 100.0.28.1 dst 200.0.0.2 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 6e77784e5a6847624e797174726f7376 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 6e77784e5a6847624e797174726f7376 esp
exec ipsec tunnel protect ipip28 sa-out 28 sa-in 100028 add
exec set interface ip address loop0 100.0.29.1/32
exec create ipip tunnel src 100.0.29.1 dst 200.0.0.2 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 4c4744747a69787971564c5363416179 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 4c4744747a69787971564c5363416179 esp
exec ipsec tunnel protect ipip29 sa-out 29 sa-in 100029 add
exec set interface ip address loop0 100.0.30.1/32
exec create ipip tunnel src 100.0.30.1 dst 200.0.0.2 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 4d4e507978514d436761704552464563 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 4d4e507978514d436761704552464563 esp
exec ipsec tunnel protect ipip30 sa-out 30 sa-in 100030 add
exec set interface ip address loop0 100.0.31.1/32
exec create ipip tunnel src 100.0.31.1 dst 200.0.0.2 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 684f5a54696a53524a624c42414a7753 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 684f5a54696a53524a624c42414a7753 esp
exec ipsec tunnel protect ipip31 sa-out 31 sa-in 100031 add
exec set interface ip address loop0 100.0.32.1/32
exec create ipip tunnel src 100.0.32.1 dst 200.0.0.2 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 575667734979634e5344594a57795245 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 575667734979634e5344594a57795245 esp
exec ipsec tunnel protect ipip32 sa-out 32 sa-in 100032 add
exec set interface ip address loop0 100.0.33.1/32
exec create ipip tunnel src 100.0.33.1 dst 200.0.0.2 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 6b78517a4e504e7152474f764e4c5541 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 6b78517a4e504e7152474f764e4c5541 esp
exec ipsec tunnel protect ipip33 sa-out 33 sa-in 100033 add
exec set interface ip address loop0 100.0.34.1/32
exec create ipip tunnel src 100.0.34.1 dst 200.0.0.2 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 78435474546749676c4d7572507a6f4e esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 78435474546749676c4d7572507a6f4e esp
exec ipsec tunnel protect ipip34 sa-out 34 sa-in 100034 add
exec set interface ip address loop0 100.0.35.1/32
exec create ipip tunnel src 100.0.35.1 dst 200.0.0.2 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 4c6c79676957516c54516450635a4e66 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 4c6c79676957516c54516450635a4e66 esp
exec ipsec tunnel protect ipip35 sa-out 35 sa-in 100035 add
exec set interface ip address loop0 100.0.36.1/32
exec create ipip tunnel src 100.0.36.1 dst 200.0.0.2 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 69664a596d4b52574769577351734a7a esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 69664a596d4b52574769577351734a7a esp
exec ipsec tunnel protect ipip36 sa-out 36 sa-in 100036 add
exec set interface ip address loop0 100.0.37.1/32
exec create ipip tunnel src 100.0.37.1 dst 200.0.0.2 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 5a736e6273687845647571796e634243 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 5a736e6273687845647571796e634243 esp
exec ipsec tunnel protect ipip37 sa-out 37 sa-in 100037 add
exec set interface ip address loop0 100.0.38.1/32
exec create ipip tunnel src 100.0.38.1 dst 200.0.0.2 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 59596a54514d4d436f4f65656d616157 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 59596a54514d4d436f4f65656d616157 esp
exec ipsec tunnel protect ipip38 sa-out 38 sa-in 100038 add
exec set interface ip address loop0 100.0.39.1/32
exec create ipip tunnel src 100.0.39.1 dst 200.0.0.2 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 50746d4742546d4b494d417776545172 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 50746d4742546d4b494d417776545172 esp
exec ipsec tunnel protect ipip39 sa-out 39 sa-in 100039 add
exec set interface unnumbered ipip0 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip0 up
exec ip route add 20.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip1 up
exec ip route add 20.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip2 up
exec ip route add 20.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip3 up
exec ip route add 20.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip4 up
exec ip route add 20.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip5 up
exec ip route add 20.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip6 up
exec ip route add 20.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip7 up
exec ip route add 20.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip8 up
exec ip route add 20.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip9 up
exec ip route add 20.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip10 up
exec ip route add 20.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip11 up
exec ip route add 20.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip12 up
exec ip route add 20.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip13 up
exec ip route add 20.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip14 up
exec ip route add 20.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip15 up
exec ip route add 20.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip16 up
exec ip route add 20.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip17 up
exec ip route add 20.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip18 up
exec ip route add 20.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip19 up
exec ip route add 20.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip20 up
exec ip route add 20.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip21 up
exec ip route add 20.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip22 up
exec ip route add 20.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip23 up
exec ip route add 20.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip24 up
exec ip route add 20.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip25 up
exec ip route add 20.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip26 up
exec ip route add 20.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip27 up
exec ip route add 20.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip28 up
exec ip route add 20.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip29 up
exec ip route add 20.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip30 up
exec ip route add 20.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip31 up
exec ip route add 20.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip32 up
exec ip route add 20.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip33 up
exec ip route add 20.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip34 up
exec ip route add 20.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip35 up
exec ip route add 20.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip36 up
exec ip route add 20.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip37 up
exec ip route add 20.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip38 up
exec ip route add 20.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip39 up
exec ip route add 20.0.0.39/32 via ipip39
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec set interface ip address TwentyFiveGigabitEthernet3b/0/1 200.0.0.2/24.0
exec create ipip tunnel src 200.0.0.2 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 4a675366446a7a74466b456b71776545 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 4a675366446a7a74466b456b71776545 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 425a6666734d4b757a7453656c4f5766 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 425a6666734d4b757a7453656c4f5766 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 6d515645614558534a67764a7a635a70 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 6d515645614558534a67764a7a635a70 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 4a596143657875627879726d6f42676e esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 4a596143657875627879726d6f42676e esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 7753686f655157634f4864614e52656b esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 7753686f655157634f4864614e52656b esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 59467466445a5156427076456d6d4e4b esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 59467466445a5156427076456d6d4e4b esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 746a53724e50757459764153716d646a esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 746a53724e50757459764153716d646a esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 505743577046757975525843734b5673 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 505743577046757975525843734b5673 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 656b6a466777447a4a566a6f44517a6a esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 656b6a466777447a4a566a6f44517a6a esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 4a474b7575586e5557546c77576c6e4e esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 4a474b7575586e5557546c77576c6e4e esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 6f564f787964545043724a58554c4d72 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 6f564f787964545043724a58554c4d72 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 4f665775436d626b73626a4549637777 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 4f665775436d626b73626a4549637777 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 70767a445a566f62675847556c474a50 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 70767a445a566f62675847556c474a50 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 514b7479444777664277444a64416c6c esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 514b7479444777664277444a64416c6c esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 6a75654941796278725a4a624b466243 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 6a75654941796278725a4a624b466243 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 6d73715943524d56494c78646f7a6645 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 6d73715943524d56494c78646f7a6645 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 68786764716a71786d6849466e4a7156 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 68786764716a71786d6849466e4a7156 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 75734464724e726962586d5a78544e6e esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 75734464724e726962586d5a78544e6e esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 644b6645766261635664726c4b474a66 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 644b6645766261635664726c4b474a66 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 4b4d796e4c6c4a4179644172615a4472 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 4b4d796e4c6c4a4179644172615a4472 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 68724267614e6b6f56424e694c745471 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 68724267614e6b6f56424e694c745471 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 79415969736b6248657263784a6d5168 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 79415969736b6248657263784a6d5168 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 5a5567736368624d45585258576a5763 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 5a5567736368624d45585258576a5763 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 495662575a6d6f546f47786b4772464a esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 495662575a6d6f546f47786b4772464a esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 456e47474f767157504b564a415a6e65 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 456e47474f767157504b564a415a6e65 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 484549787066576948616a4750416745 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 484549787066576948616a4750416745 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 634363687964744d7a6e4270534b5964 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 634363687964744d7a6e4270534b5964 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 426f4a524b4e436d7663476a49547049 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 426f4a524b4e436d7663476a49547049 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 6e77784e5a6847624e797174726f7376 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 6e77784e5a6847624e797174726f7376 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 4c4744747a69787971564c5363416179 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 4c4744747a69787971564c5363416179 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 4d4e507978514d436761704552464563 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 4d4e507978514d436761704552464563 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 684f5a54696a53524a624c42414a7753 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 684f5a54696a53524a624c42414a7753 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 575667734979634e5344594a57795245 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 575667734979634e5344594a57795245 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 6b78517a4e504e7152474f764e4c5541 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 6b78517a4e504e7152474f764e4c5541 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 78435474546749676c4d7572507a6f4e esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 78435474546749676c4d7572507a6f4e esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 4c6c79676957516c54516450635a4e66 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 4c6c79676957516c54516450635a4e66 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 69664a596d4b52574769577351734a7a esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 69664a596d4b52574769577351734a7a esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 5a736e6273687845647571796e634243 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 5a736e6273687845647571796e634243 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 59596a54514d4d436f4f65656d616157 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 59596a54514d4d436f4f65656d616157 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 50746d4742546d4b494d417776545172 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 50746d4742546d4b494d417776545172 esp
exec ipsec tunnel protect ipip39 sa-out 100039 sa-in 39 add
exec ip route add 100.0.0.1/8 via 200.0.0.1 TwentyFiveGigabitEthernet3b/0/1
exec set interface unnumbered ipip0 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip0 up
exec ip route add 10.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip1 up
exec ip route add 10.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip2 up
exec ip route add 10.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip3 up
exec ip route add 10.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip4 up
exec ip route add 10.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip5 up
exec ip route add 10.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip6 up
exec ip route add 10.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip7 up
exec ip route add 10.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip8 up
exec ip route add 10.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip9 up
exec ip route add 10.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip10 up
exec ip route add 10.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip11 up
exec ip route add 10.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip12 up
exec ip route add 10.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip13 up
exec ip route add 10.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip14 up
exec ip route add 10.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip15 up
exec ip route add 10.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip16 up
exec ip route add 10.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip17 up
exec ip route add 10.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip18 up
exec ip route add 10.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip19 up
exec ip route add 10.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip20 up
exec ip route add 10.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip21 up
exec ip route add 10.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip22 up
exec ip route add 10.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip23 up
exec ip route add 10.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip24 up
exec ip route add 10.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip25 up
exec ip route add 10.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip26 up
exec ip route add 10.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip27 up
exec ip route add 10.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip28 up
exec ip route add 10.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip29 up
exec ip route add 10.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip30 up
exec ip route add 10.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip31 up
exec ip route add 10.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip32 up
exec ip route add 10.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip33 up
exec ip route add 10.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip34 up
exec ip route add 10.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip35 up
exec ip route add 10.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip36 up
exec ip route add 10.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip37 up
exec ip route add 10.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip38 up
exec ip route add 10.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip39 up
exec ip route add 10.0.0.39/32 via ipip39

 imix-8t4c-ethip4ipsec40tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec create loopback interface
exec set interface state loop0 up
exec set interface ip address TwentyFiveGigabitEthernet3b/0/1 200.0.0.1/24
exec set ip neighbor TwentyFiveGigabitEthernet3b/0/1 200.0.0.2 3c:fd:fe:bd:f8:fd static
exec set interface ip address loop0 100.0.0.1/32
exec create ipip tunnel src 100.0.0.1 dst 200.0.0.2 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 7759595275697553686a68517a50526a esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 7759595275697553686a68517a50526a esp
exec ipsec tunnel protect ipip0 sa-out 0 sa-in 100000 add
exec set interface ip address loop0 100.0.1.1/32
exec create ipip tunnel src 100.0.1.1 dst 200.0.0.2 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 72706561737a5a6c6f4255675767764c esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 72706561737a5a6c6f4255675767764c esp
exec ipsec tunnel protect ipip1 sa-out 1 sa-in 100001 add
exec set interface ip address loop0 100.0.2.1/32
exec create ipip tunnel src 100.0.2.1 dst 200.0.0.2 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 51795958637974545274727250557945 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 51795958637974545274727250557945 esp
exec ipsec tunnel protect ipip2 sa-out 2 sa-in 100002 add
exec set interface ip address loop0 100.0.3.1/32
exec create ipip tunnel src 100.0.3.1 dst 200.0.0.2 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 51436c6b7050624d4a6f464c78646547 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 51436c6b7050624d4a6f464c78646547 esp
exec ipsec tunnel protect ipip3 sa-out 3 sa-in 100003 add
exec set interface ip address loop0 100.0.4.1/32
exec create ipip tunnel src 100.0.4.1 dst 200.0.0.2 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 477055536a44555956496641576c7278 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 477055536a44555956496641576c7278 esp
exec ipsec tunnel protect ipip4 sa-out 4 sa-in 100004 add
exec set interface ip address loop0 100.0.5.1/32
exec create ipip tunnel src 100.0.5.1 dst 200.0.0.2 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 714a586e574f56525849544150475675 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 714a586e574f56525849544150475675 esp
exec ipsec tunnel protect ipip5 sa-out 5 sa-in 100005 add
exec set interface ip address loop0 100.0.6.1/32
exec create ipip tunnel src 100.0.6.1 dst 200.0.0.2 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 5a5a634c716f7845536f6f684142446f esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 5a5a634c716f7845536f6f684142446f esp
exec ipsec tunnel protect ipip6 sa-out 6 sa-in 100006 add
exec set interface ip address loop0 100.0.7.1/32
exec create ipip tunnel src 100.0.7.1 dst 200.0.0.2 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 517043744463664c714654626b685643 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 517043744463664c714654626b685643 esp
exec ipsec tunnel protect ipip7 sa-out 7 sa-in 100007 add
exec set interface ip address loop0 100.0.8.1/32
exec create ipip tunnel src 100.0.8.1 dst 200.0.0.2 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 6b5542656a64774d57794a69515a7374 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 6b5542656a64774d57794a69515a7374 esp
exec ipsec tunnel protect ipip8 sa-out 8 sa-in 100008 add
exec set interface ip address loop0 100.0.9.1/32
exec create ipip tunnel src 100.0.9.1 dst 200.0.0.2 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 795362736842476c57676f7074587856 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 795362736842476c57676f7074587856 esp
exec ipsec tunnel protect ipip9 sa-out 9 sa-in 100009 add
exec set interface ip address loop0 100.0.10.1/32
exec create ipip tunnel src 100.0.10.1 dst 200.0.0.2 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 49494845654a665a636d70566e79436e esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 49494845654a665a636d70566e79436e esp
exec ipsec tunnel protect ipip10 sa-out 10 sa-in 100010 add
exec set interface ip address loop0 100.0.11.1/32
exec create ipip tunnel src 100.0.11.1 dst 200.0.0.2 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 776941754a545a5157414f6b4f464b46 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 776941754a545a5157414f6b4f464b46 esp
exec ipsec tunnel protect ipip11 sa-out 11 sa-in 100011 add
exec set interface ip address loop0 100.0.12.1/32
exec create ipip tunnel src 100.0.12.1 dst 200.0.0.2 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 53594b596955545553414464784b6a6a esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 53594b596955545553414464784b6a6a esp
exec ipsec tunnel protect ipip12 sa-out 12 sa-in 100012 add
exec set interface ip address loop0 100.0.13.1/32
exec create ipip tunnel src 100.0.13.1 dst 200.0.0.2 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 6f524d676873586c4b454b6749737450 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 6f524d676873586c4b454b6749737450 esp
exec ipsec tunnel protect ipip13 sa-out 13 sa-in 100013 add
exec set interface ip address loop0 100.0.14.1/32
exec create ipip tunnel src 100.0.14.1 dst 200.0.0.2 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 70487a535164754f676e48466d485147 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 70487a535164754f676e48466d485147 esp
exec ipsec tunnel protect ipip14 sa-out 14 sa-in 100014 add
exec set interface ip address loop0 100.0.15.1/32
exec create ipip tunnel src 100.0.15.1 dst 200.0.0.2 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 5a627856714d4b5a7a6c747a5269746f esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 5a627856714d4b5a7a6c747a5269746f esp
exec ipsec tunnel protect ipip15 sa-out 15 sa-in 100015 add
exec set interface ip address loop0 100.0.16.1/32
exec create ipip tunnel src 100.0.16.1 dst 200.0.0.2 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 6f73576572634a526462736f43474968 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 6f73576572634a526462736f43474968 esp
exec ipsec tunnel protect ipip16 sa-out 16 sa-in 100016 add
exec set interface ip address loop0 100.0.17.1/32
exec create ipip tunnel src 100.0.17.1 dst 200.0.0.2 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 735a6774436844545678585374596a49 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 735a6774436844545678585374596a49 esp
exec ipsec tunnel protect ipip17 sa-out 17 sa-in 100017 add
exec set interface ip address loop0 100.0.18.1/32
exec create ipip tunnel src 100.0.18.1 dst 200.0.0.2 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 487a5255674344414773534979664157 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 487a5255674344414773534979664157 esp
exec ipsec tunnel protect ipip18 sa-out 18 sa-in 100018 add
exec set interface ip address loop0 100.0.19.1/32
exec create ipip tunnel src 100.0.19.1 dst 200.0.0.2 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 634a706755576964686a4b5078786278 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 634a706755576964686a4b5078786278 esp
exec ipsec tunnel protect ipip19 sa-out 19 sa-in 100019 add
exec set interface ip address loop0 100.0.20.1/32
exec create ipip tunnel src 100.0.20.1 dst 200.0.0.2 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 636b4e556672534d506b574c4a445349 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 636b4e556672534d506b574c4a445349 esp
exec ipsec tunnel protect ipip20 sa-out 20 sa-in 100020 add
exec set interface ip address loop0 100.0.21.1/32
exec create ipip tunnel src 100.0.21.1 dst 200.0.0.2 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 7344574f7750767071434c5a57544f54 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 7344574f7750767071434c5a57544f54 esp
exec ipsec tunnel protect ipip21 sa-out 21 sa-in 100021 add
exec set interface ip address loop0 100.0.22.1/32
exec create ipip tunnel src 100.0.22.1 dst 200.0.0.2 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 446648794c69764d7257674262695071 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 446648794c69764d7257674262695071 esp
exec ipsec tunnel protect ipip22 sa-out 22 sa-in 100022 add
exec set interface ip address loop0 100.0.23.1/32
exec create ipip tunnel src 100.0.23.1 dst 200.0.0.2 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 53614d4d416b786374644a694c494b46 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 53614d4d416b786374644a694c494b46 esp
exec ipsec tunnel protect ipip23 sa-out 23 sa-in 100023 add
exec set interface ip address loop0 100.0.24.1/32
exec create ipip tunnel src 100.0.24.1 dst 200.0.0.2 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 4e44574a66795844715250485949736a esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 4e44574a66795844715250485949736a esp
exec ipsec tunnel protect ipip24 sa-out 24 sa-in 100024 add
exec set interface ip address loop0 100.0.25.1/32
exec create ipip tunnel src 100.0.25.1 dst 200.0.0.2 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 636a6d487365704655466c4945727763 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 636a6d487365704655466c4945727763 esp
exec ipsec tunnel protect ipip25 sa-out 25 sa-in 100025 add
exec set interface ip address loop0 100.0.26.1/32
exec create ipip tunnel src 100.0.26.1 dst 200.0.0.2 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 614a4268746c5261696350756741514f esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 614a4268746c5261696350756741514f esp
exec ipsec tunnel protect ipip26 sa-out 26 sa-in 100026 add
exec set interface ip address loop0 100.0.27.1/32
exec create ipip tunnel src 100.0.27.1 dst 200.0.0.2 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 6673666d6968434a584866676e7a7a57 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 6673666d6968434a584866676e7a7a57 esp
exec ipsec tunnel protect ipip27 sa-out 27 sa-in 100027 add
exec set interface ip address loop0 100.0.28.1/32
exec create ipip tunnel src 100.0.28.1 dst 200.0.0.2 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 734442494d62455942477a6f49646a53 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 734442494d62455942477a6f49646a53 esp
exec ipsec tunnel protect ipip28 sa-out 28 sa-in 100028 add
exec set interface ip address loop0 100.0.29.1/32
exec create ipip tunnel src 100.0.29.1 dst 200.0.0.2 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 6e4d44614163555655695866567a6975 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 6e4d44614163555655695866567a6975 esp
exec ipsec tunnel protect ipip29 sa-out 29 sa-in 100029 add
exec set interface ip address loop0 100.0.30.1/32
exec create ipip tunnel src 100.0.30.1 dst 200.0.0.2 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 7a6f69674e506479646878546c505468 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 7a6f69674e506479646878546c505468 esp
exec ipsec tunnel protect ipip30 sa-out 30 sa-in 100030 add
exec set interface ip address loop0 100.0.31.1/32
exec create ipip tunnel src 100.0.31.1 dst 200.0.0.2 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 644f766358494548764d78656d775558 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 644f766358494548764d78656d775558 esp
exec ipsec tunnel protect ipip31 sa-out 31 sa-in 100031 add
exec set interface ip address loop0 100.0.32.1/32
exec create ipip tunnel src 100.0.32.1 dst 200.0.0.2 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 696d487261594c594b73745a4a4b6944 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 696d487261594c594b73745a4a4b6944 esp
exec ipsec tunnel protect ipip32 sa-out 32 sa-in 100032 add
exec set interface ip address loop0 100.0.33.1/32
exec create ipip tunnel src 100.0.33.1 dst 200.0.0.2 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 4b4a4c7644494a784d4d6f7a47454a6d esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 4b4a4c7644494a784d4d6f7a47454a6d esp
exec ipsec tunnel protect ipip33 sa-out 33 sa-in 100033 add
exec set interface ip address loop0 100.0.34.1/32
exec create ipip tunnel src 100.0.34.1 dst 200.0.0.2 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 46434b43415a754a4e66597242465579 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 46434b43415a754a4e66597242465579 esp
exec ipsec tunnel protect ipip34 sa-out 34 sa-in 100034 add
exec set interface ip address loop0 100.0.35.1/32
exec create ipip tunnel src 100.0.35.1 dst 200.0.0.2 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 626a79414b7944424f55465464724479 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 626a79414b7944424f55465464724479 esp
exec ipsec tunnel protect ipip35 sa-out 35 sa-in 100035 add
exec set interface ip address loop0 100.0.36.1/32
exec create ipip tunnel src 100.0.36.1 dst 200.0.0.2 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 584c566651766d74494a67554e455548 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 584c566651766d74494a67554e455548 esp
exec ipsec tunnel protect ipip36 sa-out 36 sa-in 100036 add
exec set interface ip address loop0 100.0.37.1/32
exec create ipip tunnel src 100.0.37.1 dst 200.0.0.2 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 7a717259736a516e48726473564f5555 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 7a717259736a516e48726473564f5555 esp
exec ipsec tunnel protect ipip37 sa-out 37 sa-in 100037 add
exec set interface ip address loop0 100.0.38.1/32
exec create ipip tunnel src 100.0.38.1 dst 200.0.0.2 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 446c486d6a4b79416f4a626264765543 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 446c486d6a4b79416f4a626264765543 esp
exec ipsec tunnel protect ipip38 sa-out 38 sa-in 100038 add
exec set interface ip address loop0 100.0.39.1/32
exec create ipip tunnel src 100.0.39.1 dst 200.0.0.2 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 4b706c7a6143466a49515947486c4d61 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 4b706c7a6143466a49515947486c4d61 esp
exec ipsec tunnel protect ipip39 sa-out 39 sa-in 100039 add
exec set interface unnumbered ipip0 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip0 up
exec ip route add 20.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip1 up
exec ip route add 20.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip2 up
exec ip route add 20.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip3 up
exec ip route add 20.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip4 up
exec ip route add 20.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip5 up
exec ip route add 20.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip6 up
exec ip route add 20.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip7 up
exec ip route add 20.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip8 up
exec ip route add 20.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip9 up
exec ip route add 20.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip10 up
exec ip route add 20.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip11 up
exec ip route add 20.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip12 up
exec ip route add 20.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip13 up
exec ip route add 20.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip14 up
exec ip route add 20.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip15 up
exec ip route add 20.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip16 up
exec ip route add 20.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip17 up
exec ip route add 20.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip18 up
exec ip route add 20.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip19 up
exec ip route add 20.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip20 up
exec ip route add 20.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip21 up
exec ip route add 20.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip22 up
exec ip route add 20.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip23 up
exec ip route add 20.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip24 up
exec ip route add 20.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip25 up
exec ip route add 20.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip26 up
exec ip route add 20.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip27 up
exec ip route add 20.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip28 up
exec ip route add 20.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip29 up
exec ip route add 20.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip30 up
exec ip route add 20.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip31 up
exec ip route add 20.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip32 up
exec ip route add 20.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip33 up
exec ip route add 20.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip34 up
exec ip route add 20.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip35 up
exec ip route add 20.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip36 up
exec ip route add 20.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip37 up
exec ip route add 20.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip38 up
exec ip route add 20.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip39 up
exec ip route add 20.0.0.39/32 via ipip39
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec set interface ip address TwentyFiveGigabitEthernet3b/0/1 200.0.0.2/24.0
exec create ipip tunnel src 200.0.0.2 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 7759595275697553686a68517a50526a esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 7759595275697553686a68517a50526a esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 72706561737a5a6c6f4255675767764c esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 72706561737a5a6c6f4255675767764c esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 51795958637974545274727250557945 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 51795958637974545274727250557945 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 51436c6b7050624d4a6f464c78646547 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 51436c6b7050624d4a6f464c78646547 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 477055536a44555956496641576c7278 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 477055536a44555956496641576c7278 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 714a586e574f56525849544150475675 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 714a586e574f56525849544150475675 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 5a5a634c716f7845536f6f684142446f esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 5a5a634c716f7845536f6f684142446f esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 517043744463664c714654626b685643 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 517043744463664c714654626b685643 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 6b5542656a64774d57794a69515a7374 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 6b5542656a64774d57794a69515a7374 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 795362736842476c57676f7074587856 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 795362736842476c57676f7074587856 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 49494845654a665a636d70566e79436e esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 49494845654a665a636d70566e79436e esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 776941754a545a5157414f6b4f464b46 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 776941754a545a5157414f6b4f464b46 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 53594b596955545553414464784b6a6a esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 53594b596955545553414464784b6a6a esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 6f524d676873586c4b454b6749737450 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 6f524d676873586c4b454b6749737450 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 70487a535164754f676e48466d485147 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 70487a535164754f676e48466d485147 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 5a627856714d4b5a7a6c747a5269746f esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 5a627856714d4b5a7a6c747a5269746f esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 6f73576572634a526462736f43474968 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 6f73576572634a526462736f43474968 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 735a6774436844545678585374596a49 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 735a6774436844545678585374596a49 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 487a5255674344414773534979664157 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 487a5255674344414773534979664157 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 634a706755576964686a4b5078786278 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 634a706755576964686a4b5078786278 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 636b4e556672534d506b574c4a445349 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 636b4e556672534d506b574c4a445349 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 7344574f7750767071434c5a57544f54 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 7344574f7750767071434c5a57544f54 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 446648794c69764d7257674262695071 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 446648794c69764d7257674262695071 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 53614d4d416b786374644a694c494b46 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 53614d4d416b786374644a694c494b46 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 4e44574a66795844715250485949736a esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 4e44574a66795844715250485949736a esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 636a6d487365704655466c4945727763 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 636a6d487365704655466c4945727763 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 614a4268746c5261696350756741514f esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 614a4268746c5261696350756741514f esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 6673666d6968434a584866676e7a7a57 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 6673666d6968434a584866676e7a7a57 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 734442494d62455942477a6f49646a53 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 734442494d62455942477a6f49646a53 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 6e4d44614163555655695866567a6975 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 6e4d44614163555655695866567a6975 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 7a6f69674e506479646878546c505468 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 7a6f69674e506479646878546c505468 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 644f766358494548764d78656d775558 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 644f766358494548764d78656d775558 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 696d487261594c594b73745a4a4b6944 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 696d487261594c594b73745a4a4b6944 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 4b4a4c7644494a784d4d6f7a47454a6d esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 4b4a4c7644494a784d4d6f7a47454a6d esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 46434b43415a754a4e66597242465579 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 46434b43415a754a4e66597242465579 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 626a79414b7944424f55465464724479 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 626a79414b7944424f55465464724479 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 584c566651766d74494a67554e455548 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 584c566651766d74494a67554e455548 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 7a717259736a516e48726473564f5555 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 7a717259736a516e48726473564f5555 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 446c486d6a4b79416f4a626264765543 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 446c486d6a4b79416f4a626264765543 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 4b706c7a6143466a49515947486c4d61 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 4b706c7a6143466a49515947486c4d61 esp
exec ipsec tunnel protect ipip39 sa-out 100039 sa-in 39 add
exec ip route add 100.0.0.1/8 via 200.0.0.1 TwentyFiveGigabitEthernet3b/0/1
exec set interface unnumbered ipip0 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip0 up
exec ip route add 10.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip1 up
exec ip route add 10.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip2 up
exec ip route add 10.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip3 up
exec ip route add 10.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip4 up
exec ip route add 10.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip5 up
exec ip route add 10.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip6 up
exec ip route add 10.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip7 up
exec ip route add 10.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip8 up
exec ip route add 10.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip9 up
exec ip route add 10.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip10 up
exec ip route add 10.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip11 up
exec ip route add 10.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip12 up
exec ip route add 10.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip13 up
exec ip route add 10.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip14 up
exec ip route add 10.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip15 up
exec ip route add 10.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip16 up
exec ip route add 10.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip17 up
exec ip route add 10.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip18 up
exec ip route add 10.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip19 up
exec ip route add 10.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip20 up
exec ip route add 10.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip21 up
exec ip route add 10.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip22 up
exec ip route add 10.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip23 up
exec ip route add 10.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip24 up
exec ip route add 10.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip25 up
exec ip route add 10.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip26 up
exec ip route add 10.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip27 up
exec ip route add 10.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip28 up
exec ip route add 10.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip29 up
exec ip route add 10.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip30 up
exec ip route add 10.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip31 up
exec ip route add 10.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip32 up
exec ip route add 10.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip33 up
exec ip route add 10.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip34 up
exec ip route add 10.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip35 up
exec ip route add 10.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip36 up
exec ip route add 10.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip37 up
exec ip route add 10.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip38 up
exec ip route add 10.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip39 up
exec ip route add 10.0.0.39/32 via ipip39

25ge2p1xxv710-ethip4ipsec40tnlsw-ip4base-int-aes256gcm-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-ethip4ipsec40tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec create loopback interface
exec set interface state loop0 up
exec set interface ip address TwentyFiveGigabitEthernet3b/0/1 200.0.0.1/24
exec set ip neighbor TwentyFiveGigabitEthernet3b/0/1 200.0.0.2 3c:fd:fe:bd:f8:fd static
exec set interface ip address loop0 100.0.0.1/32
exec create ipip tunnel src 100.0.0.1 dst 200.0.0.2 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 634f435854784f69446155414c64464268754e44504a67417a764a79726e6a48 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 634f435854784f69446155414c64464268754e44504a67417a764a79726e6a48 esp
exec ipsec tunnel protect ipip0 sa-out 0 sa-in 100000 add
exec set interface ip address loop0 100.0.1.1/32
exec create ipip tunnel src 100.0.1.1 dst 200.0.0.2 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 6c50676c557146774d456d725351747855424e5a786f4e504258526d656a4241 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 6c50676c557146774d456d725351747855424e5a786f4e504258526d656a4241 esp
exec ipsec tunnel protect ipip1 sa-out 1 sa-in 100001 add
exec set interface ip address loop0 100.0.2.1/32
exec create ipip tunnel src 100.0.2.1 dst 200.0.0.2 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 4e4a6a535172466479495749414563554852677446766b4d746e6a6d6b56504f esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 4e4a6a535172466479495749414563554852677446766b4d746e6a6d6b56504f esp
exec ipsec tunnel protect ipip2 sa-out 2 sa-in 100002 add
exec set interface ip address loop0 100.0.3.1/32
exec create ipip tunnel src 100.0.3.1 dst 200.0.0.2 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 69784c647a597a6d797a54686567684a7a4b636c6b754b6269615067494f7169 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 69784c647a597a6d797a54686567684a7a4b636c6b754b6269615067494f7169 esp
exec ipsec tunnel protect ipip3 sa-out 3 sa-in 100003 add
exec set interface ip address loop0 100.0.4.1/32
exec create ipip tunnel src 100.0.4.1 dst 200.0.0.2 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 78684443706d4a525650627646596a417476726753766d594256594646555659 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 78684443706d4a525650627646596a417476726753766d594256594646555659 esp
exec ipsec tunnel protect ipip4 sa-out 4 sa-in 100004 add
exec set interface ip address loop0 100.0.5.1/32
exec create ipip tunnel src 100.0.5.1 dst 200.0.0.2 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 5459476d755355706c436275445250776350437050537a5361684c6e6d4f747a esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 5459476d755355706c436275445250776350437050537a5361684c6e6d4f747a esp
exec ipsec tunnel protect ipip5 sa-out 5 sa-in 100005 add
exec set interface ip address loop0 100.0.6.1/32
exec create ipip tunnel src 100.0.6.1 dst 200.0.0.2 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 7174666150764b5855554b756b756d7a61776c4e71706948764a524c476b7257 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 7174666150764b5855554b756b756d7a61776c4e71706948764a524c476b7257 esp
exec ipsec tunnel protect ipip6 sa-out 6 sa-in 100006 add
exec set interface ip address loop0 100.0.7.1/32
exec create ipip tunnel src 100.0.7.1 dst 200.0.0.2 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 7257526263515241576d4e7974636d7a437755454c424e676c576b645363434c esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 7257526263515241576d4e7974636d7a437755454c424e676c576b645363434c esp
exec ipsec tunnel protect ipip7 sa-out 7 sa-in 100007 add
exec set interface ip address loop0 100.0.8.1/32
exec create ipip tunnel src 100.0.8.1 dst 200.0.0.2 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 7a6a6862434e4a6453585a72584b6967554b6841674e7165724548706f674c4d esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 7a6a6862434e4a6453585a72584b6967554b6841674e7165724548706f674c4d esp
exec ipsec tunnel protect ipip8 sa-out 8 sa-in 100008 add
exec set interface ip address loop0 100.0.9.1/32
exec create ipip tunnel src 100.0.9.1 dst 200.0.0.2 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 657173655a7a786f5a5a57795a5a6e4f63505a6f54514e6f68524e5456674863 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 657173655a7a786f5a5a57795a5a6e4f63505a6f54514e6f68524e5456674863 esp
exec ipsec tunnel protect ipip9 sa-out 9 sa-in 100009 add
exec set interface ip address loop0 100.0.10.1/32
exec create ipip tunnel src 100.0.10.1 dst 200.0.0.2 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 66464e6b6b417365694f5377735a59485345426d684f724b594c717256414177 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 66464e6b6b417365694f5377735a59485345426d684f724b594c717256414177 esp
exec ipsec tunnel protect ipip10 sa-out 10 sa-in 100010 add
exec set interface ip address loop0 100.0.11.1/32
exec create ipip tunnel src 100.0.11.1 dst 200.0.0.2 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 6e687a68455365524b497a454a4851464d557a756c7651784c49567852477343 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 6e687a68455365524b497a454a4851464d557a756c7651784c49567852477343 esp
exec ipsec tunnel protect ipip11 sa-out 11 sa-in 100011 add
exec set interface ip address loop0 100.0.12.1/32
exec create ipip tunnel src 100.0.12.1 dst 200.0.0.2 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 75636e7a4b574d514c427364696d535169426f4c59704a757575687354616c6c esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 75636e7a4b574d514c427364696d535169426f4c59704a757575687354616c6c esp
exec ipsec tunnel protect ipip12 sa-out 12 sa-in 100012 add
exec set interface ip address loop0 100.0.13.1/32
exec create ipip tunnel src 100.0.13.1 dst 200.0.0.2 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 506959746262574a4e4c455974674d50546858464d754543444c446c59716945 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 506959746262574a4e4c455974674d50546858464d754543444c446c59716945 esp
exec ipsec tunnel protect ipip13 sa-out 13 sa-in 100013 add
exec set interface ip address loop0 100.0.14.1/32
exec create ipip tunnel src 100.0.14.1 dst 200.0.0.2 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 61764956576a49765478746e79534f694452526d67657a6142506668444d484a esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 61764956576a49765478746e79534f694452526d67657a6142506668444d484a esp
exec ipsec tunnel protect ipip14 sa-out 14 sa-in 100014 add
exec set interface ip address loop0 100.0.15.1/32
exec create ipip tunnel src 100.0.15.1 dst 200.0.0.2 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 6e6f50516a4b63694d4a76626c6142514478576c7162417a555554586c654b6a esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 6e6f50516a4b63694d4a76626c6142514478576c7162417a555554586c654b6a esp
exec ipsec tunnel protect ipip15 sa-out 15 sa-in 100015 add
exec set interface ip address loop0 100.0.16.1/32
exec create ipip tunnel src 100.0.16.1 dst 200.0.0.2 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 454b79425878516f6751786463704d41465472696b494350626354616a614d6e esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 454b79425878516f6751786463704d41465472696b494350626354616a614d6e esp
exec ipsec tunnel protect ipip16 sa-out 16 sa-in 100016 add
exec set interface ip address loop0 100.0.17.1/32
exec create ipip tunnel src 100.0.17.1 dst 200.0.0.2 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 424d695243766d636242446f474d4777456956745367796f596d666147626f53 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 424d695243766d636242446f474d4777456956745367796f596d666147626f53 esp
exec ipsec tunnel protect ipip17 sa-out 17 sa-in 100017 add
exec set interface ip address loop0 100.0.18.1/32
exec create ipip tunnel src 100.0.18.1 dst 200.0.0.2 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 4e627269674375555a63656275517874786e66586257594f6447754876494751 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 4e627269674375555a63656275517874786e66586257594f6447754876494751 esp
exec ipsec tunnel protect ipip18 sa-out 18 sa-in 100018 add
exec set interface ip address loop0 100.0.19.1/32
exec create ipip tunnel src 100.0.19.1 dst 200.0.0.2 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 4574686f6c534d474559515a436166766166756d7a4b576e435467587a7a4756 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 4574686f6c534d474559515a436166766166756d7a4b576e435467587a7a4756 esp
exec ipsec tunnel protect ipip19 sa-out 19 sa-in 100019 add
exec set interface ip address loop0 100.0.20.1/32
exec create ipip tunnel src 100.0.20.1 dst 200.0.0.2 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 78664c4e7650575a447365686a5245586a44497963696556536b62697542424a esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 78664c4e7650575a447365686a5245586a44497963696556536b62697542424a esp
exec ipsec tunnel protect ipip20 sa-out 20 sa-in 100020 add
exec set interface ip address loop0 100.0.21.1/32
exec create ipip tunnel src 100.0.21.1 dst 200.0.0.2 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 6e59527a4a6d4b5677564b476f4f4c6b6673624442666a4f5676587665654a6c esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 6e59527a4a6d4b5677564b476f4f4c6b6673624442666a4f5676587665654a6c esp
exec ipsec tunnel protect ipip21 sa-out 21 sa-in 100021 add
exec set interface ip address loop0 100.0.22.1/32
exec create ipip tunnel src 100.0.22.1 dst 200.0.0.2 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 4e744b6c68646d727268635471717341414776667944417a6c42765743794367 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 4e744b6c68646d727268635471717341414776667944417a6c42765743794367 esp
exec ipsec tunnel protect ipip22 sa-out 22 sa-in 100022 add
exec set interface ip address loop0 100.0.23.1/32
exec create ipip tunnel src 100.0.23.1 dst 200.0.0.2 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 444153574a796f797a5a64784c5558456e5a44704a4d7175487a466655446f47 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 444153574a796f797a5a64784c5558456e5a44704a4d7175487a466655446f47 esp
exec ipsec tunnel protect ipip23 sa-out 23 sa-in 100023 add
exec set interface ip address loop0 100.0.24.1/32
exec create ipip tunnel src 100.0.24.1 dst 200.0.0.2 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 49715a6645735a747155596e757749467555506d6953674c4e41436673745151 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 49715a6645735a747155596e757749467555506d6953674c4e41436673745151 esp
exec ipsec tunnel protect ipip24 sa-out 24 sa-in 100024 add
exec set interface ip address loop0 100.0.25.1/32
exec create ipip tunnel src 100.0.25.1 dst 200.0.0.2 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 4778495862695a587a4768734b61674666556b734a7750764656627158776765 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 4778495862695a587a4768734b61674666556b734a7750764656627158776765 esp
exec ipsec tunnel protect ipip25 sa-out 25 sa-in 100025 add
exec set interface ip address loop0 100.0.26.1/32
exec create ipip tunnel src 100.0.26.1 dst 200.0.0.2 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 56796c67704e456d724c666f6a724971566c63706f715542514853716b466a54 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 56796c67704e456d724c666f6a724971566c63706f715542514853716b466a54 esp
exec ipsec tunnel protect ipip26 sa-out 26 sa-in 100026 add
exec set interface ip address loop0 100.0.27.1/32
exec create ipip tunnel src 100.0.27.1 dst 200.0.0.2 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 527061635a6b704b50794a755a6f7a774a636d706251724b74554355766c5a45 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 527061635a6b704b50794a755a6f7a774a636d706251724b74554355766c5a45 esp
exec ipsec tunnel protect ipip27 sa-out 27 sa-in 100027 add
exec set interface ip address loop0 100.0.28.1/32
exec create ipip tunnel src 100.0.28.1 dst 200.0.0.2 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 764b7a5346725a5677525774627a625974756e5374737a6f4b4b4c5a7a494444 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 764b7a5346725a5677525774627a625974756e5374737a6f4b4b4c5a7a494444 esp
exec ipsec tunnel protect ipip28 sa-out 28 sa-in 100028 add
exec set interface ip address loop0 100.0.29.1/32
exec create ipip tunnel src 100.0.29.1 dst 200.0.0.2 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 575943486f6959786c67656973666b63514a7577544562554c61724d5164674a esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 575943486f6959786c67656973666b63514a7577544562554c61724d5164674a esp
exec ipsec tunnel protect ipip29 sa-out 29 sa-in 100029 add
exec set interface ip address loop0 100.0.30.1/32
exec create ipip tunnel src 100.0.30.1 dst 200.0.0.2 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 45486f56795366687265596f787945464d695567525176564e65634650595547 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 45486f56795366687265596f787945464d695567525176564e65634650595547 esp
exec ipsec tunnel protect ipip30 sa-out 30 sa-in 100030 add
exec set interface ip address loop0 100.0.31.1/32
exec create ipip tunnel src 100.0.31.1 dst 200.0.0.2 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 4156555449774c71476b6a4b57516a4b567070646f766376596561465862696f esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 4156555449774c71476b6a4b57516a4b567070646f766376596561465862696f esp
exec ipsec tunnel protect ipip31 sa-out 31 sa-in 100031 add
exec set interface ip address loop0 100.0.32.1/32
exec create ipip tunnel src 100.0.32.1 dst 200.0.0.2 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 48675972676175794447696754626d4a7a6d53464a7643424b49414c72567351 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 48675972676175794447696754626d4a7a6d53464a7643424b49414c72567351 esp
exec ipsec tunnel protect ipip32 sa-out 32 sa-in 100032 add
exec set interface ip address loop0 100.0.33.1/32
exec create ipip tunnel src 100.0.33.1 dst 200.0.0.2 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 797377785644567a5269746a45546d5459425945494673666459464b6e626c7a esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 797377785644567a5269746a45546d5459425945494673666459464b6e626c7a esp
exec ipsec tunnel protect ipip33 sa-out 33 sa-in 100033 add
exec set interface ip address loop0 100.0.34.1/32
exec create ipip tunnel src 100.0.34.1 dst 200.0.0.2 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 4a43775577445472744a41466a4c6d515978554d4555566663686e5541714246 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 4a43775577445472744a41466a4c6d515978554d4555566663686e5541714246 esp
exec ipsec tunnel protect ipip34 sa-out 34 sa-in 100034 add
exec set interface ip address loop0 100.0.35.1/32
exec create ipip tunnel src 100.0.35.1 dst 200.0.0.2 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 7242445a557266706e5650444856617759634867446c647a6a77746d7348786c esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 7242445a557266706e5650444856617759634867446c647a6a77746d7348786c esp
exec ipsec tunnel protect ipip35 sa-out 35 sa-in 100035 add
exec set interface ip address loop0 100.0.36.1/32
exec create ipip tunnel src 100.0.36.1 dst 200.0.0.2 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 41596f6e744d794c5557444d786971664d446245484e6e776d69714f63596c64 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 41596f6e744d794c5557444d786971664d446245484e6e776d69714f63596c64 esp
exec ipsec tunnel protect ipip36 sa-out 36 sa-in 100036 add
exec set interface ip address loop0 100.0.37.1/32
exec create ipip tunnel src 100.0.37.1 dst 200.0.0.2 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 7564776177785776485275647853426a58614f776451586d48487164556d4551 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 7564776177785776485275647853426a58614f776451586d48487164556d4551 esp
exec ipsec tunnel protect ipip37 sa-out 37 sa-in 100037 add
exec set interface ip address loop0 100.0.38.1/32
exec create ipip tunnel src 100.0.38.1 dst 200.0.0.2 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 53746d4a617262496c566b51775554454a614443694566545a51427942787965 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 53746d4a617262496c566b51775554454a614443694566545a51427942787965 esp
exec ipsec tunnel protect ipip38 sa-out 38 sa-in 100038 add
exec set interface ip address loop0 100.0.39.1/32
exec create ipip tunnel src 100.0.39.1 dst 200.0.0.2 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 726b574e58506e43656d6e5041696353566a486c4d53767254476a58516f7468 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 726b574e58506e43656d6e5041696353566a486c4d53767254476a58516f7468 esp
exec ipsec tunnel protect ipip39 sa-out 39 sa-in 100039 add
exec set interface unnumbered ipip0 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip0 up
exec ip route add 20.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip1 up
exec ip route add 20.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip2 up
exec ip route add 20.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip3 up
exec ip route add 20.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip4 up
exec ip route add 20.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip5 up
exec ip route add 20.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip6 up
exec ip route add 20.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip7 up
exec ip route add 20.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip8 up
exec ip route add 20.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip9 up
exec ip route add 20.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip10 up
exec ip route add 20.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip11 up
exec ip route add 20.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip12 up
exec ip route add 20.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip13 up
exec ip route add 20.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip14 up
exec ip route add 20.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip15 up
exec ip route add 20.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip16 up
exec ip route add 20.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip17 up
exec ip route add 20.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip18 up
exec ip route add 20.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip19 up
exec ip route add 20.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip20 up
exec ip route add 20.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip21 up
exec ip route add 20.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip22 up
exec ip route add 20.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip23 up
exec ip route add 20.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip24 up
exec ip route add 20.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip25 up
exec ip route add 20.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip26 up
exec ip route add 20.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip27 up
exec ip route add 20.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip28 up
exec ip route add 20.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip29 up
exec ip route add 20.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip30 up
exec ip route add 20.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip31 up
exec ip route add 20.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip32 up
exec ip route add 20.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip33 up
exec ip route add 20.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip34 up
exec ip route add 20.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip35 up
exec ip route add 20.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip36 up
exec ip route add 20.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip37 up
exec ip route add 20.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip38 up
exec ip route add 20.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip39 up
exec ip route add 20.0.0.39/32 via ipip39
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec set interface ip address TwentyFiveGigabitEthernet3b/0/1 200.0.0.2/24.0
exec create ipip tunnel src 200.0.0.2 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 634f435854784f69446155414c64464268754e44504a67417a764a79726e6a48 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 634f435854784f69446155414c64464268754e44504a67417a764a79726e6a48 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 6c50676c557146774d456d725351747855424e5a786f4e504258526d656a4241 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 6c50676c557146774d456d725351747855424e5a786f4e504258526d656a4241 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 4e4a6a535172466479495749414563554852677446766b4d746e6a6d6b56504f esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 4e4a6a535172466479495749414563554852677446766b4d746e6a6d6b56504f esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 69784c647a597a6d797a54686567684a7a4b636c6b754b6269615067494f7169 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 69784c647a597a6d797a54686567684a7a4b636c6b754b6269615067494f7169 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 78684443706d4a525650627646596a417476726753766d594256594646555659 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 78684443706d4a525650627646596a417476726753766d594256594646555659 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 5459476d755355706c436275445250776350437050537a5361684c6e6d4f747a esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 5459476d755355706c436275445250776350437050537a5361684c6e6d4f747a esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 7174666150764b5855554b756b756d7a61776c4e71706948764a524c476b7257 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 7174666150764b5855554b756b756d7a61776c4e71706948764a524c476b7257 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 7257526263515241576d4e7974636d7a437755454c424e676c576b645363434c esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 7257526263515241576d4e7974636d7a437755454c424e676c576b645363434c esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 7a6a6862434e4a6453585a72584b6967554b6841674e7165724548706f674c4d esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 7a6a6862434e4a6453585a72584b6967554b6841674e7165724548706f674c4d esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 657173655a7a786f5a5a57795a5a6e4f63505a6f54514e6f68524e5456674863 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 657173655a7a786f5a5a57795a5a6e4f63505a6f54514e6f68524e5456674863 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 66464e6b6b417365694f5377735a59485345426d684f724b594c717256414177 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 66464e6b6b417365694f5377735a59485345426d684f724b594c717256414177 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 6e687a68455365524b497a454a4851464d557a756c7651784c49567852477343 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 6e687a68455365524b497a454a4851464d557a756c7651784c49567852477343 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 75636e7a4b574d514c427364696d535169426f4c59704a757575687354616c6c esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 75636e7a4b574d514c427364696d535169426f4c59704a757575687354616c6c esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 506959746262574a4e4c455974674d50546858464d754543444c446c59716945 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 506959746262574a4e4c455974674d50546858464d754543444c446c59716945 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 61764956576a49765478746e79534f694452526d67657a6142506668444d484a esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 61764956576a49765478746e79534f694452526d67657a6142506668444d484a esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 6e6f50516a4b63694d4a76626c6142514478576c7162417a555554586c654b6a esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 6e6f50516a4b63694d4a76626c6142514478576c7162417a555554586c654b6a esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 454b79425878516f6751786463704d41465472696b494350626354616a614d6e esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 454b79425878516f6751786463704d41465472696b494350626354616a614d6e esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 424d695243766d636242446f474d4777456956745367796f596d666147626f53 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 424d695243766d636242446f474d4777456956745367796f596d666147626f53 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 4e627269674375555a63656275517874786e66586257594f6447754876494751 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 4e627269674375555a63656275517874786e66586257594f6447754876494751 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 4574686f6c534d474559515a436166766166756d7a4b576e435467587a7a4756 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 4574686f6c534d474559515a436166766166756d7a4b576e435467587a7a4756 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 78664c4e7650575a447365686a5245586a44497963696556536b62697542424a esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 78664c4e7650575a447365686a5245586a44497963696556536b62697542424a esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 6e59527a4a6d4b5677564b476f4f4c6b6673624442666a4f5676587665654a6c esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 6e59527a4a6d4b5677564b476f4f4c6b6673624442666a4f5676587665654a6c esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 4e744b6c68646d727268635471717341414776667944417a6c42765743794367 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 4e744b6c68646d727268635471717341414776667944417a6c42765743794367 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 444153574a796f797a5a64784c5558456e5a44704a4d7175487a466655446f47 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 444153574a796f797a5a64784c5558456e5a44704a4d7175487a466655446f47 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 49715a6645735a747155596e757749467555506d6953674c4e41436673745151 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 49715a6645735a747155596e757749467555506d6953674c4e41436673745151 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 4778495862695a587a4768734b61674666556b734a7750764656627158776765 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 4778495862695a587a4768734b61674666556b734a7750764656627158776765 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 56796c67704e456d724c666f6a724971566c63706f715542514853716b466a54 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 56796c67704e456d724c666f6a724971566c63706f715542514853716b466a54 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 527061635a6b704b50794a755a6f7a774a636d706251724b74554355766c5a45 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 527061635a6b704b50794a755a6f7a774a636d706251724b74554355766c5a45 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 764b7a5346725a5677525774627a625974756e5374737a6f4b4b4c5a7a494444 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 764b7a5346725a5677525774627a625974756e5374737a6f4b4b4c5a7a494444 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 575943486f6959786c67656973666b63514a7577544562554c61724d5164674a esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 575943486f6959786c67656973666b63514a7577544562554c61724d5164674a esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 45486f56795366687265596f787945464d695567525176564e65634650595547 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 45486f56795366687265596f787945464d695567525176564e65634650595547 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 4156555449774c71476b6a4b57516a4b567070646f766376596561465862696f esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 4156555449774c71476b6a4b57516a4b567070646f766376596561465862696f esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 48675972676175794447696754626d4a7a6d53464a7643424b49414c72567351 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 48675972676175794447696754626d4a7a6d53464a7643424b49414c72567351 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 797377785644567a5269746a45546d5459425945494673666459464b6e626c7a esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 797377785644567a5269746a45546d5459425945494673666459464b6e626c7a esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 4a43775577445472744a41466a4c6d515978554d4555566663686e5541714246 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 4a43775577445472744a41466a4c6d515978554d4555566663686e5541714246 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 7242445a557266706e5650444856617759634867446c647a6a77746d7348786c esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 7242445a557266706e5650444856617759634867446c647a6a77746d7348786c esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 41596f6e744d794c5557444d786971664d446245484e6e776d69714f63596c64 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 41596f6e744d794c5557444d786971664d446245484e6e776d69714f63596c64 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 7564776177785776485275647853426a58614f776451586d48487164556d4551 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 7564776177785776485275647853426a58614f776451586d48487164556d4551 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 53746d4a617262496c566b51775554454a614443694566545a51427942787965 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 53746d4a617262496c566b51775554454a614443694566545a51427942787965 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 726b574e58506e43656d6e5041696353566a486c4d53767254476a58516f7468 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 726b574e58506e43656d6e5041696353566a486c4d53767254476a58516f7468 esp
exec ipsec tunnel protect ipip39 sa-out 100039 sa-in 39 add
exec ip route add 100.0.0.1/8 via 200.0.0.1 TwentyFiveGigabitEthernet3b/0/1
exec set interface unnumbered ipip0 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip0 up
exec ip route add 10.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip1 up
exec ip route add 10.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip2 up
exec ip route add 10.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip3 up
exec ip route add 10.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip4 up
exec ip route add 10.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip5 up
exec ip route add 10.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip6 up
exec ip route add 10.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip7 up
exec ip route add 10.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip8 up
exec ip route add 10.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip9 up
exec ip route add 10.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip10 up
exec ip route add 10.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip11 up
exec ip route add 10.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip12 up
exec ip route add 10.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip13 up
exec ip route add 10.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip14 up
exec ip route add 10.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip15 up
exec ip route add 10.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip16 up
exec ip route add 10.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip17 up
exec ip route add 10.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip18 up
exec ip route add 10.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip19 up
exec ip route add 10.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip20 up
exec ip route add 10.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip21 up
exec ip route add 10.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip22 up
exec ip route add 10.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip23 up
exec ip route add 10.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip24 up
exec ip route add 10.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip25 up
exec ip route add 10.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip26 up
exec ip route add 10.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip27 up
exec ip route add 10.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip28 up
exec ip route add 10.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip29 up
exec ip route add 10.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip30 up
exec ip route add 10.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip31 up
exec ip route add 10.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip32 up
exec ip route add 10.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip33 up
exec ip route add 10.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip34 up
exec ip route add 10.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip35 up
exec ip route add 10.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip36 up
exec ip route add 10.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip37 up
exec ip route add 10.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip38 up
exec ip route add 10.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip39 up
exec ip route add 10.0.0.39/32 via ipip39

 64b-4t2c-ethip4ipsec40tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec create loopback interface
exec set interface state loop0 up
exec set interface ip address TwentyFiveGigabitEthernet3b/0/1 200.0.0.1/24
exec set ip neighbor TwentyFiveGigabitEthernet3b/0/1 200.0.0.2 3c:fd:fe:bd:f8:fd static
exec set interface ip address loop0 100.0.0.1/32
exec create ipip tunnel src 100.0.0.1 dst 200.0.0.2 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 43626f4c6241587762754f65596546766266496c616576556679794b73537745 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 43626f4c6241587762754f65596546766266496c616576556679794b73537745 esp
exec ipsec tunnel protect ipip0 sa-out 0 sa-in 100000 add
exec set interface ip address loop0 100.0.1.1/32
exec create ipip tunnel src 100.0.1.1 dst 200.0.0.2 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 6c676e4568486b616f6d6d524a786856656174677a5043454c4869617549556b esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 6c676e4568486b616f6d6d524a786856656174677a5043454c4869617549556b esp
exec ipsec tunnel protect ipip1 sa-out 1 sa-in 100001 add
exec set interface ip address loop0 100.0.2.1/32
exec create ipip tunnel src 100.0.2.1 dst 200.0.0.2 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 556e514c466165657a51705a555844756e79764b4b564276455a684a7476585a esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 556e514c466165657a51705a555844756e79764b4b564276455a684a7476585a esp
exec ipsec tunnel protect ipip2 sa-out 2 sa-in 100002 add
exec set interface ip address loop0 100.0.3.1/32
exec create ipip tunnel src 100.0.3.1 dst 200.0.0.2 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 46714b53685a6f796d7a706c76674f4e434153555353794869705645706c6558 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 46714b53685a6f796d7a706c76674f4e434153555353794869705645706c6558 esp
exec ipsec tunnel protect ipip3 sa-out 3 sa-in 100003 add
exec set interface ip address loop0 100.0.4.1/32
exec create ipip tunnel src 100.0.4.1 dst 200.0.0.2 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 615677695652556c734556686446436c4c724763794175487874444871414a57 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 615677695652556c734556686446436c4c724763794175487874444871414a57 esp
exec ipsec tunnel protect ipip4 sa-out 4 sa-in 100004 add
exec set interface ip address loop0 100.0.5.1/32
exec create ipip tunnel src 100.0.5.1 dst 200.0.0.2 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 566e4f6f466a4f4b74615479666d5945576f4646674f534b446d536d58425542 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 566e4f6f466a4f4b74615479666d5945576f4646674f534b446d536d58425542 esp
exec ipsec tunnel protect ipip5 sa-out 5 sa-in 100005 add
exec set interface ip address loop0 100.0.6.1/32
exec create ipip tunnel src 100.0.6.1 dst 200.0.0.2 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 74456e69456c46536e456871595a505371686153795a5a62715a6c4a68454f46 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 74456e69456c46536e456871595a505371686153795a5a62715a6c4a68454f46 esp
exec ipsec tunnel protect ipip6 sa-out 6 sa-in 100006 add
exec set interface ip address loop0 100.0.7.1/32
exec create ipip tunnel src 100.0.7.1 dst 200.0.0.2 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 77524d554d43654d4e724d6566494768654e516b41727a47755546767850506c esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 77524d554d43654d4e724d6566494768654e516b41727a47755546767850506c esp
exec ipsec tunnel protect ipip7 sa-out 7 sa-in 100007 add
exec set interface ip address loop0 100.0.8.1/32
exec create ipip tunnel src 100.0.8.1 dst 200.0.0.2 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 57736664687868757a79466a6755714a686e4650494359487078565679644c46 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 57736664687868757a79466a6755714a686e4650494359487078565679644c46 esp
exec ipsec tunnel protect ipip8 sa-out 8 sa-in 100008 add
exec set interface ip address loop0 100.0.9.1/32
exec create ipip tunnel src 100.0.9.1 dst 200.0.0.2 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 6355684d70414d4742446f41416f4b554b7a45464f464541754b5162694d476a esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 6355684d70414d4742446f41416f4b554b7a45464f464541754b5162694d476a esp
exec ipsec tunnel protect ipip9 sa-out 9 sa-in 100009 add
exec set interface ip address loop0 100.0.10.1/32
exec create ipip tunnel src 100.0.10.1 dst 200.0.0.2 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 6468656e4f794f5a545466717078616c676148496c5042515275664479737774 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 6468656e4f794f5a545466717078616c676148496c5042515275664479737774 esp
exec ipsec tunnel protect ipip10 sa-out 10 sa-in 100010 add
exec set interface ip address loop0 100.0.11.1/32
exec create ipip tunnel src 100.0.11.1 dst 200.0.0.2 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 754a6c4f6345774d737253666454766749534a574d6867545350586a6d697465 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 754a6c4f6345774d737253666454766749534a574d6867545350586a6d697465 esp
exec ipsec tunnel protect ipip11 sa-out 11 sa-in 100011 add
exec set interface ip address loop0 100.0.12.1/32
exec create ipip tunnel src 100.0.12.1 dst 200.0.0.2 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 4b536145595a7a4a68775a4647464a655970567255796e51676176794e68666f esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 4b536145595a7a4a68775a4647464a655970567255796e51676176794e68666f esp
exec ipsec tunnel protect ipip12 sa-out 12 sa-in 100012 add
exec set interface ip address loop0 100.0.13.1/32
exec create ipip tunnel src 100.0.13.1 dst 200.0.0.2 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 626f764d6e70587746694c7169697950754179716278414a634b6b526a527643 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 626f764d6e70587746694c7169697950754179716278414a634b6b526a527643 esp
exec ipsec tunnel protect ipip13 sa-out 13 sa-in 100013 add
exec set interface ip address loop0 100.0.14.1/32
exec create ipip tunnel src 100.0.14.1 dst 200.0.0.2 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 6b4a72695055634265714f6850545157576d48524e534e63554b596358725a73 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 6b4a72695055634265714f6850545157576d48524e534e63554b596358725a73 esp
exec ipsec tunnel protect ipip14 sa-out 14 sa-in 100014 add
exec set interface ip address loop0 100.0.15.1/32
exec create ipip tunnel src 100.0.15.1 dst 200.0.0.2 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 776f77716a6b59436a4173577a585a767852436763534d7771524c64684e4e43 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 776f77716a6b59436a4173577a585a767852436763534d7771524c64684e4e43 esp
exec ipsec tunnel protect ipip15 sa-out 15 sa-in 100015 add
exec set interface ip address loop0 100.0.16.1/32
exec create ipip tunnel src 100.0.16.1 dst 200.0.0.2 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 63505a745676704c4d556d77737763615967424a70704d494d6154546f757076 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 63505a745676704c4d556d77737763615967424a70704d494d6154546f757076 esp
exec ipsec tunnel protect ipip16 sa-out 16 sa-in 100016 add
exec set interface ip address loop0 100.0.17.1/32
exec create ipip tunnel src 100.0.17.1 dst 200.0.0.2 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 785050666763474e6d425179477941526259594f737153566847744643546578 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 785050666763474e6d425179477941526259594f737153566847744643546578 esp
exec ipsec tunnel protect ipip17 sa-out 17 sa-in 100017 add
exec set interface ip address loop0 100.0.18.1/32
exec create ipip tunnel src 100.0.18.1 dst 200.0.0.2 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 76466f6765596e4b46554f6d7250647a4b7773676f6b4a446259484276516850 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 76466f6765596e4b46554f6d7250647a4b7773676f6b4a446259484276516850 esp
exec ipsec tunnel protect ipip18 sa-out 18 sa-in 100018 add
exec set interface ip address loop0 100.0.19.1/32
exec create ipip tunnel src 100.0.19.1 dst 200.0.0.2 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 4d795564475169574776685a5442747468795a72464d78617a43746e6a665378 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 4d795564475169574776685a5442747468795a72464d78617a43746e6a665378 esp
exec ipsec tunnel protect ipip19 sa-out 19 sa-in 100019 add
exec set interface ip address loop0 100.0.20.1/32
exec create ipip tunnel src 100.0.20.1 dst 200.0.0.2 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 4251786f704444654241617450547342787053594a7a6d525a7659584b574a70 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 4251786f704444654241617450547342787053594a7a6d525a7659584b574a70 esp
exec ipsec tunnel protect ipip20 sa-out 20 sa-in 100020 add
exec set interface ip address loop0 100.0.21.1/32
exec create ipip tunnel src 100.0.21.1 dst 200.0.0.2 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 4865764662796a43745741625248596a7850686372657367545357664e435855 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 4865764662796a43745741625248596a7850686372657367545357664e435855 esp
exec ipsec tunnel protect ipip21 sa-out 21 sa-in 100021 add
exec set interface ip address loop0 100.0.22.1/32
exec create ipip tunnel src 100.0.22.1 dst 200.0.0.2 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 6c52676d6c754e51566f6178686157494c6b7456676f4179756a4a4a784e4d43 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 6c52676d6c754e51566f6178686157494c6b7456676f4179756a4a4a784e4d43 esp
exec ipsec tunnel protect ipip22 sa-out 22 sa-in 100022 add
exec set interface ip address loop0 100.0.23.1/32
exec create ipip tunnel src 100.0.23.1 dst 200.0.0.2 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 4f44675868644d6f486c4264696f43455a5579514d4143576e79774d53684e54 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 4f44675868644d6f486c4264696f43455a5579514d4143576e79774d53684e54 esp
exec ipsec tunnel protect ipip23 sa-out 23 sa-in 100023 add
exec set interface ip address loop0 100.0.24.1/32
exec create ipip tunnel src 100.0.24.1 dst 200.0.0.2 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 47594b61736747716b616647585951465045727a686a6844616f50796c596d63 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 47594b61736747716b616647585951465045727a686a6844616f50796c596d63 esp
exec ipsec tunnel protect ipip24 sa-out 24 sa-in 100024 add
exec set interface ip address loop0 100.0.25.1/32
exec create ipip tunnel src 100.0.25.1 dst 200.0.0.2 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 7149644873644155676f584a636c5a486d53424d514d6742774443594e414a56 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 7149644873644155676f584a636c5a486d53424d514d6742774443594e414a56 esp
exec ipsec tunnel protect ipip25 sa-out 25 sa-in 100025 add
exec set interface ip address loop0 100.0.26.1/32
exec create ipip tunnel src 100.0.26.1 dst 200.0.0.2 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 59586a4e42636c71714d45585169684175726f6451774e556a6c6e704c546555 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 59586a4e42636c71714d45585169684175726f6451774e556a6c6e704c546555 esp
exec ipsec tunnel protect ipip26 sa-out 26 sa-in 100026 add
exec set interface ip address loop0 100.0.27.1/32
exec create ipip tunnel src 100.0.27.1 dst 200.0.0.2 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 48536c4357465144765453414f7a7a786a66636f416d58466b62754147454563 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 48536c4357465144765453414f7a7a786a66636f416d58466b62754147454563 esp
exec ipsec tunnel protect ipip27 sa-out 27 sa-in 100027 add
exec set interface ip address loop0 100.0.28.1/32
exec create ipip tunnel src 100.0.28.1 dst 200.0.0.2 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 48464669416d484e6d6a6f7175697241764666434a656364576b525969507076 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 48464669416d484e6d6a6f7175697241764666434a656364576b525969507076 esp
exec ipsec tunnel protect ipip28 sa-out 28 sa-in 100028 add
exec set interface ip address loop0 100.0.29.1/32
exec create ipip tunnel src 100.0.29.1 dst 200.0.0.2 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 417648764c444d5376464d446f457a4a4e4579526854586950777777524b6246 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 417648764c444d5376464d446f457a4a4e4579526854586950777777524b6246 esp
exec ipsec tunnel protect ipip29 sa-out 29 sa-in 100029 add
exec set interface ip address loop0 100.0.30.1/32
exec create ipip tunnel src 100.0.30.1 dst 200.0.0.2 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 797070684449616f454a71417844716f444f686e4b6b4a5661486e6f4f6c496a esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 797070684449616f454a71417844716f444f686e4b6b4a5661486e6f4f6c496a esp
exec ipsec tunnel protect ipip30 sa-out 30 sa-in 100030 add
exec set interface ip address loop0 100.0.31.1/32
exec create ipip tunnel src 100.0.31.1 dst 200.0.0.2 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 4e476469667145456a796d4c737a484b4f6e686f484a6a6c544c4f6a62665771 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 4e476469667145456a796d4c737a484b4f6e686f484a6a6c544c4f6a62665771 esp
exec ipsec tunnel protect ipip31 sa-out 31 sa-in 100031 add
exec set interface ip address loop0 100.0.32.1/32
exec create ipip tunnel src 100.0.32.1 dst 200.0.0.2 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 5176686857567870696b65786a6a78664e454a6c61775a724278785466444776 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 5176686857567870696b65786a6a78664e454a6c61775a724278785466444776 esp
exec ipsec tunnel protect ipip32 sa-out 32 sa-in 100032 add
exec set interface ip address loop0 100.0.33.1/32
exec create ipip tunnel src 100.0.33.1 dst 200.0.0.2 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 53646b5379514d736e6651476d6d4e6455744e4d7a4569586c6b6e5949755172 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 53646b5379514d736e6651476d6d4e6455744e4d7a4569586c6b6e5949755172 esp
exec ipsec tunnel protect ipip33 sa-out 33 sa-in 100033 add
exec set interface ip address loop0 100.0.34.1/32
exec create ipip tunnel src 100.0.34.1 dst 200.0.0.2 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 4d4846524573744f754971644e686d73424874556d55774d664575416c574647 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 4d4846524573744f754971644e686d73424874556d55774d664575416c574647 esp
exec ipsec tunnel protect ipip34 sa-out 34 sa-in 100034 add
exec set interface ip address loop0 100.0.35.1/32
exec create ipip tunnel src 100.0.35.1 dst 200.0.0.2 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 77415742716e566e444d527768674d4f6378626b4e697343455a584d55765063 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 77415742716e566e444d527768674d4f6378626b4e697343455a584d55765063 esp
exec ipsec tunnel protect ipip35 sa-out 35 sa-in 100035 add
exec set interface ip address loop0 100.0.36.1/32
exec create ipip tunnel src 100.0.36.1 dst 200.0.0.2 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 484c61614e65655667697a7a6d6e4d497957585a437661476959625378567841 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 484c61614e65655667697a7a6d6e4d497957585a437661476959625378567841 esp
exec ipsec tunnel protect ipip36 sa-out 36 sa-in 100036 add
exec set interface ip address loop0 100.0.37.1/32
exec create ipip tunnel src 100.0.37.1 dst 200.0.0.2 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 4a54757443695276496e4c7646625a58486a4f6850634565636c4e6a49475149 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 4a54757443695276496e4c7646625a58486a4f6850634565636c4e6a49475149 esp
exec ipsec tunnel protect ipip37 sa-out 37 sa-in 100037 add
exec set interface ip address loop0 100.0.38.1/32
exec create ipip tunnel src 100.0.38.1 dst 200.0.0.2 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 474676756f446842637556695a5557436f47566179556a69685457736b42766e esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 474676756f446842637556695a5557436f47566179556a69685457736b42766e esp
exec ipsec tunnel protect ipip38 sa-out 38 sa-in 100038 add
exec set interface ip address loop0 100.0.39.1/32
exec create ipip tunnel src 100.0.39.1 dst 200.0.0.2 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 7761576b76646355775943796564794f45514248436d4c54586d555465694546 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 7761576b76646355775943796564794f45514248436d4c54586d555465694546 esp
exec ipsec tunnel protect ipip39 sa-out 39 sa-in 100039 add
exec set interface unnumbered ipip0 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip0 up
exec ip route add 20.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip1 up
exec ip route add 20.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip2 up
exec ip route add 20.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip3 up
exec ip route add 20.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip4 up
exec ip route add 20.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip5 up
exec ip route add 20.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip6 up
exec ip route add 20.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip7 up
exec ip route add 20.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip8 up
exec ip route add 20.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip9 up
exec ip route add 20.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip10 up
exec ip route add 20.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip11 up
exec ip route add 20.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip12 up
exec ip route add 20.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip13 up
exec ip route add 20.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip14 up
exec ip route add 20.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip15 up
exec ip route add 20.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip16 up
exec ip route add 20.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip17 up
exec ip route add 20.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip18 up
exec ip route add 20.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip19 up
exec ip route add 20.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip20 up
exec ip route add 20.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip21 up
exec ip route add 20.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip22 up
exec ip route add 20.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip23 up
exec ip route add 20.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip24 up
exec ip route add 20.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip25 up
exec ip route add 20.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip26 up
exec ip route add 20.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip27 up
exec ip route add 20.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip28 up
exec ip route add 20.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip29 up
exec ip route add 20.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip30 up
exec ip route add 20.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip31 up
exec ip route add 20.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip32 up
exec ip route add 20.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip33 up
exec ip route add 20.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip34 up
exec ip route add 20.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip35 up
exec ip route add 20.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip36 up
exec ip route add 20.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip37 up
exec ip route add 20.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip38 up
exec ip route add 20.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip39 up
exec ip route add 20.0.0.39/32 via ipip39
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec set interface ip address TwentyFiveGigabitEthernet3b/0/1 200.0.0.2/24.0
exec create ipip tunnel src 200.0.0.2 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 43626f4c6241587762754f65596546766266496c616576556679794b73537745 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 43626f4c6241587762754f65596546766266496c616576556679794b73537745 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 6c676e4568486b616f6d6d524a786856656174677a5043454c4869617549556b esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 6c676e4568486b616f6d6d524a786856656174677a5043454c4869617549556b esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 556e514c466165657a51705a555844756e79764b4b564276455a684a7476585a esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 556e514c466165657a51705a555844756e79764b4b564276455a684a7476585a esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 46714b53685a6f796d7a706c76674f4e434153555353794869705645706c6558 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 46714b53685a6f796d7a706c76674f4e434153555353794869705645706c6558 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 615677695652556c734556686446436c4c724763794175487874444871414a57 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 615677695652556c734556686446436c4c724763794175487874444871414a57 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 566e4f6f466a4f4b74615479666d5945576f4646674f534b446d536d58425542 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 566e4f6f466a4f4b74615479666d5945576f4646674f534b446d536d58425542 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 74456e69456c46536e456871595a505371686153795a5a62715a6c4a68454f46 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 74456e69456c46536e456871595a505371686153795a5a62715a6c4a68454f46 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 77524d554d43654d4e724d6566494768654e516b41727a47755546767850506c esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 77524d554d43654d4e724d6566494768654e516b41727a47755546767850506c esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 57736664687868757a79466a6755714a686e4650494359487078565679644c46 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 57736664687868757a79466a6755714a686e4650494359487078565679644c46 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 6355684d70414d4742446f41416f4b554b7a45464f464541754b5162694d476a esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 6355684d70414d4742446f41416f4b554b7a45464f464541754b5162694d476a esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 6468656e4f794f5a545466717078616c676148496c5042515275664479737774 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 6468656e4f794f5a545466717078616c676148496c5042515275664479737774 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 754a6c4f6345774d737253666454766749534a574d6867545350586a6d697465 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 754a6c4f6345774d737253666454766749534a574d6867545350586a6d697465 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 4b536145595a7a4a68775a4647464a655970567255796e51676176794e68666f esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 4b536145595a7a4a68775a4647464a655970567255796e51676176794e68666f esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 626f764d6e70587746694c7169697950754179716278414a634b6b526a527643 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 626f764d6e70587746694c7169697950754179716278414a634b6b526a527643 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 6b4a72695055634265714f6850545157576d48524e534e63554b596358725a73 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 6b4a72695055634265714f6850545157576d48524e534e63554b596358725a73 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 776f77716a6b59436a4173577a585a767852436763534d7771524c64684e4e43 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 776f77716a6b59436a4173577a585a767852436763534d7771524c64684e4e43 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 63505a745676704c4d556d77737763615967424a70704d494d6154546f757076 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 63505a745676704c4d556d77737763615967424a70704d494d6154546f757076 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 785050666763474e6d425179477941526259594f737153566847744643546578 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 785050666763474e6d425179477941526259594f737153566847744643546578 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 76466f6765596e4b46554f6d7250647a4b7773676f6b4a446259484276516850 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 76466f6765596e4b46554f6d7250647a4b7773676f6b4a446259484276516850 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 4d795564475169574776685a5442747468795a72464d78617a43746e6a665378 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 4d795564475169574776685a5442747468795a72464d78617a43746e6a665378 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 4251786f704444654241617450547342787053594a7a6d525a7659584b574a70 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 4251786f704444654241617450547342787053594a7a6d525a7659584b574a70 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 4865764662796a43745741625248596a7850686372657367545357664e435855 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 4865764662796a43745741625248596a7850686372657367545357664e435855 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 6c52676d6c754e51566f6178686157494c6b7456676f4179756a4a4a784e4d43 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 6c52676d6c754e51566f6178686157494c6b7456676f4179756a4a4a784e4d43 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 4f44675868644d6f486c4264696f43455a5579514d4143576e79774d53684e54 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 4f44675868644d6f486c4264696f43455a5579514d4143576e79774d53684e54 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 47594b61736747716b616647585951465045727a686a6844616f50796c596d63 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 47594b61736747716b616647585951465045727a686a6844616f50796c596d63 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 7149644873644155676f584a636c5a486d53424d514d6742774443594e414a56 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 7149644873644155676f584a636c5a486d53424d514d6742774443594e414a56 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 59586a4e42636c71714d45585169684175726f6451774e556a6c6e704c546555 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 59586a4e42636c71714d45585169684175726f6451774e556a6c6e704c546555 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 48536c4357465144765453414f7a7a786a66636f416d58466b62754147454563 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 48536c4357465144765453414f7a7a786a66636f416d58466b62754147454563 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 48464669416d484e6d6a6f7175697241764666434a656364576b525969507076 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 48464669416d484e6d6a6f7175697241764666434a656364576b525969507076 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 417648764c444d5376464d446f457a4a4e4579526854586950777777524b6246 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 417648764c444d5376464d446f457a4a4e4579526854586950777777524b6246 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 797070684449616f454a71417844716f444f686e4b6b4a5661486e6f4f6c496a esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 797070684449616f454a71417844716f444f686e4b6b4a5661486e6f4f6c496a esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 4e476469667145456a796d4c737a484b4f6e686f484a6a6c544c4f6a62665771 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 4e476469667145456a796d4c737a484b4f6e686f484a6a6c544c4f6a62665771 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 5176686857567870696b65786a6a78664e454a6c61775a724278785466444776 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 5176686857567870696b65786a6a78664e454a6c61775a724278785466444776 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 53646b5379514d736e6651476d6d4e6455744e4d7a4569586c6b6e5949755172 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 53646b5379514d736e6651476d6d4e6455744e4d7a4569586c6b6e5949755172 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 4d4846524573744f754971644e686d73424874556d55774d664575416c574647 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 4d4846524573744f754971644e686d73424874556d55774d664575416c574647 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 77415742716e566e444d527768674d4f6378626b4e697343455a584d55765063 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 77415742716e566e444d527768674d4f6378626b4e697343455a584d55765063 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 484c61614e65655667697a7a6d6e4d497957585a437661476959625378567841 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 484c61614e65655667697a7a6d6e4d497957585a437661476959625378567841 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 4a54757443695276496e4c7646625a58486a4f6850634565636c4e6a49475149 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 4a54757443695276496e4c7646625a58486a4f6850634565636c4e6a49475149 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 474676756f446842637556695a5557436f47566179556a69685457736b42766e esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 474676756f446842637556695a5557436f47566179556a69685457736b42766e esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 7761576b76646355775943796564794f45514248436d4c54586d555465694546 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 7761576b76646355775943796564794f45514248436d4c54586d555465694546 esp
exec ipsec tunnel protect ipip39 sa-out 100039 sa-in 39 add
exec ip route add 100.0.0.1/8 via 200.0.0.1 TwentyFiveGigabitEthernet3b/0/1
exec set interface unnumbered ipip0 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip0 up
exec ip route add 10.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip1 up
exec ip route add 10.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip2 up
exec ip route add 10.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip3 up
exec ip route add 10.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip4 up
exec ip route add 10.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip5 up
exec ip route add 10.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip6 up
exec ip route add 10.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip7 up
exec ip route add 10.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip8 up
exec ip route add 10.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip9 up
exec ip route add 10.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip10 up
exec ip route add 10.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip11 up
exec ip route add 10.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip12 up
exec ip route add 10.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip13 up
exec ip route add 10.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip14 up
exec ip route add 10.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip15 up
exec ip route add 10.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip16 up
exec ip route add 10.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip17 up
exec ip route add 10.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip18 up
exec ip route add 10.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip19 up
exec ip route add 10.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip20 up
exec ip route add 10.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip21 up
exec ip route add 10.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip22 up
exec ip route add 10.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip23 up
exec ip route add 10.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip24 up
exec ip route add 10.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip25 up
exec ip route add 10.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip26 up
exec ip route add 10.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip27 up
exec ip route add 10.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip28 up
exec ip route add 10.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip29 up
exec ip route add 10.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip30 up
exec ip route add 10.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip31 up
exec ip route add 10.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip32 up
exec ip route add 10.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip33 up
exec ip route add 10.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip34 up
exec ip route add 10.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip35 up
exec ip route add 10.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip36 up
exec ip route add 10.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip37 up
exec ip route add 10.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip38 up
exec ip route add 10.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip39 up
exec ip route add 10.0.0.39/32 via ipip39

 64b-8t4c-ethip4ipsec40tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec create loopback interface
exec set interface state loop0 up
exec set interface ip address TwentyFiveGigabitEthernet3b/0/1 200.0.0.1/24
exec set ip neighbor TwentyFiveGigabitEthernet3b/0/1 200.0.0.2 3c:fd:fe:bd:f8:fd static
exec set interface ip address loop0 100.0.0.1/32
exec create ipip tunnel src 100.0.0.1 dst 200.0.0.2 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 4174784b6b6d59564a4f4d4b6d7249426c7a587065436a71786957666a624e72 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 4174784b6b6d59564a4f4d4b6d7249426c7a587065436a71786957666a624e72 esp
exec ipsec tunnel protect ipip0 sa-out 0 sa-in 100000 add
exec set interface ip address loop0 100.0.1.1/32
exec create ipip tunnel src 100.0.1.1 dst 200.0.0.2 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 425257534f555153774c625245626f706b7857487463486659757449536c6c4d esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 425257534f555153774c625245626f706b7857487463486659757449536c6c4d esp
exec ipsec tunnel protect ipip1 sa-out 1 sa-in 100001 add
exec set interface ip address loop0 100.0.2.1/32
exec create ipip tunnel src 100.0.2.1 dst 200.0.0.2 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 717174614d78714c46597670477264716e694b744e47736a587942565a655170 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 717174614d78714c46597670477264716e694b744e47736a587942565a655170 esp
exec ipsec tunnel protect ipip2 sa-out 2 sa-in 100002 add
exec set interface ip address loop0 100.0.3.1/32
exec create ipip tunnel src 100.0.3.1 dst 200.0.0.2 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 734d484276756f754b4e7a4e4257574c534e57596476444e6e447a6a7766434d esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 734d484276756f754b4e7a4e4257574c534e57596476444e6e447a6a7766434d esp
exec ipsec tunnel protect ipip3 sa-out 3 sa-in 100003 add
exec set interface ip address loop0 100.0.4.1/32
exec create ipip tunnel src 100.0.4.1 dst 200.0.0.2 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 4c4b795259616768545443514b444d496c735570456d777151714b45766f416b esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 4c4b795259616768545443514b444d496c735570456d777151714b45766f416b esp
exec ipsec tunnel protect ipip4 sa-out 4 sa-in 100004 add
exec set interface ip address loop0 100.0.5.1/32
exec create ipip tunnel src 100.0.5.1 dst 200.0.0.2 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 797846494e7250734e496e6d64515747476d6a7a72594f47534b6452684d524d esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 797846494e7250734e496e6d64515747476d6a7a72594f47534b6452684d524d esp
exec ipsec tunnel protect ipip5 sa-out 5 sa-in 100005 add
exec set interface ip address loop0 100.0.6.1/32
exec create ipip tunnel src 100.0.6.1 dst 200.0.0.2 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 794d634178745a61454d5545535a6c6e6448546e4963784b544f4e4171494f6b esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 794d634178745a61454d5545535a6c6e6448546e4963784b544f4e4171494f6b esp
exec ipsec tunnel protect ipip6 sa-out 6 sa-in 100006 add
exec set interface ip address loop0 100.0.7.1/32
exec create ipip tunnel src 100.0.7.1 dst 200.0.0.2 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 45544b78666e655a614168694a4876676b707544576375755053435a4e516758 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 45544b78666e655a614168694a4876676b707544576375755053435a4e516758 esp
exec ipsec tunnel protect ipip7 sa-out 7 sa-in 100007 add
exec set interface ip address loop0 100.0.8.1/32
exec create ipip tunnel src 100.0.8.1 dst 200.0.0.2 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 484c72646449584470656a50416879436a55585565774e6473574c575a616e66 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 484c72646449584470656a50416879436a55585565774e6473574c575a616e66 esp
exec ipsec tunnel protect ipip8 sa-out 8 sa-in 100008 add
exec set interface ip address loop0 100.0.9.1/32
exec create ipip tunnel src 100.0.9.1 dst 200.0.0.2 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 6f73654e707a6e674347666b5853464679796f6c564b576c5a47495a58767075 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 6f73654e707a6e674347666b5853464679796f6c564b576c5a47495a58767075 esp
exec ipsec tunnel protect ipip9 sa-out 9 sa-in 100009 add
exec set interface ip address loop0 100.0.10.1/32
exec create ipip tunnel src 100.0.10.1 dst 200.0.0.2 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 72667765747866516d794642667a4449586d4358436743616d55445a584c4466 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 72667765747866516d794642667a4449586d4358436743616d55445a584c4466 esp
exec ipsec tunnel protect ipip10 sa-out 10 sa-in 100010 add
exec set interface ip address loop0 100.0.11.1/32
exec create ipip tunnel src 100.0.11.1 dst 200.0.0.2 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 7a4c4e644d73667656667a5745706773637273764e794d45596f486c4c4c4b71 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 7a4c4e644d73667656667a5745706773637273764e794d45596f486c4c4c4b71 esp
exec ipsec tunnel protect ipip11 sa-out 11 sa-in 100011 add
exec set interface ip address loop0 100.0.12.1/32
exec create ipip tunnel src 100.0.12.1 dst 200.0.0.2 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 545363474a427a4879675a624763516f67687275786362777171624265454378 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 545363474a427a4879675a624763516f67687275786362777171624265454378 esp
exec ipsec tunnel protect ipip12 sa-out 12 sa-in 100012 add
exec set interface ip address loop0 100.0.13.1/32
exec create ipip tunnel src 100.0.13.1 dst 200.0.0.2 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 4f6b7a6359586447694e4d7471584747655053637863786a63666b6a5a74566a esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 4f6b7a6359586447694e4d7471584747655053637863786a63666b6a5a74566a esp
exec ipsec tunnel protect ipip13 sa-out 13 sa-in 100013 add
exec set interface ip address loop0 100.0.14.1/32
exec create ipip tunnel src 100.0.14.1 dst 200.0.0.2 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 534b4b6d5a654842657370746c5965696f764251564f4c6e755757467a626659 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 534b4b6d5a654842657370746c5965696f764251564f4c6e755757467a626659 esp
exec ipsec tunnel protect ipip14 sa-out 14 sa-in 100014 add
exec set interface ip address loop0 100.0.15.1/32
exec create ipip tunnel src 100.0.15.1 dst 200.0.0.2 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 546b726770735a704a6b68454c7155454d416b4d414e626d534d4f735253504e esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 546b726770735a704a6b68454c7155454d416b4d414e626d534d4f735253504e esp
exec ipsec tunnel protect ipip15 sa-out 15 sa-in 100015 add
exec set interface ip address loop0 100.0.16.1/32
exec create ipip tunnel src 100.0.16.1 dst 200.0.0.2 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 47567141737946684a4f4a6a744c747a58784e484d686879666b667559696e65 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 47567141737946684a4f4a6a744c747a58784e484d686879666b667559696e65 esp
exec ipsec tunnel protect ipip16 sa-out 16 sa-in 100016 add
exec set interface ip address loop0 100.0.17.1/32
exec create ipip tunnel src 100.0.17.1 dst 200.0.0.2 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 686a684c6f6c6250524570487a515843516c494c676a6e4d65555a696a495946 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 686a684c6f6c6250524570487a515843516c494c676a6e4d65555a696a495946 esp
exec ipsec tunnel protect ipip17 sa-out 17 sa-in 100017 add
exec set interface ip address loop0 100.0.18.1/32
exec create ipip tunnel src 100.0.18.1 dst 200.0.0.2 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 6b786967665173506b477641547248735641436d7973595559707754576e4d4f esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 6b786967665173506b477641547248735641436d7973595559707754576e4d4f esp
exec ipsec tunnel protect ipip18 sa-out 18 sa-in 100018 add
exec set interface ip address loop0 100.0.19.1/32
exec create ipip tunnel src 100.0.19.1 dst 200.0.0.2 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 634f59594d414e42574f517a4e6e6c6f73624d4c674a4370626d764e586f7859 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 634f59594d414e42574f517a4e6e6c6f73624d4c674a4370626d764e586f7859 esp
exec ipsec tunnel protect ipip19 sa-out 19 sa-in 100019 add
exec set interface ip address loop0 100.0.20.1/32
exec create ipip tunnel src 100.0.20.1 dst 200.0.0.2 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 7053426556704e71514952435a5a6a457063767346655759774e42504b6d4972 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 7053426556704e71514952435a5a6a457063767346655759774e42504b6d4972 esp
exec ipsec tunnel protect ipip20 sa-out 20 sa-in 100020 add
exec set interface ip address loop0 100.0.21.1/32
exec create ipip tunnel src 100.0.21.1 dst 200.0.0.2 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 627748537654776c504e674274415a7a5745516c57677a6c67765a746c5a7576 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 627748537654776c504e674274415a7a5745516c57677a6c67765a746c5a7576 esp
exec ipsec tunnel protect ipip21 sa-out 21 sa-in 100021 add
exec set interface ip address loop0 100.0.22.1/32
exec create ipip tunnel src 100.0.22.1 dst 200.0.0.2 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 666365514a5049597062427072437444477551656b5356544f5474416d515376 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 666365514a5049597062427072437444477551656b5356544f5474416d515376 esp
exec ipsec tunnel protect ipip22 sa-out 22 sa-in 100022 add
exec set interface ip address loop0 100.0.23.1/32
exec create ipip tunnel src 100.0.23.1 dst 200.0.0.2 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 5a575a7174434577635a4d795177616278414c79455676444b537a44424b6c74 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 5a575a7174434577635a4d795177616278414c79455676444b537a44424b6c74 esp
exec ipsec tunnel protect ipip23 sa-out 23 sa-in 100023 add
exec set interface ip address loop0 100.0.24.1/32
exec create ipip tunnel src 100.0.24.1 dst 200.0.0.2 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 686d41666441437664485a4c4f4864495467567072714478615a4d6c45426f54 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 686d41666441437664485a4c4f4864495467567072714478615a4d6c45426f54 esp
exec ipsec tunnel protect ipip24 sa-out 24 sa-in 100024 add
exec set interface ip address loop0 100.0.25.1/32
exec create ipip tunnel src 100.0.25.1 dst 200.0.0.2 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 6245625a614a4d5a4c73486245545669474543796e6f7a4946424a424259574e esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 6245625a614a4d5a4c73486245545669474543796e6f7a4946424a424259574e esp
exec ipsec tunnel protect ipip25 sa-out 25 sa-in 100025 add
exec set interface ip address loop0 100.0.26.1/32
exec create ipip tunnel src 100.0.26.1 dst 200.0.0.2 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 59634973417a6567575a4c68777662534d5372554c4e52486244754f5a4c6c51 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 59634973417a6567575a4c68777662534d5372554c4e52486244754f5a4c6c51 esp
exec ipsec tunnel protect ipip26 sa-out 26 sa-in 100026 add
exec set interface ip address loop0 100.0.27.1/32
exec create ipip tunnel src 100.0.27.1 dst 200.0.0.2 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 786b70466c50564442424f7750586c514f4957446a5868755265557367567946 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 786b70466c50564442424f7750586c514f4957446a5868755265557367567946 esp
exec ipsec tunnel protect ipip27 sa-out 27 sa-in 100027 add
exec set interface ip address loop0 100.0.28.1/32
exec create ipip tunnel src 100.0.28.1 dst 200.0.0.2 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 504c417a53676e7a4a415979455142536f4c6744556c66684f5966796b794d47 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 504c417a53676e7a4a415979455142536f4c6744556c66684f5966796b794d47 esp
exec ipsec tunnel protect ipip28 sa-out 28 sa-in 100028 add
exec set interface ip address loop0 100.0.29.1/32
exec create ipip tunnel src 100.0.29.1 dst 200.0.0.2 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 52594152794f53554f6e49787466635474494f4f6c756a6e5559416462527275 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 52594152794f53554f6e49787466635474494f4f6c756a6e5559416462527275 esp
exec ipsec tunnel protect ipip29 sa-out 29 sa-in 100029 add
exec set interface ip address loop0 100.0.30.1/32
exec create ipip tunnel src 100.0.30.1 dst 200.0.0.2 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 696d776d424956674b7079644247446445665a4e727043615979557265746478 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 696d776d424956674b7079644247446445665a4e727043615979557265746478 esp
exec ipsec tunnel protect ipip30 sa-out 30 sa-in 100030 add
exec set interface ip address loop0 100.0.31.1/32
exec create ipip tunnel src 100.0.31.1 dst 200.0.0.2 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 687551546e6d4b4a766846427761476b50436a506d566f51524378584541744a esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 687551546e6d4b4a766846427761476b50436a506d566f51524378584541744a esp
exec ipsec tunnel protect ipip31 sa-out 31 sa-in 100031 add
exec set interface ip address loop0 100.0.32.1/32
exec create ipip tunnel src 100.0.32.1 dst 200.0.0.2 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 4f49557078436a74764f656b7971744b69744b73475a61624a6357584b6a4e73 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 4f49557078436a74764f656b7971744b69744b73475a61624a6357584b6a4e73 esp
exec ipsec tunnel protect ipip32 sa-out 32 sa-in 100032 add
exec set interface ip address loop0 100.0.33.1/32
exec create ipip tunnel src 100.0.33.1 dst 200.0.0.2 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 54766c65794a4c794b78446b634b52784762485565706e4169715975764e6c70 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 54766c65794a4c794b78446b634b52784762485565706e4169715975764e6c70 esp
exec ipsec tunnel protect ipip33 sa-out 33 sa-in 100033 add
exec set interface ip address loop0 100.0.34.1/32
exec create ipip tunnel src 100.0.34.1 dst 200.0.0.2 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 7864584d766163717a526c645243556752796652585a6d48566870664473746c esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 7864584d766163717a526c645243556752796652585a6d48566870664473746c esp
exec ipsec tunnel protect ipip34 sa-out 34 sa-in 100034 add
exec set interface ip address loop0 100.0.35.1/32
exec create ipip tunnel src 100.0.35.1 dst 200.0.0.2 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 6e46684b574a55414c65714e51516877554446686d664a6f586b776b63674474 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 6e46684b574a55414c65714e51516877554446686d664a6f586b776b63674474 esp
exec ipsec tunnel protect ipip35 sa-out 35 sa-in 100035 add
exec set interface ip address loop0 100.0.36.1/32
exec create ipip tunnel src 100.0.36.1 dst 200.0.0.2 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 6c556171705870696a4b4a62546a657a4d69697149686c477042504b7a744762 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 6c556171705870696a4b4a62546a657a4d69697149686c477042504b7a744762 esp
exec ipsec tunnel protect ipip36 sa-out 36 sa-in 100036 add
exec set interface ip address loop0 100.0.37.1/32
exec create ipip tunnel src 100.0.37.1 dst 200.0.0.2 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 4759754a7842746b4370454a74506e4d67775065545357754a57436370595453 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 4759754a7842746b4370454a74506e4d67775065545357754a57436370595453 esp
exec ipsec tunnel protect ipip37 sa-out 37 sa-in 100037 add
exec set interface ip address loop0 100.0.38.1/32
exec create ipip tunnel src 100.0.38.1 dst 200.0.0.2 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 41646f71734a7367456c65566b6c74656a6c52534150794d4f4d6d716767737a esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 41646f71734a7367456c65566b6c74656a6c52534150794d4f4d6d716767737a esp
exec ipsec tunnel protect ipip38 sa-out 38 sa-in 100038 add
exec set interface ip address loop0 100.0.39.1/32
exec create ipip tunnel src 100.0.39.1 dst 200.0.0.2 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 446b6b4d627a74677a4f755365775743706d6378744e505048725a714b42434b esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 446b6b4d627a74677a4f755365775743706d6378744e505048725a714b42434b esp
exec ipsec tunnel protect ipip39 sa-out 39 sa-in 100039 add
exec set interface unnumbered ipip0 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip0 up
exec ip route add 20.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip1 up
exec ip route add 20.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip2 up
exec ip route add 20.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip3 up
exec ip route add 20.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip4 up
exec ip route add 20.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip5 up
exec ip route add 20.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip6 up
exec ip route add 20.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip7 up
exec ip route add 20.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip8 up
exec ip route add 20.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip9 up
exec ip route add 20.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip10 up
exec ip route add 20.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip11 up
exec ip route add 20.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip12 up
exec ip route add 20.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip13 up
exec ip route add 20.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip14 up
exec ip route add 20.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip15 up
exec ip route add 20.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip16 up
exec ip route add 20.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip17 up
exec ip route add 20.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip18 up
exec ip route add 20.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip19 up
exec ip route add 20.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip20 up
exec ip route add 20.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip21 up
exec ip route add 20.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip22 up
exec ip route add 20.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip23 up
exec ip route add 20.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip24 up
exec ip route add 20.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip25 up
exec ip route add 20.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip26 up
exec ip route add 20.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip27 up
exec ip route add 20.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip28 up
exec ip route add 20.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip29 up
exec ip route add 20.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip30 up
exec ip route add 20.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip31 up
exec ip route add 20.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip32 up
exec ip route add 20.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip33 up
exec ip route add 20.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip34 up
exec ip route add 20.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip35 up
exec ip route add 20.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip36 up
exec ip route add 20.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip37 up
exec ip route add 20.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip38 up
exec ip route add 20.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip39 up
exec ip route add 20.0.0.39/32 via ipip39
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec set interface ip address TwentyFiveGigabitEthernet3b/0/1 200.0.0.2/24.0
exec create ipip tunnel src 200.0.0.2 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 4174784b6b6d59564a4f4d4b6d7249426c7a587065436a71786957666a624e72 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 4174784b6b6d59564a4f4d4b6d7249426c7a587065436a71786957666a624e72 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 425257534f555153774c625245626f706b7857487463486659757449536c6c4d esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 425257534f555153774c625245626f706b7857487463486659757449536c6c4d esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 717174614d78714c46597670477264716e694b744e47736a587942565a655170 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 717174614d78714c46597670477264716e694b744e47736a587942565a655170 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 734d484276756f754b4e7a4e4257574c534e57596476444e6e447a6a7766434d esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 734d484276756f754b4e7a4e4257574c534e57596476444e6e447a6a7766434d esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 4c4b795259616768545443514b444d496c735570456d777151714b45766f416b esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 4c4b795259616768545443514b444d496c735570456d777151714b45766f416b esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 797846494e7250734e496e6d64515747476d6a7a72594f47534b6452684d524d esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 797846494e7250734e496e6d64515747476d6a7a72594f47534b6452684d524d esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 794d634178745a61454d5545535a6c6e6448546e4963784b544f4e4171494f6b esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 794d634178745a61454d5545535a6c6e6448546e4963784b544f4e4171494f6b esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 45544b78666e655a614168694a4876676b707544576375755053435a4e516758 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 45544b78666e655a614168694a4876676b707544576375755053435a4e516758 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 484c72646449584470656a50416879436a55585565774e6473574c575a616e66 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 484c72646449584470656a50416879436a55585565774e6473574c575a616e66 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 6f73654e707a6e674347666b5853464679796f6c564b576c5a47495a58767075 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 6f73654e707a6e674347666b5853464679796f6c564b576c5a47495a58767075 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 72667765747866516d794642667a4449586d4358436743616d55445a584c4466 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 72667765747866516d794642667a4449586d4358436743616d55445a584c4466 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 7a4c4e644d73667656667a5745706773637273764e794d45596f486c4c4c4b71 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 7a4c4e644d73667656667a5745706773637273764e794d45596f486c4c4c4b71 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 545363474a427a4879675a624763516f67687275786362777171624265454378 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 545363474a427a4879675a624763516f67687275786362777171624265454378 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 4f6b7a6359586447694e4d7471584747655053637863786a63666b6a5a74566a esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 4f6b7a6359586447694e4d7471584747655053637863786a63666b6a5a74566a esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 534b4b6d5a654842657370746c5965696f764251564f4c6e755757467a626659 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 534b4b6d5a654842657370746c5965696f764251564f4c6e755757467a626659 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 546b726770735a704a6b68454c7155454d416b4d414e626d534d4f735253504e esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 546b726770735a704a6b68454c7155454d416b4d414e626d534d4f735253504e esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 47567141737946684a4f4a6a744c747a58784e484d686879666b667559696e65 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 47567141737946684a4f4a6a744c747a58784e484d686879666b667559696e65 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 686a684c6f6c6250524570487a515843516c494c676a6e4d65555a696a495946 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 686a684c6f6c6250524570487a515843516c494c676a6e4d65555a696a495946 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 6b786967665173506b477641547248735641436d7973595559707754576e4d4f esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 6b786967665173506b477641547248735641436d7973595559707754576e4d4f esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 634f59594d414e42574f517a4e6e6c6f73624d4c674a4370626d764e586f7859 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 634f59594d414e42574f517a4e6e6c6f73624d4c674a4370626d764e586f7859 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 7053426556704e71514952435a5a6a457063767346655759774e42504b6d4972 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 7053426556704e71514952435a5a6a457063767346655759774e42504b6d4972 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 627748537654776c504e674274415a7a5745516c57677a6c67765a746c5a7576 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 627748537654776c504e674274415a7a5745516c57677a6c67765a746c5a7576 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 666365514a5049597062427072437444477551656b5356544f5474416d515376 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 666365514a5049597062427072437444477551656b5356544f5474416d515376 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 5a575a7174434577635a4d795177616278414c79455676444b537a44424b6c74 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 5a575a7174434577635a4d795177616278414c79455676444b537a44424b6c74 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 686d41666441437664485a4c4f4864495467567072714478615a4d6c45426f54 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 686d41666441437664485a4c4f4864495467567072714478615a4d6c45426f54 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 6245625a614a4d5a4c73486245545669474543796e6f7a4946424a424259574e esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 6245625a614a4d5a4c73486245545669474543796e6f7a4946424a424259574e esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 59634973417a6567575a4c68777662534d5372554c4e52486244754f5a4c6c51 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 59634973417a6567575a4c68777662534d5372554c4e52486244754f5a4c6c51 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 786b70466c50564442424f7750586c514f4957446a5868755265557367567946 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 786b70466c50564442424f7750586c514f4957446a5868755265557367567946 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 504c417a53676e7a4a415979455142536f4c6744556c66684f5966796b794d47 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 504c417a53676e7a4a415979455142536f4c6744556c66684f5966796b794d47 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 52594152794f53554f6e49787466635474494f4f6c756a6e5559416462527275 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 52594152794f53554f6e49787466635474494f4f6c756a6e5559416462527275 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 696d776d424956674b7079644247446445665a4e727043615979557265746478 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 696d776d424956674b7079644247446445665a4e727043615979557265746478 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 687551546e6d4b4a766846427761476b50436a506d566f51524378584541744a esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 687551546e6d4b4a766846427761476b50436a506d566f51524378584541744a esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 4f49557078436a74764f656b7971744b69744b73475a61624a6357584b6a4e73 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 4f49557078436a74764f656b7971744b69744b73475a61624a6357584b6a4e73 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 54766c65794a4c794b78446b634b52784762485565706e4169715975764e6c70 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 54766c65794a4c794b78446b634b52784762485565706e4169715975764e6c70 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 7864584d766163717a526c645243556752796652585a6d48566870664473746c esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 7864584d766163717a526c645243556752796652585a6d48566870664473746c esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 6e46684b574a55414c65714e51516877554446686d664a6f586b776b63674474 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 6e46684b574a55414c65714e51516877554446686d664a6f586b776b63674474 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 6c556171705870696a4b4a62546a657a4d69697149686c477042504b7a744762 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 6c556171705870696a4b4a62546a657a4d69697149686c477042504b7a744762 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 4759754a7842746b4370454a74506e4d67775065545357754a57436370595453 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 4759754a7842746b4370454a74506e4d67775065545357754a57436370595453 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 41646f71734a7367456c65566b6c74656a6c52534150794d4f4d6d716767737a esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 41646f71734a7367456c65566b6c74656a6c52534150794d4f4d6d716767737a esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 446b6b4d627a74677a4f755365775743706d6378744e505048725a714b42434b esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 446b6b4d627a74677a4f755365775743706d6378744e505048725a714b42434b esp
exec ipsec tunnel protect ipip39 sa-out 100039 sa-in 39 add
exec ip route add 100.0.0.1/8 via 200.0.0.1 TwentyFiveGigabitEthernet3b/0/1
exec set interface unnumbered ipip0 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip0 up
exec ip route add 10.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip1 up
exec ip route add 10.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip2 up
exec ip route add 10.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip3 up
exec ip route add 10.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip4 up
exec ip route add 10.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip5 up
exec ip route add 10.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip6 up
exec ip route add 10.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip7 up
exec ip route add 10.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip8 up
exec ip route add 10.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip9 up
exec ip route add 10.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip10 up
exec ip route add 10.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip11 up
exec ip route add 10.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip12 up
exec ip route add 10.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip13 up
exec ip route add 10.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip14 up
exec ip route add 10.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip15 up
exec ip route add 10.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip16 up
exec ip route add 10.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip17 up
exec ip route add 10.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip18 up
exec ip route add 10.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip19 up
exec ip route add 10.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip20 up
exec ip route add 10.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip21 up
exec ip route add 10.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip22 up
exec ip route add 10.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip23 up
exec ip route add 10.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip24 up
exec ip route add 10.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip25 up
exec ip route add 10.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip26 up
exec ip route add 10.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip27 up
exec ip route add 10.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip28 up
exec ip route add 10.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip29 up
exec ip route add 10.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip30 up
exec ip route add 10.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip31 up
exec ip route add 10.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip32 up
exec ip route add 10.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip33 up
exec ip route add 10.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip34 up
exec ip route add 10.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip35 up
exec ip route add 10.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip36 up
exec ip route add 10.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip37 up
exec ip route add 10.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip38 up
exec ip route add 10.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip39 up
exec ip route add 10.0.0.39/32 via ipip39

 1518b-2t1c-ethip4ipsec40tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec create loopback interface
exec set interface state loop0 up
exec set interface ip address TwentyFiveGigabitEthernet3b/0/1 200.0.0.1/24
exec set ip neighbor TwentyFiveGigabitEthernet3b/0/1 200.0.0.2 3c:fd:fe:bd:f8:fd static
exec set interface ip address loop0 100.0.0.1/32
exec create ipip tunnel src 100.0.0.1 dst 200.0.0.2 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 62716963577a6e6651525042444a4f726d58506564674e64764a5958696b616b esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 62716963577a6e6651525042444a4f726d58506564674e64764a5958696b616b esp
exec ipsec tunnel protect ipip0 sa-out 0 sa-in 100000 add
exec set interface ip address loop0 100.0.1.1/32
exec create ipip tunnel src 100.0.1.1 dst 200.0.0.2 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 77557a5049576451784f696966575367477a50554e6444626a6c6b41556a4c47 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 77557a5049576451784f696966575367477a50554e6444626a6c6b41556a4c47 esp
exec ipsec tunnel protect ipip1 sa-out 1 sa-in 100001 add
exec set interface ip address loop0 100.0.2.1/32
exec create ipip tunnel src 100.0.2.1 dst 200.0.0.2 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 51454d4e65644e73754d63615a6178754f4d6f6a496a57444f77656b6159567a esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 51454d4e65644e73754d63615a6178754f4d6f6a496a57444f77656b6159567a esp
exec ipsec tunnel protect ipip2 sa-out 2 sa-in 100002 add
exec set interface ip address loop0 100.0.3.1/32
exec create ipip tunnel src 100.0.3.1 dst 200.0.0.2 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 6b775a426243636556526670657667555654797a7971434b6f724b4f4a777046 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 6b775a426243636556526670657667555654797a7971434b6f724b4f4a777046 esp
exec ipsec tunnel protect ipip3 sa-out 3 sa-in 100003 add
exec set interface ip address loop0 100.0.4.1/32
exec create ipip tunnel src 100.0.4.1 dst 200.0.0.2 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 74467975574a79514145416c454678414b4c51514b635a4a4d456e7847664c54 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 74467975574a79514145416c454678414b4c51514b635a4a4d456e7847664c54 esp
exec ipsec tunnel protect ipip4 sa-out 4 sa-in 100004 add
exec set interface ip address loop0 100.0.5.1/32
exec create ipip tunnel src 100.0.5.1 dst 200.0.0.2 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 41694c63704c4673506b6e505a4b6752725546694c646748495743734d656c4c esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 41694c63704c4673506b6e505a4b6752725546694c646748495743734d656c4c esp
exec ipsec tunnel protect ipip5 sa-out 5 sa-in 100005 add
exec set interface ip address loop0 100.0.6.1/32
exec create ipip tunnel src 100.0.6.1 dst 200.0.0.2 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 4a5465416c64794e644655595357466a7363756e46486349656765684d6e4a76 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 4a5465416c64794e644655595357466a7363756e46486349656765684d6e4a76 esp
exec ipsec tunnel protect ipip6 sa-out 6 sa-in 100006 add
exec set interface ip address loop0 100.0.7.1/32
exec create ipip tunnel src 100.0.7.1 dst 200.0.0.2 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 636a6f6c59504573494f7959544a445376464a494d7451785955516e68766345 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 636a6f6c59504573494f7959544a445376464a494d7451785955516e68766345 esp
exec ipsec tunnel protect ipip7 sa-out 7 sa-in 100007 add
exec set interface ip address loop0 100.0.8.1/32
exec create ipip tunnel src 100.0.8.1 dst 200.0.0.2 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 706a4668515a4944444171696b765a77707665736a625a79476b41566b444572 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 706a4668515a4944444171696b765a77707665736a625a79476b41566b444572 esp
exec ipsec tunnel protect ipip8 sa-out 8 sa-in 100008 add
exec set interface ip address loop0 100.0.9.1/32
exec create ipip tunnel src 100.0.9.1 dst 200.0.0.2 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 516f47664365654961624e65674a5356714253776873534e4f65654277774874 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 516f47664365654961624e65674a5356714253776873534e4f65654277774874 esp
exec ipsec tunnel protect ipip9 sa-out 9 sa-in 100009 add
exec set interface ip address loop0 100.0.10.1/32
exec create ipip tunnel src 100.0.10.1 dst 200.0.0.2 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 6c5747754c795259536a4e6b6845765870666b695645584e4577576461546e53 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 6c5747754c795259536a4e6b6845765870666b695645584e4577576461546e53 esp
exec ipsec tunnel protect ipip10 sa-out 10 sa-in 100010 add
exec set interface ip address loop0 100.0.11.1/32
exec create ipip tunnel src 100.0.11.1 dst 200.0.0.2 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 575541676f485a6266444542775477574e56454458564a71656e794e70537342 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 575541676f485a6266444542775477574e56454458564a71656e794e70537342 esp
exec ipsec tunnel protect ipip11 sa-out 11 sa-in 100011 add
exec set interface ip address loop0 100.0.12.1/32
exec create ipip tunnel src 100.0.12.1 dst 200.0.0.2 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 6e644443474779494c43614c75694a7a4762747a7558434c48634a6973796673 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 6e644443474779494c43614c75694a7a4762747a7558434c48634a6973796673 esp
exec ipsec tunnel protect ipip12 sa-out 12 sa-in 100012 add
exec set interface ip address loop0 100.0.13.1/32
exec create ipip tunnel src 100.0.13.1 dst 200.0.0.2 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 567462486e4e4f614e46644743446d52525755556570504165624a4c46677977 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 567462486e4e4f614e46644743446d52525755556570504165624a4c46677977 esp
exec ipsec tunnel protect ipip13 sa-out 13 sa-in 100013 add
exec set interface ip address loop0 100.0.14.1/32
exec create ipip tunnel src 100.0.14.1 dst 200.0.0.2 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 54757a5662535775446463744d45776e526c76735265724a41777662426b7078 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 54757a5662535775446463744d45776e526c76735265724a41777662426b7078 esp
exec ipsec tunnel protect ipip14 sa-out 14 sa-in 100014 add
exec set interface ip address loop0 100.0.15.1/32
exec create ipip tunnel src 100.0.15.1 dst 200.0.0.2 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 4246546a4a42694958477a7363696a48676362746a70696a517a6f665544524b esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 4246546a4a42694958477a7363696a48676362746a70696a517a6f665544524b esp
exec ipsec tunnel protect ipip15 sa-out 15 sa-in 100015 add
exec set interface ip address loop0 100.0.16.1/32
exec create ipip tunnel src 100.0.16.1 dst 200.0.0.2 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 756753477363796b6b5a71707971694e6b695362786e79567542716b49634279 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 756753477363796b6b5a71707971694e6b695362786e79567542716b49634279 esp
exec ipsec tunnel protect ipip16 sa-out 16 sa-in 100016 add
exec set interface ip address loop0 100.0.17.1/32
exec create ipip tunnel src 100.0.17.1 dst 200.0.0.2 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 64744e6e514871525a7a6c61576250676f4f656c4467546549486d674b627767 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 64744e6e514871525a7a6c61576250676f4f656c4467546549486d674b627767 esp
exec ipsec tunnel protect ipip17 sa-out 17 sa-in 100017 add
exec set interface ip address loop0 100.0.18.1/32
exec create ipip tunnel src 100.0.18.1 dst 200.0.0.2 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 6568584c676e4267736e4664426c6f554b5250487a73424670794170674b7068 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 6568584c676e4267736e4664426c6f554b5250487a73424670794170674b7068 esp
exec ipsec tunnel protect ipip18 sa-out 18 sa-in 100018 add
exec set interface ip address loop0 100.0.19.1/32
exec create ipip tunnel src 100.0.19.1 dst 200.0.0.2 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 4b50664b637446794d6479626c59747973426a68694a50504d78764b56677754 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 4b50664b637446794d6479626c59747973426a68694a50504d78764b56677754 esp
exec ipsec tunnel protect ipip19 sa-out 19 sa-in 100019 add
exec set interface ip address loop0 100.0.20.1/32
exec create ipip tunnel src 100.0.20.1 dst 200.0.0.2 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 7366556e776d724d4a69766271794a48766849724c51684e7371766f4b764f72 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 7366556e776d724d4a69766271794a48766849724c51684e7371766f4b764f72 esp
exec ipsec tunnel protect ipip20 sa-out 20 sa-in 100020 add
exec set interface ip address loop0 100.0.21.1/32
exec create ipip tunnel src 100.0.21.1 dst 200.0.0.2 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 454c654543796f62776b626979774b6a4a456f517661734c49656c6147467071 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 454c654543796f62776b626979774b6a4a456f517661734c49656c6147467071 esp
exec ipsec tunnel protect ipip21 sa-out 21 sa-in 100021 add
exec set interface ip address loop0 100.0.22.1/32
exec create ipip tunnel src 100.0.22.1 dst 200.0.0.2 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 6861536f794c774b636b6e4e4e444f536372454e7843504268676747596c6277 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 6861536f794c774b636b6e4e4e444f536372454e7843504268676747596c6277 esp
exec ipsec tunnel protect ipip22 sa-out 22 sa-in 100022 add
exec set interface ip address loop0 100.0.23.1/32
exec create ipip tunnel src 100.0.23.1 dst 200.0.0.2 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 4a74504d474e7a4769446264725649487346775371766a5372794e4f6e55686d esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 4a74504d474e7a4769446264725649487346775371766a5372794e4f6e55686d esp
exec ipsec tunnel protect ipip23 sa-out 23 sa-in 100023 add
exec set interface ip address loop0 100.0.24.1/32
exec create ipip tunnel src 100.0.24.1 dst 200.0.0.2 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 6f4242434378456b744f4a7771505958507165636d4d764f63624a55554f6d67 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 6f4242434378456b744f4a7771505958507165636d4d764f63624a55554f6d67 esp
exec ipsec tunnel protect ipip24 sa-out 24 sa-in 100024 add
exec set interface ip address loop0 100.0.25.1/32
exec create ipip tunnel src 100.0.25.1 dst 200.0.0.2 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 4845526c7167705976654762455954514d4d68554a6c736e5758667171664263 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 4845526c7167705976654762455954514d4d68554a6c736e5758667171664263 esp
exec ipsec tunnel protect ipip25 sa-out 25 sa-in 100025 add
exec set interface ip address loop0 100.0.26.1/32
exec create ipip tunnel src 100.0.26.1 dst 200.0.0.2 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 7767524f6378614f4c70736579434174636e46584441796c67524a59784f5949 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 7767524f6378614f4c70736579434174636e46584441796c67524a59784f5949 esp
exec ipsec tunnel protect ipip26 sa-out 26 sa-in 100026 add
exec set interface ip address loop0 100.0.27.1/32
exec create ipip tunnel src 100.0.27.1 dst 200.0.0.2 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 4462684b6f70626748675741616b667a68456367446867446d4565485861626e esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 4462684b6f70626748675741616b667a68456367446867446d4565485861626e esp
exec ipsec tunnel protect ipip27 sa-out 27 sa-in 100027 add
exec set interface ip address loop0 100.0.28.1/32
exec create ipip tunnel src 100.0.28.1 dst 200.0.0.2 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 725359534e4943614c6f6f6c6347785a554b5a546d4c67696759416a6e445a57 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 725359534e4943614c6f6f6c6347785a554b5a546d4c67696759416a6e445a57 esp
exec ipsec tunnel protect ipip28 sa-out 28 sa-in 100028 add
exec set interface ip address loop0 100.0.29.1/32
exec create ipip tunnel src 100.0.29.1 dst 200.0.0.2 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 757742745547684c557967626177686375745a744b4e796f6a4f45764266464d esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 757742745547684c557967626177686375745a744b4e796f6a4f45764266464d esp
exec ipsec tunnel protect ipip29 sa-out 29 sa-in 100029 add
exec set interface ip address loop0 100.0.30.1/32
exec create ipip tunnel src 100.0.30.1 dst 200.0.0.2 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 73584c7a486e7945494b6561464776504373755446425249444b6545714b6551 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 73584c7a486e7945494b6561464776504373755446425249444b6545714b6551 esp
exec ipsec tunnel protect ipip30 sa-out 30 sa-in 100030 add
exec set interface ip address loop0 100.0.31.1/32
exec create ipip tunnel src 100.0.31.1 dst 200.0.0.2 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 5a717443427363425651576d4c7a736c4b7756756a48706347634c706f494e49 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 5a717443427363425651576d4c7a736c4b7756756a48706347634c706f494e49 esp
exec ipsec tunnel protect ipip31 sa-out 31 sa-in 100031 add
exec set interface ip address loop0 100.0.32.1/32
exec create ipip tunnel src 100.0.32.1 dst 200.0.0.2 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 4e48624551766e486f62504e4c694f494b756f69736e464c415070474c516c6b esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 4e48624551766e486f62504e4c694f494b756f69736e464c415070474c516c6b esp
exec ipsec tunnel protect ipip32 sa-out 32 sa-in 100032 add
exec set interface ip address loop0 100.0.33.1/32
exec create ipip tunnel src 100.0.33.1 dst 200.0.0.2 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 6e73735a525155417971576341536175506972546d4e43647347744855695944 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 6e73735a525155417971576341536175506972546d4e43647347744855695944 esp
exec ipsec tunnel protect ipip33 sa-out 33 sa-in 100033 add
exec set interface ip address loop0 100.0.34.1/32
exec create ipip tunnel src 100.0.34.1 dst 200.0.0.2 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 7869567a4d7056774752476465596d6274636b6e7774724a62524e5746715653 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 7869567a4d7056774752476465596d6274636b6e7774724a62524e5746715653 esp
exec ipsec tunnel protect ipip34 sa-out 34 sa-in 100034 add
exec set interface ip address loop0 100.0.35.1/32
exec create ipip tunnel src 100.0.35.1 dst 200.0.0.2 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 525975766a53676b696c6e715164434365774a5a584e426276527473754d7766 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 525975766a53676b696c6e715164434365774a5a584e426276527473754d7766 esp
exec ipsec tunnel protect ipip35 sa-out 35 sa-in 100035 add
exec set interface ip address loop0 100.0.36.1/32
exec create ipip tunnel src 100.0.36.1 dst 200.0.0.2 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 6d466c6d647a4945716870445a635879694948476744456a727a68546a5a4d48 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 6d466c6d647a4945716870445a635879694948476744456a727a68546a5a4d48 esp
exec ipsec tunnel protect ipip36 sa-out 36 sa-in 100036 add
exec set interface ip address loop0 100.0.37.1/32
exec create ipip tunnel src 100.0.37.1 dst 200.0.0.2 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 69714346414e506b77707a7a436f6846696a53434f6474656e57676866597a46 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 69714346414e506b77707a7a436f6846696a53434f6474656e57676866597a46 esp
exec ipsec tunnel protect ipip37 sa-out 37 sa-in 100037 add
exec set interface ip address loop0 100.0.38.1/32
exec create ipip tunnel src 100.0.38.1 dst 200.0.0.2 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 4d67554b7446597477564846647471636b4371565948446e5754494c6e425846 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 4d67554b7446597477564846647471636b4371565948446e5754494c6e425846 esp
exec ipsec tunnel protect ipip38 sa-out 38 sa-in 100038 add
exec set interface ip address loop0 100.0.39.1/32
exec create ipip tunnel src 100.0.39.1 dst 200.0.0.2 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 7964584d464e776c7958576c634458666470657146654b5a6e676c4346616276 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 7964584d464e776c7958576c634458666470657146654b5a6e676c4346616276 esp
exec ipsec tunnel protect ipip39 sa-out 39 sa-in 100039 add
exec set interface unnumbered ipip0 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip0 up
exec ip route add 20.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip1 up
exec ip route add 20.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip2 up
exec ip route add 20.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip3 up
exec ip route add 20.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip4 up
exec ip route add 20.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip5 up
exec ip route add 20.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip6 up
exec ip route add 20.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip7 up
exec ip route add 20.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip8 up
exec ip route add 20.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip9 up
exec ip route add 20.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip10 up
exec ip route add 20.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip11 up
exec ip route add 20.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip12 up
exec ip route add 20.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip13 up
exec ip route add 20.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip14 up
exec ip route add 20.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip15 up
exec ip route add 20.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip16 up
exec ip route add 20.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip17 up
exec ip route add 20.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip18 up
exec ip route add 20.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip19 up
exec ip route add 20.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip20 up
exec ip route add 20.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip21 up
exec ip route add 20.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip22 up
exec ip route add 20.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip23 up
exec ip route add 20.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip24 up
exec ip route add 20.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip25 up
exec ip route add 20.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip26 up
exec ip route add 20.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip27 up
exec ip route add 20.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip28 up
exec ip route add 20.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip29 up
exec ip route add 20.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip30 up
exec ip route add 20.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip31 up
exec ip route add 20.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip32 up
exec ip route add 20.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip33 up
exec ip route add 20.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip34 up
exec ip route add 20.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip35 up
exec ip route add 20.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip36 up
exec ip route add 20.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip37 up
exec ip route add 20.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip38 up
exec ip route add 20.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip39 up
exec ip route add 20.0.0.39/32 via ipip39
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec set interface ip address TwentyFiveGigabitEthernet3b/0/1 200.0.0.2/24.0
exec create ipip tunnel src 200.0.0.2 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 62716963577a6e6651525042444a4f726d58506564674e64764a5958696b616b esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 62716963577a6e6651525042444a4f726d58506564674e64764a5958696b616b esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 77557a5049576451784f696966575367477a50554e6444626a6c6b41556a4c47 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 77557a5049576451784f696966575367477a50554e6444626a6c6b41556a4c47 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 51454d4e65644e73754d63615a6178754f4d6f6a496a57444f77656b6159567a esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 51454d4e65644e73754d63615a6178754f4d6f6a496a57444f77656b6159567a esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 6b775a426243636556526670657667555654797a7971434b6f724b4f4a777046 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 6b775a426243636556526670657667555654797a7971434b6f724b4f4a777046 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 74467975574a79514145416c454678414b4c51514b635a4a4d456e7847664c54 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 74467975574a79514145416c454678414b4c51514b635a4a4d456e7847664c54 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 41694c63704c4673506b6e505a4b6752725546694c646748495743734d656c4c esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 41694c63704c4673506b6e505a4b6752725546694c646748495743734d656c4c esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 4a5465416c64794e644655595357466a7363756e46486349656765684d6e4a76 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 4a5465416c64794e644655595357466a7363756e46486349656765684d6e4a76 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 636a6f6c59504573494f7959544a445376464a494d7451785955516e68766345 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 636a6f6c59504573494f7959544a445376464a494d7451785955516e68766345 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 706a4668515a4944444171696b765a77707665736a625a79476b41566b444572 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 706a4668515a4944444171696b765a77707665736a625a79476b41566b444572 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 516f47664365654961624e65674a5356714253776873534e4f65654277774874 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 516f47664365654961624e65674a5356714253776873534e4f65654277774874 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 6c5747754c795259536a4e6b6845765870666b695645584e4577576461546e53 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 6c5747754c795259536a4e6b6845765870666b695645584e4577576461546e53 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 575541676f485a6266444542775477574e56454458564a71656e794e70537342 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 575541676f485a6266444542775477574e56454458564a71656e794e70537342 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 6e644443474779494c43614c75694a7a4762747a7558434c48634a6973796673 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 6e644443474779494c43614c75694a7a4762747a7558434c48634a6973796673 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 567462486e4e4f614e46644743446d52525755556570504165624a4c46677977 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 567462486e4e4f614e46644743446d52525755556570504165624a4c46677977 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 54757a5662535775446463744d45776e526c76735265724a41777662426b7078 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 54757a5662535775446463744d45776e526c76735265724a41777662426b7078 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 4246546a4a42694958477a7363696a48676362746a70696a517a6f665544524b esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 4246546a4a42694958477a7363696a48676362746a70696a517a6f665544524b esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 756753477363796b6b5a71707971694e6b695362786e79567542716b49634279 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 756753477363796b6b5a71707971694e6b695362786e79567542716b49634279 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 64744e6e514871525a7a6c61576250676f4f656c4467546549486d674b627767 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 64744e6e514871525a7a6c61576250676f4f656c4467546549486d674b627767 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 6568584c676e4267736e4664426c6f554b5250487a73424670794170674b7068 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 6568584c676e4267736e4664426c6f554b5250487a73424670794170674b7068 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 4b50664b637446794d6479626c59747973426a68694a50504d78764b56677754 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 4b50664b637446794d6479626c59747973426a68694a50504d78764b56677754 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 7366556e776d724d4a69766271794a48766849724c51684e7371766f4b764f72 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 7366556e776d724d4a69766271794a48766849724c51684e7371766f4b764f72 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 454c654543796f62776b626979774b6a4a456f517661734c49656c6147467071 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 454c654543796f62776b626979774b6a4a456f517661734c49656c6147467071 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 6861536f794c774b636b6e4e4e444f536372454e7843504268676747596c6277 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 6861536f794c774b636b6e4e4e444f536372454e7843504268676747596c6277 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 4a74504d474e7a4769446264725649487346775371766a5372794e4f6e55686d esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 4a74504d474e7a4769446264725649487346775371766a5372794e4f6e55686d esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 6f4242434378456b744f4a7771505958507165636d4d764f63624a55554f6d67 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 6f4242434378456b744f4a7771505958507165636d4d764f63624a55554f6d67 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 4845526c7167705976654762455954514d4d68554a6c736e5758667171664263 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 4845526c7167705976654762455954514d4d68554a6c736e5758667171664263 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 7767524f6378614f4c70736579434174636e46584441796c67524a59784f5949 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 7767524f6378614f4c70736579434174636e46584441796c67524a59784f5949 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 4462684b6f70626748675741616b667a68456367446867446d4565485861626e esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 4462684b6f70626748675741616b667a68456367446867446d4565485861626e esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 725359534e4943614c6f6f6c6347785a554b5a546d4c67696759416a6e445a57 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 725359534e4943614c6f6f6c6347785a554b5a546d4c67696759416a6e445a57 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 757742745547684c557967626177686375745a744b4e796f6a4f45764266464d esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 757742745547684c557967626177686375745a744b4e796f6a4f45764266464d esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 73584c7a486e7945494b6561464776504373755446425249444b6545714b6551 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 73584c7a486e7945494b6561464776504373755446425249444b6545714b6551 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 5a717443427363425651576d4c7a736c4b7756756a48706347634c706f494e49 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 5a717443427363425651576d4c7a736c4b7756756a48706347634c706f494e49 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 4e48624551766e486f62504e4c694f494b756f69736e464c415070474c516c6b esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 4e48624551766e486f62504e4c694f494b756f69736e464c415070474c516c6b esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 6e73735a525155417971576341536175506972546d4e43647347744855695944 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 6e73735a525155417971576341536175506972546d4e43647347744855695944 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 7869567a4d7056774752476465596d6274636b6e7774724a62524e5746715653 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 7869567a4d7056774752476465596d6274636b6e7774724a62524e5746715653 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 525975766a53676b696c6e715164434365774a5a584e426276527473754d7766 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 525975766a53676b696c6e715164434365774a5a584e426276527473754d7766 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 6d466c6d647a4945716870445a635879694948476744456a727a68546a5a4d48 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 6d466c6d647a4945716870445a635879694948476744456a727a68546a5a4d48 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 69714346414e506b77707a7a436f6846696a53434f6474656e57676866597a46 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 69714346414e506b77707a7a436f6846696a53434f6474656e57676866597a46 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 4d67554b7446597477564846647471636b4371565948446e5754494c6e425846 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 4d67554b7446597477564846647471636b4371565948446e5754494c6e425846 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 7964584d464e776c7958576c634458666470657146654b5a6e676c4346616276 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 7964584d464e776c7958576c634458666470657146654b5a6e676c4346616276 esp
exec ipsec tunnel protect ipip39 sa-out 100039 sa-in 39 add
exec ip route add 100.0.0.1/8 via 200.0.0.1 TwentyFiveGigabitEthernet3b/0/1
exec set interface unnumbered ipip0 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip0 up
exec ip route add 10.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip1 up
exec ip route add 10.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip2 up
exec ip route add 10.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip3 up
exec ip route add 10.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip4 up
exec ip route add 10.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip5 up
exec ip route add 10.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip6 up
exec ip route add 10.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip7 up
exec ip route add 10.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip8 up
exec ip route add 10.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip9 up
exec ip route add 10.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip10 up
exec ip route add 10.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip11 up
exec ip route add 10.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip12 up
exec ip route add 10.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip13 up
exec ip route add 10.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip14 up
exec ip route add 10.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip15 up
exec ip route add 10.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip16 up
exec ip route add 10.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip17 up
exec ip route add 10.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip18 up
exec ip route add 10.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip19 up
exec ip route add 10.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip20 up
exec ip route add 10.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip21 up
exec ip route add 10.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip22 up
exec ip route add 10.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip23 up
exec ip route add 10.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip24 up
exec ip route add 10.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip25 up
exec ip route add 10.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip26 up
exec ip route add 10.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip27 up
exec ip route add 10.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip28 up
exec ip route add 10.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip29 up
exec ip route add 10.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip30 up
exec ip route add 10.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip31 up
exec ip route add 10.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip32 up
exec ip route add 10.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip33 up
exec ip route add 10.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip34 up
exec ip route add 10.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip35 up
exec ip route add 10.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip36 up
exec ip route add 10.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip37 up
exec ip route add 10.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip38 up
exec ip route add 10.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip39 up
exec ip route add 10.0.0.39/32 via ipip39

 1518b-4t2c-ethip4ipsec40tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec create loopback interface
exec set interface state loop0 up
exec set interface ip address TwentyFiveGigabitEthernet3b/0/1 200.0.0.1/24
exec set ip neighbor TwentyFiveGigabitEthernet3b/0/1 200.0.0.2 3c:fd:fe:bd:f8:fd static
exec set interface ip address loop0 100.0.0.1/32
exec create ipip tunnel src 100.0.0.1 dst 200.0.0.2 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 664d616754627957544a446b49536a6444514e5a734e4a5349676e53514d426b esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 664d616754627957544a446b49536a6444514e5a734e4a5349676e53514d426b esp
exec ipsec tunnel protect ipip0 sa-out 0 sa-in 100000 add
exec set interface ip address loop0 100.0.1.1/32
exec create ipip tunnel src 100.0.1.1 dst 200.0.0.2 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 4d74746d797845645054704f49696d474e796f784e507a447949427a77425245 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 4d74746d797845645054704f49696d474e796f784e507a447949427a77425245 esp
exec ipsec tunnel protect ipip1 sa-out 1 sa-in 100001 add
exec set interface ip address loop0 100.0.2.1/32
exec create ipip tunnel src 100.0.2.1 dst 200.0.0.2 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 676a46585650425357794f57424a63726962494e49614c5a6a6f576f54656258 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 676a46585650425357794f57424a63726962494e49614c5a6a6f576f54656258 esp
exec ipsec tunnel protect ipip2 sa-out 2 sa-in 100002 add
exec set interface ip address loop0 100.0.3.1/32
exec create ipip tunnel src 100.0.3.1 dst 200.0.0.2 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 65704342706b7844765a6f73566976716b58427359466a76774b495654435775 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 65704342706b7844765a6f73566976716b58427359466a76774b495654435775 esp
exec ipsec tunnel protect ipip3 sa-out 3 sa-in 100003 add
exec set interface ip address loop0 100.0.4.1/32
exec create ipip tunnel src 100.0.4.1 dst 200.0.0.2 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 795a44546b7973666c53794a7649566d54796a774e474b6e4c4e746d67615866 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 795a44546b7973666c53794a7649566d54796a774e474b6e4c4e746d67615866 esp
exec ipsec tunnel protect ipip4 sa-out 4 sa-in 100004 add
exec set interface ip address loop0 100.0.5.1/32
exec create ipip tunnel src 100.0.5.1 dst 200.0.0.2 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 67654a696b53727876485055734167494c5142587376686a6b75536c5363436c esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 67654a696b53727876485055734167494c5142587376686a6b75536c5363436c esp
exec ipsec tunnel protect ipip5 sa-out 5 sa-in 100005 add
exec set interface ip address loop0 100.0.6.1/32
exec create ipip tunnel src 100.0.6.1 dst 200.0.0.2 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 6f41526f64674f4a7559525762704947735a6174646875794a73486d66796166 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 6f41526f64674f4a7559525762704947735a6174646875794a73486d66796166 esp
exec ipsec tunnel protect ipip6 sa-out 6 sa-in 100006 add
exec set interface ip address loop0 100.0.7.1/32
exec create ipip tunnel src 100.0.7.1 dst 200.0.0.2 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 797a496d4c43444861495458526b6e6964466e657270517861557663435a5244 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 797a496d4c43444861495458526b6e6964466e657270517861557663435a5244 esp
exec ipsec tunnel protect ipip7 sa-out 7 sa-in 100007 add
exec set interface ip address loop0 100.0.8.1/32
exec create ipip tunnel src 100.0.8.1 dst 200.0.0.2 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 7352486a4a69726d4e727041435943466c6566686d454b76425361766a777246 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 7352486a4a69726d4e727041435943466c6566686d454b76425361766a777246 esp
exec ipsec tunnel protect ipip8 sa-out 8 sa-in 100008 add
exec set interface ip address loop0 100.0.9.1/32
exec create ipip tunnel src 100.0.9.1 dst 200.0.0.2 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 6e724955626863784164496356544b4b6c76646e59576768446648797a704471 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 6e724955626863784164496356544b4b6c76646e59576768446648797a704471 esp
exec ipsec tunnel protect ipip9 sa-out 9 sa-in 100009 add
exec set interface ip address loop0 100.0.10.1/32
exec create ipip tunnel src 100.0.10.1 dst 200.0.0.2 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 42687875724e795244615452726f4278614a45434e7a774f7a5a634e59486e4f esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 42687875724e795244615452726f4278614a45434e7a774f7a5a634e59486e4f esp
exec ipsec tunnel protect ipip10 sa-out 10 sa-in 100010 add
exec set interface ip address loop0 100.0.11.1/32
exec create ipip tunnel src 100.0.11.1 dst 200.0.0.2 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 436370654951517a49574963645a6b4d4253716d714e4653616a525363486f77 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 436370654951517a49574963645a6b4d4253716d714e4653616a525363486f77 esp
exec ipsec tunnel protect ipip11 sa-out 11 sa-in 100011 add
exec set interface ip address loop0 100.0.12.1/32
exec create ipip tunnel src 100.0.12.1 dst 200.0.0.2 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 637a50557770537972665a7a4768734466474f637479737a7a78585753436343 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 637a50557770537972665a7a4768734466474f637479737a7a78585753436343 esp
exec ipsec tunnel protect ipip12 sa-out 12 sa-in 100012 add
exec set interface ip address loop0 100.0.13.1/32
exec create ipip tunnel src 100.0.13.1 dst 200.0.0.2 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 7554484266645066755a4b4356417270467044657653587543705877514a5a6a esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 7554484266645066755a4b4356417270467044657653587543705877514a5a6a esp
exec ipsec tunnel protect ipip13 sa-out 13 sa-in 100013 add
exec set interface ip address loop0 100.0.14.1/32
exec create ipip tunnel src 100.0.14.1 dst 200.0.0.2 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 59474e614c64654647685859785a72504f64686677416a447743767978485343 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 59474e614c64654647685859785a72504f64686677416a447743767978485343 esp
exec ipsec tunnel protect ipip14 sa-out 14 sa-in 100014 add
exec set interface ip address loop0 100.0.15.1/32
exec create ipip tunnel src 100.0.15.1 dst 200.0.0.2 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 47514e7971596575794347676c51776c495267676e666f4461794b4a796a7769 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 47514e7971596575794347676c51776c495267676e666f4461794b4a796a7769 esp
exec ipsec tunnel protect ipip15 sa-out 15 sa-in 100015 add
exec set interface ip address loop0 100.0.16.1/32
exec create ipip tunnel src 100.0.16.1 dst 200.0.0.2 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 65457159567368784b57754f6c477959627864516e454154586d796561706b48 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 65457159567368784b57754f6c477959627864516e454154586d796561706b48 esp
exec ipsec tunnel protect ipip16 sa-out 16 sa-in 100016 add
exec set interface ip address loop0 100.0.17.1/32
exec create ipip tunnel src 100.0.17.1 dst 200.0.0.2 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 7463495954497555797a78686c4a497741635066734c7652794d4a6570444869 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 7463495954497555797a78686c4a497741635066734c7652794d4a6570444869 esp
exec ipsec tunnel protect ipip17 sa-out 17 sa-in 100017 add
exec set interface ip address loop0 100.0.18.1/32
exec create ipip tunnel src 100.0.18.1 dst 200.0.0.2 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 504d494d474e75754f765a635762586b47507a72696350786e525a5949464e74 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 504d494d474e75754f765a635762586b47507a72696350786e525a5949464e74 esp
exec ipsec tunnel protect ipip18 sa-out 18 sa-in 100018 add
exec set interface ip address loop0 100.0.19.1/32
exec create ipip tunnel src 100.0.19.1 dst 200.0.0.2 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 44434167447371655546747576666369435871706f70717851615348514b7762 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 44434167447371655546747576666369435871706f70717851615348514b7762 esp
exec ipsec tunnel protect ipip19 sa-out 19 sa-in 100019 add
exec set interface ip address loop0 100.0.20.1/32
exec create ipip tunnel src 100.0.20.1 dst 200.0.0.2 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 65516c445072454a576a67694448646c636a7855696c5a534e74586a5a70614d esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 65516c445072454a576a67694448646c636a7855696c5a534e74586a5a70614d esp
exec ipsec tunnel protect ipip20 sa-out 20 sa-in 100020 add
exec set interface ip address loop0 100.0.21.1/32
exec create ipip tunnel src 100.0.21.1 dst 200.0.0.2 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 7a76716c474c7a45576448716b5349726c6b4e727869496c4c4b61516a744b69 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 7a76716c474c7a45576448716b5349726c6b4e727869496c4c4b61516a744b69 esp
exec ipsec tunnel protect ipip21 sa-out 21 sa-in 100021 add
exec set interface ip address loop0 100.0.22.1/32
exec create ipip tunnel src 100.0.22.1 dst 200.0.0.2 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 486d5262554b7656497663714e7464567a5a714b416a6a5344447a42746f7070 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 486d5262554b7656497663714e7464567a5a714b416a6a5344447a42746f7070 esp
exec ipsec tunnel protect ipip22 sa-out 22 sa-in 100022 add
exec set interface ip address loop0 100.0.23.1/32
exec create ipip tunnel src 100.0.23.1 dst 200.0.0.2 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 76714167784e6847474d76527361426f6b63754877797149576345476b636761 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 76714167784e6847474d76527361426f6b63754877797149576345476b636761 esp
exec ipsec tunnel protect ipip23 sa-out 23 sa-in 100023 add
exec set interface ip address loop0 100.0.24.1/32
exec create ipip tunnel src 100.0.24.1 dst 200.0.0.2 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 714d666279517047586455424a56624443656a4b64616463486c77467a6d5163 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 714d666279517047586455424a56624443656a4b64616463486c77467a6d5163 esp
exec ipsec tunnel protect ipip24 sa-out 24 sa-in 100024 add
exec set interface ip address loop0 100.0.25.1/32
exec create ipip tunnel src 100.0.25.1 dst 200.0.0.2 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 5a45787550716d614a494c4a6567766f6f59534f77456e5652516b7850655948 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 5a45787550716d614a494c4a6567766f6f59534f77456e5652516b7850655948 esp
exec ipsec tunnel protect ipip25 sa-out 25 sa-in 100025 add
exec set interface ip address loop0 100.0.26.1/32
exec create ipip tunnel src 100.0.26.1 dst 200.0.0.2 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 6767695a6a6d4575657059576e48497a4a59594f776c54664770684a6b515167 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 6767695a6a6d4575657059576e48497a4a59594f776c54664770684a6b515167 esp
exec ipsec tunnel protect ipip26 sa-out 26 sa-in 100026 add
exec set interface ip address loop0 100.0.27.1/32
exec create ipip tunnel src 100.0.27.1 dst 200.0.0.2 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 6871697743537858644d69636676734572776d426d70797867746d534464465a esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 6871697743537858644d69636676734572776d426d70797867746d534464465a esp
exec ipsec tunnel protect ipip27 sa-out 27 sa-in 100027 add
exec set interface ip address loop0 100.0.28.1/32
exec create ipip tunnel src 100.0.28.1 dst 200.0.0.2 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 4962477054736d7157596b514843626741547070734778495a556656786a5a77 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 4962477054736d7157596b514843626741547070734778495a556656786a5a77 esp
exec ipsec tunnel protect ipip28 sa-out 28 sa-in 100028 add
exec set interface ip address loop0 100.0.29.1/32
exec create ipip tunnel src 100.0.29.1 dst 200.0.0.2 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 744572777579687050516f72574e78485270524c57444b4a716a426855675970 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 744572777579687050516f72574e78485270524c57444b4a716a426855675970 esp
exec ipsec tunnel protect ipip29 sa-out 29 sa-in 100029 add
exec set interface ip address loop0 100.0.30.1/32
exec create ipip tunnel src 100.0.30.1 dst 200.0.0.2 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 6d4265684a637669696a776459445a736e6f6e665644586d576a686579684c51 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 6d4265684a637669696a776459445a736e6f6e665644586d576a686579684c51 esp
exec ipsec tunnel protect ipip30 sa-out 30 sa-in 100030 add
exec set interface ip address loop0 100.0.31.1/32
exec create ipip tunnel src 100.0.31.1 dst 200.0.0.2 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 755a4e4563565058564e6d466f786d416d754d74574d714d4256566967457454 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 755a4e4563565058564e6d466f786d416d754d74574d714d4256566967457454 esp
exec ipsec tunnel protect ipip31 sa-out 31 sa-in 100031 add
exec set interface ip address loop0 100.0.32.1/32
exec create ipip tunnel src 100.0.32.1 dst 200.0.0.2 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 5665626956726b42745948676f507a5a50444164596259516f5944726a634a6d esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 5665626956726b42745948676f507a5a50444164596259516f5944726a634a6d esp
exec ipsec tunnel protect ipip32 sa-out 32 sa-in 100032 add
exec set interface ip address loop0 100.0.33.1/32
exec create ipip tunnel src 100.0.33.1 dst 200.0.0.2 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 5172784d695a4750556174714c4962454a61626c704d616d617a6e5861567a65 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 5172784d695a4750556174714c4962454a61626c704d616d617a6e5861567a65 esp
exec ipsec tunnel protect ipip33 sa-out 33 sa-in 100033 add
exec set interface ip address loop0 100.0.34.1/32
exec create ipip tunnel src 100.0.34.1 dst 200.0.0.2 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 504b684d514a706e5a7562516b7844544c6a7a6a7a537653484576567859724f esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 504b684d514a706e5a7562516b7844544c6a7a6a7a537653484576567859724f esp
exec ipsec tunnel protect ipip34 sa-out 34 sa-in 100034 add
exec set interface ip address loop0 100.0.35.1/32
exec create ipip tunnel src 100.0.35.1 dst 200.0.0.2 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 64675064527055564e6c4845524f7969625666597a57724d527a535a68657a69 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 64675064527055564e6c4845524f7969625666597a57724d527a535a68657a69 esp
exec ipsec tunnel protect ipip35 sa-out 35 sa-in 100035 add
exec set interface ip address loop0 100.0.36.1/32
exec create ipip tunnel src 100.0.36.1 dst 200.0.0.2 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 6a777857467369526e4c625253546d6e4b58467863746d514655586673694d62 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 6a777857467369526e4c625253546d6e4b58467863746d514655586673694d62 esp
exec ipsec tunnel protect ipip36 sa-out 36 sa-in 100036 add
exec set interface ip address loop0 100.0.37.1/32
exec create ipip tunnel src 100.0.37.1 dst 200.0.0.2 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 674e4569677941757a79676a43517155726a6f6e61684561664d57574b476e4d esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 674e4569677941757a79676a43517155726a6f6e61684561664d57574b476e4d esp
exec ipsec tunnel protect ipip37 sa-out 37 sa-in 100037 add
exec set interface ip address loop0 100.0.38.1/32
exec create ipip tunnel src 100.0.38.1 dst 200.0.0.2 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 6379786e4e5345484962546f515a4f736c41424e75645a626643686469494e59 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 6379786e4e5345484962546f515a4f736c41424e75645a626643686469494e59 esp
exec ipsec tunnel protect ipip38 sa-out 38 sa-in 100038 add
exec set interface ip address loop0 100.0.39.1/32
exec create ipip tunnel src 100.0.39.1 dst 200.0.0.2 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 444171704c4c58556d594a55674a6a7141775264677a755a47784e75456d686a esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 444171704c4c58556d594a55674a6a7141775264677a755a47784e75456d686a esp
exec ipsec tunnel protect ipip39 sa-out 39 sa-in 100039 add
exec set interface unnumbered ipip0 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip0 up
exec ip route add 20.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip1 up
exec ip route add 20.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip2 up
exec ip route add 20.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip3 up
exec ip route add 20.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip4 up
exec ip route add 20.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip5 up
exec ip route add 20.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip6 up
exec ip route add 20.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip7 up
exec ip route add 20.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip8 up
exec ip route add 20.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip9 up
exec ip route add 20.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip10 up
exec ip route add 20.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip11 up
exec ip route add 20.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip12 up
exec ip route add 20.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip13 up
exec ip route add 20.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip14 up
exec ip route add 20.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip15 up
exec ip route add 20.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip16 up
exec ip route add 20.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip17 up
exec ip route add 20.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip18 up
exec ip route add 20.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip19 up
exec ip route add 20.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip20 up
exec ip route add 20.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip21 up
exec ip route add 20.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip22 up
exec ip route add 20.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip23 up
exec ip route add 20.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip24 up
exec ip route add 20.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip25 up
exec ip route add 20.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip26 up
exec ip route add 20.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip27 up
exec ip route add 20.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip28 up
exec ip route add 20.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip29 up
exec ip route add 20.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip30 up
exec ip route add 20.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip31 up
exec ip route add 20.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip32 up
exec ip route add 20.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip33 up
exec ip route add 20.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip34 up
exec ip route add 20.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip35 up
exec ip route add 20.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip36 up
exec ip route add 20.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip37 up
exec ip route add 20.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip38 up
exec ip route add 20.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip39 up
exec ip route add 20.0.0.39/32 via ipip39
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec set interface ip address TwentyFiveGigabitEthernet3b/0/1 200.0.0.2/24.0
exec create ipip tunnel src 200.0.0.2 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 664d616754627957544a446b49536a6444514e5a734e4a5349676e53514d426b esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 664d616754627957544a446b49536a6444514e5a734e4a5349676e53514d426b esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 4d74746d797845645054704f49696d474e796f784e507a447949427a77425245 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 4d74746d797845645054704f49696d474e796f784e507a447949427a77425245 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 676a46585650425357794f57424a63726962494e49614c5a6a6f576f54656258 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 676a46585650425357794f57424a63726962494e49614c5a6a6f576f54656258 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 65704342706b7844765a6f73566976716b58427359466a76774b495654435775 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 65704342706b7844765a6f73566976716b58427359466a76774b495654435775 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 795a44546b7973666c53794a7649566d54796a774e474b6e4c4e746d67615866 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 795a44546b7973666c53794a7649566d54796a774e474b6e4c4e746d67615866 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 67654a696b53727876485055734167494c5142587376686a6b75536c5363436c esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 67654a696b53727876485055734167494c5142587376686a6b75536c5363436c esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 6f41526f64674f4a7559525762704947735a6174646875794a73486d66796166 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 6f41526f64674f4a7559525762704947735a6174646875794a73486d66796166 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 797a496d4c43444861495458526b6e6964466e657270517861557663435a5244 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 797a496d4c43444861495458526b6e6964466e657270517861557663435a5244 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 7352486a4a69726d4e727041435943466c6566686d454b76425361766a777246 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 7352486a4a69726d4e727041435943466c6566686d454b76425361766a777246 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 6e724955626863784164496356544b4b6c76646e59576768446648797a704471 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 6e724955626863784164496356544b4b6c76646e59576768446648797a704471 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 42687875724e795244615452726f4278614a45434e7a774f7a5a634e59486e4f esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 42687875724e795244615452726f4278614a45434e7a774f7a5a634e59486e4f esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 436370654951517a49574963645a6b4d4253716d714e4653616a525363486f77 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 436370654951517a49574963645a6b4d4253716d714e4653616a525363486f77 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 637a50557770537972665a7a4768734466474f637479737a7a78585753436343 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 637a50557770537972665a7a4768734466474f637479737a7a78585753436343 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 7554484266645066755a4b4356417270467044657653587543705877514a5a6a esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 7554484266645066755a4b4356417270467044657653587543705877514a5a6a esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 59474e614c64654647685859785a72504f64686677416a447743767978485343 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 59474e614c64654647685859785a72504f64686677416a447743767978485343 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 47514e7971596575794347676c51776c495267676e666f4461794b4a796a7769 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 47514e7971596575794347676c51776c495267676e666f4461794b4a796a7769 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 65457159567368784b57754f6c477959627864516e454154586d796561706b48 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 65457159567368784b57754f6c477959627864516e454154586d796561706b48 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 7463495954497555797a78686c4a497741635066734c7652794d4a6570444869 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 7463495954497555797a78686c4a497741635066734c7652794d4a6570444869 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 504d494d474e75754f765a635762586b47507a72696350786e525a5949464e74 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 504d494d474e75754f765a635762586b47507a72696350786e525a5949464e74 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 44434167447371655546747576666369435871706f70717851615348514b7762 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 44434167447371655546747576666369435871706f70717851615348514b7762 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 65516c445072454a576a67694448646c636a7855696c5a534e74586a5a70614d esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 65516c445072454a576a67694448646c636a7855696c5a534e74586a5a70614d esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 7a76716c474c7a45576448716b5349726c6b4e727869496c4c4b61516a744b69 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 7a76716c474c7a45576448716b5349726c6b4e727869496c4c4b61516a744b69 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 486d5262554b7656497663714e7464567a5a714b416a6a5344447a42746f7070 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 486d5262554b7656497663714e7464567a5a714b416a6a5344447a42746f7070 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 76714167784e6847474d76527361426f6b63754877797149576345476b636761 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 76714167784e6847474d76527361426f6b63754877797149576345476b636761 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 714d666279517047586455424a56624443656a4b64616463486c77467a6d5163 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 714d666279517047586455424a56624443656a4b64616463486c77467a6d5163 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 5a45787550716d614a494c4a6567766f6f59534f77456e5652516b7850655948 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 5a45787550716d614a494c4a6567766f6f59534f77456e5652516b7850655948 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 6767695a6a6d4575657059576e48497a4a59594f776c54664770684a6b515167 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 6767695a6a6d4575657059576e48497a4a59594f776c54664770684a6b515167 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 6871697743537858644d69636676734572776d426d70797867746d534464465a esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 6871697743537858644d69636676734572776d426d70797867746d534464465a esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 4962477054736d7157596b514843626741547070734778495a556656786a5a77 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 4962477054736d7157596b514843626741547070734778495a556656786a5a77 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 744572777579687050516f72574e78485270524c57444b4a716a426855675970 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 744572777579687050516f72574e78485270524c57444b4a716a426855675970 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 6d4265684a637669696a776459445a736e6f6e665644586d576a686579684c51 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 6d4265684a637669696a776459445a736e6f6e665644586d576a686579684c51 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 755a4e4563565058564e6d466f786d416d754d74574d714d4256566967457454 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 755a4e4563565058564e6d466f786d416d754d74574d714d4256566967457454 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 5665626956726b42745948676f507a5a50444164596259516f5944726a634a6d esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 5665626956726b42745948676f507a5a50444164596259516f5944726a634a6d esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 5172784d695a4750556174714c4962454a61626c704d616d617a6e5861567a65 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 5172784d695a4750556174714c4962454a61626c704d616d617a6e5861567a65 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 504b684d514a706e5a7562516b7844544c6a7a6a7a537653484576567859724f esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 504b684d514a706e5a7562516b7844544c6a7a6a7a537653484576567859724f esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 64675064527055564e6c4845524f7969625666597a57724d527a535a68657a69 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 64675064527055564e6c4845524f7969625666597a57724d527a535a68657a69 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 6a777857467369526e4c625253546d6e4b58467863746d514655586673694d62 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 6a777857467369526e4c625253546d6e4b58467863746d514655586673694d62 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 674e4569677941757a79676a43517155726a6f6e61684561664d57574b476e4d esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 674e4569677941757a79676a43517155726a6f6e61684561664d57574b476e4d esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 6379786e4e5345484962546f515a4f736c41424e75645a626643686469494e59 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 6379786e4e5345484962546f515a4f736c41424e75645a626643686469494e59 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 444171704c4c58556d594a55674a6a7141775264677a755a47784e75456d686a esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 444171704c4c58556d594a55674a6a7141775264677a755a47784e75456d686a esp
exec ipsec tunnel protect ipip39 sa-out 100039 sa-in 39 add
exec ip route add 100.0.0.1/8 via 200.0.0.1 TwentyFiveGigabitEthernet3b/0/1
exec set interface unnumbered ipip0 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip0 up
exec ip route add 10.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip1 up
exec ip route add 10.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip2 up
exec ip route add 10.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip3 up
exec ip route add 10.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip4 up
exec ip route add 10.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip5 up
exec ip route add 10.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip6 up
exec ip route add 10.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip7 up
exec ip route add 10.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip8 up
exec ip route add 10.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip9 up
exec ip route add 10.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip10 up
exec ip route add 10.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip11 up
exec ip route add 10.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip12 up
exec ip route add 10.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip13 up
exec ip route add 10.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip14 up
exec ip route add 10.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip15 up
exec ip route add 10.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip16 up
exec ip route add 10.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip17 up
exec ip route add 10.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip18 up
exec ip route add 10.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip19 up
exec ip route add 10.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip20 up
exec ip route add 10.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip21 up
exec ip route add 10.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip22 up
exec ip route add 10.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip23 up
exec ip route add 10.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip24 up
exec ip route add 10.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip25 up
exec ip route add 10.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip26 up
exec ip route add 10.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip27 up
exec ip route add 10.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip28 up
exec ip route add 10.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip29 up
exec ip route add 10.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip30 up
exec ip route add 10.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip31 up
exec ip route add 10.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip32 up
exec ip route add 10.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip33 up
exec ip route add 10.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip34 up
exec ip route add 10.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip35 up
exec ip route add 10.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip36 up
exec ip route add 10.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip37 up
exec ip route add 10.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip38 up
exec ip route add 10.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip39 up
exec ip route add 10.0.0.39/32 via ipip39

 imix-2t1c-ethip4ipsec40tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec create loopback interface
exec set interface state loop0 up
exec set interface ip address TwentyFiveGigabitEthernet3b/0/1 200.0.0.1/24
exec set ip neighbor TwentyFiveGigabitEthernet3b/0/1 200.0.0.2 3c:fd:fe:bd:f8:fd static
exec set interface ip address loop0 100.0.0.1/32
exec create ipip tunnel src 100.0.0.1 dst 200.0.0.2 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 54436b5466574b7242677a75676d4a614f707a4a45537959476574684e4b4b79 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 54436b5466574b7242677a75676d4a614f707a4a45537959476574684e4b4b79 esp
exec ipsec tunnel protect ipip0 sa-out 0 sa-in 100000 add
exec set interface ip address loop0 100.0.1.1/32
exec create ipip tunnel src 100.0.1.1 dst 200.0.0.2 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 6541755a6c61705953716f43446f4843564a756f646a42537466734f4c576c4f esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 6541755a6c61705953716f43446f4843564a756f646a42537466734f4c576c4f esp
exec ipsec tunnel protect ipip1 sa-out 1 sa-in 100001 add
exec set interface ip address loop0 100.0.2.1/32
exec create ipip tunnel src 100.0.2.1 dst 200.0.0.2 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 4558514163576b50736a4f705178594e6c4d564f644e504d6f426f595a486d52 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 4558514163576b50736a4f705178594e6c4d564f644e504d6f426f595a486d52 esp
exec ipsec tunnel protect ipip2 sa-out 2 sa-in 100002 add
exec set interface ip address loop0 100.0.3.1/32
exec create ipip tunnel src 100.0.3.1 dst 200.0.0.2 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 5671456a7a4b415379565a425a536a7942706264764f78464246445047724246 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 5671456a7a4b415379565a425a536a7942706264764f78464246445047724246 esp
exec ipsec tunnel protect ipip3 sa-out 3 sa-in 100003 add
exec set interface ip address loop0 100.0.4.1/32
exec create ipip tunnel src 100.0.4.1 dst 200.0.0.2 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 665a6a4c646d6643525849706d58546d4d7064494b44615461676f6a764c646f esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 665a6a4c646d6643525849706d58546d4d7064494b44615461676f6a764c646f esp
exec ipsec tunnel protect ipip4 sa-out 4 sa-in 100004 add
exec set interface ip address loop0 100.0.5.1/32
exec create ipip tunnel src 100.0.5.1 dst 200.0.0.2 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 746b62696c4b43474955414e464d5350704f444a684173564244596d7157646f esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 746b62696c4b43474955414e464d5350704f444a684173564244596d7157646f esp
exec ipsec tunnel protect ipip5 sa-out 5 sa-in 100005 add
exec set interface ip address loop0 100.0.6.1/32
exec create ipip tunnel src 100.0.6.1 dst 200.0.0.2 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 6e4e594f794a70496c79545678505170626e534c4a476d45536f495176574e4e esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 6e4e594f794a70496c79545678505170626e534c4a476d45536f495176574e4e esp
exec ipsec tunnel protect ipip6 sa-out 6 sa-in 100006 add
exec set interface ip address loop0 100.0.7.1/32
exec create ipip tunnel src 100.0.7.1 dst 200.0.0.2 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 534f557344424549505177626a4b6a696b6c716b6566754a446a6c6965726d55 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 534f557344424549505177626a4b6a696b6c716b6566754a446a6c6965726d55 esp
exec ipsec tunnel protect ipip7 sa-out 7 sa-in 100007 add
exec set interface ip address loop0 100.0.8.1/32
exec create ipip tunnel src 100.0.8.1 dst 200.0.0.2 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 4872477576766f616669746e4e7762677a4b586d4b744c766e504b5959506d45 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 4872477576766f616669746e4e7762677a4b586d4b744c766e504b5959506d45 esp
exec ipsec tunnel protect ipip8 sa-out 8 sa-in 100008 add
exec set interface ip address loop0 100.0.9.1/32
exec create ipip tunnel src 100.0.9.1 dst 200.0.0.2 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 6f5967634752466c6972456c734c566162787a4c74654f5965556b424a586a64 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 6f5967634752466c6972456c734c566162787a4c74654f5965556b424a586a64 esp
exec ipsec tunnel protect ipip9 sa-out 9 sa-in 100009 add
exec set interface ip address loop0 100.0.10.1/32
exec create ipip tunnel src 100.0.10.1 dst 200.0.0.2 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 414b637749767347526b53514e486d56774946576d5868656161575055416c74 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 414b637749767347526b53514e486d56774946576d5868656161575055416c74 esp
exec ipsec tunnel protect ipip10 sa-out 10 sa-in 100010 add
exec set interface ip address loop0 100.0.11.1/32
exec create ipip tunnel src 100.0.11.1 dst 200.0.0.2 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 4a54466c6154696c6f727549787745507873446955705a466b6e6a726567566a esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 4a54466c6154696c6f727549787745507873446955705a466b6e6a726567566a esp
exec ipsec tunnel protect ipip11 sa-out 11 sa-in 100011 add
exec set interface ip address loop0 100.0.12.1/32
exec create ipip tunnel src 100.0.12.1 dst 200.0.0.2 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 7a554152735967536b666552466e7a766e635043617156694a4d6d484b667a51 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 7a554152735967536b666552466e7a766e635043617156694a4d6d484b667a51 esp
exec ipsec tunnel protect ipip12 sa-out 12 sa-in 100012 add
exec set interface ip address loop0 100.0.13.1/32
exec create ipip tunnel src 100.0.13.1 dst 200.0.0.2 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 66664a634e7a616c6b456a786a726b4a5a4e4c4864655350424c7055476e754f esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 66664a634e7a616c6b456a786a726b4a5a4e4c4864655350424c7055476e754f esp
exec ipsec tunnel protect ipip13 sa-out 13 sa-in 100013 add
exec set interface ip address loop0 100.0.14.1/32
exec create ipip tunnel src 100.0.14.1 dst 200.0.0.2 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 466a5071494b494774517352487943547972536f6a70727663496d5541587944 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 466a5071494b494774517352487943547972536f6a70727663496d5541587944 esp
exec ipsec tunnel protect ipip14 sa-out 14 sa-in 100014 add
exec set interface ip address loop0 100.0.15.1/32
exec create ipip tunnel src 100.0.15.1 dst 200.0.0.2 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 71664e6547517257505069496b596344774a7644686b64707a6a6259786f7043 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 71664e6547517257505069496b596344774a7644686b64707a6a6259786f7043 esp
exec ipsec tunnel protect ipip15 sa-out 15 sa-in 100015 add
exec set interface ip address loop0 100.0.16.1/32
exec create ipip tunnel src 100.0.16.1 dst 200.0.0.2 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 594545766c64514a497a4e6e53464c47574243436343414e6e4650494f575448 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 594545766c64514a497a4e6e53464c47574243436343414e6e4650494f575448 esp
exec ipsec tunnel protect ipip16 sa-out 16 sa-in 100016 add
exec set interface ip address loop0 100.0.17.1/32
exec create ipip tunnel src 100.0.17.1 dst 200.0.0.2 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 5a51764f4b4957567650787343494469566170734b5772565256614443655273 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 5a51764f4b4957567650787343494469566170734b5772565256614443655273 esp
exec ipsec tunnel protect ipip17 sa-out 17 sa-in 100017 add
exec set interface ip address loop0 100.0.18.1/32
exec create ipip tunnel src 100.0.18.1 dst 200.0.0.2 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 516171584e494377657143594a624b554f59414a53546956466446704a534c58 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 516171584e494377657143594a624b554f59414a53546956466446704a534c58 esp
exec ipsec tunnel protect ipip18 sa-out 18 sa-in 100018 add
exec set interface ip address loop0 100.0.19.1/32
exec create ipip tunnel src 100.0.19.1 dst 200.0.0.2 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 71697a44616f4c5458666a6c4d6d556e4b707279576d4d4c704e6455575a6776 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 71697a44616f4c5458666a6c4d6d556e4b707279576d4d4c704e6455575a6776 esp
exec ipsec tunnel protect ipip19 sa-out 19 sa-in 100019 add
exec set interface ip address loop0 100.0.20.1/32
exec create ipip tunnel src 100.0.20.1 dst 200.0.0.2 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 4371756b6b56634d4f72625343584f546f664577535469685a787052644b704e esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 4371756b6b56634d4f72625343584f546f664577535469685a787052644b704e esp
exec ipsec tunnel protect ipip20 sa-out 20 sa-in 100020 add
exec set interface ip address loop0 100.0.21.1/32
exec create ipip tunnel src 100.0.21.1 dst 200.0.0.2 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 63786b47574b6854667a5652477a50676663766b475a706647486c4262686678 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 63786b47574b6854667a5652477a50676663766b475a706647486c4262686678 esp
exec ipsec tunnel protect ipip21 sa-out 21 sa-in 100021 add
exec set interface ip address loop0 100.0.22.1/32
exec create ipip tunnel src 100.0.22.1 dst 200.0.0.2 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 475a46424b4e54585870677973664d6163564f584668795756465753475a6663 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 475a46424b4e54585870677973664d6163564f584668795756465753475a6663 esp
exec ipsec tunnel protect ipip22 sa-out 22 sa-in 100022 add
exec set interface ip address loop0 100.0.23.1/32
exec create ipip tunnel src 100.0.23.1 dst 200.0.0.2 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 43667355645261416245584d6652674468724d484b4c566d664d495557517045 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 43667355645261416245584d6652674468724d484b4c566d664d495557517045 esp
exec ipsec tunnel protect ipip23 sa-out 23 sa-in 100023 add
exec set interface ip address loop0 100.0.24.1/32
exec create ipip tunnel src 100.0.24.1 dst 200.0.0.2 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 6a526d634d4f7050597859545a5a526f77536658727371506f5664784a745a45 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 6a526d634d4f7050597859545a5a526f77536658727371506f5664784a745a45 esp
exec ipsec tunnel protect ipip24 sa-out 24 sa-in 100024 add
exec set interface ip address loop0 100.0.25.1/32
exec create ipip tunnel src 100.0.25.1 dst 200.0.0.2 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 78597a494764734261526364735559614a47476550754c58707a626542536471 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 78597a494764734261526364735559614a47476550754c58707a626542536471 esp
exec ipsec tunnel protect ipip25 sa-out 25 sa-in 100025 add
exec set interface ip address loop0 100.0.26.1/32
exec create ipip tunnel src 100.0.26.1 dst 200.0.0.2 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 57696e4e61786b6e526a7a4d646e7563495a6b7952616351624647466f447671 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 57696e4e61786b6e526a7a4d646e7563495a6b7952616351624647466f447671 esp
exec ipsec tunnel protect ipip26 sa-out 26 sa-in 100026 add
exec set interface ip address loop0 100.0.27.1/32
exec create ipip tunnel src 100.0.27.1 dst 200.0.0.2 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 736c6c745967454a6d794b734369614f4c78594b6b7654776777494166446249 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 736c6c745967454a6d794b734369614f4c78594b6b7654776777494166446249 esp
exec ipsec tunnel protect ipip27 sa-out 27 sa-in 100027 add
exec set interface ip address loop0 100.0.28.1/32
exec create ipip tunnel src 100.0.28.1 dst 200.0.0.2 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 645167444368417a7271416953586177574c4752654c4b556f56414965784479 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 645167444368417a7271416953586177574c4752654c4b556f56414965784479 esp
exec ipsec tunnel protect ipip28 sa-out 28 sa-in 100028 add
exec set interface ip address loop0 100.0.29.1/32
exec create ipip tunnel src 100.0.29.1 dst 200.0.0.2 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 4848747470735559545853716f6f464355546d7044704a656544706775646346 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 4848747470735559545853716f6f464355546d7044704a656544706775646346 esp
exec ipsec tunnel protect ipip29 sa-out 29 sa-in 100029 add
exec set interface ip address loop0 100.0.30.1/32
exec create ipip tunnel src 100.0.30.1 dst 200.0.0.2 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 7956587461754f6871785175696e6d64694f5a6f525056715676535842435854 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 7956587461754f6871785175696e6d64694f5a6f525056715676535842435854 esp
exec ipsec tunnel protect ipip30 sa-out 30 sa-in 100030 add
exec set interface ip address loop0 100.0.31.1/32
exec create ipip tunnel src 100.0.31.1 dst 200.0.0.2 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 65587a4a53556445466c53424661746e71464f44586449474d4250745a4c6962 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 65587a4a53556445466c53424661746e71464f44586449474d4250745a4c6962 esp
exec ipsec tunnel protect ipip31 sa-out 31 sa-in 100031 add
exec set interface ip address loop0 100.0.32.1/32
exec create ipip tunnel src 100.0.32.1 dst 200.0.0.2 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 496a44426e786b4e5641535a69444a4d6a6e746152647445735077707774425a esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 496a44426e786b4e5641535a69444a4d6a6e746152647445735077707774425a esp
exec ipsec tunnel protect ipip32 sa-out 32 sa-in 100032 add
exec set interface ip address loop0 100.0.33.1/32
exec create ipip tunnel src 100.0.33.1 dst 200.0.0.2 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 554d4869575454554e6962657a416661546e7045786765704149694a72714565 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 554d4869575454554e6962657a416661546e7045786765704149694a72714565 esp
exec ipsec tunnel protect ipip33 sa-out 33 sa-in 100033 add
exec set interface ip address loop0 100.0.34.1/32
exec create ipip tunnel src 100.0.34.1 dst 200.0.0.2 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 4741686d6b4c63584e584e46466b6548566f5552536775594b7149714552646c esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 4741686d6b4c63584e584e46466b6548566f5552536775594b7149714552646c esp
exec ipsec tunnel protect ipip34 sa-out 34 sa-in 100034 add
exec set interface ip address loop0 100.0.35.1/32
exec create ipip tunnel src 100.0.35.1 dst 200.0.0.2 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 4a4f79666c5154444554636b44444b79644e516b6d694875595578786874437a esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 4a4f79666c5154444554636b44444b79644e516b6d694875595578786874437a esp
exec ipsec tunnel protect ipip35 sa-out 35 sa-in 100035 add
exec set interface ip address loop0 100.0.36.1/32
exec create ipip tunnel src 100.0.36.1 dst 200.0.0.2 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 757652514a726e786b436d7a6552496e6b55474b6e75677049754d4a5567416f esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 757652514a726e786b436d7a6552496e6b55474b6e75677049754d4a5567416f esp
exec ipsec tunnel protect ipip36 sa-out 36 sa-in 100036 add
exec set interface ip address loop0 100.0.37.1/32
exec create ipip tunnel src 100.0.37.1 dst 200.0.0.2 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 484147457a6444596e73564a4953636468416e507773437977757772445a5058 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 484147457a6444596e73564a4953636468416e507773437977757772445a5058 esp
exec ipsec tunnel protect ipip37 sa-out 37 sa-in 100037 add
exec set interface ip address loop0 100.0.38.1/32
exec create ipip tunnel src 100.0.38.1 dst 200.0.0.2 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 6e4459496f446f61477058584b68506e6b5057764c7743634642446263614c5a esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 6e4459496f446f61477058584b68506e6b5057764c7743634642446263614c5a esp
exec ipsec tunnel protect ipip38 sa-out 38 sa-in 100038 add
exec set interface ip address loop0 100.0.39.1/32
exec create ipip tunnel src 100.0.39.1 dst 200.0.0.2 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 646a4f51686a59534f6d6d6c48647446516a6d64636c55497461445046714a6c esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 646a4f51686a59534f6d6d6c48647446516a6d64636c55497461445046714a6c esp
exec ipsec tunnel protect ipip39 sa-out 39 sa-in 100039 add
exec set interface unnumbered ipip0 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip0 up
exec ip route add 20.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip1 up
exec ip route add 20.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip2 up
exec ip route add 20.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip3 up
exec ip route add 20.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip4 up
exec ip route add 20.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip5 up
exec ip route add 20.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip6 up
exec ip route add 20.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip7 up
exec ip route add 20.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip8 up
exec ip route add 20.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip9 up
exec ip route add 20.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip10 up
exec ip route add 20.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip11 up
exec ip route add 20.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip12 up
exec ip route add 20.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip13 up
exec ip route add 20.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip14 up
exec ip route add 20.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip15 up
exec ip route add 20.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip16 up
exec ip route add 20.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip17 up
exec ip route add 20.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip18 up
exec ip route add 20.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip19 up
exec ip route add 20.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip20 up
exec ip route add 20.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip21 up
exec ip route add 20.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip22 up
exec ip route add 20.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip23 up
exec ip route add 20.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip24 up
exec ip route add 20.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip25 up
exec ip route add 20.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip26 up
exec ip route add 20.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip27 up
exec ip route add 20.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip28 up
exec ip route add 20.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip29 up
exec ip route add 20.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip30 up
exec ip route add 20.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip31 up
exec ip route add 20.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip32 up
exec ip route add 20.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip33 up
exec ip route add 20.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip34 up
exec ip route add 20.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip35 up
exec ip route add 20.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip36 up
exec ip route add 20.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip37 up
exec ip route add 20.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip38 up
exec ip route add 20.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip39 up
exec ip route add 20.0.0.39/32 via ipip39
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec set interface ip address TwentyFiveGigabitEthernet3b/0/1 200.0.0.2/24.0
exec create ipip tunnel src 200.0.0.2 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 54436b5466574b7242677a75676d4a614f707a4a45537959476574684e4b4b79 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 54436b5466574b7242677a75676d4a614f707a4a45537959476574684e4b4b79 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 6541755a6c61705953716f43446f4843564a756f646a42537466734f4c576c4f esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 6541755a6c61705953716f43446f4843564a756f646a42537466734f4c576c4f esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 4558514163576b50736a4f705178594e6c4d564f644e504d6f426f595a486d52 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 4558514163576b50736a4f705178594e6c4d564f644e504d6f426f595a486d52 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 5671456a7a4b415379565a425a536a7942706264764f78464246445047724246 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 5671456a7a4b415379565a425a536a7942706264764f78464246445047724246 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 665a6a4c646d6643525849706d58546d4d7064494b44615461676f6a764c646f esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 665a6a4c646d6643525849706d58546d4d7064494b44615461676f6a764c646f esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 746b62696c4b43474955414e464d5350704f444a684173564244596d7157646f esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 746b62696c4b43474955414e464d5350704f444a684173564244596d7157646f esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 6e4e594f794a70496c79545678505170626e534c4a476d45536f495176574e4e esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 6e4e594f794a70496c79545678505170626e534c4a476d45536f495176574e4e esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 534f557344424549505177626a4b6a696b6c716b6566754a446a6c6965726d55 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 534f557344424549505177626a4b6a696b6c716b6566754a446a6c6965726d55 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 4872477576766f616669746e4e7762677a4b586d4b744c766e504b5959506d45 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 4872477576766f616669746e4e7762677a4b586d4b744c766e504b5959506d45 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 6f5967634752466c6972456c734c566162787a4c74654f5965556b424a586a64 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 6f5967634752466c6972456c734c566162787a4c74654f5965556b424a586a64 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 414b637749767347526b53514e486d56774946576d5868656161575055416c74 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 414b637749767347526b53514e486d56774946576d5868656161575055416c74 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 4a54466c6154696c6f727549787745507873446955705a466b6e6a726567566a esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 4a54466c6154696c6f727549787745507873446955705a466b6e6a726567566a esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 7a554152735967536b666552466e7a766e635043617156694a4d6d484b667a51 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 7a554152735967536b666552466e7a766e635043617156694a4d6d484b667a51 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 66664a634e7a616c6b456a786a726b4a5a4e4c4864655350424c7055476e754f esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 66664a634e7a616c6b456a786a726b4a5a4e4c4864655350424c7055476e754f esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 466a5071494b494774517352487943547972536f6a70727663496d5541587944 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 466a5071494b494774517352487943547972536f6a70727663496d5541587944 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 71664e6547517257505069496b596344774a7644686b64707a6a6259786f7043 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 71664e6547517257505069496b596344774a7644686b64707a6a6259786f7043 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 594545766c64514a497a4e6e53464c47574243436343414e6e4650494f575448 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 594545766c64514a497a4e6e53464c47574243436343414e6e4650494f575448 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 5a51764f4b4957567650787343494469566170734b5772565256614443655273 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 5a51764f4b4957567650787343494469566170734b5772565256614443655273 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 516171584e494377657143594a624b554f59414a53546956466446704a534c58 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 516171584e494377657143594a624b554f59414a53546956466446704a534c58 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 71697a44616f4c5458666a6c4d6d556e4b707279576d4d4c704e6455575a6776 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 71697a44616f4c5458666a6c4d6d556e4b707279576d4d4c704e6455575a6776 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 4371756b6b56634d4f72625343584f546f664577535469685a787052644b704e esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 4371756b6b56634d4f72625343584f546f664577535469685a787052644b704e esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 63786b47574b6854667a5652477a50676663766b475a706647486c4262686678 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 63786b47574b6854667a5652477a50676663766b475a706647486c4262686678 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 475a46424b4e54585870677973664d6163564f584668795756465753475a6663 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 475a46424b4e54585870677973664d6163564f584668795756465753475a6663 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 43667355645261416245584d6652674468724d484b4c566d664d495557517045 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 43667355645261416245584d6652674468724d484b4c566d664d495557517045 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 6a526d634d4f7050597859545a5a526f77536658727371506f5664784a745a45 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 6a526d634d4f7050597859545a5a526f77536658727371506f5664784a745a45 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 78597a494764734261526364735559614a47476550754c58707a626542536471 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 78597a494764734261526364735559614a47476550754c58707a626542536471 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 57696e4e61786b6e526a7a4d646e7563495a6b7952616351624647466f447671 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 57696e4e61786b6e526a7a4d646e7563495a6b7952616351624647466f447671 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 736c6c745967454a6d794b734369614f4c78594b6b7654776777494166446249 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 736c6c745967454a6d794b734369614f4c78594b6b7654776777494166446249 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 645167444368417a7271416953586177574c4752654c4b556f56414965784479 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 645167444368417a7271416953586177574c4752654c4b556f56414965784479 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 4848747470735559545853716f6f464355546d7044704a656544706775646346 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 4848747470735559545853716f6f464355546d7044704a656544706775646346 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 7956587461754f6871785175696e6d64694f5a6f525056715676535842435854 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 7956587461754f6871785175696e6d64694f5a6f525056715676535842435854 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 65587a4a53556445466c53424661746e71464f44586449474d4250745a4c6962 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 65587a4a53556445466c53424661746e71464f44586449474d4250745a4c6962 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 496a44426e786b4e5641535a69444a4d6a6e746152647445735077707774425a esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 496a44426e786b4e5641535a69444a4d6a6e746152647445735077707774425a esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 554d4869575454554e6962657a416661546e7045786765704149694a72714565 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 554d4869575454554e6962657a416661546e7045786765704149694a72714565 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 4741686d6b4c63584e584e46466b6548566f5552536775594b7149714552646c esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 4741686d6b4c63584e584e46466b6548566f5552536775594b7149714552646c esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 4a4f79666c5154444554636b44444b79644e516b6d694875595578786874437a esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 4a4f79666c5154444554636b44444b79644e516b6d694875595578786874437a esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 757652514a726e786b436d7a6552496e6b55474b6e75677049754d4a5567416f esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 757652514a726e786b436d7a6552496e6b55474b6e75677049754d4a5567416f esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 484147457a6444596e73564a4953636468416e507773437977757772445a5058 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 484147457a6444596e73564a4953636468416e507773437977757772445a5058 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 6e4459496f446f61477058584b68506e6b5057764c7743634642446263614c5a esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 6e4459496f446f61477058584b68506e6b5057764c7743634642446263614c5a esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 646a4f51686a59534f6d6d6c48647446516a6d64636c55497461445046714a6c esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 646a4f51686a59534f6d6d6c48647446516a6d64636c55497461445046714a6c esp
exec ipsec tunnel protect ipip39 sa-out 100039 sa-in 39 add
exec ip route add 100.0.0.1/8 via 200.0.0.1 TwentyFiveGigabitEthernet3b/0/1
exec set interface unnumbered ipip0 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip0 up
exec ip route add 10.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip1 up
exec ip route add 10.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip2 up
exec ip route add 10.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip3 up
exec ip route add 10.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip4 up
exec ip route add 10.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip5 up
exec ip route add 10.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip6 up
exec ip route add 10.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip7 up
exec ip route add 10.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip8 up
exec ip route add 10.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip9 up
exec ip route add 10.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip10 up
exec ip route add 10.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip11 up
exec ip route add 10.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip12 up
exec ip route add 10.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip13 up
exec ip route add 10.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip14 up
exec ip route add 10.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip15 up
exec ip route add 10.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip16 up
exec ip route add 10.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip17 up
exec ip route add 10.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip18 up
exec ip route add 10.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip19 up
exec ip route add 10.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip20 up
exec ip route add 10.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip21 up
exec ip route add 10.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip22 up
exec ip route add 10.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip23 up
exec ip route add 10.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip24 up
exec ip route add 10.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip25 up
exec ip route add 10.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip26 up
exec ip route add 10.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip27 up
exec ip route add 10.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip28 up
exec ip route add 10.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip29 up
exec ip route add 10.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip30 up
exec ip route add 10.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip31 up
exec ip route add 10.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip32 up
exec ip route add 10.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip33 up
exec ip route add 10.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip34 up
exec ip route add 10.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip35 up
exec ip route add 10.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip36 up
exec ip route add 10.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip37 up
exec ip route add 10.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip38 up
exec ip route add 10.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip39 up
exec ip route add 10.0.0.39/32 via ipip39

 imix-4t2c-ethip4ipsec40tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec create loopback interface
exec set interface state loop0 up
exec set interface ip address TwentyFiveGigabitEthernet3b/0/1 200.0.0.1/24
exec set ip neighbor TwentyFiveGigabitEthernet3b/0/1 200.0.0.2 3c:fd:fe:bd:f8:fd static
exec set interface ip address loop0 100.0.0.1/32
exec create ipip tunnel src 100.0.0.1 dst 200.0.0.2 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 686761524143586a4e6e5a796f4b4a5550696b6f674b75596457767151504761 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 686761524143586a4e6e5a796f4b4a5550696b6f674b75596457767151504761 esp
exec ipsec tunnel protect ipip0 sa-out 0 sa-in 100000 add
exec set interface ip address loop0 100.0.1.1/32
exec create ipip tunnel src 100.0.1.1 dst 200.0.0.2 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 7778696e484b6b50415067716b447845455546565a6841634e6a6f677248514d esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 7778696e484b6b50415067716b447845455546565a6841634e6a6f677248514d esp
exec ipsec tunnel protect ipip1 sa-out 1 sa-in 100001 add
exec set interface ip address loop0 100.0.2.1/32
exec create ipip tunnel src 100.0.2.1 dst 200.0.0.2 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 55657853737648446971454548675a4f6254586c487645637844736c6f4e5842 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 55657853737648446971454548675a4f6254586c487645637844736c6f4e5842 esp
exec ipsec tunnel protect ipip2 sa-out 2 sa-in 100002 add
exec set interface ip address loop0 100.0.3.1/32
exec create ipip tunnel src 100.0.3.1 dst 200.0.0.2 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 69467970784c596471506f546f59706171587a67697049695876486f67454d63 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 69467970784c596471506f546f59706171587a67697049695876486f67454d63 esp
exec ipsec tunnel protect ipip3 sa-out 3 sa-in 100003 add
exec set interface ip address loop0 100.0.4.1/32
exec create ipip tunnel src 100.0.4.1 dst 200.0.0.2 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 6479704f794f5862454c72594a6763576971644f4a63524b7476414650724f41 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 6479704f794f5862454c72594a6763576971644f4a63524b7476414650724f41 esp
exec ipsec tunnel protect ipip4 sa-out 4 sa-in 100004 add
exec set interface ip address loop0 100.0.5.1/32
exec create ipip tunnel src 100.0.5.1 dst 200.0.0.2 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 795364754d55677066776c4b6b47455377676c71657a4e4269776c7962746c73 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 795364754d55677066776c4b6b47455377676c71657a4e4269776c7962746c73 esp
exec ipsec tunnel protect ipip5 sa-out 5 sa-in 100005 add
exec set interface ip address loop0 100.0.6.1/32
exec create ipip tunnel src 100.0.6.1 dst 200.0.0.2 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 7279435a4877446e6d4a6e6f6e68574571417a645158417659684c615358434b esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 7279435a4877446e6d4a6e6f6e68574571417a645158417659684c615358434b esp
exec ipsec tunnel protect ipip6 sa-out 6 sa-in 100006 add
exec set interface ip address loop0 100.0.7.1/32
exec create ipip tunnel src 100.0.7.1 dst 200.0.0.2 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 4c426a796b4f71464c786d7a587841577170444f597455414e47624b504d554d esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 4c426a796b4f71464c786d7a587841577170444f597455414e47624b504d554d esp
exec ipsec tunnel protect ipip7 sa-out 7 sa-in 100007 add
exec set interface ip address loop0 100.0.8.1/32
exec create ipip tunnel src 100.0.8.1 dst 200.0.0.2 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 56506e6f686a7864565a6f4564485455576757694771446453726a42677a564f esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 56506e6f686a7864565a6f4564485455576757694771446453726a42677a564f esp
exec ipsec tunnel protect ipip8 sa-out 8 sa-in 100008 add
exec set interface ip address loop0 100.0.9.1/32
exec create ipip tunnel src 100.0.9.1 dst 200.0.0.2 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 674d46725a5450585141647573616c66495945664571665350716e4541616d75 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 674d46725a5450585141647573616c66495945664571665350716e4541616d75 esp
exec ipsec tunnel protect ipip9 sa-out 9 sa-in 100009 add
exec set interface ip address loop0 100.0.10.1/32
exec create ipip tunnel src 100.0.10.1 dst 200.0.0.2 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 69534a726a67556458694576714255544677566e486d6c57784965624b515a46 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 69534a726a67556458694576714255544677566e486d6c57784965624b515a46 esp
exec ipsec tunnel protect ipip10 sa-out 10 sa-in 100010 add
exec set interface ip address loop0 100.0.11.1/32
exec create ipip tunnel src 100.0.11.1 dst 200.0.0.2 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 4b52796d7065794653624764684251567a6553504d724c414b4a4b686d624a6f esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 4b52796d7065794653624764684251567a6553504d724c414b4a4b686d624a6f esp
exec ipsec tunnel protect ipip11 sa-out 11 sa-in 100011 add
exec set interface ip address loop0 100.0.12.1/32
exec create ipip tunnel src 100.0.12.1 dst 200.0.0.2 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 657965414a576b4258674d584f614c706653664c656e4e7a4f5043524d425472 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 657965414a576b4258674d584f614c706653664c656e4e7a4f5043524d425472 esp
exec ipsec tunnel protect ipip12 sa-out 12 sa-in 100012 add
exec set interface ip address loop0 100.0.13.1/32
exec create ipip tunnel src 100.0.13.1 dst 200.0.0.2 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 474a53786b58517563616a72587355686b677a584a4f50436b6368516d4d7145 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 474a53786b58517563616a72587355686b677a584a4f50436b6368516d4d7145 esp
exec ipsec tunnel protect ipip13 sa-out 13 sa-in 100013 add
exec set interface ip address loop0 100.0.14.1/32
exec create ipip tunnel src 100.0.14.1 dst 200.0.0.2 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 64506275617958525a566a6f445676556f616e477578766e7656664f6169597a esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 64506275617958525a566a6f445676556f616e477578766e7656664f6169597a esp
exec ipsec tunnel protect ipip14 sa-out 14 sa-in 100014 add
exec set interface ip address loop0 100.0.15.1/32
exec create ipip tunnel src 100.0.15.1 dst 200.0.0.2 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 41636f50726c6e4b664b74744d626b5a5271696a755758636371545a6a557942 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 41636f50726c6e4b664b74744d626b5a5271696a755758636371545a6a557942 esp
exec ipsec tunnel protect ipip15 sa-out 15 sa-in 100015 add
exec set interface ip address loop0 100.0.16.1/32
exec create ipip tunnel src 100.0.16.1 dst 200.0.0.2 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 6b666b765150754450636d6f616258496f57526f7049634873594f474d464156 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 6b666b765150754450636d6f616258496f57526f7049634873594f474d464156 esp
exec ipsec tunnel protect ipip16 sa-out 16 sa-in 100016 add
exec set interface ip address loop0 100.0.17.1/32
exec create ipip tunnel src 100.0.17.1 dst 200.0.0.2 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 41515a776e63716f67784164744f6d414d7068726e704461796d44456c51646f esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 41515a776e63716f67784164744f6d414d7068726e704461796d44456c51646f esp
exec ipsec tunnel protect ipip17 sa-out 17 sa-in 100017 add
exec set interface ip address loop0 100.0.18.1/32
exec create ipip tunnel src 100.0.18.1 dst 200.0.0.2 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 6c7675526c6e61706b627659504e45774662576149724e6f654358725a4b6e63 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 6c7675526c6e61706b627659504e45774662576149724e6f654358725a4b6e63 esp
exec ipsec tunnel protect ipip18 sa-out 18 sa-in 100018 add
exec set interface ip address loop0 100.0.19.1/32
exec create ipip tunnel src 100.0.19.1 dst 200.0.0.2 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 704a476d6e78644e456e6d584e61775a4f76746974415154436c5a4255525472 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 704a476d6e78644e456e6d584e61775a4f76746974415154436c5a4255525472 esp
exec ipsec tunnel protect ipip19 sa-out 19 sa-in 100019 add
exec set interface ip address loop0 100.0.20.1/32
exec create ipip tunnel src 100.0.20.1 dst 200.0.0.2 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 5345464474546a69706b4d4d6c68664f704b794645746f794e636e4859456554 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 5345464474546a69706b4d4d6c68664f704b794645746f794e636e4859456554 esp
exec ipsec tunnel protect ipip20 sa-out 20 sa-in 100020 add
exec set interface ip address loop0 100.0.21.1/32
exec create ipip tunnel src 100.0.21.1 dst 200.0.0.2 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 524171564e766f565a75424c6d6f4d666159487049697a777a7941796b557041 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 524171564e766f565a75424c6d6f4d666159487049697a777a7941796b557041 esp
exec ipsec tunnel protect ipip21 sa-out 21 sa-in 100021 add
exec set interface ip address loop0 100.0.22.1/32
exec create ipip tunnel src 100.0.22.1 dst 200.0.0.2 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 6c6f6865746759437a444956597261776b4a6a585a7a4873674c554252634773 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 6c6f6865746759437a444956597261776b4a6a585a7a4873674c554252634773 esp
exec ipsec tunnel protect ipip22 sa-out 22 sa-in 100022 add
exec set interface ip address loop0 100.0.23.1/32
exec create ipip tunnel src 100.0.23.1 dst 200.0.0.2 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 594b4a4a4e4a6a5a6a5343744b796462504446526c6971565a426d574270527a esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 594b4a4a4e4a6a5a6a5343744b796462504446526c6971565a426d574270527a esp
exec ipsec tunnel protect ipip23 sa-out 23 sa-in 100023 add
exec set interface ip address loop0 100.0.24.1/32
exec create ipip tunnel src 100.0.24.1 dst 200.0.0.2 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 706774555450626f544c5346534f796270626a4b506f75574b43717478704856 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 706774555450626f544c5346534f796270626a4b506f75574b43717478704856 esp
exec ipsec tunnel protect ipip24 sa-out 24 sa-in 100024 add
exec set interface ip address loop0 100.0.25.1/32
exec create ipip tunnel src 100.0.25.1 dst 200.0.0.2 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 51597064654953477462476e585a4774556371667759517275507066524e6379 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 51597064654953477462476e585a4774556371667759517275507066524e6379 esp
exec ipsec tunnel protect ipip25 sa-out 25 sa-in 100025 add
exec set interface ip address loop0 100.0.26.1/32
exec create ipip tunnel src 100.0.26.1 dst 200.0.0.2 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 594f68695559446e6a44584b7a664a64616a57667661784f7342544e49587873 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 594f68695559446e6a44584b7a664a64616a57667661784f7342544e49587873 esp
exec ipsec tunnel protect ipip26 sa-out 26 sa-in 100026 add
exec set interface ip address loop0 100.0.27.1/32
exec create ipip tunnel src 100.0.27.1 dst 200.0.0.2 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 684153475377725a6d576553447050445977665069524c596d4d49537451554a esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 684153475377725a6d576553447050445977665069524c596d4d49537451554a esp
exec ipsec tunnel protect ipip27 sa-out 27 sa-in 100027 add
exec set interface ip address loop0 100.0.28.1/32
exec create ipip tunnel src 100.0.28.1 dst 200.0.0.2 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 4248426e5576774d51646157787372534c576675746d644c6d7375796d586271 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 4248426e5576774d51646157787372534c576675746d644c6d7375796d586271 esp
exec ipsec tunnel protect ipip28 sa-out 28 sa-in 100028 add
exec set interface ip address loop0 100.0.29.1/32
exec create ipip tunnel src 100.0.29.1 dst 200.0.0.2 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 526359776e6d526372566d69474f44546f75516e5769736c4878596a507a746f esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 526359776e6d526372566d69474f44546f75516e5769736c4878596a507a746f esp
exec ipsec tunnel protect ipip29 sa-out 29 sa-in 100029 add
exec set interface ip address loop0 100.0.30.1/32
exec create ipip tunnel src 100.0.30.1 dst 200.0.0.2 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 445548704f507376426e43585973497763466254685744504973474c624a4451 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 445548704f507376426e43585973497763466254685744504973474c624a4451 esp
exec ipsec tunnel protect ipip30 sa-out 30 sa-in 100030 add
exec set interface ip address loop0 100.0.31.1/32
exec create ipip tunnel src 100.0.31.1 dst 200.0.0.2 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 645a63436d786a7a614e5a5a675375547a746c504c59724d6e414e41494d4441 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 645a63436d786a7a614e5a5a675375547a746c504c59724d6e414e41494d4441 esp
exec ipsec tunnel protect ipip31 sa-out 31 sa-in 100031 add
exec set interface ip address loop0 100.0.32.1/32
exec create ipip tunnel src 100.0.32.1 dst 200.0.0.2 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 75496644444866476d63715773545a4f7443774475726d43465a4b6f4a757a58 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 75496644444866476d63715773545a4f7443774475726d43465a4b6f4a757a58 esp
exec ipsec tunnel protect ipip32 sa-out 32 sa-in 100032 add
exec set interface ip address loop0 100.0.33.1/32
exec create ipip tunnel src 100.0.33.1 dst 200.0.0.2 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 735776724a444748736a6b5469496d72726a726f5a4f6347714f4568666f4767 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 735776724a444748736a6b5469496d72726a726f5a4f6347714f4568666f4767 esp
exec ipsec tunnel protect ipip33 sa-out 33 sa-in 100033 add
exec set interface ip address loop0 100.0.34.1/32
exec create ipip tunnel src 100.0.34.1 dst 200.0.0.2 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 6f74784b4559646362517558514363534a4462746f71754f5a54796c4c47636c esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 6f74784b4559646362517558514363534a4462746f71754f5a54796c4c47636c esp
exec ipsec tunnel protect ipip34 sa-out 34 sa-in 100034 add
exec set interface ip address loop0 100.0.35.1/32
exec create ipip tunnel src 100.0.35.1 dst 200.0.0.2 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 564d65636f584c427757724d4f477169794d6b61504a6a4e6879546375784977 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 564d65636f584c427757724d4f477169794d6b61504a6a4e6879546375784977 esp
exec ipsec tunnel protect ipip35 sa-out 35 sa-in 100035 add
exec set interface ip address loop0 100.0.36.1/32
exec create ipip tunnel src 100.0.36.1 dst 200.0.0.2 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 4e766a7a51704161464a734c4f7a6f44444f6c6742487a4171776971436c4854 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 4e766a7a51704161464a734c4f7a6f44444f6c6742487a4171776971436c4854 esp
exec ipsec tunnel protect ipip36 sa-out 36 sa-in 100036 add
exec set interface ip address loop0 100.0.37.1/32
exec create ipip tunnel src 100.0.37.1 dst 200.0.0.2 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 4742547451514e5046626453616f57766e6f7463534d4b78564b4c6e584c6243 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 4742547451514e5046626453616f57766e6f7463534d4b78564b4c6e584c6243 esp
exec ipsec tunnel protect ipip37 sa-out 37 sa-in 100037 add
exec set interface ip address loop0 100.0.38.1/32
exec create ipip tunnel src 100.0.38.1 dst 200.0.0.2 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 586c487a4f654b415a68576d756e474d4d4a4f584c4664704b4178795574744a esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 586c487a4f654b415a68576d756e474d4d4a4f584c4664704b4178795574744a esp
exec ipsec tunnel protect ipip38 sa-out 38 sa-in 100038 add
exec set interface ip address loop0 100.0.39.1/32
exec create ipip tunnel src 100.0.39.1 dst 200.0.0.2 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 57534972504a6f4c72784779536d6e6c516c716b51506a69496255477841416c esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 57534972504a6f4c72784779536d6e6c516c716b51506a69496255477841416c esp
exec ipsec tunnel protect ipip39 sa-out 39 sa-in 100039 add
exec set interface unnumbered ipip0 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip0 up
exec ip route add 20.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip1 up
exec ip route add 20.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip2 up
exec ip route add 20.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip3 up
exec ip route add 20.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip4 up
exec ip route add 20.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip5 up
exec ip route add 20.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip6 up
exec ip route add 20.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip7 up
exec ip route add 20.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip8 up
exec ip route add 20.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip9 up
exec ip route add 20.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip10 up
exec ip route add 20.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip11 up
exec ip route add 20.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip12 up
exec ip route add 20.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip13 up
exec ip route add 20.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip14 up
exec ip route add 20.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip15 up
exec ip route add 20.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip16 up
exec ip route add 20.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip17 up
exec ip route add 20.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip18 up
exec ip route add 20.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip19 up
exec ip route add 20.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip20 up
exec ip route add 20.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip21 up
exec ip route add 20.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip22 up
exec ip route add 20.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip23 up
exec ip route add 20.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip24 up
exec ip route add 20.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip25 up
exec ip route add 20.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip26 up
exec ip route add 20.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip27 up
exec ip route add 20.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip28 up
exec ip route add 20.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip29 up
exec ip route add 20.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip30 up
exec ip route add 20.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip31 up
exec ip route add 20.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip32 up
exec ip route add 20.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip33 up
exec ip route add 20.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip34 up
exec ip route add 20.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip35 up
exec ip route add 20.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip36 up
exec ip route add 20.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip37 up
exec ip route add 20.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip38 up
exec ip route add 20.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip39 up
exec ip route add 20.0.0.39/32 via ipip39
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec set interface ip address TwentyFiveGigabitEthernet3b/0/1 200.0.0.2/24.0
exec create ipip tunnel src 200.0.0.2 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 686761524143586a4e6e5a796f4b4a5550696b6f674b75596457767151504761 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 686761524143586a4e6e5a796f4b4a5550696b6f674b75596457767151504761 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 7778696e484b6b50415067716b447845455546565a6841634e6a6f677248514d esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 7778696e484b6b50415067716b447845455546565a6841634e6a6f677248514d esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 55657853737648446971454548675a4f6254586c487645637844736c6f4e5842 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 55657853737648446971454548675a4f6254586c487645637844736c6f4e5842 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 69467970784c596471506f546f59706171587a67697049695876486f67454d63 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 69467970784c596471506f546f59706171587a67697049695876486f67454d63 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 6479704f794f5862454c72594a6763576971644f4a63524b7476414650724f41 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 6479704f794f5862454c72594a6763576971644f4a63524b7476414650724f41 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 795364754d55677066776c4b6b47455377676c71657a4e4269776c7962746c73 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 795364754d55677066776c4b6b47455377676c71657a4e4269776c7962746c73 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 7279435a4877446e6d4a6e6f6e68574571417a645158417659684c615358434b esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 7279435a4877446e6d4a6e6f6e68574571417a645158417659684c615358434b esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 4c426a796b4f71464c786d7a587841577170444f597455414e47624b504d554d esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 4c426a796b4f71464c786d7a587841577170444f597455414e47624b504d554d esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 56506e6f686a7864565a6f4564485455576757694771446453726a42677a564f esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 56506e6f686a7864565a6f4564485455576757694771446453726a42677a564f esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 674d46725a5450585141647573616c66495945664571665350716e4541616d75 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 674d46725a5450585141647573616c66495945664571665350716e4541616d75 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 69534a726a67556458694576714255544677566e486d6c57784965624b515a46 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 69534a726a67556458694576714255544677566e486d6c57784965624b515a46 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 4b52796d7065794653624764684251567a6553504d724c414b4a4b686d624a6f esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 4b52796d7065794653624764684251567a6553504d724c414b4a4b686d624a6f esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 657965414a576b4258674d584f614c706653664c656e4e7a4f5043524d425472 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 657965414a576b4258674d584f614c706653664c656e4e7a4f5043524d425472 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 474a53786b58517563616a72587355686b677a584a4f50436b6368516d4d7145 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 474a53786b58517563616a72587355686b677a584a4f50436b6368516d4d7145 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 64506275617958525a566a6f445676556f616e477578766e7656664f6169597a esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 64506275617958525a566a6f445676556f616e477578766e7656664f6169597a esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 41636f50726c6e4b664b74744d626b5a5271696a755758636371545a6a557942 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 41636f50726c6e4b664b74744d626b5a5271696a755758636371545a6a557942 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 6b666b765150754450636d6f616258496f57526f7049634873594f474d464156 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 6b666b765150754450636d6f616258496f57526f7049634873594f474d464156 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 41515a776e63716f67784164744f6d414d7068726e704461796d44456c51646f esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 41515a776e63716f67784164744f6d414d7068726e704461796d44456c51646f esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 6c7675526c6e61706b627659504e45774662576149724e6f654358725a4b6e63 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 6c7675526c6e61706b627659504e45774662576149724e6f654358725a4b6e63 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 704a476d6e78644e456e6d584e61775a4f76746974415154436c5a4255525472 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 704a476d6e78644e456e6d584e61775a4f76746974415154436c5a4255525472 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 5345464474546a69706b4d4d6c68664f704b794645746f794e636e4859456554 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 5345464474546a69706b4d4d6c68664f704b794645746f794e636e4859456554 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 524171564e766f565a75424c6d6f4d666159487049697a777a7941796b557041 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 524171564e766f565a75424c6d6f4d666159487049697a777a7941796b557041 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 6c6f6865746759437a444956597261776b4a6a585a7a4873674c554252634773 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 6c6f6865746759437a444956597261776b4a6a585a7a4873674c554252634773 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 594b4a4a4e4a6a5a6a5343744b796462504446526c6971565a426d574270527a esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 594b4a4a4e4a6a5a6a5343744b796462504446526c6971565a426d574270527a esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 706774555450626f544c5346534f796270626a4b506f75574b43717478704856 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 706774555450626f544c5346534f796270626a4b506f75574b43717478704856 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 51597064654953477462476e585a4774556371667759517275507066524e6379 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 51597064654953477462476e585a4774556371667759517275507066524e6379 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 594f68695559446e6a44584b7a664a64616a57667661784f7342544e49587873 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 594f68695559446e6a44584b7a664a64616a57667661784f7342544e49587873 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 684153475377725a6d576553447050445977665069524c596d4d49537451554a esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 684153475377725a6d576553447050445977665069524c596d4d49537451554a esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 4248426e5576774d51646157787372534c576675746d644c6d7375796d586271 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 4248426e5576774d51646157787372534c576675746d644c6d7375796d586271 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 526359776e6d526372566d69474f44546f75516e5769736c4878596a507a746f esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 526359776e6d526372566d69474f44546f75516e5769736c4878596a507a746f esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 445548704f507376426e43585973497763466254685744504973474c624a4451 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 445548704f507376426e43585973497763466254685744504973474c624a4451 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 645a63436d786a7a614e5a5a675375547a746c504c59724d6e414e41494d4441 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 645a63436d786a7a614e5a5a675375547a746c504c59724d6e414e41494d4441 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 75496644444866476d63715773545a4f7443774475726d43465a4b6f4a757a58 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 75496644444866476d63715773545a4f7443774475726d43465a4b6f4a757a58 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 735776724a444748736a6b5469496d72726a726f5a4f6347714f4568666f4767 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 735776724a444748736a6b5469496d72726a726f5a4f6347714f4568666f4767 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 6f74784b4559646362517558514363534a4462746f71754f5a54796c4c47636c esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 6f74784b4559646362517558514363534a4462746f71754f5a54796c4c47636c esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 564d65636f584c427757724d4f477169794d6b61504a6a4e6879546375784977 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 564d65636f584c427757724d4f477169794d6b61504a6a4e6879546375784977 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 4e766a7a51704161464a734c4f7a6f44444f6c6742487a4171776971436c4854 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 4e766a7a51704161464a734c4f7a6f44444f6c6742487a4171776971436c4854 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 4742547451514e5046626453616f57766e6f7463534d4b78564b4c6e584c6243 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 4742547451514e5046626453616f57766e6f7463534d4b78564b4c6e584c6243 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 586c487a4f654b415a68576d756e474d4d4a4f584c4664704b4178795574744a esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 586c487a4f654b415a68576d756e474d4d4a4f584c4664704b4178795574744a esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 57534972504a6f4c72784779536d6e6c516c716b51506a69496255477841416c esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 57534972504a6f4c72784779536d6e6c516c716b51506a69496255477841416c esp
exec ipsec tunnel protect ipip39 sa-out 100039 sa-in 39 add
exec ip route add 100.0.0.1/8 via 200.0.0.1 TwentyFiveGigabitEthernet3b/0/1
exec set interface unnumbered ipip0 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip0 up
exec ip route add 10.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip1 up
exec ip route add 10.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip2 up
exec ip route add 10.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip3 up
exec ip route add 10.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip4 up
exec ip route add 10.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip5 up
exec ip route add 10.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip6 up
exec ip route add 10.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip7 up
exec ip route add 10.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip8 up
exec ip route add 10.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip9 up
exec ip route add 10.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip10 up
exec ip route add 10.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip11 up
exec ip route add 10.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip12 up
exec ip route add 10.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip13 up
exec ip route add 10.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip14 up
exec ip route add 10.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip15 up
exec ip route add 10.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip16 up
exec ip route add 10.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip17 up
exec ip route add 10.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip18 up
exec ip route add 10.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip19 up
exec ip route add 10.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip20 up
exec ip route add 10.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip21 up
exec ip route add 10.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip22 up
exec ip route add 10.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip23 up
exec ip route add 10.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip24 up
exec ip route add 10.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip25 up
exec ip route add 10.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip26 up
exec ip route add 10.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip27 up
exec ip route add 10.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip28 up
exec ip route add 10.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip29 up
exec ip route add 10.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip30 up
exec ip route add 10.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip31 up
exec ip route add 10.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip32 up
exec ip route add 10.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip33 up
exec ip route add 10.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip34 up
exec ip route add 10.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip35 up
exec ip route add 10.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip36 up
exec ip route add 10.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip37 up
exec ip route add 10.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip38 up
exec ip route add 10.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip39 up
exec ip route add 10.0.0.39/32 via ipip39

 imix-8t4c-ethip4ipsec40tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec create loopback interface
exec set interface state loop0 up
exec set interface ip address TwentyFiveGigabitEthernet3b/0/1 200.0.0.1/24
exec set ip neighbor TwentyFiveGigabitEthernet3b/0/1 200.0.0.2 3c:fd:fe:bd:f8:fd static
exec set interface ip address loop0 100.0.0.1/32
exec create ipip tunnel src 100.0.0.1 dst 200.0.0.2 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 446d49534b4f576765675444614a4e53514a594c7275536170634a794e51644d esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 446d49534b4f576765675444614a4e53514a594c7275536170634a794e51644d esp
exec ipsec tunnel protect ipip0 sa-out 0 sa-in 100000 add
exec set interface ip address loop0 100.0.1.1/32
exec create ipip tunnel src 100.0.1.1 dst 200.0.0.2 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 4d645847626374627662785372666a647270615568444b764f6a6a7162496847 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 4d645847626374627662785372666a647270615568444b764f6a6a7162496847 esp
exec ipsec tunnel protect ipip1 sa-out 1 sa-in 100001 add
exec set interface ip address loop0 100.0.2.1/32
exec create ipip tunnel src 100.0.2.1 dst 200.0.0.2 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 67565477616f6f79627950716e635859474f6a654358627866685a7871596c79 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 67565477616f6f79627950716e635859474f6a654358627866685a7871596c79 esp
exec ipsec tunnel protect ipip2 sa-out 2 sa-in 100002 add
exec set interface ip address loop0 100.0.3.1/32
exec create ipip tunnel src 100.0.3.1 dst 200.0.0.2 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 6e6b72435161484e5344464a775852637a594744707973686e72495252784941 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 6e6b72435161484e5344464a775852637a594744707973686e72495252784941 esp
exec ipsec tunnel protect ipip3 sa-out 3 sa-in 100003 add
exec set interface ip address loop0 100.0.4.1/32
exec create ipip tunnel src 100.0.4.1 dst 200.0.0.2 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 645059745761797962796b73574a594a54615062425658616b50545445747652 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 645059745761797962796b73574a594a54615062425658616b50545445747652 esp
exec ipsec tunnel protect ipip4 sa-out 4 sa-in 100004 add
exec set interface ip address loop0 100.0.5.1/32
exec create ipip tunnel src 100.0.5.1 dst 200.0.0.2 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 43555445624a6f514b44495159576856576279424b4143485a516f45556d4165 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 43555445624a6f514b44495159576856576279424b4143485a516f45556d4165 esp
exec ipsec tunnel protect ipip5 sa-out 5 sa-in 100005 add
exec set interface ip address loop0 100.0.6.1/32
exec create ipip tunnel src 100.0.6.1 dst 200.0.0.2 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 42676162786a6a6d63695565734856787745624a765644596e696f6474504877 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 42676162786a6a6d63695565734856787745624a765644596e696f6474504877 esp
exec ipsec tunnel protect ipip6 sa-out 6 sa-in 100006 add
exec set interface ip address loop0 100.0.7.1/32
exec create ipip tunnel src 100.0.7.1 dst 200.0.0.2 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 6a46464d707a535872616a4c77537370436751596f6b6f6851704951526e5241 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 6a46464d707a535872616a4c77537370436751596f6b6f6851704951526e5241 esp
exec ipsec tunnel protect ipip7 sa-out 7 sa-in 100007 add
exec set interface ip address loop0 100.0.8.1/32
exec create ipip tunnel src 100.0.8.1 dst 200.0.0.2 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 4e6657524b527063526c69676956647a7a4c4a784e6352677743455655476f4b esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 4e6657524b527063526c69676956647a7a4c4a784e6352677743455655476f4b esp
exec ipsec tunnel protect ipip8 sa-out 8 sa-in 100008 add
exec set interface ip address loop0 100.0.9.1/32
exec create ipip tunnel src 100.0.9.1 dst 200.0.0.2 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 4d756455554a514f6575584677694e6d565a796a6c41434b714f4c79666a4455 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 4d756455554a514f6575584677694e6d565a796a6c41434b714f4c79666a4455 esp
exec ipsec tunnel protect ipip9 sa-out 9 sa-in 100009 add
exec set interface ip address loop0 100.0.10.1/32
exec create ipip tunnel src 100.0.10.1 dst 200.0.0.2 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 5858766872776861414e4143527870584461594d4b544f4548684c5346446145 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 5858766872776861414e4143527870584461594d4b544f4548684c5346446145 esp
exec ipsec tunnel protect ipip10 sa-out 10 sa-in 100010 add
exec set interface ip address loop0 100.0.11.1/32
exec create ipip tunnel src 100.0.11.1 dst 200.0.0.2 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 41586f454b73795448516b59776a72444c634a4d65474d754a6161764c424741 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 41586f454b73795448516b59776a72444c634a4d65474d754a6161764c424741 esp
exec ipsec tunnel protect ipip11 sa-out 11 sa-in 100011 add
exec set interface ip address loop0 100.0.12.1/32
exec create ipip tunnel src 100.0.12.1 dst 200.0.0.2 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 65634766706c6b626f6970667061436e6d6d4f6f65766777437a457052417150 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 65634766706c6b626f6970667061436e6d6d4f6f65766777437a457052417150 esp
exec ipsec tunnel protect ipip12 sa-out 12 sa-in 100012 add
exec set interface ip address loop0 100.0.13.1/32
exec create ipip tunnel src 100.0.13.1 dst 200.0.0.2 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 705450454e556a5875446c7958584e7742436852634d774c676e724766755955 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 705450454e556a5875446c7958584e7742436852634d774c676e724766755955 esp
exec ipsec tunnel protect ipip13 sa-out 13 sa-in 100013 add
exec set interface ip address loop0 100.0.14.1/32
exec create ipip tunnel src 100.0.14.1 dst 200.0.0.2 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 694159415848755279516c4e44546b6b774a63746a775058766e4d5972716c74 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 694159415848755279516c4e44546b6b774a63746a775058766e4d5972716c74 esp
exec ipsec tunnel protect ipip14 sa-out 14 sa-in 100014 add
exec set interface ip address loop0 100.0.15.1/32
exec create ipip tunnel src 100.0.15.1 dst 200.0.0.2 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 774765674f494d4a50474457566e6e47657a69664a5065764c6b796545457541 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 774765674f494d4a50474457566e6e47657a69664a5065764c6b796545457541 esp
exec ipsec tunnel protect ipip15 sa-out 15 sa-in 100015 add
exec set interface ip address loop0 100.0.16.1/32
exec create ipip tunnel src 100.0.16.1 dst 200.0.0.2 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 666367526a4c6c737a7265437672626e484543785644686449634c536c636651 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 666367526a4c6c737a7265437672626e484543785644686449634c536c636651 esp
exec ipsec tunnel protect ipip16 sa-out 16 sa-in 100016 add
exec set interface ip address loop0 100.0.17.1/32
exec create ipip tunnel src 100.0.17.1 dst 200.0.0.2 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 54494b594f7054644e6f686453785448594643586f6b47616f4b65716b4d4557 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 54494b594f7054644e6f686453785448594643586f6b47616f4b65716b4d4557 esp
exec ipsec tunnel protect ipip17 sa-out 17 sa-in 100017 add
exec set interface ip address loop0 100.0.18.1/32
exec create ipip tunnel src 100.0.18.1 dst 200.0.0.2 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 74436752587a67426e55795947797446617a4a5379664a434845504841534250 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 74436752587a67426e55795947797446617a4a5379664a434845504841534250 esp
exec ipsec tunnel protect ipip18 sa-out 18 sa-in 100018 add
exec set interface ip address loop0 100.0.19.1/32
exec create ipip tunnel src 100.0.19.1 dst 200.0.0.2 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 67645a634e4a4c4e506b75646e7377414d7978736a4351516f45426c744f7245 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 67645a634e4a4c4e506b75646e7377414d7978736a4351516f45426c744f7245 esp
exec ipsec tunnel protect ipip19 sa-out 19 sa-in 100019 add
exec set interface ip address loop0 100.0.20.1/32
exec create ipip tunnel src 100.0.20.1 dst 200.0.0.2 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 41724970697a504566516b6f66436d576c58526b6a7a6b634655616d75734a43 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 41724970697a504566516b6f66436d576c58526b6a7a6b634655616d75734a43 esp
exec ipsec tunnel protect ipip20 sa-out 20 sa-in 100020 add
exec set interface ip address loop0 100.0.21.1/32
exec create ipip tunnel src 100.0.21.1 dst 200.0.0.2 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 58466a564f70777857446c5a787345534f7a7871535a504a71585145756e584b esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 58466a564f70777857446c5a787345534f7a7871535a504a71585145756e584b esp
exec ipsec tunnel protect ipip21 sa-out 21 sa-in 100021 add
exec set interface ip address loop0 100.0.22.1/32
exec create ipip tunnel src 100.0.22.1 dst 200.0.0.2 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 764c586f786643454e79474f644d644b6f634a71436b4d4765526d7a6e636e6a esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 764c586f786643454e79474f644d644b6f634a71436b4d4765526d7a6e636e6a esp
exec ipsec tunnel protect ipip22 sa-out 22 sa-in 100022 add
exec set interface ip address loop0 100.0.23.1/32
exec create ipip tunnel src 100.0.23.1 dst 200.0.0.2 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 4673716b4353524e774e6c516343445479746f6a715974484543514e4e59506d esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 4673716b4353524e774e6c516343445479746f6a715974484543514e4e59506d esp
exec ipsec tunnel protect ipip23 sa-out 23 sa-in 100023 add
exec set interface ip address loop0 100.0.24.1/32
exec create ipip tunnel src 100.0.24.1 dst 200.0.0.2 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 437a514e414c4155644c6850436c586e725373614f656e506b4e77776474577a esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 437a514e414c4155644c6850436c586e725373614f656e506b4e77776474577a esp
exec ipsec tunnel protect ipip24 sa-out 24 sa-in 100024 add
exec set interface ip address loop0 100.0.25.1/32
exec create ipip tunnel src 100.0.25.1 dst 200.0.0.2 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 6e655673645a634978647977496866545655686c4251675763536b416c6b4f53 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 6e655673645a634978647977496866545655686c4251675763536b416c6b4f53 esp
exec ipsec tunnel protect ipip25 sa-out 25 sa-in 100025 add
exec set interface ip address loop0 100.0.26.1/32
exec create ipip tunnel src 100.0.26.1 dst 200.0.0.2 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 49504d4b7550446e47594657754b6a5373484e4e5768576b444e6a7349505858 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 49504d4b7550446e47594657754b6a5373484e4e5768576b444e6a7349505858 esp
exec ipsec tunnel protect ipip26 sa-out 26 sa-in 100026 add
exec set interface ip address loop0 100.0.27.1/32
exec create ipip tunnel src 100.0.27.1 dst 200.0.0.2 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 727053656d50504b7553546374727a4c734b4e7947626e47667671434361796b esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 727053656d50504b7553546374727a4c734b4e7947626e47667671434361796b esp
exec ipsec tunnel protect ipip27 sa-out 27 sa-in 100027 add
exec set interface ip address loop0 100.0.28.1/32
exec create ipip tunnel src 100.0.28.1 dst 200.0.0.2 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 58424d68666549516170595478646c656f66435064537a6e6a74425949426d57 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 58424d68666549516170595478646c656f66435064537a6e6a74425949426d57 esp
exec ipsec tunnel protect ipip28 sa-out 28 sa-in 100028 add
exec set interface ip address loop0 100.0.29.1/32
exec create ipip tunnel src 100.0.29.1 dst 200.0.0.2 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 55747153457957787564547976466d4c565749626155486c5a555a7559716f61 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 55747153457957787564547976466d4c565749626155486c5a555a7559716f61 esp
exec ipsec tunnel protect ipip29 sa-out 29 sa-in 100029 add
exec set interface ip address loop0 100.0.30.1/32
exec create ipip tunnel src 100.0.30.1 dst 200.0.0.2 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 58636574714a6a7a544c5259477365707357766b66487966554a41554b516470 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 58636574714a6a7a544c5259477365707357766b66487966554a41554b516470 esp
exec ipsec tunnel protect ipip30 sa-out 30 sa-in 100030 add
exec set interface ip address loop0 100.0.31.1/32
exec create ipip tunnel src 100.0.31.1 dst 200.0.0.2 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 67645a424a544a6e716b4a6a4b69535a726d4949706764626358756774585574 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 67645a424a544a6e716b4a6a4b69535a726d4949706764626358756774585574 esp
exec ipsec tunnel protect ipip31 sa-out 31 sa-in 100031 add
exec set interface ip address loop0 100.0.32.1/32
exec create ipip tunnel src 100.0.32.1 dst 200.0.0.2 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 6b505a794978647248544d547a756f7a4d5447506b57666b734f784f7074434b esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 6b505a794978647248544d547a756f7a4d5447506b57666b734f784f7074434b esp
exec ipsec tunnel protect ipip32 sa-out 32 sa-in 100032 add
exec set interface ip address loop0 100.0.33.1/32
exec create ipip tunnel src 100.0.33.1 dst 200.0.0.2 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 45725a55566c4e6546727a73784b4b726753676244707a667659674e62516b4c esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 45725a55566c4e6546727a73784b4b726753676244707a667659674e62516b4c esp
exec ipsec tunnel protect ipip33 sa-out 33 sa-in 100033 add
exec set interface ip address loop0 100.0.34.1/32
exec create ipip tunnel src 100.0.34.1 dst 200.0.0.2 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 4d4672775a7045735a4c6b6177464a716f796553467476597363765241716343 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 4d4672775a7045735a4c6b6177464a716f796553467476597363765241716343 esp
exec ipsec tunnel protect ipip34 sa-out 34 sa-in 100034 add
exec set interface ip address loop0 100.0.35.1/32
exec create ipip tunnel src 100.0.35.1 dst 200.0.0.2 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 43727465656164634679776c7047435549756b4348424b42666875447663664f esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 43727465656164634679776c7047435549756b4348424b42666875447663664f esp
exec ipsec tunnel protect ipip35 sa-out 35 sa-in 100035 add
exec set interface ip address loop0 100.0.36.1/32
exec create ipip tunnel src 100.0.36.1 dst 200.0.0.2 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 657a676a62756e58567a694e6b6b626d71566a6c56525a5869734e716c424770 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 657a676a62756e58567a694e6b6b626d71566a6c56525a5869734e716c424770 esp
exec ipsec tunnel protect ipip36 sa-out 36 sa-in 100036 add
exec set interface ip address loop0 100.0.37.1/32
exec create ipip tunnel src 100.0.37.1 dst 200.0.0.2 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 59657759496a7254466f476b4a566c4b436b57766e4b716f544153744b774545 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 59657759496a7254466f476b4a566c4b436b57766e4b716f544153744b774545 esp
exec ipsec tunnel protect ipip37 sa-out 37 sa-in 100037 add
exec set interface ip address loop0 100.0.38.1/32
exec create ipip tunnel src 100.0.38.1 dst 200.0.0.2 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 614c536965534d4564424a6c656c6470445a6f7a6b4a5945636f67734a50784f esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 614c536965534d4564424a6c656c6470445a6f7a6b4a5945636f67734a50784f esp
exec ipsec tunnel protect ipip38 sa-out 38 sa-in 100038 add
exec set interface ip address loop0 100.0.39.1/32
exec create ipip tunnel src 100.0.39.1 dst 200.0.0.2 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 73614d7442596c435777556e4b79767a437454595042474268796363464a744d esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 73614d7442596c435777556e4b79767a437454595042474268796363464a744d esp
exec ipsec tunnel protect ipip39 sa-out 39 sa-in 100039 add
exec set interface unnumbered ipip0 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip0 up
exec ip route add 20.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip1 up
exec ip route add 20.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip2 up
exec ip route add 20.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip3 up
exec ip route add 20.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip4 up
exec ip route add 20.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip5 up
exec ip route add 20.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip6 up
exec ip route add 20.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip7 up
exec ip route add 20.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip8 up
exec ip route add 20.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip9 up
exec ip route add 20.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip10 up
exec ip route add 20.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip11 up
exec ip route add 20.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip12 up
exec ip route add 20.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip13 up
exec ip route add 20.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip14 up
exec ip route add 20.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip15 up
exec ip route add 20.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip16 up
exec ip route add 20.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip17 up
exec ip route add 20.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip18 up
exec ip route add 20.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip19 up
exec ip route add 20.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip20 up
exec ip route add 20.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip21 up
exec ip route add 20.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip22 up
exec ip route add 20.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip23 up
exec ip route add 20.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip24 up
exec ip route add 20.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip25 up
exec ip route add 20.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip26 up
exec ip route add 20.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip27 up
exec ip route add 20.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip28 up
exec ip route add 20.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip29 up
exec ip route add 20.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip30 up
exec ip route add 20.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip31 up
exec ip route add 20.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip32 up
exec ip route add 20.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip33 up
exec ip route add 20.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip34 up
exec ip route add 20.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip35 up
exec ip route add 20.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip36 up
exec ip route add 20.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip37 up
exec ip route add 20.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip38 up
exec ip route add 20.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip39 up
exec ip route add 20.0.0.39/32 via ipip39
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
exec set interface ip address TwentyFiveGigabitEthernet3b/0/1 200.0.0.2/24.0
exec create ipip tunnel src 200.0.0.2 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 446d49534b4f576765675444614a4e53514a594c7275536170634a794e51644d esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 446d49534b4f576765675444614a4e53514a594c7275536170634a794e51644d esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 4d645847626374627662785372666a647270615568444b764f6a6a7162496847 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 4d645847626374627662785372666a647270615568444b764f6a6a7162496847 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 67565477616f6f79627950716e635859474f6a654358627866685a7871596c79 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 67565477616f6f79627950716e635859474f6a654358627866685a7871596c79 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 6e6b72435161484e5344464a775852637a594744707973686e72495252784941 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 6e6b72435161484e5344464a775852637a594744707973686e72495252784941 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 645059745761797962796b73574a594a54615062425658616b50545445747652 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 645059745761797962796b73574a594a54615062425658616b50545445747652 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 43555445624a6f514b44495159576856576279424b4143485a516f45556d4165 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 43555445624a6f514b44495159576856576279424b4143485a516f45556d4165 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 42676162786a6a6d63695565734856787745624a765644596e696f6474504877 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 42676162786a6a6d63695565734856787745624a765644596e696f6474504877 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 6a46464d707a535872616a4c77537370436751596f6b6f6851704951526e5241 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 6a46464d707a535872616a4c77537370436751596f6b6f6851704951526e5241 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 4e6657524b527063526c69676956647a7a4c4a784e6352677743455655476f4b esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 4e6657524b527063526c69676956647a7a4c4a784e6352677743455655476f4b esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 4d756455554a514f6575584677694e6d565a796a6c41434b714f4c79666a4455 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 4d756455554a514f6575584677694e6d565a796a6c41434b714f4c79666a4455 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 5858766872776861414e4143527870584461594d4b544f4548684c5346446145 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 5858766872776861414e4143527870584461594d4b544f4548684c5346446145 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 41586f454b73795448516b59776a72444c634a4d65474d754a6161764c424741 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 41586f454b73795448516b59776a72444c634a4d65474d754a6161764c424741 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 65634766706c6b626f6970667061436e6d6d4f6f65766777437a457052417150 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 65634766706c6b626f6970667061436e6d6d4f6f65766777437a457052417150 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 705450454e556a5875446c7958584e7742436852634d774c676e724766755955 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 705450454e556a5875446c7958584e7742436852634d774c676e724766755955 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 694159415848755279516c4e44546b6b774a63746a775058766e4d5972716c74 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 694159415848755279516c4e44546b6b774a63746a775058766e4d5972716c74 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 774765674f494d4a50474457566e6e47657a69664a5065764c6b796545457541 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 774765674f494d4a50474457566e6e47657a69664a5065764c6b796545457541 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 666367526a4c6c737a7265437672626e484543785644686449634c536c636651 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 666367526a4c6c737a7265437672626e484543785644686449634c536c636651 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 54494b594f7054644e6f686453785448594643586f6b47616f4b65716b4d4557 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 54494b594f7054644e6f686453785448594643586f6b47616f4b65716b4d4557 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 74436752587a67426e55795947797446617a4a5379664a434845504841534250 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 74436752587a67426e55795947797446617a4a5379664a434845504841534250 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 67645a634e4a4c4e506b75646e7377414d7978736a4351516f45426c744f7245 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 67645a634e4a4c4e506b75646e7377414d7978736a4351516f45426c744f7245 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 41724970697a504566516b6f66436d576c58526b6a7a6b634655616d75734a43 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 41724970697a504566516b6f66436d576c58526b6a7a6b634655616d75734a43 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 58466a564f70777857446c5a787345534f7a7871535a504a71585145756e584b esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 58466a564f70777857446c5a787345534f7a7871535a504a71585145756e584b esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 764c586f786643454e79474f644d644b6f634a71436b4d4765526d7a6e636e6a esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 764c586f786643454e79474f644d644b6f634a71436b4d4765526d7a6e636e6a esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 4673716b4353524e774e6c516343445479746f6a715974484543514e4e59506d esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 4673716b4353524e774e6c516343445479746f6a715974484543514e4e59506d esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 437a514e414c4155644c6850436c586e725373614f656e506b4e77776474577a esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 437a514e414c4155644c6850436c586e725373614f656e506b4e77776474577a esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 6e655673645a634978647977496866545655686c4251675763536b416c6b4f53 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 6e655673645a634978647977496866545655686c4251675763536b416c6b4f53 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 49504d4b7550446e47594657754b6a5373484e4e5768576b444e6a7349505858 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 49504d4b7550446e47594657754b6a5373484e4e5768576b444e6a7349505858 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 727053656d50504b7553546374727a4c734b4e7947626e47667671434361796b esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 727053656d50504b7553546374727a4c734b4e7947626e47667671434361796b esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 58424d68666549516170595478646c656f66435064537a6e6a74425949426d57 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 58424d68666549516170595478646c656f66435064537a6e6a74425949426d57 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 55747153457957787564547976466d4c565749626155486c5a555a7559716f61 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 55747153457957787564547976466d4c565749626155486c5a555a7559716f61 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 58636574714a6a7a544c5259477365707357766b66487966554a41554b516470 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 58636574714a6a7a544c5259477365707357766b66487966554a41554b516470 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 67645a424a544a6e716b4a6a4b69535a726d4949706764626358756774585574 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 67645a424a544a6e716b4a6a4b69535a726d4949706764626358756774585574 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 6b505a794978647248544d547a756f7a4d5447506b57666b734f784f7074434b esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 6b505a794978647248544d547a756f7a4d5447506b57666b734f784f7074434b esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 45725a55566c4e6546727a73784b4b726753676244707a667659674e62516b4c esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 45725a55566c4e6546727a73784b4b726753676244707a667659674e62516b4c esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 4d4672775a7045735a4c6b6177464a716f796553467476597363765241716343 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 4d4672775a7045735a4c6b6177464a716f796553467476597363765241716343 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 43727465656164634679776c7047435549756b4348424b42666875447663664f esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 43727465656164634679776c7047435549756b4348424b42666875447663664f esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 657a676a62756e58567a694e6b6b626d71566a6c56525a5869734e716c424770 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 657a676a62756e58567a694e6b6b626d71566a6c56525a5869734e716c424770 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 59657759496a7254466f476b4a566c4b436b57766e4b716f544153744b774545 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 59657759496a7254466f476b4a566c4b436b57766e4b716f544153744b774545 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 614c536965534d4564424a6c656c6470445a6f7a6b4a5945636f67734a50784f esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 614c536965534d4564424a6c656c6470445a6f7a6b4a5945636f67734a50784f esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.2 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 73614d7442596c435777556e4b79767a437454595042474268796363464a744d esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 73614d7442596c435777556e4b79767a437454595042474268796363464a744d esp
exec ipsec tunnel protect ipip39 sa-out 100039 sa-in 39 add
exec ip route add 100.0.0.1/8 via 200.0.0.1 TwentyFiveGigabitEthernet3b/0/1
exec set interface unnumbered ipip0 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip0 up
exec ip route add 10.0.0.0/32 via ipip0
exec set interface unnumbered ipip1 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip1 up
exec ip route add 10.0.0.1/32 via ipip1
exec set interface unnumbered ipip2 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip2 up
exec ip route add 10.0.0.2/32 via ipip2
exec set interface unnumbered ipip3 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip3 up
exec ip route add 10.0.0.3/32 via ipip3
exec set interface unnumbered ipip4 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip4 up
exec ip route add 10.0.0.4/32 via ipip4
exec set interface unnumbered ipip5 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip5 up
exec ip route add 10.0.0.5/32 via ipip5
exec set interface unnumbered ipip6 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip6 up
exec ip route add 10.0.0.6/32 via ipip6
exec set interface unnumbered ipip7 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip7 up
exec ip route add 10.0.0.7/32 via ipip7
exec set interface unnumbered ipip8 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip8 up
exec ip route add 10.0.0.8/32 via ipip8
exec set interface unnumbered ipip9 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip9 up
exec ip route add 10.0.0.9/32 via ipip9
exec set interface unnumbered ipip10 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip10 up
exec ip route add 10.0.0.10/32 via ipip10
exec set interface unnumbered ipip11 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip11 up
exec ip route add 10.0.0.11/32 via ipip11
exec set interface unnumbered ipip12 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip12 up
exec ip route add 10.0.0.12/32 via ipip12
exec set interface unnumbered ipip13 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip13 up
exec ip route add 10.0.0.13/32 via ipip13
exec set interface unnumbered ipip14 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip14 up
exec ip route add 10.0.0.14/32 via ipip14
exec set interface unnumbered ipip15 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip15 up
exec ip route add 10.0.0.15/32 via ipip15
exec set interface unnumbered ipip16 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip16 up
exec ip route add 10.0.0.16/32 via ipip16
exec set interface unnumbered ipip17 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip17 up
exec ip route add 10.0.0.17/32 via ipip17
exec set interface unnumbered ipip18 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip18 up
exec ip route add 10.0.0.18/32 via ipip18
exec set interface unnumbered ipip19 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip19 up
exec ip route add 10.0.0.19/32 via ipip19
exec set interface unnumbered ipip20 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip20 up
exec ip route add 10.0.0.20/32 via ipip20
exec set interface unnumbered ipip21 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip21 up
exec ip route add 10.0.0.21/32 via ipip21
exec set interface unnumbered ipip22 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip22 up
exec ip route add 10.0.0.22/32 via ipip22
exec set interface unnumbered ipip23 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip23 up
exec ip route add 10.0.0.23/32 via ipip23
exec set interface unnumbered ipip24 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip24 up
exec ip route add 10.0.0.24/32 via ipip24
exec set interface unnumbered ipip25 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip25 up
exec ip route add 10.0.0.25/32 via ipip25
exec set interface unnumbered ipip26 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip26 up
exec ip route add 10.0.0.26/32 via ipip26
exec set interface unnumbered ipip27 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip27 up
exec ip route add 10.0.0.27/32 via ipip27
exec set interface unnumbered ipip28 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip28 up
exec ip route add 10.0.0.28/32 via ipip28
exec set interface unnumbered ipip29 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip29 up
exec ip route add 10.0.0.29/32 via ipip29
exec set interface unnumbered ipip30 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip30 up
exec ip route add 10.0.0.30/32 via ipip30
exec set interface unnumbered ipip31 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip31 up
exec ip route add 10.0.0.31/32 via ipip31
exec set interface unnumbered ipip32 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip32 up
exec ip route add 10.0.0.32/32 via ipip32
exec set interface unnumbered ipip33 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip33 up
exec ip route add 10.0.0.33/32 via ipip33
exec set interface unnumbered ipip34 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip34 up
exec ip route add 10.0.0.34/32 via ipip34
exec set interface unnumbered ipip35 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip35 up
exec ip route add 10.0.0.35/32 via ipip35
exec set interface unnumbered ipip36 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip36 up
exec ip route add 10.0.0.36/32 via ipip36
exec set interface unnumbered ipip37 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip37 up
exec ip route add 10.0.0.37/32 via ipip37
exec set interface unnumbered ipip38 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip38 up
exec ip route add 10.0.0.38/32 via ipip38
exec set interface unnumbered ipip39 use TwentyFiveGigabitEthernet3b/0/1
exec set interface state ipip39 up
exec ip route add 10.0.0.39/32 via ipip39

25ge2p1xxv710-ethip4ipsec4tnlsw-ip4base-int-aes128cbc-hmac512sha-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-ethip4ipsec4tnlsw-ip4base- 
int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f8:fd’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’RBsBTYZHGgHJdOoh’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’zeBciTBynEfXDjaMgRcuuXZYmJSwQAkdCXTvMNcaRMutUrjACEGxgXcLcKkpWlnP’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’RBsBTYZHGgHJdOoh’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’zeBciTBynEfXDjaMgRcuuXZYmJSwQAkdCXTvMNcaRMutUrjACEGxgXcLcKkpWlnP’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’mqaRyuZBeoollYTv’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’VyhCYmwvLAapNORYbarbbmSpxIXukyEFsjhndOyLoFZVdXKMhRcvCkosTmCnwxVY’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’mqaRyuZBeoollYTv’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’VyhCYmwvLAapNORYbarbbmSpxIXukyEFsjhndOyLoFZVdXKMhRcvCkosTmCnwxVY’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’ywCrrqSCtJYIolEN’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’lhyDflOIMgTyRwzdhBVqaCOqiXrAXtbXyUbMcTruxwzCNnKJPdFFicGQGaYDHHRV’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’ywCrrqSCtJYIolEN’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’lhyDflOIMgTyRwzdhBVqaCOqiXrAXtbXyUbMcTruxwzCNnKJPdFFicGQGaYDHHRV’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’qlbOgrqnZMNzgAmW’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’HLlHBlRYhhrIizRDrfjqEZmmnPOlTBdKdbqNbRQkXPnlAMMWJKtQSGQOPiuxkwiu’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’qlbOgrqnZMNzgAmW’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’HLlHBlRYhhrIizRDrfjqEZmmnPOlTBdKdbqNbRQkXPnlAMMWJKtQSGQOPiuxkwiu’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’RBsBTYZHGgHJdOoh’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’zeBciTBynEfXDjaMgRcuuXZYmJSwQAkdCXTvMNcaRMutUrjACEGxgXcLcKkpWlnP’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’RBsBTYZHGgHJdOoh’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’zeBciTBynEfXDjaMgRcuuXZYmJSwQAkdCXTvMNcaRMutUrjACEGxgXcLcKkpWlnP’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’mqaRyuZBeoollYTv’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’VyhCYmwvLAapNORYbarbbmSpxIXukyEFsjhndOyLoFZVdXKMhRcvCkosTmCnwxVY’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’mqaRyuZBeoollYTv’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’VyhCYmwvLAapNORYbarbbmSpxIXukyEFsjhndOyLoFZVdXKMhRcvCkosTmCnwxVY’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’ywCrrqSCtJYIolEN’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’lhyDflOIMgTyRwzdhBVqaCOqiXrAXtbXyUbMcTruxwzCNnKJPdFFicGQGaYDHHRV’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’ywCrrqSCtJYIolEN’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’lhyDflOIMgTyRwzdhBVqaCOqiXrAXtbXyUbMcTruxwzCNnKJPdFFicGQGaYDHHRV’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’qlbOgrqnZMNzgAmW’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’HLlHBlRYhhrIizRDrfjqEZmmnPOlTBdKdbqNbRQkXPnlAMMWJKtQSGQOPiuxkwiu’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’qlbOgrqnZMNzgAmW’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’HLlHBlRYhhrIizRDrfjqEZmmnPOlTBdKdbqNbRQkXPnlAMMWJKtQSGQOPiuxkwiu’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-2t1c-ethip4ipsec4tnlsw-ip4base- 
int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f8:fd’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’UpxLlORxLeXfvNcm’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’pGXnhDzQVELITLdKjDMFnDpMAxDCvUKuDtYEqzCDiRsYQIJxBMcdyXXEZJeKgtBw’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’UpxLlORxLeXfvNcm’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’pGXnhDzQVELITLdKjDMFnDpMAxDCvUKuDtYEqzCDiRsYQIJxBMcdyXXEZJeKgtBw’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’nvWRDvMZYeTwqxzB’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’KaTOSaGntwcrqnUSXcCZqaWdVblQmlPHJiOuBXEFhlSSuqFrbplUJkCjbtJyIYtq’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’nvWRDvMZYeTwqxzB’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’KaTOSaGntwcrqnUSXcCZqaWdVblQmlPHJiOuBXEFhlSSuqFrbplUJkCjbtJyIYtq’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’NaWCSlwyAHmHyFVf’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’TnHtbTugAKrMsaycqYxelzpNETSkVbVkWGEOqJTfUUUCyYzGNsLSOkGiYrLpYLha’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’NaWCSlwyAHmHyFVf’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’TnHtbTugAKrMsaycqYxelzpNETSkVbVkWGEOqJTfUUUCyYzGNsLSOkGiYrLpYLha’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’LbMnFUpprMFxLBKK’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’vsdkrSGpxKQEcfazqUFaMQfQTZIXBMzhXvpvnGcHPWwzDPjugqUqTUQOOGhLRSXO’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’LbMnFUpprMFxLBKK’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’vsdkrSGpxKQEcfazqUFaMQfQTZIXBMzhXvpvnGcHPWwzDPjugqUqTUQOOGhLRSXO’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’UpxLlORxLeXfvNcm’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’pGXnhDzQVELITLdKjDMFnDpMAxDCvUKuDtYEqzCDiRsYQIJxBMcdyXXEZJeKgtBw’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’UpxLlORxLeXfvNcm’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’pGXnhDzQVELITLdKjDMFnDpMAxDCvUKuDtYEqzCDiRsYQIJxBMcdyXXEZJeKgtBw’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’nvWRDvMZYeTwqxzB’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’KaTOSaGntwcrqnUSXcCZqaWdVblQmlPHJiOuBXEFhlSSuqFrbplUJkCjbtJyIYtq’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’nvWRDvMZYeTwqxzB’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’KaTOSaGntwcrqnUSXcCZqaWdVblQmlPHJiOuBXEFhlSSuqFrbplUJkCjbtJyIYtq’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’NaWCSlwyAHmHyFVf’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’TnHtbTugAKrMsaycqYxelzpNETSkVbVkWGEOqJTfUUUCyYzGNsLSOkGiYrLpYLha’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’NaWCSlwyAHmHyFVf’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’TnHtbTugAKrMsaycqYxelzpNETSkVbVkWGEOqJTfUUUCyYzGNsLSOkGiYrLpYLha’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’LbMnFUpprMFxLBKK’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’vsdkrSGpxKQEcfazqUFaMQfQTZIXBMzhXvpvnGcHPWwzDPjugqUqTUQOOGhLRSXO’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’LbMnFUpprMFxLBKK’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’vsdkrSGpxKQEcfazqUFaMQfQTZIXBMzhXvpvnGcHPWwzDPjugqUqTUQOOGhLRSXO’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t1c-ethip4ipsec4tnlsw-ip4base- 
int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f8:fd’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’AVaFApYGVFCJGEuf’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ApLumNRzydCPcMbRqJjVgpMJFBHIgukxWCOgSytVXitRnXreCzqrmrHukXjOPzwg’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’AVaFApYGVFCJGEuf’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ApLumNRzydCPcMbRqJjVgpMJFBHIgukxWCOgSytVXitRnXreCzqrmrHukXjOPzwg’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’MYcEpXIgtQKnxpjS’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’IUWgyUzucdYxXhHCYZtdOzDrpSaWbecAlGvVhKKMiitpCvxzbTFLKrWxXnBoyVnh’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’MYcEpXIgtQKnxpjS’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’IUWgyUzucdYxXhHCYZtdOzDrpSaWbecAlGvVhKKMiitpCvxzbTFLKrWxXnBoyVnh’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’RJsIhhZUAwKRkaEe’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’CRlnOzFPrFoeEyjpNTMKjNPovJvveogPgrZAdrjmctyWztegBQlXazRVevIjAlmH’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’RJsIhhZUAwKRkaEe’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’CRlnOzFPrFoeEyjpNTMKjNPovJvveogPgrZAdrjmctyWztegBQlXazRVevIjAlmH’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’uAOerlhUzBMkBxfA’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’NtmLrkNSxQYuGbZTudjCmskMfWsoaCDGdafwjipreXnfiUkNXbwypcUlcPjHdrmF’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’uAOerlhUzBMkBxfA’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’NtmLrkNSxQYuGbZTudjCmskMfWsoaCDGdafwjipreXnfiUkNXbwypcUlcPjHdrmF’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’AVaFApYGVFCJGEuf’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ApLumNRzydCPcMbRqJjVgpMJFBHIgukxWCOgSytVXitRnXreCzqrmrHukXjOPzwg’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’AVaFApYGVFCJGEuf’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ApLumNRzydCPcMbRqJjVgpMJFBHIgukxWCOgSytVXitRnXreCzqrmrHukXjOPzwg’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’MYcEpXIgtQKnxpjS’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’IUWgyUzucdYxXhHCYZtdOzDrpSaWbecAlGvVhKKMiitpCvxzbTFLKrWxXnBoyVnh’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’MYcEpXIgtQKnxpjS’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’IUWgyUzucdYxXhHCYZtdOzDrpSaWbecAlGvVhKKMiitpCvxzbTFLKrWxXnBoyVnh’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’RJsIhhZUAwKRkaEe’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’CRlnOzFPrFoeEyjpNTMKjNPovJvveogPgrZAdrjmctyWztegBQlXazRVevIjAlmH’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’RJsIhhZUAwKRkaEe’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’CRlnOzFPrFoeEyjpNTMKjNPovJvveogPgrZAdrjmctyWztegBQlXazRVevIjAlmH’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’uAOerlhUzBMkBxfA’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’NtmLrkNSxQYuGbZTudjCmskMfWsoaCDGdafwjipreXnfiUkNXbwypcUlcPjHdrmF’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’uAOerlhUzBMkBxfA’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’NtmLrkNSxQYuGbZTudjCmskMfWsoaCDGdafwjipreXnfiUkNXbwypcUlcPjHdrmF’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-ethip4ipsec4tnlsw-ip4base-int-aes128gcm-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-ethip4ipsec4tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f8:fd’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’zsrIsjxefUGnTYkw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’zsrIsjxefUGnTYkw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’pvDGrISvtNKiLZey’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’pvDGrISvtNKiLZey’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’zBiEcYDYqDKUNyjK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’zBiEcYDYqDKUNyjK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’rsvvGzvxyhzcmscg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’rsvvGzvxyhzcmscg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’zsrIsjxefUGnTYkw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’zsrIsjxefUGnTYkw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’pvDGrISvtNKiLZey’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’pvDGrISvtNKiLZey’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’zBiEcYDYqDKUNyjK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’zBiEcYDYqDKUNyjK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’rsvvGzvxyhzcmscg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’rsvvGzvxyhzcmscg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-4t2c-ethip4ipsec4tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f8:fd’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’OjvCWsjdaRxxaXRl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’OjvCWsjdaRxxaXRl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’fkckmDQNfyHbknmZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’fkckmDQNfyHbknmZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’DxaSzSXCCYUahPWS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’DxaSzSXCCYUahPWS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’CwQXTJvyiPsxNFYm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’CwQXTJvyiPsxNFYm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’OjvCWsjdaRxxaXRl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’OjvCWsjdaRxxaXRl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’fkckmDQNfyHbknmZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’fkckmDQNfyHbknmZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’DxaSzSXCCYUahPWS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’DxaSzSXCCYUahPWS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’CwQXTJvyiPsxNFYm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’CwQXTJvyiPsxNFYm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-8t4c-ethip4ipsec4tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f8:fd’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’SUwWDnUFSpCxljTO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’SUwWDnUFSpCxljTO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’mDhMgZviBeYBvtAu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’mDhMgZviBeYBvtAu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’szULEqqlNRUpZaqc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’szULEqqlNRUpZaqc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’mXDfYMyLBLHyckLI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’mXDfYMyLBLHyckLI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’SUwWDnUFSpCxljTO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’SUwWDnUFSpCxljTO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’mDhMgZviBeYBvtAu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’mDhMgZviBeYBvtAu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’szULEqqlNRUpZaqc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’szULEqqlNRUpZaqc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’mXDfYMyLBLHyckLI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’mXDfYMyLBLHyckLI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-2t1c-ethip4ipsec4tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f8:fd’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’ILefnMFlFChUsHsN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’ILefnMFlFChUsHsN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’VuaoTgFMwUqgmmml’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’VuaoTgFMwUqgmmml’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’KUzXiYfsfzOAYOYj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’KUzXiYfsfzOAYOYj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’rPkNdTTNjrRadTjQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’rPkNdTTNjrRadTjQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’ILefnMFlFChUsHsN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’ILefnMFlFChUsHsN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’VuaoTgFMwUqgmmml’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’VuaoTgFMwUqgmmml’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’KUzXiYfsfzOAYOYj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’KUzXiYfsfzOAYOYj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’rPkNdTTNjrRadTjQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’rPkNdTTNjrRadTjQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-4t2c-ethip4ipsec4tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f8:fd’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’IcPhphTvUghjJupB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’IcPhphTvUghjJupB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’jMUcRvEIhSCeIZHe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’jMUcRvEIhSCeIZHe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’cFnjcXegNElTNpNF’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’cFnjcXegNElTNpNF’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’JImCfZEAQTxcjlQx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’JImCfZEAQTxcjlQx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’IcPhphTvUghjJupB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’IcPhphTvUghjJupB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’jMUcRvEIhSCeIZHe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’jMUcRvEIhSCeIZHe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’cFnjcXegNElTNpNF’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’cFnjcXegNElTNpNF’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’JImCfZEAQTxcjlQx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’JImCfZEAQTxcjlQx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t1c-ethip4ipsec4tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f8:fd’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’VBjdvfJuhslaxIdg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’VBjdvfJuhslaxIdg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’ptBtCzEBKLhPNWbQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’ptBtCzEBKLhPNWbQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’NEfWNxbwtuzPnspM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’NEfWNxbwtuzPnspM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’CGkRXomoUYZmMTbc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’CGkRXomoUYZmMTbc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’VBjdvfJuhslaxIdg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’VBjdvfJuhslaxIdg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’ptBtCzEBKLhPNWbQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’ptBtCzEBKLhPNWbQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’NEfWNxbwtuzPnspM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’NEfWNxbwtuzPnspM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’CGkRXomoUYZmMTbc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’CGkRXomoUYZmMTbc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-4t2c-ethip4ipsec4tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f8:fd’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’qRrYMKSOcJduyhcs’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’qRrYMKSOcJduyhcs’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’gBdvPCRGjQWVmFvM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’gBdvPCRGjQWVmFvM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’GLSNhKpsOnVkJbas’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’GLSNhKpsOnVkJbas’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’gyikMYccLPsmykhV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’gyikMYccLPsmykhV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’qRrYMKSOcJduyhcs’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’qRrYMKSOcJduyhcs’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’gBdvPCRGjQWVmFvM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’gBdvPCRGjQWVmFvM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’GLSNhKpsOnVkJbas’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’GLSNhKpsOnVkJbas’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’gyikMYccLPsmykhV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’gyikMYccLPsmykhV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-8t4c-ethip4ipsec4tnlsw- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f8:fd’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’dvcgmrVlGpeelcio’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’dvcgmrVlGpeelcio’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’wJmXNRydILorOhdT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’wJmXNRydILorOhdT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’cSutypWFADzaBRyo’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’cSutypWFADzaBRyo’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’WnyjdSiPuFfMUqjn’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’WnyjdSiPuFfMUqjn’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’dvcgmrVlGpeelcio’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’dvcgmrVlGpeelcio’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’wJmXNRydILorOhdT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’wJmXNRydILorOhdT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’cSutypWFADzaBRyo’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’cSutypWFADzaBRyo’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’WnyjdSiPuFfMUqjn’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’WnyjdSiPuFfMUqjn’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-ethip4ipsec4tnlsw-ip4base-int-aes256gcm-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t1c-ethip4ipsec4tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f8:fd’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’fRfoqKNTArebeFSFxhuuQrfgUEaCYLgu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’fRfoqKNTArebeFSFxhuuQrfgUEaCYLgu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’UbjyHTOrkyqKfwNvQpVDYXWlzNgDljeW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’UbjyHTOrkyqKfwNvQpVDYXWlzNgDljeW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’VVCTqyNYrGGyadusFcuBcGZabYCYWYxV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’VVCTqyNYrGGyadusFcuBcGZabYCYWYxV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’SSavgtPSWMOgBIkQWlVupbdrOoqhQYbi’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’SSavgtPSWMOgBIkQWlVupbdrOoqhQYbi’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’fRfoqKNTArebeFSFxhuuQrfgUEaCYLgu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’fRfoqKNTArebeFSFxhuuQrfgUEaCYLgu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’UbjyHTOrkyqKfwNvQpVDYXWlzNgDljeW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’UbjyHTOrkyqKfwNvQpVDYXWlzNgDljeW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’VVCTqyNYrGGyadusFcuBcGZabYCYWYxV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’VVCTqyNYrGGyadusFcuBcGZabYCYWYxV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’SSavgtPSWMOgBIkQWlVupbdrOoqhQYbi’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’SSavgtPSWMOgBIkQWlVupbdrOoqhQYbi’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-4t2c-ethip4ipsec4tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f8:fd’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’wIGzIckNmtagROWqbSEupcIEPQSenUqa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’wIGzIckNmtagROWqbSEupcIEPQSenUqa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’XkuwAcThXjgKYpZrLtOYjEpDYhYKzxZS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’XkuwAcThXjgKYpZrLtOYjEpDYhYKzxZS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’kMqYPVhfaBNOfxYQCbpUrwYSkXyeGAqw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’kMqYPVhfaBNOfxYQCbpUrwYSkXyeGAqw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’fyYGXImlVlIuJZTQGtJCedpmLEaJDEHJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’fyYGXImlVlIuJZTQGtJCedpmLEaJDEHJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’wIGzIckNmtagROWqbSEupcIEPQSenUqa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’wIGzIckNmtagROWqbSEupcIEPQSenUqa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’XkuwAcThXjgKYpZrLtOYjEpDYhYKzxZS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’XkuwAcThXjgKYpZrLtOYjEpDYhYKzxZS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’kMqYPVhfaBNOfxYQCbpUrwYSkXyeGAqw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’kMqYPVhfaBNOfxYQCbpUrwYSkXyeGAqw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’fyYGXImlVlIuJZTQGtJCedpmLEaJDEHJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’fyYGXImlVlIuJZTQGtJCedpmLEaJDEHJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-8t4c-ethip4ipsec4tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f8:fd’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’TMalMTGjUUGKLdBTggfezwjotelKjGqj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’TMalMTGjUUGKLdBTggfezwjotelKjGqj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’yKNTqRTVcJItoTWiBTjvFBPdcorEokpG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’yKNTqRTVcJItoTWiBTjvFBPdcorEokpG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’fuvFEwmjFyJDdfOyBFLSFnFbXqvEpqKL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’fuvFEwmjFyJDdfOyBFLSFnFbXqvEpqKL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’pPuJuSoZZMLIzVdHTPSgLGQIABvmtkrc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’pPuJuSoZZMLIzVdHTPSgLGQIABvmtkrc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’TMalMTGjUUGKLdBTggfezwjotelKjGqj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’TMalMTGjUUGKLdBTggfezwjotelKjGqj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’yKNTqRTVcJItoTWiBTjvFBPdcorEokpG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’yKNTqRTVcJItoTWiBTjvFBPdcorEokpG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’fuvFEwmjFyJDdfOyBFLSFnFbXqvEpqKL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’fuvFEwmjFyJDdfOyBFLSFnFbXqvEpqKL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’pPuJuSoZZMLIzVdHTPSgLGQIABvmtkrc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’pPuJuSoZZMLIzVdHTPSgLGQIABvmtkrc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-2t1c-ethip4ipsec4tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f8:fd’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’jJYaiYHaIbQRNuLwuaBZsKAslWDflURl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’jJYaiYHaIbQRNuLwuaBZsKAslWDflURl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’rQiyTuhwUuTCUlinOigAlDaAkoVJrQab’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’rQiyTuhwUuTCUlinOigAlDaAkoVJrQab’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’hdKbaqSKlLWSzricwMFPLHJXInpQagUM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’hdKbaqSKlLWSzricwMFPLHJXInpQagUM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’hrrMPysWZxfOczAVpsHtsrVKyHSTWxDc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’hrrMPysWZxfOczAVpsHtsrVKyHSTWxDc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’jJYaiYHaIbQRNuLwuaBZsKAslWDflURl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’jJYaiYHaIbQRNuLwuaBZsKAslWDflURl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’rQiyTuhwUuTCUlinOigAlDaAkoVJrQab’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’rQiyTuhwUuTCUlinOigAlDaAkoVJrQab’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’hdKbaqSKlLWSzricwMFPLHJXInpQagUM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’hdKbaqSKlLWSzricwMFPLHJXInpQagUM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’hrrMPysWZxfOczAVpsHtsrVKyHSTWxDc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’hrrMPysWZxfOczAVpsHtsrVKyHSTWxDc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 1518b-4t2c-ethip4ipsec4tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f8:fd’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’tcJJIiOevZBFxlERpoTzFvrQYMDkBUvB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’tcJJIiOevZBFxlERpoTzFvrQYMDkBUvB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’iGEhTJySlMDyOlnJARtRgmQWxyvOyftm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’iGEhTJySlMDyOlnJARtRgmQWxyvOyftm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’aRSWjdvumkYGMWZadccNEZkdoUUzMVhY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’aRSWjdvumkYGMWZadccNEZkdoUUzMVhY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’HpwDEXoSPmAtfhjVMMuZOXVxXGMdGGqW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’HpwDEXoSPmAtfhjVMMuZOXVxXGMdGGqW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’tcJJIiOevZBFxlERpoTzFvrQYMDkBUvB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’tcJJIiOevZBFxlERpoTzFvrQYMDkBUvB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’iGEhTJySlMDyOlnJARtRgmQWxyvOyftm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’iGEhTJySlMDyOlnJARtRgmQWxyvOyftm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’aRSWjdvumkYGMWZadccNEZkdoUUzMVhY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’aRSWjdvumkYGMWZadccNEZkdoUUzMVhY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’HpwDEXoSPmAtfhjVMMuZOXVxXGMdGGqW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’HpwDEXoSPmAtfhjVMMuZOXVxXGMdGGqW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t1c-ethip4ipsec4tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f8:fd’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’cmjtClVcpErSzyDDsBJcVuDIofdPbyDk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’cmjtClVcpErSzyDDsBJcVuDIofdPbyDk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’BavPiUbwdDWWriXpLfpdAuReBXrHQsPw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’BavPiUbwdDWWriXpLfpdAuReBXrHQsPw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’AeBfjHllvhKcCOfXHRrtImUynCIPLKQz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’AeBfjHllvhKcCOfXHRrtImUynCIPLKQz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’CDMCuXjUgmDNMLPMErxPYBOAlOWxyUoC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’CDMCuXjUgmDNMLPMErxPYBOAlOWxyUoC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’cmjtClVcpErSzyDDsBJcVuDIofdPbyDk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’cmjtClVcpErSzyDDsBJcVuDIofdPbyDk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’BavPiUbwdDWWriXpLfpdAuReBXrHQsPw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’BavPiUbwdDWWriXpLfpdAuReBXrHQsPw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’AeBfjHllvhKcCOfXHRrtImUynCIPLKQz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’AeBfjHllvhKcCOfXHRrtImUynCIPLKQz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’CDMCuXjUgmDNMLPMErxPYBOAlOWxyUoC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’CDMCuXjUgmDNMLPMErxPYBOAlOWxyUoC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-4t2c-ethip4ipsec4tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f8:fd’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’FxnmusVDGKdZWJIBuKgWWXnItXnRTEIC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’FxnmusVDGKdZWJIBuKgWWXnItXnRTEIC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’DLGjGPqIURrbhVDocccodPHOBWIaSPjw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’DLGjGPqIURrbhVDocccodPHOBWIaSPjw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’WJIIALNVuRJkHOIUbjDBcoMhRiFozPbE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’WJIIALNVuRJkHOIUbjDBcoMhRiFozPbE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’iAEILqeaQhIUuTLKsQgwqAoEJUNwbChs’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’iAEILqeaQhIUuTLKsQgwqAoEJUNwbChs’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’FxnmusVDGKdZWJIBuKgWWXnItXnRTEIC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’FxnmusVDGKdZWJIBuKgWWXnItXnRTEIC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’DLGjGPqIURrbhVDocccodPHOBWIaSPjw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’DLGjGPqIURrbhVDocccodPHOBWIaSPjw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’WJIIALNVuRJkHOIUbjDBcoMhRiFozPbE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’WJIIALNVuRJkHOIUbjDBcoMhRiFozPbE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’iAEILqeaQhIUuTLKsQgwqAoEJUNwbChs’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’iAEILqeaQhIUuTLKsQgwqAoEJUNwbChs’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-8t4c-ethip4ipsec4tnlsw- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1c’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f8:fd’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’PIGzmEzhaliYOLkeieiSPOwuRYHHUIPK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’PIGzmEzhaliYOLkeieiSPOwuRYHHUIPK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’DFpGSfVZRtRpMyeGpMvecQZuCyzNAVlA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’DFpGSfVZRtRpMyeGpMvecQZuCyzNAVlA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’QsnzhdiDsuRVayuxZUhZdkSWAbcKwrxl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’QsnzhdiDsuRVayuxZUhZdkSWAbcKwrxl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’aScIghtzfLBEJgkQRwJmPMzcZextUFBw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’aScIghtzfLBEJgkQRwJmPMzcZextUFBw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:fa:1d’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’PIGzmEzhaliYOLkeieiSPOwuRYHHUIPK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’PIGzmEzhaliYOLkeieiSPOwuRYHHUIPK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’DFpGSfVZRtRpMyeGpMvecQZuCyzNAVlA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’DFpGSfVZRtRpMyeGpMvecQZuCyzNAVlA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’QsnzhdiDsuRVayuxZUhZdkSWAbcKwrxl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’QsnzhdiDsuRVayuxZUhZdkSWAbcKwrxl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’aScIghtzfLBEJgkQRwJmPMzcZextUFBw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’aScIghtzfLBEJgkQRwJmPMzcZextUFBw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t4c-ethip4ipsec4tnlswasync-scheduler- 
ip4base-int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’trMpNLNgzNaDsvUP’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’iCFPytnLyEhDDFFIuvigkOBhdpDmkqgjcoMnGvmhpCNImwXyVYHJnJWNtpGZbPSY’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’trMpNLNgzNaDsvUP’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’iCFPytnLyEhDDFFIuvigkOBhdpDmkqgjcoMnGvmhpCNImwXyVYHJnJWNtpGZbPSY’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’wpLvWFsUUNnkoYCZ’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’BacggUImMSnIdRufzPxjhaiTCySNUFmaeXYjAakSLfwbrMXyGUtBfOeFSSukWZnX’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’wpLvWFsUUNnkoYCZ’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’BacggUImMSnIdRufzPxjhaiTCySNUFmaeXYjAakSLfwbrMXyGUtBfOeFSSukWZnX’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’FgcXVjkcCZZtaOmK’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’yInrcUDdBigAxvxOZUTVKrgRlCRNEAQgAItKnilFytUKBluGWtIymVJfYzxxqEdH’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’FgcXVjkcCZZtaOmK’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’yInrcUDdBigAxvxOZUTVKrgRlCRNEAQgAItKnilFytUKBluGWtIymVJfYzxxqEdH’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’CoLufaJLsDaxJiHe’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’RmjoncYzYCQLufXFQogdmHsLxlirWQVsfyDVCrDIXrzPWEkMrkgUpAyhNkuTdbmF’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’CoLufaJLsDaxJiHe’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’RmjoncYzYCQLufXFQogdmHsLxlirWQVsfyDVCrDIXrzPWEkMrkgUpAyhNkuTdbmF’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’trMpNLNgzNaDsvUP’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’iCFPytnLyEhDDFFIuvigkOBhdpDmkqgjcoMnGvmhpCNImwXyVYHJnJWNtpGZbPSY’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’trMpNLNgzNaDsvUP’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’iCFPytnLyEhDDFFIuvigkOBhdpDmkqgjcoMnGvmhpCNImwXyVYHJnJWNtpGZbPSY’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’wpLvWFsUUNnkoYCZ’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’BacggUImMSnIdRufzPxjhaiTCySNUFmaeXYjAakSLfwbrMXyGUtBfOeFSSukWZnX’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’wpLvWFsUUNnkoYCZ’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’BacggUImMSnIdRufzPxjhaiTCySNUFmaeXYjAakSLfwbrMXyGUtBfOeFSSukWZnX’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’FgcXVjkcCZZtaOmK’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’yInrcUDdBigAxvxOZUTVKrgRlCRNEAQgAItKnilFytUKBluGWtIymVJfYzxxqEdH’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’FgcXVjkcCZZtaOmK’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’yInrcUDdBigAxvxOZUTVKrgRlCRNEAQgAItKnilFytUKBluGWtIymVJfYzxxqEdH’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’CoLufaJLsDaxJiHe’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’RmjoncYzYCQLufXFQogdmHsLxlirWQVsfyDVCrDIXrzPWEkMrkgUpAyhNkuTdbmF’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’CoLufaJLsDaxJiHe’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’RmjoncYzYCQLufXFQogdmHsLxlirWQVsfyDVCrDIXrzPWEkMrkgUpAyhNkuTdbmF’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t4c-ethip4ipsec4tnlswasync-scheduler- 
ip4base-int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’ijchsolbPqcAYOlw’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’uGyOKzhbtszKSGfMKzmecXLYLGJybKdWtsvlNuktewIGmmZpbCGAOmJTZYkCIssw’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’ijchsolbPqcAYOlw’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’uGyOKzhbtszKSGfMKzmecXLYLGJybKdWtsvlNuktewIGmmZpbCGAOmJTZYkCIssw’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’nSEfCuHfTzCcATtS’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’IhAXUDMWHKJDZqUZSYFLYVJcZjduusbkKZdFLWXjqnEcQcmxSEHHJqezPJEiaMDF’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’nSEfCuHfTzCcATtS’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’IhAXUDMWHKJDZqUZSYFLYVJcZjduusbkKZdFLWXjqnEcQcmxSEHHJqezPJEiaMDF’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’ogiCSwELsLwTTdER’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’bTvAVtSQDHvvWVwXsqiHkjabxVIAkhmUZmQjSaZtphZfLTySbjifOQfaBPyxLBdo’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’ogiCSwELsLwTTdER’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’bTvAVtSQDHvvWVwXsqiHkjabxVIAkhmUZmQjSaZtphZfLTySbjifOQfaBPyxLBdo’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’RUpfcrqqtoIRQakO’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’cjSjFGypVmXBoYhkYQMOPIWMqzrqeHSwssQEVXaffmRJKnNWSnYNFUBWBaAiQcwz’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’RUpfcrqqtoIRQakO’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’cjSjFGypVmXBoYhkYQMOPIWMqzrqeHSwssQEVXaffmRJKnNWSnYNFUBWBaAiQcwz’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’ijchsolbPqcAYOlw’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’uGyOKzhbtszKSGfMKzmecXLYLGJybKdWtsvlNuktewIGmmZpbCGAOmJTZYkCIssw’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’ijchsolbPqcAYOlw’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’uGyOKzhbtszKSGfMKzmecXLYLGJybKdWtsvlNuktewIGmmZpbCGAOmJTZYkCIssw’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’nSEfCuHfTzCcATtS’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’IhAXUDMWHKJDZqUZSYFLYVJcZjduusbkKZdFLWXjqnEcQcmxSEHHJqezPJEiaMDF’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’nSEfCuHfTzCcATtS’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’IhAXUDMWHKJDZqUZSYFLYVJcZjduusbkKZdFLWXjqnEcQcmxSEHHJqezPJEiaMDF’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’ogiCSwELsLwTTdER’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’bTvAVtSQDHvvWVwXsqiHkjabxVIAkhmUZmQjSaZtphZfLTySbjifOQfaBPyxLBdo’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’ogiCSwELsLwTTdER’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’bTvAVtSQDHvvWVwXsqiHkjabxVIAkhmUZmQjSaZtphZfLTySbjifOQfaBPyxLBdo’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’RUpfcrqqtoIRQakO’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’cjSjFGypVmXBoYhkYQMOPIWMqzrqeHSwssQEVXaffmRJKnNWSnYNFUBWBaAiQcwz’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’RUpfcrqqtoIRQakO’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’cjSjFGypVmXBoYhkYQMOPIWMqzrqeHSwssQEVXaffmRJKnNWSnYNFUBWBaAiQcwz’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t2c-ethip4ipsec4tnlswasync-scheduler- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’MnSKFLjLmQVNnsDr’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’MnSKFLjLmQVNnsDr’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’CflvRHwcxPyPgvpM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’CflvRHwcxPyPgvpM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’yLBmRJKneBnWRHMn’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’yLBmRJKneBnWRHMn’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’bjXRSZvKiXAGxiQI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’bjXRSZvKiXAGxiQI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’MnSKFLjLmQVNnsDr’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’MnSKFLjLmQVNnsDr’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’CflvRHwcxPyPgvpM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’CflvRHwcxPyPgvpM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’yLBmRJKneBnWRHMn’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’yLBmRJKneBnWRHMn’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’bjXRSZvKiXAGxiQI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’bjXRSZvKiXAGxiQI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-2t4c-ethip4ipsec4tnlswasync-scheduler- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’MbtreNlJDEhGbvkH’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’MbtreNlJDEhGbvkH’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’pvZMZBzEVankBgbO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’pvZMZBzEVankBgbO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’dEOqCgLuvOjZnFmp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’dEOqCgLuvOjZnFmp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’eVuIsuGghWbKhciJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’eVuIsuGghWbKhciJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’MbtreNlJDEhGbvkH’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’MbtreNlJDEhGbvkH’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’pvZMZBzEVankBgbO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’pvZMZBzEVankBgbO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’dEOqCgLuvOjZnFmp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’dEOqCgLuvOjZnFmp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’eVuIsuGghWbKhciJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’eVuIsuGghWbKhciJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t2c-ethip4ipsec4tnlswasync-scheduler- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’TIpBRNCSCrZzLjOq’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’TIpBRNCSCrZzLjOq’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’PmHbjEKXSstHzKkk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’PmHbjEKXSstHzKkk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’XgrrYrgUpdwkaUme’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’XgrrYrgUpdwkaUme’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’MmiJydovZGaiwDDT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’MmiJydovZGaiwDDT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’TIpBRNCSCrZzLjOq’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’TIpBRNCSCrZzLjOq’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’PmHbjEKXSstHzKkk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’PmHbjEKXSstHzKkk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’XgrrYrgUpdwkaUme’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’XgrrYrgUpdwkaUme’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’MmiJydovZGaiwDDT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’MmiJydovZGaiwDDT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t4c-ethip4ipsec4tnlswasync-scheduler- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’eqaraAcVLtFjAECX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’eqaraAcVLtFjAECX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’joAiVxTyEcptoBGF’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’joAiVxTyEcptoBGF’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’vjlTkLhEslOqpXfc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’vjlTkLhEslOqpXfc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’oQJXLugNAAICFPLe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’oQJXLugNAAICFPLe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’eqaraAcVLtFjAECX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’eqaraAcVLtFjAECX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’joAiVxTyEcptoBGF’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’joAiVxTyEcptoBGF’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’vjlTkLhEslOqpXfc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’vjlTkLhEslOqpXfc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’oQJXLugNAAICFPLe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’oQJXLugNAAICFPLe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-ethip4ipsec4tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t2c-ethip4ipsec4tnlswasync-scheduler- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’jzHEWtxRNAxldddadoRZkUvunnIIzeoq’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’jzHEWtxRNAxldddadoRZkUvunnIIzeoq’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’MbZoifdvDsUwdxXuvsXqMjUQZlpHUkXW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’MbZoifdvDsUwdxXuvsXqMjUQZlpHUkXW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’lHjNBbPaRyhYVIzlQCuNyEZNJTxpQZOe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’lHjNBbPaRyhYVIzlQCuNyEZNJTxpQZOe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’kmihWUYjOVowRgeptOEZscIKXywTgzcZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’kmihWUYjOVowRgeptOEZscIKXywTgzcZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’jzHEWtxRNAxldddadoRZkUvunnIIzeoq’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’jzHEWtxRNAxldddadoRZkUvunnIIzeoq’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’MbZoifdvDsUwdxXuvsXqMjUQZlpHUkXW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’MbZoifdvDsUwdxXuvsXqMjUQZlpHUkXW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’lHjNBbPaRyhYVIzlQCuNyEZNJTxpQZOe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’lHjNBbPaRyhYVIzlQCuNyEZNJTxpQZOe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’kmihWUYjOVowRgeptOEZscIKXywTgzcZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’kmihWUYjOVowRgeptOEZscIKXywTgzcZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-2t4c-ethip4ipsec4tnlswasync-scheduler- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’sLZIvAxKnBufSPqDyzfsOTwpkpaDEAOC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’sLZIvAxKnBufSPqDyzfsOTwpkpaDEAOC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’FDHpmrwRzvXicfJAysTOfIUAQNaJKKqE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’FDHpmrwRzvXicfJAysTOfIUAQNaJKKqE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’azxuGPexbUpOahmtORLEcpkgsTPZYccR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’azxuGPexbUpOahmtORLEcpkgsTPZYccR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’oBsBydImMVWyAPUeprJwUasIdjLkUwYr’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’oBsBydImMVWyAPUeprJwUasIdjLkUwYr’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’sLZIvAxKnBufSPqDyzfsOTwpkpaDEAOC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’sLZIvAxKnBufSPqDyzfsOTwpkpaDEAOC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’FDHpmrwRzvXicfJAysTOfIUAQNaJKKqE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’FDHpmrwRzvXicfJAysTOfIUAQNaJKKqE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’azxuGPexbUpOahmtORLEcpkgsTPZYccR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’azxuGPexbUpOahmtORLEcpkgsTPZYccR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’oBsBydImMVWyAPUeprJwUasIdjLkUwYr’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’oBsBydImMVWyAPUeprJwUasIdjLkUwYr’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t2c-ethip4ipsec4tnlswasync-scheduler- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’uHhruUdiZCMTShawiRJGrOrhGffyKZnW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’uHhruUdiZCMTShawiRJGrOrhGffyKZnW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’oeMJocTENCAQBVvqavALPTVduviNAvXu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’oeMJocTENCAQBVvqavALPTVduviNAvXu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’LzmfvlQyUokiemcTADGpXlmUTGOtzFmQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’LzmfvlQyUokiemcTADGpXlmUTGOtzFmQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’irHeHfBkltbgafTSqXvqkdzbPQbUdrjw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’irHeHfBkltbgafTSqXvqkdzbPQbUdrjw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’uHhruUdiZCMTShawiRJGrOrhGffyKZnW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’uHhruUdiZCMTShawiRJGrOrhGffyKZnW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’oeMJocTENCAQBVvqavALPTVduviNAvXu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’oeMJocTENCAQBVvqavALPTVduviNAvXu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’LzmfvlQyUokiemcTADGpXlmUTGOtzFmQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’LzmfvlQyUokiemcTADGpXlmUTGOtzFmQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’irHeHfBkltbgafTSqXvqkdzbPQbUdrjw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’irHeHfBkltbgafTSqXvqkdzbPQbUdrjw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t4c-ethip4ipsec4tnlswasync-scheduler- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’rbSGEBSDFmSCHhEOgskYQSqYwkCgjnHA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’rbSGEBSDFmSCHhEOgskYQSqYwkCgjnHA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’zDyUWoqTvBmFxkxzLszCZnEOYxelrQNs’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’zDyUWoqTvBmFxkxzLszCZnEOYxelrQNs’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’fDqvUTrqXKbuNfutQxUwLqtuXrHvCFtb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’fDqvUTrqXKbuNfutQxUwLqtuXrHvCFtb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’JrHYzlqlAaKbmFBXONfdqMyoZRVXNueS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’JrHYzlqlAaKbmFBXONfdqMyoZRVXNueS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 2, ‘n_sa_in’: 1, ‘sa_in’: [100002]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 7, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 3, ‘n_sa_in’: 1, ‘sa_in’: [100003]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=7)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
sw_interface_set_flags(sw_if_index=7,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’rbSGEBSDFmSCHhEOgskYQSqYwkCgjnHA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’rbSGEBSDFmSCHhEOgskYQSqYwkCgjnHA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’zDyUWoqTvBmFxkxzLszCZnEOYxelrQNs’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’zDyUWoqTvBmFxkxzLszCZnEOYxelrQNs’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’fDqvUTrqXKbuNfutQxUwLqtuXrHvCFtb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’fDqvUTrqXKbuNfutQxUwLqtuXrHvCFtb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’JrHYzlqlAaKbmFBXONfdqMyoZRVXNueS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’JrHYzlqlAaKbmFBXONfdqMyoZRVXNueS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=6,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128cbc-hmac512sha-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t4c-ethip4ipsec8tnlswasync-scheduler- 
ip4base-int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’jQvVKNGWpRogSrGX’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’BZfNeYCogMVgAxDAzjIjhtxGiDxBqOrKNBkfVpuNkZIMlxghuysQOSCBsFXzReha’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’jQvVKNGWpRogSrGX’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’BZfNeYCogMVgAxDAzjIjhtxGiDxBqOrKNBkfVpuNkZIMlxghuysQOSCBsFXzReha’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’yukdSExRuuvOMfgN’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’MFVWcnexhgOImauwtoIajCytxhsxwWmuKoxOyZnQaqyRjxfCNAalHeHvsRvBVXDx’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’yukdSExRuuvOMfgN’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’MFVWcnexhgOImauwtoIajCytxhsxwWmuKoxOyZnQaqyRjxfCNAalHeHvsRvBVXDx’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 6, ‘spi’: 100006, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’ofOIXUIbyAalmiwa’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’WziBBYeUxRpgfxGONeAWegUlnMxtUqBquuqUpoYvbYwvMlTPtHkQRwCToaaCVOiw’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100006, ‘spi’: 200006, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’ofOIXUIbyAalmiwa’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’WziBBYeUxRpgfxGONeAWegUlnMxtUqBquuqUpoYvbYwvMlTPtHkQRwCToaaCVOiw’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 7, ‘spi’: 100007, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’UStiVBdPBkckbidU’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’QUHvHUnsVkqDrCvposrApJyQpvaYcSjYIKGyVymrIYqAZyHnphiTQLOwNMnwZeio’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100007, ‘spi’: 200007, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’UStiVBdPBkckbidU’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’QUHvHUnsVkqDrCvposrApJyQpvaYcSjYIKGyVymrIYqAZyHnphiTQLOwNMnwZeio’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 10, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 6, ‘n_sa_in’: 1, ‘sa_in’: [100006]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 11, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 7, ‘n_sa_in’: 1, ‘sa_in’: [100007]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=10)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=11)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=10,flags=1)
sw_interface_set_flags(sw_if_index=11,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x06’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x07’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 11, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’jQvVKNGWpRogSrGX’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’BZfNeYCogMVgAxDAzjIjhtxGiDxBqOrKNBkfVpuNkZIMlxghuysQOSCBsFXzReha’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’jQvVKNGWpRogSrGX’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’BZfNeYCogMVgAxDAzjIjhtxGiDxBqOrKNBkfVpuNkZIMlxghuysQOSCBsFXzReha’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’yukdSExRuuvOMfgN’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’MFVWcnexhgOImauwtoIajCytxhsxwWmuKoxOyZnQaqyRjxfCNAalHeHvsRvBVXDx’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’yukdSExRuuvOMfgN’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’MFVWcnexhgOImauwtoIajCytxhsxwWmuKoxOyZnQaqyRjxfCNAalHeHvsRvBVXDx’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100006, ‘spi’: 200006, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’ofOIXUIbyAalmiwa’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’WziBBYeUxRpgfxGONeAWegUlnMxtUqBquuqUpoYvbYwvMlTPtHkQRwCToaaCVOiw’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 6, ‘spi’: 100006, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’ofOIXUIbyAalmiwa’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’WziBBYeUxRpgfxGONeAWegUlnMxtUqBquuqUpoYvbYwvMlTPtHkQRwCToaaCVOiw’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100007, ‘spi’: 200007, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’UStiVBdPBkckbidU’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’QUHvHUnsVkqDrCvposrApJyQpvaYcSjYIKGyVymrIYqAZyHnphiTQLOwNMnwZeio’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 7, ‘spi’: 100007, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’UStiVBdPBkckbidU’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’QUHvHUnsVkqDrCvposrApJyQpvaYcSjYIKGyVymrIYqAZyHnphiTQLOwNMnwZeio’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 9, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100006, ‘n_sa_in’: 1, ‘sa_in’: [6]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 10, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100007, ‘n_sa_in’: 1, ‘sa_in’: [7]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=9)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=10)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=9,flags=1)
sw_interface_set_flags(sw_if_index=10,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x06’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 9, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x07’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t4c-ethip4ipsec8tnlswasync-scheduler- 
ip4base-int-aes128cbc-hmac512sha-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’WwUOJPFYvkfUGnoH’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’nsTjuGjayCfPRONOEpXRUZoMvmFrMFhhtPZvjDaZYADJLDDDvTbpojmNrukGWtdE’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’WwUOJPFYvkfUGnoH’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’nsTjuGjayCfPRONOEpXRUZoMvmFrMFhhtPZvjDaZYADJLDDDvTbpojmNrukGWtdE’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’LYuuvMCWUZFiYTLx’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’fSBvecADdsyQajfowdyBDzHjawVQrmsdafUyaBZdszSSmFAmRtlyVOzRdWGbVyOM’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’LYuuvMCWUZFiYTLx’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’fSBvecADdsyQajfowdyBDzHjawVQrmsdafUyaBZdszSSmFAmRtlyVOzRdWGbVyOM’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 6, ‘spi’: 100006, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’zJWIvEyUeZXoZyTk’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ogusuhjSLRqXnstqplpMjyLkkXgmKZDBKuslZpEtJCjqaPfneQmyuvhuuFXkyjrC’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100006, ‘spi’: 200006, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’zJWIvEyUeZXoZyTk’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ogusuhjSLRqXnstqplpMjyLkkXgmKZDBKuslZpEtJCjqaPfneQmyuvhuuFXkyjrC’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 7, ‘spi’: 100007, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’dpYOctWWtHDICtJh’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’NsgHnOawHOFnYGyDDBxqxBltBrKJYJOhlEpHorgnwpRCFEWzmKwdOqYFWUNqxzyK’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100007, ‘spi’: 200007, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’dpYOctWWtHDICtJh’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’NsgHnOawHOFnYGyDDBxqxBltBrKJYJOhlEpHorgnwpRCFEWzmKwdOqYFWUNqxzyK’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 10, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 6, ‘n_sa_in’: 1, ‘sa_in’: [100006]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 11, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 7, ‘n_sa_in’: 1, ‘sa_in’: [100007]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=10)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=11)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=10,flags=1)
sw_interface_set_flags(sw_if_index=11,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x06’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x07’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 11, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’WwUOJPFYvkfUGnoH’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’nsTjuGjayCfPRONOEpXRUZoMvmFrMFhhtPZvjDaZYADJLDDDvTbpojmNrukGWtdE’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’WwUOJPFYvkfUGnoH’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’nsTjuGjayCfPRONOEpXRUZoMvmFrMFhhtPZvjDaZYADJLDDDvTbpojmNrukGWtdE’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’LYuuvMCWUZFiYTLx’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’fSBvecADdsyQajfowdyBDzHjawVQrmsdafUyaBZdszSSmFAmRtlyVOzRdWGbVyOM’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’LYuuvMCWUZFiYTLx’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’fSBvecADdsyQajfowdyBDzHjawVQrmsdafUyaBZdszSSmFAmRtlyVOzRdWGbVyOM’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100006, ‘spi’: 200006, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’zJWIvEyUeZXoZyTk’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ogusuhjSLRqXnstqplpMjyLkkXgmKZDBKuslZpEtJCjqaPfneQmyuvhuuFXkyjrC’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 6, ‘spi’: 100006, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’zJWIvEyUeZXoZyTk’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ogusuhjSLRqXnstqplpMjyLkkXgmKZDBKuslZpEtJCjqaPfneQmyuvhuuFXkyjrC’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100007, ‘spi’: 200007, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’dpYOctWWtHDICtJh’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’NsgHnOawHOFnYGyDDBxqxBltBrKJYJOhlEpHorgnwpRCFEWzmKwdOqYFWUNqxzyK’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 7, ‘spi’: 100007, ‘protocol’: 50, ‘crypto_algorithm’: 1, ‘crypto_key’: {‘length’: 16, ‘data’: b’dpYOctWWtHDICtJh’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’NsgHnOawHOFnYGyDDBxqxBltBrKJYJOhlEpHorgnwpRCFEWzmKwdOqYFWUNqxzyK’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 9, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100006, ‘n_sa_in’: 1, ‘sa_in’: [6]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 10, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100007, ‘n_sa_in’: 1, ‘sa_in’: [7]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=9)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=10)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=9,flags=1)
sw_interface_set_flags(sw_if_index=10,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x06’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 9, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x07’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes128gcm-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t2c-ethip4ipsec8tnlswasync-scheduler- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’CWscFwNrVPezmiIB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’CWscFwNrVPezmiIB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’WJLWYKwdXQXHmtcS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’WJLWYKwdXQXHmtcS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 6, ‘spi’: 100006, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’YwZSmHiTGqIryrOA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100006, ‘spi’: 200006, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’YwZSmHiTGqIryrOA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 7, ‘spi’: 100007, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’QkbQMhXYdjaEGuHS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100007, ‘spi’: 200007, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’QkbQMhXYdjaEGuHS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 10, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 6, ‘n_sa_in’: 1, ‘sa_in’: [100006]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 11, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 7, ‘n_sa_in’: 1, ‘sa_in’: [100007]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=10)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=11)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=10,flags=1)
sw_interface_set_flags(sw_if_index=11,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x06’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x07’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 11, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’CWscFwNrVPezmiIB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’CWscFwNrVPezmiIB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’WJLWYKwdXQXHmtcS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’WJLWYKwdXQXHmtcS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100006, ‘spi’: 200006, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’YwZSmHiTGqIryrOA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 6, ‘spi’: 100006, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’YwZSmHiTGqIryrOA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100007, ‘spi’: 200007, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’QkbQMhXYdjaEGuHS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 7, ‘spi’: 100007, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’QkbQMhXYdjaEGuHS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 9, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100006, ‘n_sa_in’: 1, ‘sa_in’: [6]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 10, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100007, ‘n_sa_in’: 1, ‘sa_in’: [7]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=9)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=10)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=9,flags=1)
sw_interface_set_flags(sw_if_index=10,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x06’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 9, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x07’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-2t4c-ethip4ipsec8tnlswasync-scheduler- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’LallQFuXtMJzxUtg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’LallQFuXtMJzxUtg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’gHvGUULlELZJSakk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’gHvGUULlELZJSakk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 6, ‘spi’: 100006, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’DpROtYnAVukMzzBa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100006, ‘spi’: 200006, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’DpROtYnAVukMzzBa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 7, ‘spi’: 100007, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’hTeMDCwvofKzkqPX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100007, ‘spi’: 200007, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’hTeMDCwvofKzkqPX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 10, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 6, ‘n_sa_in’: 1, ‘sa_in’: [100006]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 11, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 7, ‘n_sa_in’: 1, ‘sa_in’: [100007]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=10)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=11)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=10,flags=1)
sw_interface_set_flags(sw_if_index=11,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x06’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x07’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 11, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’LallQFuXtMJzxUtg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’LallQFuXtMJzxUtg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’gHvGUULlELZJSakk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’gHvGUULlELZJSakk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100006, ‘spi’: 200006, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’DpROtYnAVukMzzBa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 6, ‘spi’: 100006, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’DpROtYnAVukMzzBa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100007, ‘spi’: 200007, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’hTeMDCwvofKzkqPX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 7, ‘spi’: 100007, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’hTeMDCwvofKzkqPX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 9, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100006, ‘n_sa_in’: 1, ‘sa_in’: [6]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 10, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100007, ‘n_sa_in’: 1, ‘sa_in’: [7]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=9)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=10)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=9,flags=1)
sw_interface_set_flags(sw_if_index=10,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x06’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 9, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x07’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t2c-ethip4ipsec8tnlswasync-scheduler- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’hHlfalthyMzmoPuK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’hHlfalthyMzmoPuK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’PISRACtUDdhautBJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’PISRACtUDdhautBJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 6, ‘spi’: 100006, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’eYoeHoeqlnsbfTYm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100006, ‘spi’: 200006, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’eYoeHoeqlnsbfTYm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 7, ‘spi’: 100007, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’gNYIgplpGstyQUQX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100007, ‘spi’: 200007, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’gNYIgplpGstyQUQX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 10, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 6, ‘n_sa_in’: 1, ‘sa_in’: [100006]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 11, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 7, ‘n_sa_in’: 1, ‘sa_in’: [100007]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=10)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=11)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=10,flags=1)
sw_interface_set_flags(sw_if_index=11,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x06’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x07’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 11, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’hHlfalthyMzmoPuK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’hHlfalthyMzmoPuK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’PISRACtUDdhautBJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’PISRACtUDdhautBJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100006, ‘spi’: 200006, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’eYoeHoeqlnsbfTYm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 6, ‘spi’: 100006, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’eYoeHoeqlnsbfTYm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100007, ‘spi’: 200007, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’gNYIgplpGstyQUQX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 7, ‘spi’: 100007, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’gNYIgplpGstyQUQX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 9, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100006, ‘n_sa_in’: 1, ‘sa_in’: [6]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 10, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100007, ‘n_sa_in’: 1, ‘sa_in’: [7]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=9)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=10)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=9,flags=1)
sw_interface_set_flags(sw_if_index=10,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x06’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 9, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x07’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t4c-ethip4ipsec8tnlswasync-scheduler- 
ip4base-int-aes128gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’NtWSmtNjSomneHAE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’NtWSmtNjSomneHAE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’KRCoQxwottqZRIsy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’KRCoQxwottqZRIsy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 6, ‘spi’: 100006, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’gLZZiChrqkQmkdai’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100006, ‘spi’: 200006, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’gLZZiChrqkQmkdai’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 7, ‘spi’: 100007, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’NloFMaOFnqFwpkJf’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100007, ‘spi’: 200007, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’NloFMaOFnqFwpkJf’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 10, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 6, ‘n_sa_in’: 1, ‘sa_in’: [100006]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 11, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 7, ‘n_sa_in’: 1, ‘sa_in’: [100007]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=10)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=11)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=10,flags=1)
sw_interface_set_flags(sw_if_index=11,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x06’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x07’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 11, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’NtWSmtNjSomneHAE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’NtWSmtNjSomneHAE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’KRCoQxwottqZRIsy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’KRCoQxwottqZRIsy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100006, ‘spi’: 200006, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’gLZZiChrqkQmkdai’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 6, ‘spi’: 100006, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’gLZZiChrqkQmkdai’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100007, ‘spi’: 200007, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’NloFMaOFnqFwpkJf’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 7, ‘spi’: 100007, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’NloFMaOFnqFwpkJf’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 9, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100006, ‘n_sa_in’: 1, ‘sa_in’: [6]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 10, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100007, ‘n_sa_in’: 1, ‘sa_in’: [7]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=9)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=10)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=9,flags=1)
sw_interface_set_flags(sw_if_index=10,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x06’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 9, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x07’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

25ge2p1xxv710-ethip4ipsec8tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr

RFC2544: Pkt throughput IPv4 IPsec tunnel mode.

  • [Top] Network Topologies: TG-DUT1-DUT2-TG 3-node circular topology with single links between nodes.

  • [Enc] Packet Encapsulations: Eth-IPv4 on TG-DUTn, Eth-IPv4-IPSec on DUT1-DUT2

  • [Cfg] DUT configuration: DUT1 and DUT2 are configured with multiple IPsec tunnels between them, run with IPsec async mode and use crypto sw scheduler engine to schedule crypto work to crypto cores. DUTs get IPv4 traffic from TG, encrypt it and send to another DUT, where packets are decrypted and sent back to TG.

  • [Ver] TG verification: TG finds and reports throughput NDR (Non Drop Rate) with zero packet loss tolerance and throughput PDR (Partial Drop Rate) with non-zero packet loss tolerance (LT) expressed in percentage of packets transmitted. NDR and PDR are discovered for different Ethernet L2 frame sizes using MLRsearch library. Test packets are generated by TG on links to DUTs. TG traffic profile contains two L3 flow-groups (flow-group per direction, number of flows per flow-group equals to number of IPSec tunnels) with all packets containing Ethernet header, IPv4 header with IP protocol=61 and static payload. MAC addresses are matching MAC addresses of the TG node interfaces. Incrementing of IP.dst (IPv4 destination address) field is applied to both streams.

  • [Ref] Applicable standard specifications: RFC4303 and RFC2544.

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-2t2c-ethip4ipsec8tnlswasync-scheduler- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’OgSJIlHltldbZEYsTKVGrPYxlsMxPani’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’OgSJIlHltldbZEYsTKVGrPYxlsMxPani’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’kfSQWEmYwIEAvpLLYTdmWNCeSPoRArUn’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’kfSQWEmYwIEAvpLLYTdmWNCeSPoRArUn’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 6, ‘spi’: 100006, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’TlJqkDHItUxVoyzSznXhpjvUoWsNZrOc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100006, ‘spi’: 200006, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’TlJqkDHItUxVoyzSznXhpjvUoWsNZrOc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 7, ‘spi’: 100007, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’YMILrfqoRVTALBzrhnVkvngriIkFLzTL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100007, ‘spi’: 200007, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’YMILrfqoRVTALBzrhnVkvngriIkFLzTL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 10, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 6, ‘n_sa_in’: 1, ‘sa_in’: [100006]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 11, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 7, ‘n_sa_in’: 1, ‘sa_in’: [100007]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=10)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=11)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=10,flags=1)
sw_interface_set_flags(sw_if_index=11,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x06’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x07’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 11, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’OgSJIlHltldbZEYsTKVGrPYxlsMxPani’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’OgSJIlHltldbZEYsTKVGrPYxlsMxPani’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’kfSQWEmYwIEAvpLLYTdmWNCeSPoRArUn’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’kfSQWEmYwIEAvpLLYTdmWNCeSPoRArUn’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100006, ‘spi’: 200006, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’TlJqkDHItUxVoyzSznXhpjvUoWsNZrOc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 6, ‘spi’: 100006, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’TlJqkDHItUxVoyzSznXhpjvUoWsNZrOc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100007, ‘spi’: 200007, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’YMILrfqoRVTALBzrhnVkvngriIkFLzTL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 7, ‘spi’: 100007, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’YMILrfqoRVTALBzrhnVkvngriIkFLzTL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 9, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100006, ‘n_sa_in’: 1, ‘sa_in’: [6]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 10, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100007, ‘n_sa_in’: 1, ‘sa_in’: [7]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=9)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=10)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=9,flags=1)
sw_interface_set_flags(sw_if_index=10,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x06’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 9, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x07’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 64b-2t4c-ethip4ipsec8tnlswasync-scheduler- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’YHYsicbZedslsoGOccRibEIXpzsMMVGs’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’YHYsicbZedslsoGOccRibEIXpzsMMVGs’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’YirybQQaofXkKVYfFjpqkcPUVwbINJcm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’YirybQQaofXkKVYfFjpqkcPUVwbINJcm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 6, ‘spi’: 100006, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’wyoakHSrzCrHAsDzBakEaYZdyrnFndti’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100006, ‘spi’: 200006, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’wyoakHSrzCrHAsDzBakEaYZdyrnFndti’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 7, ‘spi’: 100007, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’AZoUxQerPjoYjWEWvRDrJkVVEvYNkCrb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100007, ‘spi’: 200007, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’AZoUxQerPjoYjWEWvRDrJkVVEvYNkCrb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 10, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 6, ‘n_sa_in’: 1, ‘sa_in’: [100006]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 11, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 7, ‘n_sa_in’: 1, ‘sa_in’: [100007]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=10)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=11)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=10,flags=1)
sw_interface_set_flags(sw_if_index=11,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x06’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x07’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 11, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’YHYsicbZedslsoGOccRibEIXpzsMMVGs’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’YHYsicbZedslsoGOccRibEIXpzsMMVGs’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’YirybQQaofXkKVYfFjpqkcPUVwbINJcm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’YirybQQaofXkKVYfFjpqkcPUVwbINJcm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100006, ‘spi’: 200006, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’wyoakHSrzCrHAsDzBakEaYZdyrnFndti’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 6, ‘spi’: 100006, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’wyoakHSrzCrHAsDzBakEaYZdyrnFndti’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100007, ‘spi’: 200007, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’AZoUxQerPjoYjWEWvRDrJkVVEvYNkCrb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 7, ‘spi’: 100007, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’AZoUxQerPjoYjWEWvRDrJkVVEvYNkCrb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 9, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100006, ‘n_sa_in’: 1, ‘sa_in’: [6]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 10, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100007, ‘n_sa_in’: 1, ‘sa_in’: [7]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=9)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=10)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=9,flags=1)
sw_interface_set_flags(sw_if_index=10,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x06’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 9, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x07’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t2c-ethip4ipsec8tnlswasync-scheduler- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’MuFJyJmLDpwWTJdkaHfuOxzmnDPSBhGv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’MuFJyJmLDpwWTJdkaHfuOxzmnDPSBhGv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’WebJNPbGCGzRwQTSYSlHtkZOmJPWompl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’WebJNPbGCGzRwQTSYSlHtkZOmJPWompl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 6, ‘spi’: 100006, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’oIUgCAVvvGbphKGYCxdotsjASlOVesXz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100006, ‘spi’: 200006, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’oIUgCAVvvGbphKGYCxdotsjASlOVesXz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 7, ‘spi’: 100007, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’tTNqtZiBAfulJGrmpgRixXdXYZQrUNHo’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100007, ‘spi’: 200007, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’tTNqtZiBAfulJGrmpgRixXdXYZQrUNHo’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 10, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 6, ‘n_sa_in’: 1, ‘sa_in’: [100006]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 11, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 7, ‘n_sa_in’: 1, ‘sa_in’: [100007]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=10)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=11)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=10,flags=1)
sw_interface_set_flags(sw_if_index=11,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x06’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x07’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 11, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=2,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=2,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=2,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’MuFJyJmLDpwWTJdkaHfuOxzmnDPSBhGv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’MuFJyJmLDpwWTJdkaHfuOxzmnDPSBhGv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’WebJNPbGCGzRwQTSYSlHtkZOmJPWompl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’WebJNPbGCGzRwQTSYSlHtkZOmJPWompl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100006, ‘spi’: 200006, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’oIUgCAVvvGbphKGYCxdotsjASlOVesXz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 6, ‘spi’: 100006, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’oIUgCAVvvGbphKGYCxdotsjASlOVesXz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100007, ‘spi’: 200007, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’tTNqtZiBAfulJGrmpgRixXdXYZQrUNHo’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 7, ‘spi’: 100007, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’tTNqtZiBAfulJGrmpgRixXdXYZQrUNHo’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 9, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100006, ‘n_sa_in’: 1, ‘sa_in’: [6]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 10, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100007, ‘n_sa_in’: 1, ‘sa_in’: [7]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=9)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=10)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=9,flags=1)
sw_interface_set_flags(sw_if_index=10,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x06’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 9, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x07’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})

 imix-2t4c-ethip4ipsec8tnlswasync-scheduler- 
ip4base-int-aes256gcm-ndrpdr

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:40’, ‘ip_address’: ‘192.168.10.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
create_loopback_instance(mac_address=0,is_specified=False,user_instance=0)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}})
ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 2, ‘flags’: 1, ‘mac_address’: ‘3c:fd:fe:bd:f9:3d’, ‘ip_address’: ‘200.0.0.2’})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}})
sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’qUGXIMHJbQCKDxKMsDRupjhvkgBYggfK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’qUGXIMHJbQCKDxKMsDRupjhvkgBYggfK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’IotoWufITDIoLapmBTCnPHsvUbWWtzDU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’IotoWufITDIoLapmBTCnPHsvUbWWtzDU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 6, ‘spi’: 100006, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’APmsEMPjABcXvHCZmZiaUTRbkJAbKBkW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100006, ‘spi’: 200006, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’APmsEMPjABcXvHCZmZiaUTRbkJAbKBkW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 7, ‘spi’: 100007, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’jHmIEPlDSgJSJFbgARmTGbtAWfnjzlmR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100007, ‘spi’: 200007, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’jHmIEPlDSgJSJFbgARmTGbtAWfnjzlmR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 0, ‘n_sa_in’: 1, ‘sa_in’: [100000]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 1, ‘n_sa_in’: 1, ‘sa_in’: [100001]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 10, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 6, ‘n_sa_in’: 1, ‘sa_in’: [100006]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 11, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 7, ‘n_sa_in’: 1, ‘sa_in’: [100007]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=10)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=11)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=5,flags=1)
sw_interface_set_flags(sw_if_index=10,flags=1)
sw_interface_set_flags(sw_if_index=11,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x06’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x07’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 11, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
DUT2:
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
ipsec_set_async_mode(async_enable=1)
show_threads()
sw_interface_rx_placement_dump(sw_if_index=1)
sw_interface_rx_placement_dump(sw_if_index=2)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=1,queue_id=1,worker_id=4,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=0,worker_id=0,is_main=False)
sw_interface_set_rx_placement(sw_if_index=2,queue_id=1,worker_id=4,is_main=False)
show_threads()
crypto_sw_scheduler_set_worker(worker_index=0,crypto_enable=False)
crypto_sw_scheduler_set_worker(worker_index=4,crypto_enable=False)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:41’, ‘ip_address’: ‘192.168.20.2’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x06x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x07x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’qUGXIMHJbQCKDxKMsDRupjhvkgBYggfK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’qUGXIMHJbQCKDxKMsDRupjhvkgBYggfK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’IotoWufITDIoLapmBTCnPHsvUbWWtzDU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’IotoWufITDIoLapmBTCnPHsvUbWWtzDU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100006, ‘spi’: 200006, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’APmsEMPjABcXvHCZmZiaUTRbkJAbKBkW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 6, ‘spi’: 100006, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’APmsEMPjABcXvHCZmZiaUTRbkJAbKBkW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 100007, ‘spi’: 200007, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’jHmIEPlDSgJSJFbgARmTGbtAWfnjzlmR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_sad_entry_add_del_v3(is_add=True,entry={‘sad_id’: 7, ‘spi’: 100007, ‘protocol’: 50, ‘crypto_algorithm’: 9, ‘crypto_key’: {‘length’: 32, ‘data’: b’jHmIEPlDSgJSJFbgARmTGbtAWfnjzlmR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘dscp’: 0}, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 9, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100006, ‘n_sa_in’: 1, ‘sa_in’: [6]})
ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 10, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100007, ‘n_sa_in’: 1, ‘sa_in’: [7]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=9)
sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=10)
sw_interface_set_flags(sw_if_index=3,flags=1)
sw_interface_set_flags(sw_if_index=4,flags=1)
sw_interface_set_flags(sw_if_index=9,flags=1)
sw_interface_set_flags(sw_if_index=10,flags=1)
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x06’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 9, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x07’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 10, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})