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) 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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) 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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) 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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) 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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) 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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)
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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
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)
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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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)
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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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)
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)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
avf_create(pci_addr=37421056,enable_elog=0,rxq_num=8,rxq_size=0,txq_size=0)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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) 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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)
avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0)
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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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) 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) 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’JGPozCbhHRDaUlhv’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’cPosrDSZHZmEqEyAgOeDSNtOOfkLzSouCXSKsxLLBkTkEagmvGjPYCSpaUnSVqlX’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’JGPozCbhHRDaUlhv’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’cPosrDSZHZmEqEyAgOeDSNtOOfkLzSouCXSKsxLLBkTkEagmvGjPYCSpaUnSVqlX’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’JGPozCbhHRDaUlhv’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’cPosrDSZHZmEqEyAgOeDSNtOOfkLzSouCXSKsxLLBkTkEagmvGjPYCSpaUnSVqlX’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’JGPozCbhHRDaUlhv’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’cPosrDSZHZmEqEyAgOeDSNtOOfkLzSouCXSKsxLLBkTkEagmvGjPYCSpaUnSVqlX’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’tHXDDeiYseShTXit’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’eYIjoQCJEKumNwTyaWfYuBOpplOkePbJZluBrKrGcewtzrNMPEugbDkrsXxEhiHR’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’tHXDDeiYseShTXit’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’eYIjoQCJEKumNwTyaWfYuBOpplOkePbJZluBrKrGcewtzrNMPEugbDkrsXxEhiHR’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’tHXDDeiYseShTXit’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’eYIjoQCJEKumNwTyaWfYuBOpplOkePbJZluBrKrGcewtzrNMPEugbDkrsXxEhiHR’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’tHXDDeiYseShTXit’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’eYIjoQCJEKumNwTyaWfYuBOpplOkePbJZluBrKrGcewtzrNMPEugbDkrsXxEhiHR’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’kHtVskepsIaYMUqD’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’LxbTWkfkSBFIBYxEuTfmvngtUTVEnMHrlWTAPtKxjPdafZsjSdAXycfpKUezXcYp’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’kHtVskepsIaYMUqD’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’LxbTWkfkSBFIBYxEuTfmvngtUTVEnMHrlWTAPtKxjPdafZsjSdAXycfpKUezXcYp’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’kHtVskepsIaYMUqD’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’LxbTWkfkSBFIBYxEuTfmvngtUTVEnMHrlWTAPtKxjPdafZsjSdAXycfpKUezXcYp’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’kHtVskepsIaYMUqD’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’LxbTWkfkSBFIBYxEuTfmvngtUTVEnMHrlWTAPtKxjPdafZsjSdAXycfpKUezXcYp’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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) 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’redmojQyCMYhTSvA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’redmojQyCMYhTSvA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’redmojQyCMYhTSvA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’redmojQyCMYhTSvA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’LnLMQJtftSSgyfuU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’LnLMQJtftSSgyfuU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’LnLMQJtftSSgyfuU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’LnLMQJtftSSgyfuU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’zaZdgGDfkFcmhhCQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’zaZdgGDfkFcmhhCQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’zaZdgGDfkFcmhhCQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’zaZdgGDfkFcmhhCQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’HLYCxbPTMnLjGydA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’HLYCxbPTMnLjGydA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’HLYCxbPTMnLjGydA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’HLYCxbPTMnLjGydA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’fIoCfTpEawLUezpI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fIoCfTpEawLUezpI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’fIoCfTpEawLUezpI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fIoCfTpEawLUezpI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’BITwUpJLgHuphBGy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’BITwUpJLgHuphBGy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’BITwUpJLgHuphBGy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’BITwUpJLgHuphBGy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’GRMCkxePXtrhzaHY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’GRMCkxePXtrhzaHY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’GRMCkxePXtrhzaHY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’GRMCkxePXtrhzaHY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’svTUvxogSUaflYgH’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’svTUvxogSUaflYgH’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’svTUvxogSUaflYgH’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’svTUvxogSUaflYgH’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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) 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’dYTCYufpZaAJyKVRhYyKmsjvoWejckfw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’dYTCYufpZaAJyKVRhYyKmsjvoWejckfw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’dYTCYufpZaAJyKVRhYyKmsjvoWejckfw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’dYTCYufpZaAJyKVRhYyKmsjvoWejckfw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’QGdQvdNIjlhOykohvqyItctcOiEOdiQC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’QGdQvdNIjlhOykohvqyItctcOiEOdiQC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’QGdQvdNIjlhOykohvqyItctcOiEOdiQC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’QGdQvdNIjlhOykohvqyItctcOiEOdiQC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’tnNbpkscSnmsbBbcByrpUsRcOrjNwXOE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’tnNbpkscSnmsbBbcByrpUsRcOrjNwXOE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’tnNbpkscSnmsbBbcByrpUsRcOrjNwXOE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’tnNbpkscSnmsbBbcByrpUsRcOrjNwXOE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’pTdGNynBBQJoAZkBGIYvNJlbzkHuzaVA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’pTdGNynBBQJoAZkBGIYvNJlbzkHuzaVA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’pTdGNynBBQJoAZkBGIYvNJlbzkHuzaVA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’pTdGNynBBQJoAZkBGIYvNJlbzkHuzaVA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’oHOKNuVjUvrwYtsRuRwbXielLBNGpqNh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’oHOKNuVjUvrwYtsRuRwbXielLBNGpqNh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’oHOKNuVjUvrwYtsRuRwbXielLBNGpqNh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’oHOKNuVjUvrwYtsRuRwbXielLBNGpqNh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’YSwfbWXYtjmeabTptVjSCJZrqCbuwvuI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’YSwfbWXYtjmeabTptVjSCJZrqCbuwvuI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’YSwfbWXYtjmeabTptVjSCJZrqCbuwvuI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’YSwfbWXYtjmeabTptVjSCJZrqCbuwvuI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’MTJQJqsLUkTuHDqDxOpchNjkzGgmDzpW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’MTJQJqsLUkTuHDqDxOpchNjkzGgmDzpW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’MTJQJqsLUkTuHDqDxOpchNjkzGgmDzpW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’MTJQJqsLUkTuHDqDxOpchNjkzGgmDzpW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’KcXzaezQJMRMvCthIiRjGAkDPEzaAkCq’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KcXzaezQJMRMvCthIiRjGAkDPEzaAkCq’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’KcXzaezQJMRMvCthIiRjGAkDPEzaAkCq’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KcXzaezQJMRMvCthIiRjGAkDPEzaAkCq’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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) 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}}, ‘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’xc8x00x00f’}, ‘via_label’: 1048576, ‘obj_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(‘200.0.0.102’)})
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’xc8x00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8xffxffxff’}}, ‘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’xc8x00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8xffxffxff’}}, ‘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’heXcZnPKwPVshmjQistldqoNpULTGpmk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘100.0.0.1’, ‘dst’: ‘200.0.0.102’, ‘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’heXcZnPKwPVshmjQistldqoNpULTGpmk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘200.0.0.102’, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
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]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘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’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]}]})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f9:39:00’, ‘ip_address’: IPv4Address(‘100.0.0.1’)})
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’xc8x00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8xffxffxff’}}, ‘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’xc8x00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8xffxffxff’}}, ‘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’heXcZnPKwPVshmjQistldqoNpULTGpmk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘100.0.0.1’, ‘dst’: ‘200.0.0.102’, ‘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’heXcZnPKwPVshmjQistldqoNpULTGpmk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘200.0.0.102’, ‘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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}}, ‘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’xc8x00x00f’}, ‘via_label’: 1048576, ‘obj_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(‘200.0.0.102’)})
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’xc8x00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8xffxffxff’}}, ‘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’xc8x00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8xffxffxff’}}, ‘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’nqBrOFezQyqjSvWbAVGEzHLqNGgvuwLe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘100.0.0.1’, ‘dst’: ‘200.0.0.102’, ‘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’nqBrOFezQyqjSvWbAVGEzHLqNGgvuwLe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘200.0.0.102’, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
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]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘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’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]}]})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f9:39:00’, ‘ip_address’: IPv4Address(‘100.0.0.1’)})
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’xc8x00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8xffxffxff’}}, ‘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’xc8x00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8xffxffxff’}}, ‘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’nqBrOFezQyqjSvWbAVGEzHLqNGgvuwLe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘100.0.0.1’, ‘dst’: ‘200.0.0.102’, ‘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’nqBrOFezQyqjSvWbAVGEzHLqNGgvuwLe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘200.0.0.102’, ‘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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}}, ‘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’xc8x00x00f’}, ‘via_label’: 1048576, ‘obj_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(‘200.0.0.102’)})
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’xc8x00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8xffxffxff’}}, ‘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’xc8x00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8xffxffxff’}}, ‘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’PgZxAsgyIewZZRscXFDEhfcEgGvceZel’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘100.0.0.1’, ‘dst’: ‘200.0.0.102’, ‘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’PgZxAsgyIewZZRscXFDEhfcEgGvceZel’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘200.0.0.102’, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
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]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘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’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]}]})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fe:bd:f9:39:00’, ‘ip_address’: IPv4Address(‘100.0.0.1’)})
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’xc8x00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8xffxffxff’}}, ‘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’xc8x00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8xffxffxff’}}, ‘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’PgZxAsgyIewZZRscXFDEhfcEgGvceZel’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘100.0.0.1’, ‘dst’: ‘200.0.0.102’, ‘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’PgZxAsgyIewZZRscXFDEhfcEgGvceZel’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘200.0.0.102’, ‘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) 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’fUSdEJNwKIXShKKO’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’EKDAkWmEGlXguvuZRSRFXtDcvLMYnfOoWTCgSsVUEyZBgleZbRtZOlAcdDMzCugr’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fUSdEJNwKIXShKKO’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’EKDAkWmEGlXguvuZRSRFXtDcvLMYnfOoWTCgSsVUEyZBgleZbRtZOlAcdDMzCugr’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’fUSdEJNwKIXShKKO’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’EKDAkWmEGlXguvuZRSRFXtDcvLMYnfOoWTCgSsVUEyZBgleZbRtZOlAcdDMzCugr’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fUSdEJNwKIXShKKO’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’EKDAkWmEGlXguvuZRSRFXtDcvLMYnfOoWTCgSsVUEyZBgleZbRtZOlAcdDMzCugr’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’KKRVmEtoLLZRrsxG’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’RFAMDYYeLzqyBsEcRZwpfqtQliYCBnYiCQPByLIqvTTvgoGsYVfIvDeKrsRxnEYc’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KKRVmEtoLLZRrsxG’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’RFAMDYYeLzqyBsEcRZwpfqtQliYCBnYiCQPByLIqvTTvgoGsYVfIvDeKrsRxnEYc’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’KKRVmEtoLLZRrsxG’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’RFAMDYYeLzqyBsEcRZwpfqtQliYCBnYiCQPByLIqvTTvgoGsYVfIvDeKrsRxnEYc’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KKRVmEtoLLZRrsxG’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’RFAMDYYeLzqyBsEcRZwpfqtQliYCBnYiCQPByLIqvTTvgoGsYVfIvDeKrsRxnEYc’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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-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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’LywPtGfLAFrlWCja’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’bftJjJcqEQyOycfZDiZXaTowGcdAJttNgXoTNVRUrqYpMJcepGvVFmTojHaFAyJU’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’LywPtGfLAFrlWCja’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’bftJjJcqEQyOycfZDiZXaTowGcdAJttNgXoTNVRUrqYpMJcepGvVFmTojHaFAyJU’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’LywPtGfLAFrlWCja’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’bftJjJcqEQyOycfZDiZXaTowGcdAJttNgXoTNVRUrqYpMJcepGvVFmTojHaFAyJU’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’LywPtGfLAFrlWCja’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’bftJjJcqEQyOycfZDiZXaTowGcdAJttNgXoTNVRUrqYpMJcepGvVFmTojHaFAyJU’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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-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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’hHbyPvpDkfNyjxjy’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’oHOswnrjaykTCgpnvgtCPOfbgUIvBTWOfhccooqHgaJEUASEwvuQtStompOAjcTW’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’hHbyPvpDkfNyjxjy’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’oHOswnrjaykTCgpnvgtCPOfbgUIvBTWOfhccooqHgaJEUASEwvuQtStompOAjcTW’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’hHbyPvpDkfNyjxjy’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’oHOswnrjaykTCgpnvgtCPOfbgUIvBTWOfhccooqHgaJEUASEwvuQtStompOAjcTW’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’hHbyPvpDkfNyjxjy’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’oHOswnrjaykTCgpnvgtCPOfbgUIvBTWOfhccooqHgaJEUASEwvuQtStompOAjcTW’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’sRmBHlUprwDkeGxf’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’KrURmvaOIdRPhGvDQhCDpSdDkTReFxKYrGPMLpMbMyKLeLhjAuzxdKqvjDhyUsco’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’sRmBHlUprwDkeGxf’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’KrURmvaOIdRPhGvDQhCDpSdDkTReFxKYrGPMLpMbMyKLeLhjAuzxdKqvjDhyUsco’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’sRmBHlUprwDkeGxf’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’KrURmvaOIdRPhGvDQhCDpSdDkTReFxKYrGPMLpMbMyKLeLhjAuzxdKqvjDhyUsco’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’sRmBHlUprwDkeGxf’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’KrURmvaOIdRPhGvDQhCDpSdDkTReFxKYrGPMLpMbMyKLeLhjAuzxdKqvjDhyUsco’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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) 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’wSqlNadBpbtVOdOm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’wSqlNadBpbtVOdOm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’wSqlNadBpbtVOdOm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’wSqlNadBpbtVOdOm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’MppKMzhObKtTpXpE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’MppKMzhObKtTpXpE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’MppKMzhObKtTpXpE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’MppKMzhObKtTpXpE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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-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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’TfPkDLTcAXiTycHS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’TfPkDLTcAXiTycHS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’TfPkDLTcAXiTycHS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’TfPkDLTcAXiTycHS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’hOVnWrCvxMURjpKt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’hOVnWrCvxMURjpKt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’hOVnWrCvxMURjpKt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’hOVnWrCvxMURjpKt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’jIqoLINkwWHHyXta’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’jIqoLINkwWHHyXta’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’jIqoLINkwWHHyXta’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’jIqoLINkwWHHyXta’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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) 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’yUqLPuBFKbNsMMspgrzTMVFtNBkCcaDe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’yUqLPuBFKbNsMMspgrzTMVFtNBkCcaDe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’yUqLPuBFKbNsMMspgrzTMVFtNBkCcaDe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’yUqLPuBFKbNsMMspgrzTMVFtNBkCcaDe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’eqrjZRdsQIqKowhdAELdiXtlzXPXiLjr’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’eqrjZRdsQIqKowhdAELdiXtlzXPXiLjr’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’eqrjZRdsQIqKowhdAELdiXtlzXPXiLjr’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’eqrjZRdsQIqKowhdAELdiXtlzXPXiLjr’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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-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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’rMmKLtrlaTxAUYBNaowrfKHZQeDXIFug’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rMmKLtrlaTxAUYBNaowrfKHZQeDXIFug’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’rMmKLtrlaTxAUYBNaowrfKHZQeDXIFug’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rMmKLtrlaTxAUYBNaowrfKHZQeDXIFug’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’RpDoANcuBCzMbaBHWkUHgKutizSzcCvj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’RpDoANcuBCzMbaBHWkUHgKutizSzcCvj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’RpDoANcuBCzMbaBHWkUHgKutizSzcCvj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’RpDoANcuBCzMbaBHWkUHgKutizSzcCvj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’pCMcAvzYDVTjOfsRzGRHlWVQKzRpqCeW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’pCMcAvzYDVTjOfsRzGRHlWVQKzRpqCeW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’pCMcAvzYDVTjOfsRzGRHlWVQKzRpqCeW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’pCMcAvzYDVTjOfsRzGRHlWVQKzRpqCeW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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) 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’NmxfkPUfDKweVxsJ’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ZKMSzDPIuFvtFaeOdLypUKepBIxSkMKMtZKfThVquQGXCyfNYADQtpTJhDyteQge’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’NmxfkPUfDKweVxsJ’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ZKMSzDPIuFvtFaeOdLypUKepBIxSkMKMtZKfThVquQGXCyfNYADQtpTJhDyteQge’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’bUiZoldkgwIOfVzG’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’SqvyEGvrOxWZSxLGfsFbJVyGseSgxKjbpgGlGsKBNcNKlwUunbifxVBJCnkwTiHr’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’bUiZoldkgwIOfVzG’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’SqvyEGvrOxWZSxLGfsFbJVyGseSgxKjbpgGlGsKBNcNKlwUunbifxVBJCnkwTiHr’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’NmxfkPUfDKweVxsJ’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ZKMSzDPIuFvtFaeOdLypUKepBIxSkMKMtZKfThVquQGXCyfNYADQtpTJhDyteQge’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’NmxfkPUfDKweVxsJ’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ZKMSzDPIuFvtFaeOdLypUKepBIxSkMKMtZKfThVquQGXCyfNYADQtpTJhDyteQge’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’bUiZoldkgwIOfVzG’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’SqvyEGvrOxWZSxLGfsFbJVyGseSgxKjbpgGlGsKBNcNKlwUunbifxVBJCnkwTiHr’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’bUiZoldkgwIOfVzG’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’SqvyEGvrOxWZSxLGfsFbJVyGseSgxKjbpgGlGsKBNcNKlwUunbifxVBJCnkwTiHr’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’mKeFBHBfwZaOoFVE’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ADGxZOmHIBvLNcFprbUdoeycTDhwfmSDtTSjEUxZfCugRSLJuLxdiHtDapSWkBqQ’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’mKeFBHBfwZaOoFVE’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ADGxZOmHIBvLNcFprbUdoeycTDhwfmSDtTSjEUxZfCugRSLJuLxdiHtDapSWkBqQ’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rDlexmtHXEgeKlKN’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’mAcUxtIWOEIhzMIFDfoKEvAyyZoxMQiXdJiscdoIuMSTaxdKHOsVlqakXrZuXPiR’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rDlexmtHXEgeKlKN’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’mAcUxtIWOEIhzMIFDfoKEvAyyZoxMQiXdJiscdoIuMSTaxdKHOsVlqakXrZuXPiR’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’mKeFBHBfwZaOoFVE’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ADGxZOmHIBvLNcFprbUdoeycTDhwfmSDtTSjEUxZfCugRSLJuLxdiHtDapSWkBqQ’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’mKeFBHBfwZaOoFVE’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ADGxZOmHIBvLNcFprbUdoeycTDhwfmSDtTSjEUxZfCugRSLJuLxdiHtDapSWkBqQ’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rDlexmtHXEgeKlKN’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’mAcUxtIWOEIhzMIFDfoKEvAyyZoxMQiXdJiscdoIuMSTaxdKHOsVlqakXrZuXPiR’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rDlexmtHXEgeKlKN’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’mAcUxtIWOEIhzMIFDfoKEvAyyZoxMQiXdJiscdoIuMSTaxdKHOsVlqakXrZuXPiR’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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]}]})

 1518b-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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’mjaObZBrvLnFOGMt’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’QDcbDFXreaxOrOvszSjXxKfmpXdgLetnJTJxlTLFiSMdSCRWJrOPpjqWqAWdLREH’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’mjaObZBrvLnFOGMt’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’QDcbDFXreaxOrOvszSjXxKfmpXdgLetnJTJxlTLFiSMdSCRWJrOPpjqWqAWdLREH’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’yStqsLweNQmwaUgR’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’gUloDbwNXCMybpogGmZOzMyQzHhjwBaZAWaddBqDpRUdanMHEQegehAfzyGUbOjZ’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’yStqsLweNQmwaUgR’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’gUloDbwNXCMybpogGmZOzMyQzHhjwBaZAWaddBqDpRUdanMHEQegehAfzyGUbOjZ’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’mjaObZBrvLnFOGMt’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’QDcbDFXreaxOrOvszSjXxKfmpXdgLetnJTJxlTLFiSMdSCRWJrOPpjqWqAWdLREH’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’mjaObZBrvLnFOGMt’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’QDcbDFXreaxOrOvszSjXxKfmpXdgLetnJTJxlTLFiSMdSCRWJrOPpjqWqAWdLREH’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’yStqsLweNQmwaUgR’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’gUloDbwNXCMybpogGmZOzMyQzHhjwBaZAWaddBqDpRUdanMHEQegehAfzyGUbOjZ’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’yStqsLweNQmwaUgR’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’gUloDbwNXCMybpogGmZOzMyQzHhjwBaZAWaddBqDpRUdanMHEQegehAfzyGUbOjZ’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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-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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’oEKBAOJNltTKMTaR’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’xlOEuEBTSdlBHOHXcxoulTHpCkiarrzrMQvjJbAhzaQekYzyMYDOTgUmXyUUpLCt’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’oEKBAOJNltTKMTaR’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’xlOEuEBTSdlBHOHXcxoulTHpCkiarrzrMQvjJbAhzaQekYzyMYDOTgUmXyUUpLCt’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ErTSCBPyBpsWUopD’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’LHRaezSHCygiwqsYesnRPWdNPMudEsrnOTEpCYledCYEZWWxWBfESsMkoMfDVSXg’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ErTSCBPyBpsWUopD’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’LHRaezSHCygiwqsYesnRPWdNPMudEsrnOTEpCYledCYEZWWxWBfESsMkoMfDVSXg’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’oEKBAOJNltTKMTaR’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’xlOEuEBTSdlBHOHXcxoulTHpCkiarrzrMQvjJbAhzaQekYzyMYDOTgUmXyUUpLCt’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’oEKBAOJNltTKMTaR’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’xlOEuEBTSdlBHOHXcxoulTHpCkiarrzrMQvjJbAhzaQekYzyMYDOTgUmXyUUpLCt’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ErTSCBPyBpsWUopD’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’LHRaezSHCygiwqsYesnRPWdNPMudEsrnOTEpCYledCYEZWWxWBfESsMkoMfDVSXg’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ErTSCBPyBpsWUopD’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’LHRaezSHCygiwqsYesnRPWdNPMudEsrnOTEpCYledCYEZWWxWBfESsMkoMfDVSXg’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’yYhbBFfHPjgSyAdA’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’EbXaKuzUQbCKRJXhNjgMcAGSPatASiJyBpxnWZqKyTtBlgQYAELWkJMonFugaQCc’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’yYhbBFfHPjgSyAdA’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’EbXaKuzUQbCKRJXhNjgMcAGSPatASiJyBpxnWZqKyTtBlgQYAELWkJMonFugaQCc’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’uLTwCjZdlyiHslkV’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’NlTBwXlVXHzuVlhqudoNKuAuSDDBrTRtwRgUnHIkKdvvAQpkNcAGzsHYnJsoYKfy’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’uLTwCjZdlyiHslkV’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’NlTBwXlVXHzuVlhqudoNKuAuSDDBrTRtwRgUnHIkKdvvAQpkNcAGzsHYnJsoYKfy’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’yYhbBFfHPjgSyAdA’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’EbXaKuzUQbCKRJXhNjgMcAGSPatASiJyBpxnWZqKyTtBlgQYAELWkJMonFugaQCc’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’yYhbBFfHPjgSyAdA’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’EbXaKuzUQbCKRJXhNjgMcAGSPatASiJyBpxnWZqKyTtBlgQYAELWkJMonFugaQCc’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’uLTwCjZdlyiHslkV’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’NlTBwXlVXHzuVlhqudoNKuAuSDDBrTRtwRgUnHIkKdvvAQpkNcAGzsHYnJsoYKfy’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’uLTwCjZdlyiHslkV’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’NlTBwXlVXHzuVlhqudoNKuAuSDDBrTRtwRgUnHIkKdvvAQpkNcAGzsHYnJsoYKfy’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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) 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’TwozduvUXfoFcScx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’TwozduvUXfoFcScx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fuimgBkIdwAKNKor’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fuimgBkIdwAKNKor’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’TwozduvUXfoFcScx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’TwozduvUXfoFcScx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fuimgBkIdwAKNKor’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fuimgBkIdwAKNKor’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’msqLeuTHSROPsKNh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’msqLeuTHSROPsKNh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’LUvFdwmQFMkrrsBT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’LUvFdwmQFMkrrsBT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’msqLeuTHSROPsKNh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’msqLeuTHSROPsKNh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’LUvFdwmQFMkrrsBT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’LUvFdwmQFMkrrsBT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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]}]})

 1518b-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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’cHDtfIjwCwnQCDLE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’cHDtfIjwCwnQCDLE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’yrEnAvcKGGxGvnPi’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’yrEnAvcKGGxGvnPi’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’cHDtfIjwCwnQCDLE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’cHDtfIjwCwnQCDLE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’yrEnAvcKGGxGvnPi’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’yrEnAvcKGGxGvnPi’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’KLDpmrSqCdlLgQEa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KLDpmrSqCdlLgQEa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’nVYnYyQESNjmwAeX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’nVYnYyQESNjmwAeX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’KLDpmrSqCdlLgQEa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KLDpmrSqCdlLgQEa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’nVYnYyQESNjmwAeX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’nVYnYyQESNjmwAeX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’snMLGWwQUTOdgxmY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’snMLGWwQUTOdgxmY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ddDKwrtGaGGoenim’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ddDKwrtGaGGoenim’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’snMLGWwQUTOdgxmY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’snMLGWwQUTOdgxmY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ddDKwrtGaGGoenim’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ddDKwrtGaGGoenim’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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) 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’eSypqHuiPxjIoWvQPjVFhDLzcqbEPiNb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’eSypqHuiPxjIoWvQPjVFhDLzcqbEPiNb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ZOjAztnkAmYhusMLowHIdZYaoJHCzbqq’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ZOjAztnkAmYhusMLowHIdZYaoJHCzbqq’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’eSypqHuiPxjIoWvQPjVFhDLzcqbEPiNb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’eSypqHuiPxjIoWvQPjVFhDLzcqbEPiNb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ZOjAztnkAmYhusMLowHIdZYaoJHCzbqq’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ZOjAztnkAmYhusMLowHIdZYaoJHCzbqq’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’npdAXBiPxHYTbyruKphceOoTSdfTQsPl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’npdAXBiPxHYTbyruKphceOoTSdfTQsPl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’BXTtiMfOmmQwuhYauxmyNZRSUfKhTUud’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’BXTtiMfOmmQwuhYauxmyNZRSUfKhTUud’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’npdAXBiPxHYTbyruKphceOoTSdfTQsPl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’npdAXBiPxHYTbyruKphceOoTSdfTQsPl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’BXTtiMfOmmQwuhYauxmyNZRSUfKhTUud’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’BXTtiMfOmmQwuhYauxmyNZRSUfKhTUud’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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]}]})

 1518b-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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xplZlGQkrUHdhgQnttbtyDrSvnCHflQw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’xplZlGQkrUHdhgQnttbtyDrSvnCHflQw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’DQPjBrRsFWqNUNdsoEKFCfoJDCxiSwHs’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’DQPjBrRsFWqNUNdsoEKFCfoJDCxiSwHs’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xplZlGQkrUHdhgQnttbtyDrSvnCHflQw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’xplZlGQkrUHdhgQnttbtyDrSvnCHflQw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’DQPjBrRsFWqNUNdsoEKFCfoJDCxiSwHs’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’DQPjBrRsFWqNUNdsoEKFCfoJDCxiSwHs’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’RkZPrllvGewMrxGYLoZRBRlpUnMrTdRw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’RkZPrllvGewMrxGYLoZRBRlpUnMrTdRw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’jlPywRHXDXwlxBscJWHHKJIUpnsoSKNa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’jlPywRHXDXwlxBscJWHHKJIUpnsoSKNa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’RkZPrllvGewMrxGYLoZRBRlpUnMrTdRw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’RkZPrllvGewMrxGYLoZRBRlpUnMrTdRw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’jlPywRHXDXwlxBscJWHHKJIUpnsoSKNa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’jlPywRHXDXwlxBscJWHHKJIUpnsoSKNa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’FciWjdvCerdrBURKMTtInIFhVbwbmSXV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’FciWjdvCerdrBURKMTtInIFhVbwbmSXV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’muomXfhQHfEUIyntvadqOVntXhkGYBmB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’muomXfhQHfEUIyntvadqOVntXhkGYBmB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’FciWjdvCerdrBURKMTtInIFhVbwbmSXV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’FciWjdvCerdrBURKMTtInIFhVbwbmSXV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’muomXfhQHfEUIyntvadqOVntXhkGYBmB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’muomXfhQHfEUIyntvadqOVntXhkGYBmB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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) 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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.101/24
exec set ip neighbor avf-0/3b/a/0 200.0.0.102 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.102 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-cbc-128 crypto-key 7776426b787757476f5042726b757071 integ-alg sha-512-256 integ-key 48464453436c70695343764f7a414a5842696e7342547549544349764a64696b6658684f7546704f4b554977694b63445454646f5a586774696e746d4b475569 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-cbc-128 crypto-key 7776426b787757476f5042726b757071 integ-alg sha-512-256 integ-key 48464453436c70695343764f7a414a5842696e7342547549544349764a64696b6658684f7546704f4b554977694b63445454646f5a586774696e746d4b475569 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.102 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-cbc-128 crypto-key 746669696b4e5a6361506b5677795a44 integ-alg sha-512-256 integ-key 797a68484b656e48725249577166576a46644e665576546b4d44524257687753634b657458475867634453695659457a6b72787a5646565550714376745a5170 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-cbc-128 crypto-key 746669696b4e5a6361506b5677795a44 integ-alg sha-512-256 integ-key 797a68484b656e48725249577166576a46644e665576546b4d44524257687753634b657458475867634453695659457a6b72787a5646565550714376745a5170 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.102 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-cbc-128 crypto-key 6f4c6c4767505265794d647843754f41 integ-alg sha-512-256 integ-key 4a664d43695a457a6d65534a4d4d616574706d724e684569667a58664271715a7a666d415a79487445644f564e787a744c767a4c63554677476372516173706f esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-cbc-128 crypto-key 6f4c6c4767505265794d647843754f41 integ-alg sha-512-256 integ-key 4a664d43695a457a6d65534a4d4d616574706d724e684569667a58664271715a7a666d415a79487445644f564e787a744c767a4c63554677476372516173706f 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.102 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-cbc-128 crypto-key 7877695654704d46794c774d4c6c4b7a integ-alg sha-512-256 integ-key 455166576b4e6e755268734f41696377636154756264546374566c45474768587556624e4d6c436548686f72486b4f4e4e567747744e75614f4159737768476d esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-cbc-128 crypto-key 7877695654704d46794c774d4c6c4b7a integ-alg sha-512-256 integ-key 455166576b4e6e755268734f41696377636154756264546374566c45474768587556624e4d6c436548686f72486b4f4e4e567747744e75614f4159737768476d 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.102 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-cbc-128 crypto-key 6b7265696d5978544779735548574747 integ-alg sha-512-256 integ-key 664c6e5475754f57465557627173747a56717a714d6843747a4d415a74536f44744f545362476554506e7043424b566d7269507776657066776152784a494666 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-cbc-128 crypto-key 6b7265696d5978544779735548574747 integ-alg sha-512-256 integ-key 664c6e5475754f57465557627173747a56717a714d6843747a4d415a74536f44744f545362476554506e7043424b566d7269507776657066776152784a494666 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.102 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-cbc-128 crypto-key 4444577970544c6d746d534572756e48 integ-alg sha-512-256 integ-key 7a58724e596b666766676478565973704b51745a5a6e54626f464e6b51587871654f516274437255646f76677264727154444d6b50774a50667a7368706b614e esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-cbc-128 crypto-key 4444577970544c6d746d534572756e48 integ-alg sha-512-256 integ-key 7a58724e596b666766676478565973704b51745a5a6e54626f464e6b51587871654f516274437255646f76677264727154444d6b50774a50667a7368706b614e 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.102 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-cbc-128 crypto-key 737374617759636d624b616b7a666365 integ-alg sha-512-256 integ-key 57715844764c50735742535a4665487a76704b656f497657556158747a7a565749566e6b55795946544941796d48746a6a5064774f6370625a776c7a714e4b7a esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-cbc-128 crypto-key 737374617759636d624b616b7a666365 integ-alg sha-512-256 integ-key 57715844764c50735742535a4665487a76704b656f497657556158747a7a565749566e6b55795946544941796d48746a6a5064774f6370625a776c7a714e4b7a 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.102 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-cbc-128 crypto-key 667673536d444a654167716a74566464 integ-alg sha-512-256 integ-key 4f775477626a734e504271734b796f6b484973435543746a7a756a696773565a6753417863524e5343774d58566242697472426f57494c695a51714d586a736f esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-cbc-128 crypto-key 667673536d444a654167716a74566464 integ-alg sha-512-256 integ-key 4f775477626a734e504271734b796f6b484973435543746a7a756a696773565a6753417863524e5343774d58566242697472426f57494c695a51714d586a736f 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.102 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-cbc-128 crypto-key 6a6e6b6956676f666573485768414c57 integ-alg sha-512-256 integ-key 754b5876666957746e696e6b704f494873786779414a674b4e5359514958665159794b50784272724e626c46656a58736549784977417a6e67664a797449617a esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-cbc-128 crypto-key 6a6e6b6956676f666573485768414c57 integ-alg sha-512-256 integ-key 754b5876666957746e696e6b704f494873786779414a674b4e5359514958665159794b50784272724e626c46656a58736549784977417a6e67664a797449617a 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.102 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-cbc-128 crypto-key 7a6f7774786a48576444687670597172 integ-alg sha-512-256 integ-key 454c646549785156564d70774b5168426b4c54766b4867577669634145797877766a4778637855504f6d536e4169726e706479414973734557417a6777587053 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-cbc-128 crypto-key 7a6f7774786a48576444687670597172 integ-alg sha-512-256 integ-key 454c646549785156564d70774b5168426b4c54766b4867577669634145797877766a4778637855504f6d536e4169726e706479414973734557417a6777587053 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.102 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-cbc-128 crypto-key 584e4e4355784e434b774e706948747a integ-alg sha-512-256 integ-key 4f535679586b716d636678786b51647477764b45706e66414a576471727166795a73634e444e69656b79566c7372544e5955416a736c534757694f494d567268 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-cbc-128 crypto-key 584e4e4355784e434b774e706948747a integ-alg sha-512-256 integ-key 4f535679586b716d636678786b51647477764b45706e66414a576471727166795a73634e444e69656b79566c7372544e5955416a736c534757694f494d567268 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.102 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-cbc-128 crypto-key 515a545574505054614144764f6b696e integ-alg sha-512-256 integ-key 5758744a4e42554d5375706762794f4b6f516979754e76537242467245647151496458654c646c676f6c4a61704a596865636a4451546c4b566e53707772656f esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-cbc-128 crypto-key 515a545574505054614144764f6b696e integ-alg sha-512-256 integ-key 5758744a4e42554d5375706762794f4b6f516979754e76537242467245647151496458654c646c676f6c4a61704a596865636a4451546c4b566e53707772656f 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.102 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-cbc-128 crypto-key 586f4163576267464579677645424462 integ-alg sha-512-256 integ-key 437442436b6243754e506a6a4559637059617474636f7461537059787a5a775a5653646f596f5841746e4c506f485a4f764f42444f6a457a705076774b6d7a64 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-cbc-128 crypto-key 586f4163576267464579677645424462 integ-alg sha-512-256 integ-key 437442436b6243754e506a6a4559637059617474636f7461537059787a5a775a5653646f596f5841746e4c506f485a4f764f42444f6a457a705076774b6d7a64 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.102 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-cbc-128 crypto-key 44756e656d584c43716e416a43514956 integ-alg sha-512-256 integ-key 4552494c77657557737758596b737659526a42554642775142666751444c447265684f786a5a436a4a704e726964647476796955635168674554415751744e48 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-cbc-128 crypto-key 44756e656d584c43716e416a43514956 integ-alg sha-512-256 integ-key 4552494c77657557737758596b737659526a42554642775142666751444c447265684f786a5a436a4a704e726964647476796955635168674554415751744e48 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.102 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-cbc-128 crypto-key 626471546e6556784f4174764a6f4e78 integ-alg sha-512-256 integ-key 476d4a59726a7248647a6d6873514d74536a43554648736d63714c7341614a71504d4a776c647179627a507a756e73626d41546e5a4856745755764d754c7656 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-cbc-128 crypto-key 626471546e6556784f4174764a6f4e78 integ-alg sha-512-256 integ-key 476d4a59726a7248647a6d6873514d74536a43554648736d63714c7341614a71504d4a776c647179627a507a756e73626d41546e5a4856745755764d754c7656 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.102 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-cbc-128 crypto-key 786c77434b7276776d4e6850616d6c50 integ-alg sha-512-256 integ-key 585165494e5a416b585775706c6962737248666e64536d695a41744975695943467566446c5943466357706941696b4a4d4f776e426c4b4f4b61666444507441 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-cbc-128 crypto-key 786c77434b7276776d4e6850616d6c50 integ-alg sha-512-256 integ-key 585165494e5a416b585775706c6962737248666e64536d695a41744975695943467566446c5943466357706941696b4a4d4f776e426c4b4f4b61666444507441 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.102 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-cbc-128 crypto-key 436c6c61445a456e7855776f58745253 integ-alg sha-512-256 integ-key 76436678586d494e7955734b6f707771616c4b75625259494f786a6a556d486b564a6b615152474764565254594e74756352694d61744b615a46706c4b49695a esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-cbc-128 crypto-key 436c6c61445a456e7855776f58745253 integ-alg sha-512-256 integ-key 76436678586d494e7955734b6f707771616c4b75625259494f786a6a556d486b564a6b615152474764565254594e74756352694d61744b615a46706c4b49695a 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.102 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-cbc-128 crypto-key 7a426f6647624a695152666d4a4e4259 integ-alg sha-512-256 integ-key 427a675a645273505943736f70697a4269506145797263636b5244784349774d48694850584d76546d755673434d7a636c6f644554696f4770664b7a64716c43 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-cbc-128 crypto-key 7a426f6647624a695152666d4a4e4259 integ-alg sha-512-256 integ-key 427a675a645273505943736f70697a4269506145797263636b5244784349774d48694850584d76546d755673434d7a636c6f644554696f4770664b7a64716c43 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.102 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-cbc-128 crypto-key 78764355745a6c486c5742686566716c integ-alg sha-512-256 integ-key 6f6c6b69704c7867474a7754716b76565a4d55774548705448596d5345584f646f634d6778614e7678704b5672664245684545416b5a69514b50665254705a66 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-cbc-128 crypto-key 78764355745a6c486c5742686566716c integ-alg sha-512-256 integ-key 6f6c6b69704c7867474a7754716b76565a4d55774548705448596d5345584f646f634d6778614e7678704b5672664245684545416b5a69514b50665254705a66 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.102 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-cbc-128 crypto-key 566d74764f4541627a756c5776726c7a integ-alg sha-512-256 integ-key 704e784d6e74496b47744e6978766f6c687a6750436842564e687a6d766c7859597679627763585079496641585545454d476c4b79424f4b5864706d64594976 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-cbc-128 crypto-key 566d74764f4541627a756c5776726c7a integ-alg sha-512-256 integ-key 704e784d6e74496b47744e6978766f6c687a6750436842564e687a6d766c7859597679627763585079496641585545454d476c4b79424f4b5864706d64594976 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.102 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-cbc-128 crypto-key 62714c5762735247434d6c6b766c4959 integ-alg sha-512-256 integ-key 675361584b7773517744456d6d6d4a72514b56747a664142595a70614f4b76726e64516c6f7a78716f5347545568474f79624a4c424b7469655a4244674b7166 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-cbc-128 crypto-key 62714c5762735247434d6c6b766c4959 integ-alg sha-512-256 integ-key 675361584b7773517744456d6d6d4a72514b56747a664142595a70614f4b76726e64516c6f7a78716f5347545568474f79624a4c424b7469655a4244674b7166 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.102 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-cbc-128 crypto-key 5a4c5a53656852565a434554436d796d integ-alg sha-512-256 integ-key 6d4d5842636d4f6c677070536469717671786452465655714178496150444e6b636e684369615a79694449595a575a444b7375494a736963614e4d667563764b esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-cbc-128 crypto-key 5a4c5a53656852565a434554436d796d integ-alg sha-512-256 integ-key 6d4d5842636d4f6c677070536469717671786452465655714178496150444e6b636e684369615a79694449595a575a444b7375494a736963614e4d667563764b 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.102 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-cbc-128 crypto-key 4e6b4b444a5056586961764d57527a51 integ-alg sha-512-256 integ-key 777151466e6a61714e4170466b41437044494d4d7558786f636a43466f5162517252677459527745504971507643486e577a5569454c4e68436655644d446b64 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-cbc-128 crypto-key 4e6b4b444a5056586961764d57527a51 integ-alg sha-512-256 integ-key 777151466e6a61714e4170466b41437044494d4d7558786f636a43466f5162517252677459527745504971507643486e577a5569454c4e68436655644d446b64 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.102 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-cbc-128 crypto-key 4b426876424c5749766471714c556550 integ-alg sha-512-256 integ-key 5a685577424b7255755a414f47766a646365424f5757507059724d7153577770756e614753616f4c5574537163764349704b757862615a46796c77506a6d685a esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-cbc-128 crypto-key 4b426876424c5749766471714c556550 integ-alg sha-512-256 integ-key 5a685577424b7255755a414f47766a646365424f5757507059724d7153577770756e614753616f4c5574537163764349704b757862615a46796c77506a6d685a 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.102 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-cbc-128 crypto-key 587149525652634d524a786e46745747 integ-alg sha-512-256 integ-key 67664b67616b466f72795875665a514f626c707069687a626c6e4c62614c596952505751485072445464564c6e6e544843794458474343714d48584463644661 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-cbc-128 crypto-key 587149525652634d524a786e46745747 integ-alg sha-512-256 integ-key 67664b67616b466f72795875665a514f626c707069687a626c6e4c62614c596952505751485072445464564c6e6e544843794458474343714d48584463644661 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.102 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-cbc-128 crypto-key 6a6758576c75576f4a64707a65646e6d integ-alg sha-512-256 integ-key 6d72634e497371776e6a5962416a58515264506157536a527743476655644a4550764f77694c48797a586f6254656d5544536e704e45617576505366496d636f esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-cbc-128 crypto-key 6a6758576c75576f4a64707a65646e6d integ-alg sha-512-256 integ-key 6d72634e497371776e6a5962416a58515264506157536a527743476655644a4550764f77694c48797a586f6254656d5544536e704e45617576505366496d636f 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.102 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-cbc-128 crypto-key 54515665677a7a65774a49626e4f4357 integ-alg sha-512-256 integ-key 67616845704955727750617a6962666f777663466a737052685a557552566954464d7670484f764951686755545644684e69676b50545a786554494843665557 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-cbc-128 crypto-key 54515665677a7a65774a49626e4f4357 integ-alg sha-512-256 integ-key 67616845704955727750617a6962666f777663466a737052685a557552566954464d7670484f764951686755545644684e69676b50545a786554494843665557 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.102 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-cbc-128 crypto-key 667a427167525270624d5261584f5856 integ-alg sha-512-256 integ-key 4b585447657667686366754354704858666c574877784d44715172645a4f6f674f73574c4b4e6e49717a704e75776c4e7852504c5858734246776b6641546248 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-cbc-128 crypto-key 667a427167525270624d5261584f5856 integ-alg sha-512-256 integ-key 4b585447657667686366754354704858666c574877784d44715172645a4f6f674f73574c4b4e6e49717a704e75776c4e7852504c5858734246776b6641546248 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.102 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-cbc-128 crypto-key 42514378704d796f784b53446c634451 integ-alg sha-512-256 integ-key 6c6355797955656766774b666959654f757071534a7443567547634f4a726e4e415a68576370457756764d6d455a786776756e65644b414d54456d4377617864 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-cbc-128 crypto-key 42514378704d796f784b53446c634451 integ-alg sha-512-256 integ-key 6c6355797955656766774b666959654f757071534a7443567547634f4a726e4e415a68576370457756764d6d455a786776756e65644b414d54456d4377617864 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.102 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-cbc-128 crypto-key 4a544276704a5069435245614a4d527a integ-alg sha-512-256 integ-key 6c645845737a7168484c435458674a57484976516f62587063764447554d4d786a66737762746b666568514f7063764c77744d7147475444454a546e4f71784e esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-cbc-128 crypto-key 4a544276704a5069435245614a4d527a integ-alg sha-512-256 integ-key 6c645845737a7168484c435458674a57484976516f62587063764447554d4d786a66737762746b666568514f7063764c77744d7147475444454a546e4f71784e 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.102 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-cbc-128 crypto-key 7856474671494c694d5a79447347694d integ-alg sha-512-256 integ-key 414f786f42796f6d6e4f4f7072455259684c574e6a794e7645684a514f5057766174775a4f6a56616650664e4f4f7171645850594a6146477045645171437647 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-cbc-128 crypto-key 7856474671494c694d5a79447347694d integ-alg sha-512-256 integ-key 414f786f42796f6d6e4f4f7072455259684c574e6a794e7645684a514f5057766174775a4f6a56616650664e4f4f7171645850594a6146477045645171437647 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.102 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-cbc-128 crypto-key 50434868634a416871776a4246726e44 integ-alg sha-512-256 integ-key 554a6168797465504f4f6c624a67764a6f696b796479556c435042776e55555a797771664274596d6763544947614e6955415a4c79596c766b6c43774a614e59 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-cbc-128 crypto-key 50434868634a416871776a4246726e44 integ-alg sha-512-256 integ-key 554a6168797465504f4f6c624a67764a6f696b796479556c435042776e55555a797771664274596d6763544947614e6955415a4c79596c766b6c43774a614e59 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.102 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-cbc-128 crypto-key 636e776e6c44787a6469434c6156736f integ-alg sha-512-256 integ-key 5969594f434f48785164434c64506e6d4e466e734c6b61724b534b6561516e70436b4c62706f456b7869767177716c507154556d686b6166726e6a4365694252 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-cbc-128 crypto-key 636e776e6c44787a6469434c6156736f integ-alg sha-512-256 integ-key 5969594f434f48785164434c64506e6d4e466e734c6b61724b534b6561516e70436b4c62706f456b7869767177716c507154556d686b6166726e6a4365694252 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.102 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-cbc-128 crypto-key 4947776a727663457253764964755962 integ-alg sha-512-256 integ-key 775978696341656d4549564e54724a6a42686943756c4c4a636f6155495974736179545769536b656e664b4d71555a76687074656d4a5a6d6e64736a6a50546a esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-cbc-128 crypto-key 4947776a727663457253764964755962 integ-alg sha-512-256 integ-key 775978696341656d4549564e54724a6a42686943756c4c4a636f6155495974736179545769536b656e664b4d71555a76687074656d4a5a6d6e64736a6a50546a 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.102 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-cbc-128 crypto-key 446f496b61787768676445726253514f integ-alg sha-512-256 integ-key 68434641744d49716d4a547364656b495a7076475172715943494a48415645627053746c6370694d786153524c79764247597553714154596658414b70684f73 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-cbc-128 crypto-key 446f496b61787768676445726253514f integ-alg sha-512-256 integ-key 68434641744d49716d4a547364656b495a7076475172715943494a48415645627053746c6370694d786153524c79764247597553714154596658414b70684f73 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.102 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-cbc-128 crypto-key 4d7173587348576b45644c524e4e6b61 integ-alg sha-512-256 integ-key 596d62474b48497578427767777a66534d5a755766676b68636e78624e5561476464754543414b7048525468626e72636e62616463496f705757575a4a694e4b esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-cbc-128 crypto-key 4d7173587348576b45644c524e4e6b61 integ-alg sha-512-256 integ-key 596d62474b48497578427767777a66534d5a755766676b68636e78624e5561476464754543414b7048525468626e72636e62616463496f705757575a4a694e4b 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.102 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-cbc-128 crypto-key 735563646e5657444f48726b567a4a51 integ-alg sha-512-256 integ-key 6c527573636f784454774f48665361654b65785650616272796e49754545724371756950746a6c41684f6c7678774b786c4f6375444748514e62697a59674170 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-cbc-128 crypto-key 735563646e5657444f48726b567a4a51 integ-alg sha-512-256 integ-key 6c527573636f784454774f48665361654b65785650616272796e49754545724371756950746a6c41684f6c7678774b786c4f6375444748514e62697a59674170 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.102 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-cbc-128 crypto-key 505167696173464d47686a4641794444 integ-alg sha-512-256 integ-key 716659566e7a72576f7a457674445663596c7978735842534655594b43464e49706968645542544b447a514a51664c577855727a744b61716c7756654a4e4750 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-cbc-128 crypto-key 505167696173464d47686a4641794444 integ-alg sha-512-256 integ-key 716659566e7a72576f7a457674445663596c7978735842534655594b43464e49706968645542544b447a514a51664c577855727a744b61716c7756654a4e4750 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.102 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-cbc-128 crypto-key 67775374724e6f49444b724d59484b77 integ-alg sha-512-256 integ-key 597a5a6950675a4453504e484d7941596167756b4f41784d585359785261475050636d6666775058465741646149715244416a7847654144574d564c45527946 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-cbc-128 crypto-key 67775374724e6f49444b724d59484b77 integ-alg sha-512-256 integ-key 597a5a6950675a4453504e484d7941596167756b4f41784d585359785261475050636d6666775058465741646149715244416a7847654144574d564c45527946 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.102 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-cbc-128 crypto-key 51656779476c734770716c5a67426a51 integ-alg sha-512-256 integ-key 546c4e4b736b67424e766763554842674e5a4c424d566d78524b4c564a517a48534f42786a427666764b54704c4a4e584b56474f43706c577562465551516d62 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-cbc-128 crypto-key 51656779476c734770716c5a67426a51 integ-alg sha-512-256 integ-key 546c4e4b736b67424e766763554842674e5a4c424d566d78524b4c564a517a48534f42786a427666764b54704c4a4e584b56474f43706c577562465551516d62 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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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.102/24.0
exec create ipip tunnel src 200.0.0.102 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-cbc-128 crypto-key 7776426b787757476f5042726b757071 integ-alg sha-512-256 integ-key 48464453436c70695343764f7a414a5842696e7342547549544349764a64696b6658684f7546704f4b554977694b63445454646f5a586774696e746d4b475569 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-cbc-128 crypto-key 7776426b787757476f5042726b757071 integ-alg sha-512-256 integ-key 48464453436c70695343764f7a414a5842696e7342547549544349764a64696b6658684f7546704f4b554977694b63445454646f5a586774696e746d4b475569 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-cbc-128 crypto-key 746669696b4e5a6361506b5677795a44 integ-alg sha-512-256 integ-key 797a68484b656e48725249577166576a46644e665576546b4d44524257687753634b657458475867634453695659457a6b72787a5646565550714376745a5170 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-cbc-128 crypto-key 746669696b4e5a6361506b5677795a44 integ-alg sha-512-256 integ-key 797a68484b656e48725249577166576a46644e665576546b4d44524257687753634b657458475867634453695659457a6b72787a5646565550714376745a5170 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-cbc-128 crypto-key 6f4c6c4767505265794d647843754f41 integ-alg sha-512-256 integ-key 4a664d43695a457a6d65534a4d4d616574706d724e684569667a58664271715a7a666d415a79487445644f564e787a744c767a4c63554677476372516173706f esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-cbc-128 crypto-key 6f4c6c4767505265794d647843754f41 integ-alg sha-512-256 integ-key 4a664d43695a457a6d65534a4d4d616574706d724e684569667a58664271715a7a666d415a79487445644f564e787a744c767a4c63554677476372516173706f esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-cbc-128 crypto-key 7877695654704d46794c774d4c6c4b7a integ-alg sha-512-256 integ-key 455166576b4e6e755268734f41696377636154756264546374566c45474768587556624e4d6c436548686f72486b4f4e4e567747744e75614f4159737768476d esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-cbc-128 crypto-key 7877695654704d46794c774d4c6c4b7a integ-alg sha-512-256 integ-key 455166576b4e6e755268734f41696377636154756264546374566c45474768587556624e4d6c436548686f72486b4f4e4e567747744e75614f4159737768476d esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-cbc-128 crypto-key 6b7265696d5978544779735548574747 integ-alg sha-512-256 integ-key 664c6e5475754f57465557627173747a56717a714d6843747a4d415a74536f44744f545362476554506e7043424b566d7269507776657066776152784a494666 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-cbc-128 crypto-key 6b7265696d5978544779735548574747 integ-alg sha-512-256 integ-key 664c6e5475754f57465557627173747a56717a714d6843747a4d415a74536f44744f545362476554506e7043424b566d7269507776657066776152784a494666 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-cbc-128 crypto-key 4444577970544c6d746d534572756e48 integ-alg sha-512-256 integ-key 7a58724e596b666766676478565973704b51745a5a6e54626f464e6b51587871654f516274437255646f76677264727154444d6b50774a50667a7368706b614e esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-cbc-128 crypto-key 4444577970544c6d746d534572756e48 integ-alg sha-512-256 integ-key 7a58724e596b666766676478565973704b51745a5a6e54626f464e6b51587871654f516274437255646f76677264727154444d6b50774a50667a7368706b614e esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-cbc-128 crypto-key 737374617759636d624b616b7a666365 integ-alg sha-512-256 integ-key 57715844764c50735742535a4665487a76704b656f497657556158747a7a565749566e6b55795946544941796d48746a6a5064774f6370625a776c7a714e4b7a esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-cbc-128 crypto-key 737374617759636d624b616b7a666365 integ-alg sha-512-256 integ-key 57715844764c50735742535a4665487a76704b656f497657556158747a7a565749566e6b55795946544941796d48746a6a5064774f6370625a776c7a714e4b7a esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-cbc-128 crypto-key 667673536d444a654167716a74566464 integ-alg sha-512-256 integ-key 4f775477626a734e504271734b796f6b484973435543746a7a756a696773565a6753417863524e5343774d58566242697472426f57494c695a51714d586a736f esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-cbc-128 crypto-key 667673536d444a654167716a74566464 integ-alg sha-512-256 integ-key 4f775477626a734e504271734b796f6b484973435543746a7a756a696773565a6753417863524e5343774d58566242697472426f57494c695a51714d586a736f esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-cbc-128 crypto-key 6a6e6b6956676f666573485768414c57 integ-alg sha-512-256 integ-key 754b5876666957746e696e6b704f494873786779414a674b4e5359514958665159794b50784272724e626c46656a58736549784977417a6e67664a797449617a esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-cbc-128 crypto-key 6a6e6b6956676f666573485768414c57 integ-alg sha-512-256 integ-key 754b5876666957746e696e6b704f494873786779414a674b4e5359514958665159794b50784272724e626c46656a58736549784977417a6e67664a797449617a esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-cbc-128 crypto-key 7a6f7774786a48576444687670597172 integ-alg sha-512-256 integ-key 454c646549785156564d70774b5168426b4c54766b4867577669634145797877766a4778637855504f6d536e4169726e706479414973734557417a6777587053 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-cbc-128 crypto-key 7a6f7774786a48576444687670597172 integ-alg sha-512-256 integ-key 454c646549785156564d70774b5168426b4c54766b4867577669634145797877766a4778637855504f6d536e4169726e706479414973734557417a6777587053 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-cbc-128 crypto-key 584e4e4355784e434b774e706948747a integ-alg sha-512-256 integ-key 4f535679586b716d636678786b51647477764b45706e66414a576471727166795a73634e444e69656b79566c7372544e5955416a736c534757694f494d567268 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-cbc-128 crypto-key 584e4e4355784e434b774e706948747a integ-alg sha-512-256 integ-key 4f535679586b716d636678786b51647477764b45706e66414a576471727166795a73634e444e69656b79566c7372544e5955416a736c534757694f494d567268 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-cbc-128 crypto-key 515a545574505054614144764f6b696e integ-alg sha-512-256 integ-key 5758744a4e42554d5375706762794f4b6f516979754e76537242467245647151496458654c646c676f6c4a61704a596865636a4451546c4b566e53707772656f esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-cbc-128 crypto-key 515a545574505054614144764f6b696e integ-alg sha-512-256 integ-key 5758744a4e42554d5375706762794f4b6f516979754e76537242467245647151496458654c646c676f6c4a61704a596865636a4451546c4b566e53707772656f esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-cbc-128 crypto-key 586f4163576267464579677645424462 integ-alg sha-512-256 integ-key 437442436b6243754e506a6a4559637059617474636f7461537059787a5a775a5653646f596f5841746e4c506f485a4f764f42444f6a457a705076774b6d7a64 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-cbc-128 crypto-key 586f4163576267464579677645424462 integ-alg sha-512-256 integ-key 437442436b6243754e506a6a4559637059617474636f7461537059787a5a775a5653646f596f5841746e4c506f485a4f764f42444f6a457a705076774b6d7a64 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-cbc-128 crypto-key 44756e656d584c43716e416a43514956 integ-alg sha-512-256 integ-key 4552494c77657557737758596b737659526a42554642775142666751444c447265684f786a5a436a4a704e726964647476796955635168674554415751744e48 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-cbc-128 crypto-key 44756e656d584c43716e416a43514956 integ-alg sha-512-256 integ-key 4552494c77657557737758596b737659526a42554642775142666751444c447265684f786a5a436a4a704e726964647476796955635168674554415751744e48 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-cbc-128 crypto-key 626471546e6556784f4174764a6f4e78 integ-alg sha-512-256 integ-key 476d4a59726a7248647a6d6873514d74536a43554648736d63714c7341614a71504d4a776c647179627a507a756e73626d41546e5a4856745755764d754c7656 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-cbc-128 crypto-key 626471546e6556784f4174764a6f4e78 integ-alg sha-512-256 integ-key 476d4a59726a7248647a6d6873514d74536a43554648736d63714c7341614a71504d4a776c647179627a507a756e73626d41546e5a4856745755764d754c7656 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-cbc-128 crypto-key 786c77434b7276776d4e6850616d6c50 integ-alg sha-512-256 integ-key 585165494e5a416b585775706c6962737248666e64536d695a41744975695943467566446c5943466357706941696b4a4d4f776e426c4b4f4b61666444507441 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-cbc-128 crypto-key 786c77434b7276776d4e6850616d6c50 integ-alg sha-512-256 integ-key 585165494e5a416b585775706c6962737248666e64536d695a41744975695943467566446c5943466357706941696b4a4d4f776e426c4b4f4b61666444507441 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-cbc-128 crypto-key 436c6c61445a456e7855776f58745253 integ-alg sha-512-256 integ-key 76436678586d494e7955734b6f707771616c4b75625259494f786a6a556d486b564a6b615152474764565254594e74756352694d61744b615a46706c4b49695a esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-cbc-128 crypto-key 436c6c61445a456e7855776f58745253 integ-alg sha-512-256 integ-key 76436678586d494e7955734b6f707771616c4b75625259494f786a6a556d486b564a6b615152474764565254594e74756352694d61744b615a46706c4b49695a esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-cbc-128 crypto-key 7a426f6647624a695152666d4a4e4259 integ-alg sha-512-256 integ-key 427a675a645273505943736f70697a4269506145797263636b5244784349774d48694850584d76546d755673434d7a636c6f644554696f4770664b7a64716c43 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-cbc-128 crypto-key 7a426f6647624a695152666d4a4e4259 integ-alg sha-512-256 integ-key 427a675a645273505943736f70697a4269506145797263636b5244784349774d48694850584d76546d755673434d7a636c6f644554696f4770664b7a64716c43 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-cbc-128 crypto-key 78764355745a6c486c5742686566716c integ-alg sha-512-256 integ-key 6f6c6b69704c7867474a7754716b76565a4d55774548705448596d5345584f646f634d6778614e7678704b5672664245684545416b5a69514b50665254705a66 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-cbc-128 crypto-key 78764355745a6c486c5742686566716c integ-alg sha-512-256 integ-key 6f6c6b69704c7867474a7754716b76565a4d55774548705448596d5345584f646f634d6778614e7678704b5672664245684545416b5a69514b50665254705a66 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-cbc-128 crypto-key 566d74764f4541627a756c5776726c7a integ-alg sha-512-256 integ-key 704e784d6e74496b47744e6978766f6c687a6750436842564e687a6d766c7859597679627763585079496641585545454d476c4b79424f4b5864706d64594976 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-cbc-128 crypto-key 566d74764f4541627a756c5776726c7a integ-alg sha-512-256 integ-key 704e784d6e74496b47744e6978766f6c687a6750436842564e687a6d766c7859597679627763585079496641585545454d476c4b79424f4b5864706d64594976 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-cbc-128 crypto-key 62714c5762735247434d6c6b766c4959 integ-alg sha-512-256 integ-key 675361584b7773517744456d6d6d4a72514b56747a664142595a70614f4b76726e64516c6f7a78716f5347545568474f79624a4c424b7469655a4244674b7166 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-cbc-128 crypto-key 62714c5762735247434d6c6b766c4959 integ-alg sha-512-256 integ-key 675361584b7773517744456d6d6d4a72514b56747a664142595a70614f4b76726e64516c6f7a78716f5347545568474f79624a4c424b7469655a4244674b7166 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-cbc-128 crypto-key 5a4c5a53656852565a434554436d796d integ-alg sha-512-256 integ-key 6d4d5842636d4f6c677070536469717671786452465655714178496150444e6b636e684369615a79694449595a575a444b7375494a736963614e4d667563764b esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-cbc-128 crypto-key 5a4c5a53656852565a434554436d796d integ-alg sha-512-256 integ-key 6d4d5842636d4f6c677070536469717671786452465655714178496150444e6b636e684369615a79694449595a575a444b7375494a736963614e4d667563764b esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-cbc-128 crypto-key 4e6b4b444a5056586961764d57527a51 integ-alg sha-512-256 integ-key 777151466e6a61714e4170466b41437044494d4d7558786f636a43466f5162517252677459527745504971507643486e577a5569454c4e68436655644d446b64 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-cbc-128 crypto-key 4e6b4b444a5056586961764d57527a51 integ-alg sha-512-256 integ-key 777151466e6a61714e4170466b41437044494d4d7558786f636a43466f5162517252677459527745504971507643486e577a5569454c4e68436655644d446b64 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-cbc-128 crypto-key 4b426876424c5749766471714c556550 integ-alg sha-512-256 integ-key 5a685577424b7255755a414f47766a646365424f5757507059724d7153577770756e614753616f4c5574537163764349704b757862615a46796c77506a6d685a esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-cbc-128 crypto-key 4b426876424c5749766471714c556550 integ-alg sha-512-256 integ-key 5a685577424b7255755a414f47766a646365424f5757507059724d7153577770756e614753616f4c5574537163764349704b757862615a46796c77506a6d685a esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-cbc-128 crypto-key 587149525652634d524a786e46745747 integ-alg sha-512-256 integ-key 67664b67616b466f72795875665a514f626c707069687a626c6e4c62614c596952505751485072445464564c6e6e544843794458474343714d48584463644661 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-cbc-128 crypto-key 587149525652634d524a786e46745747 integ-alg sha-512-256 integ-key 67664b67616b466f72795875665a514f626c707069687a626c6e4c62614c596952505751485072445464564c6e6e544843794458474343714d48584463644661 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-cbc-128 crypto-key 6a6758576c75576f4a64707a65646e6d integ-alg sha-512-256 integ-key 6d72634e497371776e6a5962416a58515264506157536a527743476655644a4550764f77694c48797a586f6254656d5544536e704e45617576505366496d636f esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-cbc-128 crypto-key 6a6758576c75576f4a64707a65646e6d integ-alg sha-512-256 integ-key 6d72634e497371776e6a5962416a58515264506157536a527743476655644a4550764f77694c48797a586f6254656d5544536e704e45617576505366496d636f esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-cbc-128 crypto-key 54515665677a7a65774a49626e4f4357 integ-alg sha-512-256 integ-key 67616845704955727750617a6962666f777663466a737052685a557552566954464d7670484f764951686755545644684e69676b50545a786554494843665557 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-cbc-128 crypto-key 54515665677a7a65774a49626e4f4357 integ-alg sha-512-256 integ-key 67616845704955727750617a6962666f777663466a737052685a557552566954464d7670484f764951686755545644684e69676b50545a786554494843665557 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-cbc-128 crypto-key 667a427167525270624d5261584f5856 integ-alg sha-512-256 integ-key 4b585447657667686366754354704858666c574877784d44715172645a4f6f674f73574c4b4e6e49717a704e75776c4e7852504c5858734246776b6641546248 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-cbc-128 crypto-key 667a427167525270624d5261584f5856 integ-alg sha-512-256 integ-key 4b585447657667686366754354704858666c574877784d44715172645a4f6f674f73574c4b4e6e49717a704e75776c4e7852504c5858734246776b6641546248 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-cbc-128 crypto-key 42514378704d796f784b53446c634451 integ-alg sha-512-256 integ-key 6c6355797955656766774b666959654f757071534a7443567547634f4a726e4e415a68576370457756764d6d455a786776756e65644b414d54456d4377617864 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-cbc-128 crypto-key 42514378704d796f784b53446c634451 integ-alg sha-512-256 integ-key 6c6355797955656766774b666959654f757071534a7443567547634f4a726e4e415a68576370457756764d6d455a786776756e65644b414d54456d4377617864 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-cbc-128 crypto-key 4a544276704a5069435245614a4d527a integ-alg sha-512-256 integ-key 6c645845737a7168484c435458674a57484976516f62587063764447554d4d786a66737762746b666568514f7063764c77744d7147475444454a546e4f71784e esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-cbc-128 crypto-key 4a544276704a5069435245614a4d527a integ-alg sha-512-256 integ-key 6c645845737a7168484c435458674a57484976516f62587063764447554d4d786a66737762746b666568514f7063764c77744d7147475444454a546e4f71784e esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-cbc-128 crypto-key 7856474671494c694d5a79447347694d integ-alg sha-512-256 integ-key 414f786f42796f6d6e4f4f7072455259684c574e6a794e7645684a514f5057766174775a4f6a56616650664e4f4f7171645850594a6146477045645171437647 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-cbc-128 crypto-key 7856474671494c694d5a79447347694d integ-alg sha-512-256 integ-key 414f786f42796f6d6e4f4f7072455259684c574e6a794e7645684a514f5057766174775a4f6a56616650664e4f4f7171645850594a6146477045645171437647 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-cbc-128 crypto-key 50434868634a416871776a4246726e44 integ-alg sha-512-256 integ-key 554a6168797465504f4f6c624a67764a6f696b796479556c435042776e55555a797771664274596d6763544947614e6955415a4c79596c766b6c43774a614e59 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-cbc-128 crypto-key 50434868634a416871776a4246726e44 integ-alg sha-512-256 integ-key 554a6168797465504f4f6c624a67764a6f696b796479556c435042776e55555a797771664274596d6763544947614e6955415a4c79596c766b6c43774a614e59 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-cbc-128 crypto-key 636e776e6c44787a6469434c6156736f integ-alg sha-512-256 integ-key 5969594f434f48785164434c64506e6d4e466e734c6b61724b534b6561516e70436b4c62706f456b7869767177716c507154556d686b6166726e6a4365694252 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-cbc-128 crypto-key 636e776e6c44787a6469434c6156736f integ-alg sha-512-256 integ-key 5969594f434f48785164434c64506e6d4e466e734c6b61724b534b6561516e70436b4c62706f456b7869767177716c507154556d686b6166726e6a4365694252 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-cbc-128 crypto-key 4947776a727663457253764964755962 integ-alg sha-512-256 integ-key 775978696341656d4549564e54724a6a42686943756c4c4a636f6155495974736179545769536b656e664b4d71555a76687074656d4a5a6d6e64736a6a50546a esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-cbc-128 crypto-key 4947776a727663457253764964755962 integ-alg sha-512-256 integ-key 775978696341656d4549564e54724a6a42686943756c4c4a636f6155495974736179545769536b656e664b4d71555a76687074656d4a5a6d6e64736a6a50546a esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-cbc-128 crypto-key 446f496b61787768676445726253514f integ-alg sha-512-256 integ-key 68434641744d49716d4a547364656b495a7076475172715943494a48415645627053746c6370694d786153524c79764247597553714154596658414b70684f73 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-cbc-128 crypto-key 446f496b61787768676445726253514f integ-alg sha-512-256 integ-key 68434641744d49716d4a547364656b495a7076475172715943494a48415645627053746c6370694d786153524c79764247597553714154596658414b70684f73 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-cbc-128 crypto-key 4d7173587348576b45644c524e4e6b61 integ-alg sha-512-256 integ-key 596d62474b48497578427767777a66534d5a755766676b68636e78624e5561476464754543414b7048525468626e72636e62616463496f705757575a4a694e4b esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-cbc-128 crypto-key 4d7173587348576b45644c524e4e6b61 integ-alg sha-512-256 integ-key 596d62474b48497578427767777a66534d5a755766676b68636e78624e5561476464754543414b7048525468626e72636e62616463496f705757575a4a694e4b esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-cbc-128 crypto-key 735563646e5657444f48726b567a4a51 integ-alg sha-512-256 integ-key 6c527573636f784454774f48665361654b65785650616272796e49754545724371756950746a6c41684f6c7678774b786c4f6375444748514e62697a59674170 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-cbc-128 crypto-key 735563646e5657444f48726b567a4a51 integ-alg sha-512-256 integ-key 6c527573636f784454774f48665361654b65785650616272796e49754545724371756950746a6c41684f6c7678774b786c4f6375444748514e62697a59674170 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-cbc-128 crypto-key 505167696173464d47686a4641794444 integ-alg sha-512-256 integ-key 716659566e7a72576f7a457674445663596c7978735842534655594b43464e49706968645542544b447a514a51664c577855727a744b61716c7756654a4e4750 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-cbc-128 crypto-key 505167696173464d47686a4641794444 integ-alg sha-512-256 integ-key 716659566e7a72576f7a457674445663596c7978735842534655594b43464e49706968645542544b447a514a51664c577855727a744b61716c7756654a4e4750 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-cbc-128 crypto-key 67775374724e6f49444b724d59484b77 integ-alg sha-512-256 integ-key 597a5a6950675a4453504e484d7941596167756b4f41784d585359785261475050636d6666775058465741646149715244416a7847654144574d564c45527946 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-cbc-128 crypto-key 67775374724e6f49444b724d59484b77 integ-alg sha-512-256 integ-key 597a5a6950675a4453504e484d7941596167756b4f41784d585359785261475050636d6666775058465741646149715244416a7847654144574d564c45527946 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-cbc-128 crypto-key 51656779476c734770716c5a67426a51 integ-alg sha-512-256 integ-key 546c4e4b736b67424e766763554842674e5a4c424d566d78524b4c564a517a48534f42786a427666764b54704c4a4e584b56474f43706c577562465551516d62 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-cbc-128 crypto-key 51656779476c734770716c5a67426a51 integ-alg sha-512-256 integ-key 546c4e4b736b67424e766763554842674e5a4c424d566d78524b4c564a517a48534f42786a427666764b54704c4a4e584b56474f43706c577562465551516d62 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.101 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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.101/24
exec set ip neighbor avf-0/3b/a/0 200.0.0.102 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.102 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-cbc-128 crypto-key 6e5a7750414d4a6652715849514f6a72 integ-alg sha-512-256 integ-key 504753516c65685958436c6f57576f6f6c774b71424e764b746673476e624d4a42644e75674e6b524d574678704746724f424e5446686c705571796e64796e45 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-cbc-128 crypto-key 6e5a7750414d4a6652715849514f6a72 integ-alg sha-512-256 integ-key 504753516c65685958436c6f57576f6f6c774b71424e764b746673476e624d4a42644e75674e6b524d574678704746724f424e5446686c705571796e64796e45 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.102 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-cbc-128 crypto-key 494961556c4a4e587a666f5350697962 integ-alg sha-512-256 integ-key 7272564d53514b57546e426769786f526243644a73745573626f437057684a79454f59495168466643615377784a53686f5a4371456448424143645644567562 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-cbc-128 crypto-key 494961556c4a4e587a666f5350697962 integ-alg sha-512-256 integ-key 7272564d53514b57546e426769786f526243644a73745573626f437057684a79454f59495168466643615377784a53686f5a4371456448424143645644567562 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.102 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-cbc-128 crypto-key 5642776a41614958566f595a414c6644 integ-alg sha-512-256 integ-key 57636f6d585942516a7041634f586d7949644446424664494c5355616d44766e7371554763797165617763464358494f574251434e4b6c576158594c6f525747 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-cbc-128 crypto-key 5642776a41614958566f595a414c6644 integ-alg sha-512-256 integ-key 57636f6d585942516a7041634f586d7949644446424664494c5355616d44766e7371554763797165617763464358494f574251434e4b6c576158594c6f525747 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.102 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-cbc-128 crypto-key 6f49654d67574963436c79644a595768 integ-alg sha-512-256 integ-key 6b4f4e5054685a6c50546759734f7468485a6557736d77646a7162524b71736a6c41524a487a526a65796d766f67544c704854725a4a6c62617879466e6f4b58 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-cbc-128 crypto-key 6f49654d67574963436c79644a595768 integ-alg sha-512-256 integ-key 6b4f4e5054685a6c50546759734f7468485a6557736d77646a7162524b71736a6c41524a487a526a65796d766f67544c704854725a4a6c62617879466e6f4b58 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.102 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-cbc-128 crypto-key 4859566b7469616f74724e5454715a50 integ-alg sha-512-256 integ-key 634e6856586173666e424946546f757a51597550516b797363764f76674c764670725163664b656a67646e6b6973534265746e6e7770624b634a63737a54686b esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-cbc-128 crypto-key 4859566b7469616f74724e5454715a50 integ-alg sha-512-256 integ-key 634e6856586173666e424946546f757a51597550516b797363764f76674c764670725163664b656a67646e6b6973534265746e6e7770624b634a63737a54686b 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.102 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-cbc-128 crypto-key 496c636e6e6e6a7463675553517a7479 integ-alg sha-512-256 integ-key 586366436d4f776d684b525078436d64784c756a70525a566d66664f577367476d4e5943654c6e65694655544b58765876574f5755785073795a464161637778 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-cbc-128 crypto-key 496c636e6e6e6a7463675553517a7479 integ-alg sha-512-256 integ-key 586366436d4f776d684b525078436d64784c756a70525a566d66664f577367476d4e5943654c6e65694655544b58765876574f5755785073795a464161637778 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.102 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-cbc-128 crypto-key 69775767565753427545617a7357437a integ-alg sha-512-256 integ-key 5246504c425266714779776d53796e6442564151746d4f73484179486a767a51696f4c4c5a5074624543566b56484444724e596176705470454e6c534a646661 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-cbc-128 crypto-key 69775767565753427545617a7357437a integ-alg sha-512-256 integ-key 5246504c425266714779776d53796e6442564151746d4f73484179486a767a51696f4c4c5a5074624543566b56484444724e596176705470454e6c534a646661 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.102 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-cbc-128 crypto-key 4164745370436d4377634d53686e5061 integ-alg sha-512-256 integ-key 564962477345446d714c6d6951655362687a434c576761796b72666973636a4f5174674e78664762786b53794273444b686873467657694f736f536279425141 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-cbc-128 crypto-key 4164745370436d4377634d53686e5061 integ-alg sha-512-256 integ-key 564962477345446d714c6d6951655362687a434c576761796b72666973636a4f5174674e78664762786b53794273444b686873467657694f736f536279425141 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.102 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-cbc-128 crypto-key 4d4a7159774f46664a594f496e6e4554 integ-alg sha-512-256 integ-key 725a72444a4459456f447970686f4c71564279486d456e644f7877726a6e764a485862496b496455726b7a6c727a624c67476e63575768787141746b7848714f esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-cbc-128 crypto-key 4d4a7159774f46664a594f496e6e4554 integ-alg sha-512-256 integ-key 725a72444a4459456f447970686f4c71564279486d456e644f7877726a6e764a485862496b496455726b7a6c727a624c67476e63575768787141746b7848714f 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.102 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-cbc-128 crypto-key 62677664465a4e756344546549474b42 integ-alg sha-512-256 integ-key 567a456578417952487a4f66665051736b6d4355626d775769626b68707a6267524c4573587a7444786b6d73416b596e6457597773534956534471464e787458 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-cbc-128 crypto-key 62677664465a4e756344546549474b42 integ-alg sha-512-256 integ-key 567a456578417952487a4f66665051736b6d4355626d775769626b68707a6267524c4573587a7444786b6d73416b596e6457597773534956534471464e787458 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.102 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-cbc-128 crypto-key 756543524e5044544c6a54444d767368 integ-alg sha-512-256 integ-key 534e5a4443704243654263734b475552696b5679624370754e685971794671514969456c4b5372714e46785163656b70444a4b4869494759426e4d654c664d49 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-cbc-128 crypto-key 756543524e5044544c6a54444d767368 integ-alg sha-512-256 integ-key 534e5a4443704243654263734b475552696b5679624370754e685971794671514969456c4b5372714e46785163656b70444a4b4869494759426e4d654c664d49 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.102 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-cbc-128 crypto-key 4657494778446b666e584474556a5373 integ-alg sha-512-256 integ-key 576e424c544d6f457942444e56466c626f7047686251684558716a684e4c70476b45434b4d51655350627671786762746b5673496d4645426c6d55655a4e6641 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-cbc-128 crypto-key 4657494778446b666e584474556a5373 integ-alg sha-512-256 integ-key 576e424c544d6f457942444e56466c626f7047686251684558716a684e4c70476b45434b4d51655350627671786762746b5673496d4645426c6d55655a4e6641 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.102 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-cbc-128 crypto-key 6863436c4b464a505964745958435849 integ-alg sha-512-256 integ-key 744e68536e4452696443504258706d54666575627a5474777448774e706f5a7a4e4c496e506b586f5543576c476b48577167524d414e50774541704c45714742 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-cbc-128 crypto-key 6863436c4b464a505964745958435849 integ-alg sha-512-256 integ-key 744e68536e4452696443504258706d54666575627a5474777448774e706f5a7a4e4c496e506b586f5543576c476b48577167524d414e50774541704c45714742 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.102 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-cbc-128 crypto-key 51666a4777696252774b57626b785663 integ-alg sha-512-256 integ-key 43794d72684e76496649735a646d41536576636e6b78797159734f64566278767565714e41424775685a59514a667946757378574543477453447565504a4953 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-cbc-128 crypto-key 51666a4777696252774b57626b785663 integ-alg sha-512-256 integ-key 43794d72684e76496649735a646d41536576636e6b78797159734f64566278767565714e41424775685a59514a667946757378574543477453447565504a4953 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.102 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-cbc-128 crypto-key 646a4d56704e4c52626d6a746e77724f integ-alg sha-512-256 integ-key 4a734a4373585462677341634d54614d644357765773554b7959466b66527466537146664873626d746b4c645a4f4774754c4d6349686a6a6551476b70684557 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-cbc-128 crypto-key 646a4d56704e4c52626d6a746e77724f integ-alg sha-512-256 integ-key 4a734a4373585462677341634d54614d644357765773554b7959466b66527466537146664873626d746b4c645a4f4774754c4d6349686a6a6551476b70684557 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.102 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-cbc-128 crypto-key 584d5455484f61614e5350664756745a integ-alg sha-512-256 integ-key 4d6e4b635552534757756e52746d6b41534f5a425a6f56796579486344424d5862705972596965494976706267426c52466c5479654d656b5455664251746c61 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-cbc-128 crypto-key 584d5455484f61614e5350664756745a integ-alg sha-512-256 integ-key 4d6e4b635552534757756e52746d6b41534f5a425a6f56796579486344424d5862705972596965494976706267426c52466c5479654d656b5455664251746c61 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.102 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-cbc-128 crypto-key 4861447072694e72726c794d476b7767 integ-alg sha-512-256 integ-key 4b5177475171766b6c63576a46754a504f49646f796b76434e4a4c6d7a4f46576c4c5544474e4c4a48444d59587a7a4250457a475963486c526a725a4b4d4b58 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-cbc-128 crypto-key 4861447072694e72726c794d476b7767 integ-alg sha-512-256 integ-key 4b5177475171766b6c63576a46754a504f49646f796b76434e4a4c6d7a4f46576c4c5544474e4c4a48444d59587a7a4250457a475963486c526a725a4b4d4b58 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.102 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-cbc-128 crypto-key 5765507043707a6d7166696e75434147 integ-alg sha-512-256 integ-key 537a5458744c53615341526e627a44486b78686c514577657056536a5448504e4d4d54665a7667484b4a4b4f614a6550706457666d624c7a456d56644e69664b esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-cbc-128 crypto-key 5765507043707a6d7166696e75434147 integ-alg sha-512-256 integ-key 537a5458744c53615341526e627a44486b78686c514577657056536a5448504e4d4d54665a7667484b4a4b4f614a6550706457666d624c7a456d56644e69664b 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.102 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-cbc-128 crypto-key 755659485752464671746e6b7a4c7a4e integ-alg sha-512-256 integ-key 73564a6c544f79565a6c54507053424561524b4d7173676a4c6d474c6c7a4a7646726271495341496a4744507544436d415358756e767972627655624d425655 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-cbc-128 crypto-key 755659485752464671746e6b7a4c7a4e integ-alg sha-512-256 integ-key 73564a6c544f79565a6c54507053424561524b4d7173676a4c6d474c6c7a4a7646726271495341496a4744507544436d415358756e767972627655624d425655 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.102 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-cbc-128 crypto-key 594d447346716b6b636a4f524d5a4547 integ-alg sha-512-256 integ-key 6844795a4b736a566279707442596c564d676e6b75456e48614148634e4474445142556d7044416e4e4f536e6a784d56694b4b6e415a75667771646654664d4f esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-cbc-128 crypto-key 594d447346716b6b636a4f524d5a4547 integ-alg sha-512-256 integ-key 6844795a4b736a566279707442596c564d676e6b75456e48614148634e4474445142556d7044416e4e4f536e6a784d56694b4b6e415a75667771646654664d4f 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.102 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-cbc-128 crypto-key 747363624353516556744b6258735244 integ-alg sha-512-256 integ-key 746376617574704a4f7944524b4d7545744e6d6a5967794b4e5a6e6b56554366517341665262484256446e737376616f66706c6f415665416644727967687265 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-cbc-128 crypto-key 747363624353516556744b6258735244 integ-alg sha-512-256 integ-key 746376617574704a4f7944524b4d7545744e6d6a5967794b4e5a6e6b56554366517341665262484256446e737376616f66706c6f415665416644727967687265 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.102 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-cbc-128 crypto-key 52594571755a69774b624e5a51504857 integ-alg sha-512-256 integ-key 6e764f446269646a466173596957726b66716649745870586d57634354734254624f7256457671476b696b4c5157654857524277756943726b49716e4b587650 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-cbc-128 crypto-key 52594571755a69774b624e5a51504857 integ-alg sha-512-256 integ-key 6e764f446269646a466173596957726b66716649745870586d57634354734254624f7256457671476b696b4c5157654857524277756943726b49716e4b587650 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.102 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-cbc-128 crypto-key 4b746c56496655665258524d67566c41 integ-alg sha-512-256 integ-key 7567414f676f766948664e4d786a4363616763425346474a41536641614b4f5569696345524f70757a54706d6175437051534c664777576f55504c6d6a677a6c esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-cbc-128 crypto-key 4b746c56496655665258524d67566c41 integ-alg sha-512-256 integ-key 7567414f676f766948664e4d786a4363616763425346474a41536641614b4f5569696345524f70757a54706d6175437051534c664777576f55504c6d6a677a6c 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.102 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-cbc-128 crypto-key 6d627a646e58754e4f457a545a55694a integ-alg sha-512-256 integ-key 4d6a6668675942546b4364774765674377794d6f55424b724e4147464f425249526f67734a45587266736774744674664a6d417344426a594a4b736762645261 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-cbc-128 crypto-key 6d627a646e58754e4f457a545a55694a integ-alg sha-512-256 integ-key 4d6a6668675942546b4364774765674377794d6f55424b724e4147464f425249526f67734a45587266736774744674664a6d417344426a594a4b736762645261 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.102 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-cbc-128 crypto-key 4863436d6f77636946636b5273785547 integ-alg sha-512-256 integ-key 587a45784f43466c75466878724848635370595055536b5877537a66434d6b427467526e694352574f685a7755414c786e524b516e4f45766243596a4873797a esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-cbc-128 crypto-key 4863436d6f77636946636b5273785547 integ-alg sha-512-256 integ-key 587a45784f43466c75466878724848635370595055536b5877537a66434d6b427467526e694352574f685a7755414c786e524b516e4f45766243596a4873797a 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.102 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-cbc-128 crypto-key 546b4656727449434449697478667677 integ-alg sha-512-256 integ-key 4e447250635059624679696b517151616d6756777a5845546e7354656e6c464d6b70595a6f5a584d704b7858576c4154455874767171595653474e7055555667 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-cbc-128 crypto-key 546b4656727449434449697478667677 integ-alg sha-512-256 integ-key 4e447250635059624679696b517151616d6756777a5845546e7354656e6c464d6b70595a6f5a584d704b7858576c4154455874767171595653474e7055555667 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.102 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-cbc-128 crypto-key 636f635a466c6843556b616e5154684f integ-alg sha-512-256 integ-key 4774776f5470517777566b6c59744c6172706d59496b4b486a6870516e73415749596d69686c4873536653706c5a52414569515043484f41774e507044496e65 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-cbc-128 crypto-key 636f635a466c6843556b616e5154684f integ-alg sha-512-256 integ-key 4774776f5470517777566b6c59744c6172706d59496b4b486a6870516e73415749596d69686c4873536653706c5a52414569515043484f41774e507044496e65 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.102 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-cbc-128 crypto-key 7a7669737362484b5269784f55454168 integ-alg sha-512-256 integ-key 557070584b5a656f41714d6e4e4d6c795142427974727661566244616d695a6f585744595979746e6a756a454753634a50536e716a75704545694941596d4b67 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-cbc-128 crypto-key 7a7669737362484b5269784f55454168 integ-alg sha-512-256 integ-key 557070584b5a656f41714d6e4e4d6c795142427974727661566244616d695a6f585744595979746e6a756a454753634a50536e716a75704545694941596d4b67 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.102 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-cbc-128 crypto-key 73736e5a477775616278487857555a76 integ-alg sha-512-256 integ-key 4341726a786a7768425a6956786e654a58576275774f79444f4e786f4b636854586d4f4f69684f7853626675476267644c6e47716b4256475246456878576275 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-cbc-128 crypto-key 73736e5a477775616278487857555a76 integ-alg sha-512-256 integ-key 4341726a786a7768425a6956786e654a58576275774f79444f4e786f4b636854586d4f4f69684f7853626675476267644c6e47716b4256475246456878576275 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.102 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-cbc-128 crypto-key 7862555a516e457a5771617753545159 integ-alg sha-512-256 integ-key 466f4d5078436b4c5067714e6974586a4d65517178446873747a79754e665569456443414c616a484761675346644d544c625a756f7772655a715965714b5554 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-cbc-128 crypto-key 7862555a516e457a5771617753545159 integ-alg sha-512-256 integ-key 466f4d5078436b4c5067714e6974586a4d65517178446873747a79754e665569456443414c616a484761675346644d544c625a756f7772655a715965714b5554 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.102 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-cbc-128 crypto-key 6e596e6e45516753746a434b4f524d41 integ-alg sha-512-256 integ-key 646362635a586668495a475565547a6e646a63466d50525745744759785355636c7a4b69594664616c71466e52436a515a6347534548776d4f7468614a727779 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-cbc-128 crypto-key 6e596e6e45516753746a434b4f524d41 integ-alg sha-512-256 integ-key 646362635a586668495a475565547a6e646a63466d50525745744759785355636c7a4b69594664616c71466e52436a515a6347534548776d4f7468614a727779 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.102 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-cbc-128 crypto-key 6c4d5249506f7a656443647545786879 integ-alg sha-512-256 integ-key 484166436a6a707444506e75524d59685743726e4a4b6e6b57674766444877484743556258486f6a4358484a6a7350596747664263427576506b466546746843 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-cbc-128 crypto-key 6c4d5249506f7a656443647545786879 integ-alg sha-512-256 integ-key 484166436a6a707444506e75524d59685743726e4a4b6e6b57674766444877484743556258486f6a4358484a6a7350596747664263427576506b466546746843 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.102 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-cbc-128 crypto-key 5369704e6e436b52596d486e66415372 integ-alg sha-512-256 integ-key 6b47664670564863726366414d4f74484c575172586e6f4b64785463614841414657454863574563586d69754747696a4441475a455a746171666f7845716d43 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-cbc-128 crypto-key 5369704e6e436b52596d486e66415372 integ-alg sha-512-256 integ-key 6b47664670564863726366414d4f74484c575172586e6f4b64785463614841414657454863574563586d69754747696a4441475a455a746171666f7845716d43 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.102 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-cbc-128 crypto-key 6b6674574a6f54684648704f4e4e5769 integ-alg sha-512-256 integ-key 4c5a4d724b5a6f6347686250746a6352484d6f62554d65616d4d677272524b46724d4b614a586f576f66757075757455586666744b5a6e726849525469535552 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-cbc-128 crypto-key 6b6674574a6f54684648704f4e4e5769 integ-alg sha-512-256 integ-key 4c5a4d724b5a6f6347686250746a6352484d6f62554d65616d4d677272524b46724d4b614a586f576f66757075757455586666744b5a6e726849525469535552 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.102 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-cbc-128 crypto-key 645a7278504c717951746d7a51416966 integ-alg sha-512-256 integ-key 6351497059474263767753466242745153536c6e4a5165534147577466444a6672795363775952504a616b626a794c597977577a6c4b7558684273734c594e47 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-cbc-128 crypto-key 645a7278504c717951746d7a51416966 integ-alg sha-512-256 integ-key 6351497059474263767753466242745153536c6e4a5165534147577466444a6672795363775952504a616b626a794c597977577a6c4b7558684273734c594e47 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.102 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-cbc-128 crypto-key 747a72766f6c496c7a4849724b447476 integ-alg sha-512-256 integ-key 5351584f75717045446e7069694261755873704142446671454254506c6644544b4952487657766679594a4f4c6b59626a6379426d6b646843796a576570425a esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-cbc-128 crypto-key 747a72766f6c496c7a4849724b447476 integ-alg sha-512-256 integ-key 5351584f75717045446e7069694261755873704142446671454254506c6644544b4952487657766679594a4f4c6b59626a6379426d6b646843796a576570425a 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.102 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-cbc-128 crypto-key 594d6f4d6b777a545248645363525261 integ-alg sha-512-256 integ-key 426b505852614f495242467269514a624b45577a7342474b695566704c6d414c736953504d505a4b42544641467a75654670705664676973595a68676b6e7066 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-cbc-128 crypto-key 594d6f4d6b777a545248645363525261 integ-alg sha-512-256 integ-key 426b505852614f495242467269514a624b45577a7342474b695566704c6d414c736953504d505a4b42544641467a75654670705664676973595a68676b6e7066 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.102 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-cbc-128 crypto-key 4e785352566b4d676a75545067424143 integ-alg sha-512-256 integ-key 4946644c4271444d614555474e6849584f44796c446364644a48426a597464777a736a416d6953574a574b726c46626c4f4b776f744b667869594a496e745841 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-cbc-128 crypto-key 4e785352566b4d676a75545067424143 integ-alg sha-512-256 integ-key 4946644c4271444d614555474e6849584f44796c446364644a48426a597464777a736a416d6953574a574b726c46626c4f4b776f744b667869594a496e745841 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.102 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-cbc-128 crypto-key 49584f665366634b554f4e71476a426f integ-alg sha-512-256 integ-key 72417676634641764f5347624654786b54655146496e4261487672594670545641547454567a74756a676b634b6f6457567a4965514c44414e694f766a744951 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-cbc-128 crypto-key 49584f665366634b554f4e71476a426f integ-alg sha-512-256 integ-key 72417676634641764f5347624654786b54655146496e4261487672594670545641547454567a74756a676b634b6f6457567a4965514c44414e694f766a744951 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.102 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-cbc-128 crypto-key 5a4c7245636f4f70527950555248434d integ-alg sha-512-256 integ-key 5a586f6d434150524467706c716b77514d41616d50616a685a5461476656514d477648795757597a427a69674f78785262677956614c776d714343426358664d esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-cbc-128 crypto-key 5a4c7245636f4f70527950555248434d integ-alg sha-512-256 integ-key 5a586f6d434150524467706c716b77514d41616d50616a685a5461476656514d477648795757597a427a69674f78785262677956614c776d714343426358664d 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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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.102/24.0
exec create ipip tunnel src 200.0.0.102 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-cbc-128 crypto-key 6e5a7750414d4a6652715849514f6a72 integ-alg sha-512-256 integ-key 504753516c65685958436c6f57576f6f6c774b71424e764b746673476e624d4a42644e75674e6b524d574678704746724f424e5446686c705571796e64796e45 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-cbc-128 crypto-key 6e5a7750414d4a6652715849514f6a72 integ-alg sha-512-256 integ-key 504753516c65685958436c6f57576f6f6c774b71424e764b746673476e624d4a42644e75674e6b524d574678704746724f424e5446686c705571796e64796e45 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-cbc-128 crypto-key 494961556c4a4e587a666f5350697962 integ-alg sha-512-256 integ-key 7272564d53514b57546e426769786f526243644a73745573626f437057684a79454f59495168466643615377784a53686f5a4371456448424143645644567562 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-cbc-128 crypto-key 494961556c4a4e587a666f5350697962 integ-alg sha-512-256 integ-key 7272564d53514b57546e426769786f526243644a73745573626f437057684a79454f59495168466643615377784a53686f5a4371456448424143645644567562 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-cbc-128 crypto-key 5642776a41614958566f595a414c6644 integ-alg sha-512-256 integ-key 57636f6d585942516a7041634f586d7949644446424664494c5355616d44766e7371554763797165617763464358494f574251434e4b6c576158594c6f525747 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-cbc-128 crypto-key 5642776a41614958566f595a414c6644 integ-alg sha-512-256 integ-key 57636f6d585942516a7041634f586d7949644446424664494c5355616d44766e7371554763797165617763464358494f574251434e4b6c576158594c6f525747 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-cbc-128 crypto-key 6f49654d67574963436c79644a595768 integ-alg sha-512-256 integ-key 6b4f4e5054685a6c50546759734f7468485a6557736d77646a7162524b71736a6c41524a487a526a65796d766f67544c704854725a4a6c62617879466e6f4b58 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-cbc-128 crypto-key 6f49654d67574963436c79644a595768 integ-alg sha-512-256 integ-key 6b4f4e5054685a6c50546759734f7468485a6557736d77646a7162524b71736a6c41524a487a526a65796d766f67544c704854725a4a6c62617879466e6f4b58 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-cbc-128 crypto-key 4859566b7469616f74724e5454715a50 integ-alg sha-512-256 integ-key 634e6856586173666e424946546f757a51597550516b797363764f76674c764670725163664b656a67646e6b6973534265746e6e7770624b634a63737a54686b esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-cbc-128 crypto-key 4859566b7469616f74724e5454715a50 integ-alg sha-512-256 integ-key 634e6856586173666e424946546f757a51597550516b797363764f76674c764670725163664b656a67646e6b6973534265746e6e7770624b634a63737a54686b esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-cbc-128 crypto-key 496c636e6e6e6a7463675553517a7479 integ-alg sha-512-256 integ-key 586366436d4f776d684b525078436d64784c756a70525a566d66664f577367476d4e5943654c6e65694655544b58765876574f5755785073795a464161637778 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-cbc-128 crypto-key 496c636e6e6e6a7463675553517a7479 integ-alg sha-512-256 integ-key 586366436d4f776d684b525078436d64784c756a70525a566d66664f577367476d4e5943654c6e65694655544b58765876574f5755785073795a464161637778 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-cbc-128 crypto-key 69775767565753427545617a7357437a integ-alg sha-512-256 integ-key 5246504c425266714779776d53796e6442564151746d4f73484179486a767a51696f4c4c5a5074624543566b56484444724e596176705470454e6c534a646661 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-cbc-128 crypto-key 69775767565753427545617a7357437a integ-alg sha-512-256 integ-key 5246504c425266714779776d53796e6442564151746d4f73484179486a767a51696f4c4c5a5074624543566b56484444724e596176705470454e6c534a646661 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-cbc-128 crypto-key 4164745370436d4377634d53686e5061 integ-alg sha-512-256 integ-key 564962477345446d714c6d6951655362687a434c576761796b72666973636a4f5174674e78664762786b53794273444b686873467657694f736f536279425141 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-cbc-128 crypto-key 4164745370436d4377634d53686e5061 integ-alg sha-512-256 integ-key 564962477345446d714c6d6951655362687a434c576761796b72666973636a4f5174674e78664762786b53794273444b686873467657694f736f536279425141 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-cbc-128 crypto-key 4d4a7159774f46664a594f496e6e4554 integ-alg sha-512-256 integ-key 725a72444a4459456f447970686f4c71564279486d456e644f7877726a6e764a485862496b496455726b7a6c727a624c67476e63575768787141746b7848714f esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-cbc-128 crypto-key 4d4a7159774f46664a594f496e6e4554 integ-alg sha-512-256 integ-key 725a72444a4459456f447970686f4c71564279486d456e644f7877726a6e764a485862496b496455726b7a6c727a624c67476e63575768787141746b7848714f esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-cbc-128 crypto-key 62677664465a4e756344546549474b42 integ-alg sha-512-256 integ-key 567a456578417952487a4f66665051736b6d4355626d775769626b68707a6267524c4573587a7444786b6d73416b596e6457597773534956534471464e787458 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-cbc-128 crypto-key 62677664465a4e756344546549474b42 integ-alg sha-512-256 integ-key 567a456578417952487a4f66665051736b6d4355626d775769626b68707a6267524c4573587a7444786b6d73416b596e6457597773534956534471464e787458 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-cbc-128 crypto-key 756543524e5044544c6a54444d767368 integ-alg sha-512-256 integ-key 534e5a4443704243654263734b475552696b5679624370754e685971794671514969456c4b5372714e46785163656b70444a4b4869494759426e4d654c664d49 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-cbc-128 crypto-key 756543524e5044544c6a54444d767368 integ-alg sha-512-256 integ-key 534e5a4443704243654263734b475552696b5679624370754e685971794671514969456c4b5372714e46785163656b70444a4b4869494759426e4d654c664d49 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-cbc-128 crypto-key 4657494778446b666e584474556a5373 integ-alg sha-512-256 integ-key 576e424c544d6f457942444e56466c626f7047686251684558716a684e4c70476b45434b4d51655350627671786762746b5673496d4645426c6d55655a4e6641 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-cbc-128 crypto-key 4657494778446b666e584474556a5373 integ-alg sha-512-256 integ-key 576e424c544d6f457942444e56466c626f7047686251684558716a684e4c70476b45434b4d51655350627671786762746b5673496d4645426c6d55655a4e6641 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-cbc-128 crypto-key 6863436c4b464a505964745958435849 integ-alg sha-512-256 integ-key 744e68536e4452696443504258706d54666575627a5474777448774e706f5a7a4e4c496e506b586f5543576c476b48577167524d414e50774541704c45714742 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-cbc-128 crypto-key 6863436c4b464a505964745958435849 integ-alg sha-512-256 integ-key 744e68536e4452696443504258706d54666575627a5474777448774e706f5a7a4e4c496e506b586f5543576c476b48577167524d414e50774541704c45714742 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-cbc-128 crypto-key 51666a4777696252774b57626b785663 integ-alg sha-512-256 integ-key 43794d72684e76496649735a646d41536576636e6b78797159734f64566278767565714e41424775685a59514a667946757378574543477453447565504a4953 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-cbc-128 crypto-key 51666a4777696252774b57626b785663 integ-alg sha-512-256 integ-key 43794d72684e76496649735a646d41536576636e6b78797159734f64566278767565714e41424775685a59514a667946757378574543477453447565504a4953 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-cbc-128 crypto-key 646a4d56704e4c52626d6a746e77724f integ-alg sha-512-256 integ-key 4a734a4373585462677341634d54614d644357765773554b7959466b66527466537146664873626d746b4c645a4f4774754c4d6349686a6a6551476b70684557 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-cbc-128 crypto-key 646a4d56704e4c52626d6a746e77724f integ-alg sha-512-256 integ-key 4a734a4373585462677341634d54614d644357765773554b7959466b66527466537146664873626d746b4c645a4f4774754c4d6349686a6a6551476b70684557 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-cbc-128 crypto-key 584d5455484f61614e5350664756745a integ-alg sha-512-256 integ-key 4d6e4b635552534757756e52746d6b41534f5a425a6f56796579486344424d5862705972596965494976706267426c52466c5479654d656b5455664251746c61 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-cbc-128 crypto-key 584d5455484f61614e5350664756745a integ-alg sha-512-256 integ-key 4d6e4b635552534757756e52746d6b41534f5a425a6f56796579486344424d5862705972596965494976706267426c52466c5479654d656b5455664251746c61 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-cbc-128 crypto-key 4861447072694e72726c794d476b7767 integ-alg sha-512-256 integ-key 4b5177475171766b6c63576a46754a504f49646f796b76434e4a4c6d7a4f46576c4c5544474e4c4a48444d59587a7a4250457a475963486c526a725a4b4d4b58 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-cbc-128 crypto-key 4861447072694e72726c794d476b7767 integ-alg sha-512-256 integ-key 4b5177475171766b6c63576a46754a504f49646f796b76434e4a4c6d7a4f46576c4c5544474e4c4a48444d59587a7a4250457a475963486c526a725a4b4d4b58 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-cbc-128 crypto-key 5765507043707a6d7166696e75434147 integ-alg sha-512-256 integ-key 537a5458744c53615341526e627a44486b78686c514577657056536a5448504e4d4d54665a7667484b4a4b4f614a6550706457666d624c7a456d56644e69664b esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-cbc-128 crypto-key 5765507043707a6d7166696e75434147 integ-alg sha-512-256 integ-key 537a5458744c53615341526e627a44486b78686c514577657056536a5448504e4d4d54665a7667484b4a4b4f614a6550706457666d624c7a456d56644e69664b esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-cbc-128 crypto-key 755659485752464671746e6b7a4c7a4e integ-alg sha-512-256 integ-key 73564a6c544f79565a6c54507053424561524b4d7173676a4c6d474c6c7a4a7646726271495341496a4744507544436d415358756e767972627655624d425655 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-cbc-128 crypto-key 755659485752464671746e6b7a4c7a4e integ-alg sha-512-256 integ-key 73564a6c544f79565a6c54507053424561524b4d7173676a4c6d474c6c7a4a7646726271495341496a4744507544436d415358756e767972627655624d425655 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-cbc-128 crypto-key 594d447346716b6b636a4f524d5a4547 integ-alg sha-512-256 integ-key 6844795a4b736a566279707442596c564d676e6b75456e48614148634e4474445142556d7044416e4e4f536e6a784d56694b4b6e415a75667771646654664d4f esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-cbc-128 crypto-key 594d447346716b6b636a4f524d5a4547 integ-alg sha-512-256 integ-key 6844795a4b736a566279707442596c564d676e6b75456e48614148634e4474445142556d7044416e4e4f536e6a784d56694b4b6e415a75667771646654664d4f esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-cbc-128 crypto-key 747363624353516556744b6258735244 integ-alg sha-512-256 integ-key 746376617574704a4f7944524b4d7545744e6d6a5967794b4e5a6e6b56554366517341665262484256446e737376616f66706c6f415665416644727967687265 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-cbc-128 crypto-key 747363624353516556744b6258735244 integ-alg sha-512-256 integ-key 746376617574704a4f7944524b4d7545744e6d6a5967794b4e5a6e6b56554366517341665262484256446e737376616f66706c6f415665416644727967687265 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-cbc-128 crypto-key 52594571755a69774b624e5a51504857 integ-alg sha-512-256 integ-key 6e764f446269646a466173596957726b66716649745870586d57634354734254624f7256457671476b696b4c5157654857524277756943726b49716e4b587650 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-cbc-128 crypto-key 52594571755a69774b624e5a51504857 integ-alg sha-512-256 integ-key 6e764f446269646a466173596957726b66716649745870586d57634354734254624f7256457671476b696b4c5157654857524277756943726b49716e4b587650 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-cbc-128 crypto-key 4b746c56496655665258524d67566c41 integ-alg sha-512-256 integ-key 7567414f676f766948664e4d786a4363616763425346474a41536641614b4f5569696345524f70757a54706d6175437051534c664777576f55504c6d6a677a6c esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-cbc-128 crypto-key 4b746c56496655665258524d67566c41 integ-alg sha-512-256 integ-key 7567414f676f766948664e4d786a4363616763425346474a41536641614b4f5569696345524f70757a54706d6175437051534c664777576f55504c6d6a677a6c esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-cbc-128 crypto-key 6d627a646e58754e4f457a545a55694a integ-alg sha-512-256 integ-key 4d6a6668675942546b4364774765674377794d6f55424b724e4147464f425249526f67734a45587266736774744674664a6d417344426a594a4b736762645261 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-cbc-128 crypto-key 6d627a646e58754e4f457a545a55694a integ-alg sha-512-256 integ-key 4d6a6668675942546b4364774765674377794d6f55424b724e4147464f425249526f67734a45587266736774744674664a6d417344426a594a4b736762645261 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-cbc-128 crypto-key 4863436d6f77636946636b5273785547 integ-alg sha-512-256 integ-key 587a45784f43466c75466878724848635370595055536b5877537a66434d6b427467526e694352574f685a7755414c786e524b516e4f45766243596a4873797a esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-cbc-128 crypto-key 4863436d6f77636946636b5273785547 integ-alg sha-512-256 integ-key 587a45784f43466c75466878724848635370595055536b5877537a66434d6b427467526e694352574f685a7755414c786e524b516e4f45766243596a4873797a esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-cbc-128 crypto-key 546b4656727449434449697478667677 integ-alg sha-512-256 integ-key 4e447250635059624679696b517151616d6756777a5845546e7354656e6c464d6b70595a6f5a584d704b7858576c4154455874767171595653474e7055555667 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-cbc-128 crypto-key 546b4656727449434449697478667677 integ-alg sha-512-256 integ-key 4e447250635059624679696b517151616d6756777a5845546e7354656e6c464d6b70595a6f5a584d704b7858576c4154455874767171595653474e7055555667 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-cbc-128 crypto-key 636f635a466c6843556b616e5154684f integ-alg sha-512-256 integ-key 4774776f5470517777566b6c59744c6172706d59496b4b486a6870516e73415749596d69686c4873536653706c5a52414569515043484f41774e507044496e65 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-cbc-128 crypto-key 636f635a466c6843556b616e5154684f integ-alg sha-512-256 integ-key 4774776f5470517777566b6c59744c6172706d59496b4b486a6870516e73415749596d69686c4873536653706c5a52414569515043484f41774e507044496e65 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-cbc-128 crypto-key 7a7669737362484b5269784f55454168 integ-alg sha-512-256 integ-key 557070584b5a656f41714d6e4e4d6c795142427974727661566244616d695a6f585744595979746e6a756a454753634a50536e716a75704545694941596d4b67 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-cbc-128 crypto-key 7a7669737362484b5269784f55454168 integ-alg sha-512-256 integ-key 557070584b5a656f41714d6e4e4d6c795142427974727661566244616d695a6f585744595979746e6a756a454753634a50536e716a75704545694941596d4b67 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-cbc-128 crypto-key 73736e5a477775616278487857555a76 integ-alg sha-512-256 integ-key 4341726a786a7768425a6956786e654a58576275774f79444f4e786f4b636854586d4f4f69684f7853626675476267644c6e47716b4256475246456878576275 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-cbc-128 crypto-key 73736e5a477775616278487857555a76 integ-alg sha-512-256 integ-key 4341726a786a7768425a6956786e654a58576275774f79444f4e786f4b636854586d4f4f69684f7853626675476267644c6e47716b4256475246456878576275 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-cbc-128 crypto-key 7862555a516e457a5771617753545159 integ-alg sha-512-256 integ-key 466f4d5078436b4c5067714e6974586a4d65517178446873747a79754e665569456443414c616a484761675346644d544c625a756f7772655a715965714b5554 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-cbc-128 crypto-key 7862555a516e457a5771617753545159 integ-alg sha-512-256 integ-key 466f4d5078436b4c5067714e6974586a4d65517178446873747a79754e665569456443414c616a484761675346644d544c625a756f7772655a715965714b5554 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-cbc-128 crypto-key 6e596e6e45516753746a434b4f524d41 integ-alg sha-512-256 integ-key 646362635a586668495a475565547a6e646a63466d50525745744759785355636c7a4b69594664616c71466e52436a515a6347534548776d4f7468614a727779 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-cbc-128 crypto-key 6e596e6e45516753746a434b4f524d41 integ-alg sha-512-256 integ-key 646362635a586668495a475565547a6e646a63466d50525745744759785355636c7a4b69594664616c71466e52436a515a6347534548776d4f7468614a727779 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-cbc-128 crypto-key 6c4d5249506f7a656443647545786879 integ-alg sha-512-256 integ-key 484166436a6a707444506e75524d59685743726e4a4b6e6b57674766444877484743556258486f6a4358484a6a7350596747664263427576506b466546746843 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-cbc-128 crypto-key 6c4d5249506f7a656443647545786879 integ-alg sha-512-256 integ-key 484166436a6a707444506e75524d59685743726e4a4b6e6b57674766444877484743556258486f6a4358484a6a7350596747664263427576506b466546746843 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-cbc-128 crypto-key 5369704e6e436b52596d486e66415372 integ-alg sha-512-256 integ-key 6b47664670564863726366414d4f74484c575172586e6f4b64785463614841414657454863574563586d69754747696a4441475a455a746171666f7845716d43 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-cbc-128 crypto-key 5369704e6e436b52596d486e66415372 integ-alg sha-512-256 integ-key 6b47664670564863726366414d4f74484c575172586e6f4b64785463614841414657454863574563586d69754747696a4441475a455a746171666f7845716d43 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-cbc-128 crypto-key 6b6674574a6f54684648704f4e4e5769 integ-alg sha-512-256 integ-key 4c5a4d724b5a6f6347686250746a6352484d6f62554d65616d4d677272524b46724d4b614a586f576f66757075757455586666744b5a6e726849525469535552 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-cbc-128 crypto-key 6b6674574a6f54684648704f4e4e5769 integ-alg sha-512-256 integ-key 4c5a4d724b5a6f6347686250746a6352484d6f62554d65616d4d677272524b46724d4b614a586f576f66757075757455586666744b5a6e726849525469535552 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-cbc-128 crypto-key 645a7278504c717951746d7a51416966 integ-alg sha-512-256 integ-key 6351497059474263767753466242745153536c6e4a5165534147577466444a6672795363775952504a616b626a794c597977577a6c4b7558684273734c594e47 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-cbc-128 crypto-key 645a7278504c717951746d7a51416966 integ-alg sha-512-256 integ-key 6351497059474263767753466242745153536c6e4a5165534147577466444a6672795363775952504a616b626a794c597977577a6c4b7558684273734c594e47 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-cbc-128 crypto-key 747a72766f6c496c7a4849724b447476 integ-alg sha-512-256 integ-key 5351584f75717045446e7069694261755873704142446671454254506c6644544b4952487657766679594a4f4c6b59626a6379426d6b646843796a576570425a esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-cbc-128 crypto-key 747a72766f6c496c7a4849724b447476 integ-alg sha-512-256 integ-key 5351584f75717045446e7069694261755873704142446671454254506c6644544b4952487657766679594a4f4c6b59626a6379426d6b646843796a576570425a esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-cbc-128 crypto-key 594d6f4d6b777a545248645363525261 integ-alg sha-512-256 integ-key 426b505852614f495242467269514a624b45577a7342474b695566704c6d414c736953504d505a4b42544641467a75654670705664676973595a68676b6e7066 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-cbc-128 crypto-key 594d6f4d6b777a545248645363525261 integ-alg sha-512-256 integ-key 426b505852614f495242467269514a624b45577a7342474b695566704c6d414c736953504d505a4b42544641467a75654670705664676973595a68676b6e7066 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-cbc-128 crypto-key 4e785352566b4d676a75545067424143 integ-alg sha-512-256 integ-key 4946644c4271444d614555474e6849584f44796c446364644a48426a597464777a736a416d6953574a574b726c46626c4f4b776f744b667869594a496e745841 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-cbc-128 crypto-key 4e785352566b4d676a75545067424143 integ-alg sha-512-256 integ-key 4946644c4271444d614555474e6849584f44796c446364644a48426a597464777a736a416d6953574a574b726c46626c4f4b776f744b667869594a496e745841 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-cbc-128 crypto-key 49584f665366634b554f4e71476a426f integ-alg sha-512-256 integ-key 72417676634641764f5347624654786b54655146496e4261487672594670545641547454567a74756a676b634b6f6457567a4965514c44414e694f766a744951 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-cbc-128 crypto-key 49584f665366634b554f4e71476a426f integ-alg sha-512-256 integ-key 72417676634641764f5347624654786b54655146496e4261487672594670545641547454567a74756a676b634b6f6457567a4965514c44414e694f766a744951 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-cbc-128 crypto-key 5a4c7245636f4f70527950555248434d integ-alg sha-512-256 integ-key 5a586f6d434150524467706c716b77514d41616d50616a685a5461476656514d477648795757597a427a69674f78785262677956614c776d714343426358664d esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-cbc-128 crypto-key 5a4c7245636f4f70527950555248434d integ-alg sha-512-256 integ-key 5a586f6d434150524467706c716b77514d41616d50616a685a5461476656514d477648795757597a427a69674f78785262677956614c776d714343426358664d 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.101 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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.101/24
exec set ip neighbor avf-0/3b/a/0 200.0.0.102 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.102 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-cbc-128 crypto-key 6a6650654d47505a566a576b52504954 integ-alg sha-512-256 integ-key 4f61454a7a46596654755555765859785449794a544d616b7847536e7564427267666c42626948625447485865547946496e4442635379464355687a53424c58 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-cbc-128 crypto-key 6a6650654d47505a566a576b52504954 integ-alg sha-512-256 integ-key 4f61454a7a46596654755555765859785449794a544d616b7847536e7564427267666c42626948625447485865547946496e4442635379464355687a53424c58 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.102 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-cbc-128 crypto-key 51726b54744d726d694b57575a797755 integ-alg sha-512-256 integ-key 435365666a6b734849417a4855527a7a634864656e6e79507857516475744244777a4d7551694652455152704b4968477370667547647a79474553464c584667 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-cbc-128 crypto-key 51726b54744d726d694b57575a797755 integ-alg sha-512-256 integ-key 435365666a6b734849417a4855527a7a634864656e6e79507857516475744244777a4d7551694652455152704b4968477370667547647a79474553464c584667 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.102 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-cbc-128 crypto-key 70654157776b6b76636569595a474749 integ-alg sha-512-256 integ-key 6c45417544526f4e4c58684f64516b75614f4f4d786342544f4c4a626d6864416e7977516e616247706c646373445958596b7342626152465874734955554a66 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-cbc-128 crypto-key 70654157776b6b76636569595a474749 integ-alg sha-512-256 integ-key 6c45417544526f4e4c58684f64516b75614f4f4d786342544f4c4a626d6864416e7977516e616247706c646373445958596b7342626152465874734955554a66 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.102 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-cbc-128 crypto-key 526547627458564d4f444e49454e4951 integ-alg sha-512-256 integ-key 4f76597a6f6c6a73784b6769526f43784a77597243514f4551504570415564737955466949446b6d704e61584f757a61616b666a634f4d446e6a764654466161 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-cbc-128 crypto-key 526547627458564d4f444e49454e4951 integ-alg sha-512-256 integ-key 4f76597a6f6c6a73784b6769526f43784a77597243514f4551504570415564737955466949446b6d704e61584f757a61616b666a634f4d446e6a764654466161 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.102 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-cbc-128 crypto-key 744b654a58774d464c6c694c68727242 integ-alg sha-512-256 integ-key 524a45626f73444b55427669696a5078754972636d4963754e61684b76695574617165574e424f4c616d5854527176614e42736368747751575a724c436a6462 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-cbc-128 crypto-key 744b654a58774d464c6c694c68727242 integ-alg sha-512-256 integ-key 524a45626f73444b55427669696a5078754972636d4963754e61684b76695574617165574e424f4c616d5854527176614e42736368747751575a724c436a6462 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.102 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-cbc-128 crypto-key 52704d5959507050547867694d41795a integ-alg sha-512-256 integ-key 4b5a6f63597245687541726578664e4568417a70457a6849567978787a53784c4d5453724b704656766142565363686f684b777173496554666f704a42627a50 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-cbc-128 crypto-key 52704d5959507050547867694d41795a integ-alg sha-512-256 integ-key 4b5a6f63597245687541726578664e4568417a70457a6849567978787a53784c4d5453724b704656766142565363686f684b777173496554666f704a42627a50 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.102 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-cbc-128 crypto-key 67616b7475535079746b79555a53464a integ-alg sha-512-256 integ-key 6b626342664a554e69496b49475a6b6e57596b6a54684c426c51534a505644434654705a55544a4f6b4a45546b6353696f73794d496e4a4c67474262544f7168 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-cbc-128 crypto-key 67616b7475535079746b79555a53464a integ-alg sha-512-256 integ-key 6b626342664a554e69496b49475a6b6e57596b6a54684c426c51534a505644434654705a55544a4f6b4a45546b6353696f73794d496e4a4c67474262544f7168 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.102 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-cbc-128 crypto-key 454d435058505a4c67755856496f6c7a integ-alg sha-512-256 integ-key 436e6c504b78727374506646624f4e4e6e554152796d766d56727a6a4864774c68796a6b766977416f546e72436d516c4a78784d506e764f43514a59446e4d76 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-cbc-128 crypto-key 454d435058505a4c67755856496f6c7a integ-alg sha-512-256 integ-key 436e6c504b78727374506646624f4e4e6e554152796d766d56727a6a4864774c68796a6b766977416f546e72436d516c4a78784d506e764f43514a59446e4d76 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.102 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-cbc-128 crypto-key 5641574573627a64414474464f5a724a integ-alg sha-512-256 integ-key 45574d6f4f507a43736c417878434a4a4d666471576c414e74524a506f6d77476953467a6c46456c53754e6e465a4d6e7a4e47436f6e746e70516a6a71797342 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-cbc-128 crypto-key 5641574573627a64414474464f5a724a integ-alg sha-512-256 integ-key 45574d6f4f507a43736c417878434a4a4d666471576c414e74524a506f6d77476953467a6c46456c53754e6e465a4d6e7a4e47436f6e746e70516a6a71797342 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.102 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-cbc-128 crypto-key 79625968467877426a6d51484c764748 integ-alg sha-512-256 integ-key 554769774d614f5842706354796b596f68766f4e4266754f68744f486f4153444d41486e6d776e6f5056796c534d424561694d535a766e637545545850465364 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-cbc-128 crypto-key 79625968467877426a6d51484c764748 integ-alg sha-512-256 integ-key 554769774d614f5842706354796b596f68766f4e4266754f68744f486f4153444d41486e6d776e6f5056796c534d424561694d535a766e637545545850465364 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.102 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-cbc-128 crypto-key 636a537359436c664556667456546653 integ-alg sha-512-256 integ-key 6e6575514575505a46516e554564497a74444d756c6d70696d634645616d7546537170665844624547734d6e70486f506e4e796f58427741794b585161456e47 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-cbc-128 crypto-key 636a537359436c664556667456546653 integ-alg sha-512-256 integ-key 6e6575514575505a46516e554564497a74444d756c6d70696d634645616d7546537170665844624547734d6e70486f506e4e796f58427741794b585161456e47 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.102 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-cbc-128 crypto-key 6957564d4b4b6e717769614d61434e58 integ-alg sha-512-256 integ-key 536c4b764a697264524d6d56506c6e4555706f64616c6e67616d484c536d545a636d62714961734c6e414f5a73566971474b7845744453525371656a49684561 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-cbc-128 crypto-key 6957564d4b4b6e717769614d61434e58 integ-alg sha-512-256 integ-key 536c4b764a697264524d6d56506c6e4555706f64616c6e67616d484c536d545a636d62714961734c6e414f5a73566971474b7845744453525371656a49684561 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.102 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-cbc-128 crypto-key 786d6146545543685343454c71415452 integ-alg sha-512-256 integ-key 666964636c4f47784e524e72724a556c7a437a4f5068726a657656596951415a4974516d6e70714e5775737369726b46577178545349637465624e7964557262 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-cbc-128 crypto-key 786d6146545543685343454c71415452 integ-alg sha-512-256 integ-key 666964636c4f47784e524e72724a556c7a437a4f5068726a657656596951415a4974516d6e70714e5775737369726b46577178545349637465624e7964557262 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.102 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-cbc-128 crypto-key 6274496d69524144546848497741504e integ-alg sha-512-256 integ-key 6b586b4d494f655676594b4858676f49436872446a41567649514b6e4a4e5a716a44735051564455696a58626663594852695449634767714f6d4742464c5563 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-cbc-128 crypto-key 6274496d69524144546848497741504e integ-alg sha-512-256 integ-key 6b586b4d494f655676594b4858676f49436872446a41567649514b6e4a4e5a716a44735051564455696a58626663594852695449634767714f6d4742464c5563 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.102 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-cbc-128 crypto-key 4973614e616a6448736e7050445a754e integ-alg sha-512-256 integ-key 6d58696e7756594d6a77474678764f704d4b71496678694e534e7470574f44596678544656714e774a794d76624a5a755264644b5a71686d77654d6176426147 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-cbc-128 crypto-key 4973614e616a6448736e7050445a754e integ-alg sha-512-256 integ-key 6d58696e7756594d6a77474678764f704d4b71496678694e534e7470574f44596678544656714e774a794d76624a5a755264644b5a71686d77654d6176426147 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.102 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-cbc-128 crypto-key 6c5a7773556f6551737a647253416b4e integ-alg sha-512-256 integ-key 506b4b5864724e667a667a68705476784471656278546c687a6c6f636b446e497a6b4e6d7348705575706a6548744d654f564c4b63506847585a5269534a4972 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-cbc-128 crypto-key 6c5a7773556f6551737a647253416b4e integ-alg sha-512-256 integ-key 506b4b5864724e667a667a68705476784471656278546c687a6c6f636b446e497a6b4e6d7348705575706a6548744d654f564c4b63506847585a5269534a4972 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.102 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-cbc-128 crypto-key 61527a435059654b427a6b434c745241 integ-alg sha-512-256 integ-key 4b68764547514e6f4d49736b5376577649706466735a79777146734e58544969455949736d4b4f644c696f594d6a7779784f6b494c447379536d494e4e44616d esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-cbc-128 crypto-key 61527a435059654b427a6b434c745241 integ-alg sha-512-256 integ-key 4b68764547514e6f4d49736b5376577649706466735a79777146734e58544969455949736d4b4f644c696f594d6a7779784f6b494c447379536d494e4e44616d 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.102 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-cbc-128 crypto-key 76467a4b6e436c646b52474963436c59 integ-alg sha-512-256 integ-key 77644b4e77576d6e57716d644d497666476945447474696977436968445a676c7a4f496c6e4f7876446a536164444e554f466b59676a616a426a546b724a7144 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-cbc-128 crypto-key 76467a4b6e436c646b52474963436c59 integ-alg sha-512-256 integ-key 77644b4e77576d6e57716d644d497666476945447474696977436968445a676c7a4f496c6e4f7876446a536164444e554f466b59676a616a426a546b724a7144 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.102 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-cbc-128 crypto-key 6b556858646d5970655453476b4d5447 integ-alg sha-512-256 integ-key 7555766859786b4a68425165724d686864686e6d79544e4e6d70734c4d4d4c43664b785676484c61694c68664c47567a7a624d6455504f4277574e784c525563 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-cbc-128 crypto-key 6b556858646d5970655453476b4d5447 integ-alg sha-512-256 integ-key 7555766859786b4a68425165724d686864686e6d79544e4e6d70734c4d4d4c43664b785676484c61694c68664c47567a7a624d6455504f4277574e784c525563 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.102 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-cbc-128 crypto-key 686c754b4f5776774746635a45766a45 integ-alg sha-512-256 integ-key 796e4952786b4e446a49786d56524a6f74734d6979626e714b797a4b52585241716e737458746b6b47595258476441796678724757696243504166524744614d esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-cbc-128 crypto-key 686c754b4f5776774746635a45766a45 integ-alg sha-512-256 integ-key 796e4952786b4e446a49786d56524a6f74734d6979626e714b797a4b52585241716e737458746b6b47595258476441796678724757696243504166524744614d 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.102 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-cbc-128 crypto-key 4547745a4a62726f66456776554e686f integ-alg sha-512-256 integ-key 79574a584b586d65527a675646746f545753436e4a516b745767526576465459744270434b767566514b66505a707a58424a436c6672546165776c4b62705242 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-cbc-128 crypto-key 4547745a4a62726f66456776554e686f integ-alg sha-512-256 integ-key 79574a584b586d65527a675646746f545753436e4a516b745767526576465459744270434b767566514b66505a707a58424a436c6672546165776c4b62705242 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.102 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-cbc-128 crypto-key 6c4f65626b6d75796a6f7a5577667576 integ-alg sha-512-256 integ-key 67694455786d4557756b446b696557454d675949504f48725a724c62656c594b7a7a586c41666f4a76454151466c6d464d546172716f59776d5176786f734d57 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-cbc-128 crypto-key 6c4f65626b6d75796a6f7a5577667576 integ-alg sha-512-256 integ-key 67694455786d4557756b446b696557454d675949504f48725a724c62656c594b7a7a586c41666f4a76454151466c6d464d546172716f59776d5176786f734d57 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.102 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-cbc-128 crypto-key 5a756c73754c456449757255537a554f integ-alg sha-512-256 integ-key 7856617076525a7a556252736c687363715256787170457842726367615950694c707a6b69574542435278636a734c756e4d4168734d53686d757a4450594442 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-cbc-128 crypto-key 5a756c73754c456449757255537a554f integ-alg sha-512-256 integ-key 7856617076525a7a556252736c687363715256787170457842726367615950694c707a6b69574542435278636a734c756e4d4168734d53686d757a4450594442 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.102 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-cbc-128 crypto-key 626d6768726e4942784c776566696f78 integ-alg sha-512-256 integ-key 737a7369426942616d48695a6443645152794975537749796e66514250666946665a666e7a524574774169475950504f52445a694c41526d7864654241757255 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-cbc-128 crypto-key 626d6768726e4942784c776566696f78 integ-alg sha-512-256 integ-key 737a7369426942616d48695a6443645152794975537749796e66514250666946665a666e7a524574774169475950504f52445a694c41526d7864654241757255 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.102 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-cbc-128 crypto-key 4e566c465a6d664a52754e496e785153 integ-alg sha-512-256 integ-key 446d62554c414c5a58487163436e466c71685a437878506343444b48644d665049626b5857486164764c6647414c48504b574b4b715155596a6c6775746e7241 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-cbc-128 crypto-key 4e566c465a6d664a52754e496e785153 integ-alg sha-512-256 integ-key 446d62554c414c5a58487163436e466c71685a437878506343444b48644d665049626b5857486164764c6647414c48504b574b4b715155596a6c6775746e7241 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.102 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-cbc-128 crypto-key 796f7965446c534177427148534a706d integ-alg sha-512-256 integ-key 67587478645778474c6c4453536f6467624a6443517867766942546d4f74457a5345454862526a58437862464372685372466a656b504a77754142776d536b50 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-cbc-128 crypto-key 796f7965446c534177427148534a706d integ-alg sha-512-256 integ-key 67587478645778474c6c4453536f6467624a6443517867766942546d4f74457a5345454862526a58437862464372685372466a656b504a77754142776d536b50 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.102 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-cbc-128 crypto-key 45616142676b4a517265744a4d73664b integ-alg sha-512-256 integ-key 4d557375707154764c435a43557857416b574e5472726764774d564b7466476b666a686651694e7a5573676d467451506a72685057454769644253504b4d7073 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-cbc-128 crypto-key 45616142676b4a517265744a4d73664b integ-alg sha-512-256 integ-key 4d557375707154764c435a43557857416b574e5472726764774d564b7466476b666a686651694e7a5573676d467451506a72685057454769644253504b4d7073 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.102 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-cbc-128 crypto-key 4a4348554370734e777a52576d6e6f4f integ-alg sha-512-256 integ-key 525068744669536f6f5051646c76786f4d537054656850644c47754579666272757250615142697271717643616b4d52466e62747374527a465176737a755449 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-cbc-128 crypto-key 4a4348554370734e777a52576d6e6f4f integ-alg sha-512-256 integ-key 525068744669536f6f5051646c76786f4d537054656850644c47754579666272757250615142697271717643616b4d52466e62747374527a465176737a755449 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.102 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-cbc-128 crypto-key 784c47744e4442505a58427679627a42 integ-alg sha-512-256 integ-key 7665494162624e41485a436f436c63754b75574f7751736e576d71414a43474c48756a4f78494a4a57466c52695365586c6e6a704768746f5956615174474b53 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-cbc-128 crypto-key 784c47744e4442505a58427679627a42 integ-alg sha-512-256 integ-key 7665494162624e41485a436f436c63754b75574f7751736e576d71414a43474c48756a4f78494a4a57466c52695365586c6e6a704768746f5956615174474b53 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.102 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-cbc-128 crypto-key 6b71614a4662707255656963706b4773 integ-alg sha-512-256 integ-key 665242486b6163694964624f4a4377664d4b46756a7456616f767a64766778787277514d666548496c795471484b545a6a5a6667646f714b4b77616367744a71 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-cbc-128 crypto-key 6b71614a4662707255656963706b4773 integ-alg sha-512-256 integ-key 665242486b6163694964624f4a4377664d4b46756a7456616f767a64766778787277514d666548496c795471484b545a6a5a6667646f714b4b77616367744a71 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.102 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-cbc-128 crypto-key 787a48764f6e6e74466179696550524d integ-alg sha-512-256 integ-key 434741587759675078426c5a716d6f4d56657246677a4e466a6a664a52734e4b4a4e4374644c44614a727868586a52487a586a494f71794e61685074646b774d esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-cbc-128 crypto-key 787a48764f6e6e74466179696550524d integ-alg sha-512-256 integ-key 434741587759675078426c5a716d6f4d56657246677a4e466a6a664a52734e4b4a4e4374644c44614a727868586a52487a586a494f71794e61685074646b774d 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.102 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-cbc-128 crypto-key 76426e6857636170626e616b7258664d integ-alg sha-512-256 integ-key 6a494642457a776c456f715142567775647a666876735944726c4873434f54476b5963585273566578476565557a5a44514a7548557864566b41744d5654476d esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-cbc-128 crypto-key 76426e6857636170626e616b7258664d integ-alg sha-512-256 integ-key 6a494642457a776c456f715142567775647a666876735944726c4873434f54476b5963585273566578476565557a5a44514a7548557864566b41744d5654476d 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.102 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-cbc-128 crypto-key 726956654e6966624f774e6975454c4c integ-alg sha-512-256 integ-key 444557676f657865624e6d4a7971536f6c794c524e417371696c59416767614a53625055456348474359494867767a7868524c6d6242456654586f4b59746552 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-cbc-128 crypto-key 726956654e6966624f774e6975454c4c integ-alg sha-512-256 integ-key 444557676f657865624e6d4a7971536f6c794c524e417371696c59416767614a53625055456348474359494867767a7868524c6d6242456654586f4b59746552 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.102 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-cbc-128 crypto-key 436951764a786d68546c4f7448715076 integ-alg sha-512-256 integ-key 466a42546d716d5168735a5a6d447643755958695a5847556e46785a746249736f4f444e4742684b4e6d6b4c434c62594666714e776750516177756d6b58664f esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-cbc-128 crypto-key 436951764a786d68546c4f7448715076 integ-alg sha-512-256 integ-key 466a42546d716d5168735a5a6d447643755958695a5847556e46785a746249736f4f444e4742684b4e6d6b4c434c62594666714e776750516177756d6b58664f 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.102 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-cbc-128 crypto-key 4a7450414b4376644253555649507948 integ-alg sha-512-256 integ-key 625646534a5677507a70737a75486144554e73556b564c6272694a626b4952526d4c5172794d504f7463535055485866575850636a5a505375734c4379616b68 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-cbc-128 crypto-key 4a7450414b4376644253555649507948 integ-alg sha-512-256 integ-key 625646534a5677507a70737a75486144554e73556b564c6272694a626b4952526d4c5172794d504f7463535055485866575850636a5a505375734c4379616b68 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.102 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-cbc-128 crypto-key 537763505652576e715646635a427855 integ-alg sha-512-256 integ-key 5944595177516e644c7a654f4e636f5354477a694c6865447a444a4f555051644f6363426d4a506c4c674f4e47556a47727545616373574a6e486e71506b7861 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-cbc-128 crypto-key 537763505652576e715646635a427855 integ-alg sha-512-256 integ-key 5944595177516e644c7a654f4e636f5354477a694c6865447a444a4f555051644f6363426d4a506c4c674f4e47556a47727545616373574a6e486e71506b7861 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.102 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-cbc-128 crypto-key 644c734a4950654c4b77635844485944 integ-alg sha-512-256 integ-key 65574748477457504966524f515365574f775961556c47594545754943726d516a6d4e43794179494f4a52724b6f4f48556b50467a476a6a534a436a6f706c55 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-cbc-128 crypto-key 644c734a4950654c4b77635844485944 integ-alg sha-512-256 integ-key 65574748477457504966524f515365574f775961556c47594545754943726d516a6d4e43794179494f4a52724b6f4f48556b50467a476a6a534a436a6f706c55 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.102 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-cbc-128 crypto-key 6756484a77754752637a534875446d59 integ-alg sha-512-256 integ-key 61744f79486b56725147466c4a576b554f4364705650417049785877695762686e676d71704d6775716a6f5467764c6f737741627446486542714e4779684758 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-cbc-128 crypto-key 6756484a77754752637a534875446d59 integ-alg sha-512-256 integ-key 61744f79486b56725147466c4a576b554f4364705650417049785877695762686e676d71704d6775716a6f5467764c6f737741627446486542714e4779684758 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.102 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-cbc-128 crypto-key 72474d4d77456d696572424378434a75 integ-alg sha-512-256 integ-key 706962535544624470694d725a615557736e78516669684b4e696a6c6a6d54774263624546636345424853524d6e47486b466962576d66636b584c6945445359 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-cbc-128 crypto-key 72474d4d77456d696572424378434a75 integ-alg sha-512-256 integ-key 706962535544624470694d725a615557736e78516669684b4e696a6c6a6d54774263624546636345424853524d6e47486b466962576d66636b584c6945445359 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.102 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-cbc-128 crypto-key 6b47635445484c6a7256437a414f6a41 integ-alg sha-512-256 integ-key 745373796f4548587a6241464e6556486759696178555579674f4c596f6d6c4b6e5850566356776f7a49574867766d66527052415a50414a6a4b6468704e4278 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-cbc-128 crypto-key 6b47635445484c6a7256437a414f6a41 integ-alg sha-512-256 integ-key 745373796f4548587a6241464e6556486759696178555579674f4c596f6d6c4b6e5850566356776f7a49574867766d66527052415a50414a6a4b6468704e4278 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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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.102/24.0
exec create ipip tunnel src 200.0.0.102 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-cbc-128 crypto-key 6a6650654d47505a566a576b52504954 integ-alg sha-512-256 integ-key 4f61454a7a46596654755555765859785449794a544d616b7847536e7564427267666c42626948625447485865547946496e4442635379464355687a53424c58 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-cbc-128 crypto-key 6a6650654d47505a566a576b52504954 integ-alg sha-512-256 integ-key 4f61454a7a46596654755555765859785449794a544d616b7847536e7564427267666c42626948625447485865547946496e4442635379464355687a53424c58 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-cbc-128 crypto-key 51726b54744d726d694b57575a797755 integ-alg sha-512-256 integ-key 435365666a6b734849417a4855527a7a634864656e6e79507857516475744244777a4d7551694652455152704b4968477370667547647a79474553464c584667 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-cbc-128 crypto-key 51726b54744d726d694b57575a797755 integ-alg sha-512-256 integ-key 435365666a6b734849417a4855527a7a634864656e6e79507857516475744244777a4d7551694652455152704b4968477370667547647a79474553464c584667 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-cbc-128 crypto-key 70654157776b6b76636569595a474749 integ-alg sha-512-256 integ-key 6c45417544526f4e4c58684f64516b75614f4f4d786342544f4c4a626d6864416e7977516e616247706c646373445958596b7342626152465874734955554a66 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-cbc-128 crypto-key 70654157776b6b76636569595a474749 integ-alg sha-512-256 integ-key 6c45417544526f4e4c58684f64516b75614f4f4d786342544f4c4a626d6864416e7977516e616247706c646373445958596b7342626152465874734955554a66 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-cbc-128 crypto-key 526547627458564d4f444e49454e4951 integ-alg sha-512-256 integ-key 4f76597a6f6c6a73784b6769526f43784a77597243514f4551504570415564737955466949446b6d704e61584f757a61616b666a634f4d446e6a764654466161 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-cbc-128 crypto-key 526547627458564d4f444e49454e4951 integ-alg sha-512-256 integ-key 4f76597a6f6c6a73784b6769526f43784a77597243514f4551504570415564737955466949446b6d704e61584f757a61616b666a634f4d446e6a764654466161 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-cbc-128 crypto-key 744b654a58774d464c6c694c68727242 integ-alg sha-512-256 integ-key 524a45626f73444b55427669696a5078754972636d4963754e61684b76695574617165574e424f4c616d5854527176614e42736368747751575a724c436a6462 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-cbc-128 crypto-key 744b654a58774d464c6c694c68727242 integ-alg sha-512-256 integ-key 524a45626f73444b55427669696a5078754972636d4963754e61684b76695574617165574e424f4c616d5854527176614e42736368747751575a724c436a6462 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-cbc-128 crypto-key 52704d5959507050547867694d41795a integ-alg sha-512-256 integ-key 4b5a6f63597245687541726578664e4568417a70457a6849567978787a53784c4d5453724b704656766142565363686f684b777173496554666f704a42627a50 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-cbc-128 crypto-key 52704d5959507050547867694d41795a integ-alg sha-512-256 integ-key 4b5a6f63597245687541726578664e4568417a70457a6849567978787a53784c4d5453724b704656766142565363686f684b777173496554666f704a42627a50 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-cbc-128 crypto-key 67616b7475535079746b79555a53464a integ-alg sha-512-256 integ-key 6b626342664a554e69496b49475a6b6e57596b6a54684c426c51534a505644434654705a55544a4f6b4a45546b6353696f73794d496e4a4c67474262544f7168 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-cbc-128 crypto-key 67616b7475535079746b79555a53464a integ-alg sha-512-256 integ-key 6b626342664a554e69496b49475a6b6e57596b6a54684c426c51534a505644434654705a55544a4f6b4a45546b6353696f73794d496e4a4c67474262544f7168 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-cbc-128 crypto-key 454d435058505a4c67755856496f6c7a integ-alg sha-512-256 integ-key 436e6c504b78727374506646624f4e4e6e554152796d766d56727a6a4864774c68796a6b766977416f546e72436d516c4a78784d506e764f43514a59446e4d76 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-cbc-128 crypto-key 454d435058505a4c67755856496f6c7a integ-alg sha-512-256 integ-key 436e6c504b78727374506646624f4e4e6e554152796d766d56727a6a4864774c68796a6b766977416f546e72436d516c4a78784d506e764f43514a59446e4d76 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-cbc-128 crypto-key 5641574573627a64414474464f5a724a integ-alg sha-512-256 integ-key 45574d6f4f507a43736c417878434a4a4d666471576c414e74524a506f6d77476953467a6c46456c53754e6e465a4d6e7a4e47436f6e746e70516a6a71797342 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-cbc-128 crypto-key 5641574573627a64414474464f5a724a integ-alg sha-512-256 integ-key 45574d6f4f507a43736c417878434a4a4d666471576c414e74524a506f6d77476953467a6c46456c53754e6e465a4d6e7a4e47436f6e746e70516a6a71797342 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-cbc-128 crypto-key 79625968467877426a6d51484c764748 integ-alg sha-512-256 integ-key 554769774d614f5842706354796b596f68766f4e4266754f68744f486f4153444d41486e6d776e6f5056796c534d424561694d535a766e637545545850465364 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-cbc-128 crypto-key 79625968467877426a6d51484c764748 integ-alg sha-512-256 integ-key 554769774d614f5842706354796b596f68766f4e4266754f68744f486f4153444d41486e6d776e6f5056796c534d424561694d535a766e637545545850465364 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-cbc-128 crypto-key 636a537359436c664556667456546653 integ-alg sha-512-256 integ-key 6e6575514575505a46516e554564497a74444d756c6d70696d634645616d7546537170665844624547734d6e70486f506e4e796f58427741794b585161456e47 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-cbc-128 crypto-key 636a537359436c664556667456546653 integ-alg sha-512-256 integ-key 6e6575514575505a46516e554564497a74444d756c6d70696d634645616d7546537170665844624547734d6e70486f506e4e796f58427741794b585161456e47 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-cbc-128 crypto-key 6957564d4b4b6e717769614d61434e58 integ-alg sha-512-256 integ-key 536c4b764a697264524d6d56506c6e4555706f64616c6e67616d484c536d545a636d62714961734c6e414f5a73566971474b7845744453525371656a49684561 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-cbc-128 crypto-key 6957564d4b4b6e717769614d61434e58 integ-alg sha-512-256 integ-key 536c4b764a697264524d6d56506c6e4555706f64616c6e67616d484c536d545a636d62714961734c6e414f5a73566971474b7845744453525371656a49684561 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-cbc-128 crypto-key 786d6146545543685343454c71415452 integ-alg sha-512-256 integ-key 666964636c4f47784e524e72724a556c7a437a4f5068726a657656596951415a4974516d6e70714e5775737369726b46577178545349637465624e7964557262 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-cbc-128 crypto-key 786d6146545543685343454c71415452 integ-alg sha-512-256 integ-key 666964636c4f47784e524e72724a556c7a437a4f5068726a657656596951415a4974516d6e70714e5775737369726b46577178545349637465624e7964557262 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-cbc-128 crypto-key 6274496d69524144546848497741504e integ-alg sha-512-256 integ-key 6b586b4d494f655676594b4858676f49436872446a41567649514b6e4a4e5a716a44735051564455696a58626663594852695449634767714f6d4742464c5563 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-cbc-128 crypto-key 6274496d69524144546848497741504e integ-alg sha-512-256 integ-key 6b586b4d494f655676594b4858676f49436872446a41567649514b6e4a4e5a716a44735051564455696a58626663594852695449634767714f6d4742464c5563 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-cbc-128 crypto-key 4973614e616a6448736e7050445a754e integ-alg sha-512-256 integ-key 6d58696e7756594d6a77474678764f704d4b71496678694e534e7470574f44596678544656714e774a794d76624a5a755264644b5a71686d77654d6176426147 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-cbc-128 crypto-key 4973614e616a6448736e7050445a754e integ-alg sha-512-256 integ-key 6d58696e7756594d6a77474678764f704d4b71496678694e534e7470574f44596678544656714e774a794d76624a5a755264644b5a71686d77654d6176426147 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-cbc-128 crypto-key 6c5a7773556f6551737a647253416b4e integ-alg sha-512-256 integ-key 506b4b5864724e667a667a68705476784471656278546c687a6c6f636b446e497a6b4e6d7348705575706a6548744d654f564c4b63506847585a5269534a4972 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-cbc-128 crypto-key 6c5a7773556f6551737a647253416b4e integ-alg sha-512-256 integ-key 506b4b5864724e667a667a68705476784471656278546c687a6c6f636b446e497a6b4e6d7348705575706a6548744d654f564c4b63506847585a5269534a4972 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-cbc-128 crypto-key 61527a435059654b427a6b434c745241 integ-alg sha-512-256 integ-key 4b68764547514e6f4d49736b5376577649706466735a79777146734e58544969455949736d4b4f644c696f594d6a7779784f6b494c447379536d494e4e44616d esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-cbc-128 crypto-key 61527a435059654b427a6b434c745241 integ-alg sha-512-256 integ-key 4b68764547514e6f4d49736b5376577649706466735a79777146734e58544969455949736d4b4f644c696f594d6a7779784f6b494c447379536d494e4e44616d esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-cbc-128 crypto-key 76467a4b6e436c646b52474963436c59 integ-alg sha-512-256 integ-key 77644b4e77576d6e57716d644d497666476945447474696977436968445a676c7a4f496c6e4f7876446a536164444e554f466b59676a616a426a546b724a7144 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-cbc-128 crypto-key 76467a4b6e436c646b52474963436c59 integ-alg sha-512-256 integ-key 77644b4e77576d6e57716d644d497666476945447474696977436968445a676c7a4f496c6e4f7876446a536164444e554f466b59676a616a426a546b724a7144 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-cbc-128 crypto-key 6b556858646d5970655453476b4d5447 integ-alg sha-512-256 integ-key 7555766859786b4a68425165724d686864686e6d79544e4e6d70734c4d4d4c43664b785676484c61694c68664c47567a7a624d6455504f4277574e784c525563 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-cbc-128 crypto-key 6b556858646d5970655453476b4d5447 integ-alg sha-512-256 integ-key 7555766859786b4a68425165724d686864686e6d79544e4e6d70734c4d4d4c43664b785676484c61694c68664c47567a7a624d6455504f4277574e784c525563 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-cbc-128 crypto-key 686c754b4f5776774746635a45766a45 integ-alg sha-512-256 integ-key 796e4952786b4e446a49786d56524a6f74734d6979626e714b797a4b52585241716e737458746b6b47595258476441796678724757696243504166524744614d esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-cbc-128 crypto-key 686c754b4f5776774746635a45766a45 integ-alg sha-512-256 integ-key 796e4952786b4e446a49786d56524a6f74734d6979626e714b797a4b52585241716e737458746b6b47595258476441796678724757696243504166524744614d esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-cbc-128 crypto-key 4547745a4a62726f66456776554e686f integ-alg sha-512-256 integ-key 79574a584b586d65527a675646746f545753436e4a516b745767526576465459744270434b767566514b66505a707a58424a436c6672546165776c4b62705242 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-cbc-128 crypto-key 4547745a4a62726f66456776554e686f integ-alg sha-512-256 integ-key 79574a584b586d65527a675646746f545753436e4a516b745767526576465459744270434b767566514b66505a707a58424a436c6672546165776c4b62705242 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-cbc-128 crypto-key 6c4f65626b6d75796a6f7a5577667576 integ-alg sha-512-256 integ-key 67694455786d4557756b446b696557454d675949504f48725a724c62656c594b7a7a586c41666f4a76454151466c6d464d546172716f59776d5176786f734d57 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-cbc-128 crypto-key 6c4f65626b6d75796a6f7a5577667576 integ-alg sha-512-256 integ-key 67694455786d4557756b446b696557454d675949504f48725a724c62656c594b7a7a586c41666f4a76454151466c6d464d546172716f59776d5176786f734d57 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-cbc-128 crypto-key 5a756c73754c456449757255537a554f integ-alg sha-512-256 integ-key 7856617076525a7a556252736c687363715256787170457842726367615950694c707a6b69574542435278636a734c756e4d4168734d53686d757a4450594442 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-cbc-128 crypto-key 5a756c73754c456449757255537a554f integ-alg sha-512-256 integ-key 7856617076525a7a556252736c687363715256787170457842726367615950694c707a6b69574542435278636a734c756e4d4168734d53686d757a4450594442 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-cbc-128 crypto-key 626d6768726e4942784c776566696f78 integ-alg sha-512-256 integ-key 737a7369426942616d48695a6443645152794975537749796e66514250666946665a666e7a524574774169475950504f52445a694c41526d7864654241757255 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-cbc-128 crypto-key 626d6768726e4942784c776566696f78 integ-alg sha-512-256 integ-key 737a7369426942616d48695a6443645152794975537749796e66514250666946665a666e7a524574774169475950504f52445a694c41526d7864654241757255 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-cbc-128 crypto-key 4e566c465a6d664a52754e496e785153 integ-alg sha-512-256 integ-key 446d62554c414c5a58487163436e466c71685a437878506343444b48644d665049626b5857486164764c6647414c48504b574b4b715155596a6c6775746e7241 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-cbc-128 crypto-key 4e566c465a6d664a52754e496e785153 integ-alg sha-512-256 integ-key 446d62554c414c5a58487163436e466c71685a437878506343444b48644d665049626b5857486164764c6647414c48504b574b4b715155596a6c6775746e7241 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-cbc-128 crypto-key 796f7965446c534177427148534a706d integ-alg sha-512-256 integ-key 67587478645778474c6c4453536f6467624a6443517867766942546d4f74457a5345454862526a58437862464372685372466a656b504a77754142776d536b50 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-cbc-128 crypto-key 796f7965446c534177427148534a706d integ-alg sha-512-256 integ-key 67587478645778474c6c4453536f6467624a6443517867766942546d4f74457a5345454862526a58437862464372685372466a656b504a77754142776d536b50 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-cbc-128 crypto-key 45616142676b4a517265744a4d73664b integ-alg sha-512-256 integ-key 4d557375707154764c435a43557857416b574e5472726764774d564b7466476b666a686651694e7a5573676d467451506a72685057454769644253504b4d7073 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-cbc-128 crypto-key 45616142676b4a517265744a4d73664b integ-alg sha-512-256 integ-key 4d557375707154764c435a43557857416b574e5472726764774d564b7466476b666a686651694e7a5573676d467451506a72685057454769644253504b4d7073 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-cbc-128 crypto-key 4a4348554370734e777a52576d6e6f4f integ-alg sha-512-256 integ-key 525068744669536f6f5051646c76786f4d537054656850644c47754579666272757250615142697271717643616b4d52466e62747374527a465176737a755449 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-cbc-128 crypto-key 4a4348554370734e777a52576d6e6f4f integ-alg sha-512-256 integ-key 525068744669536f6f5051646c76786f4d537054656850644c47754579666272757250615142697271717643616b4d52466e62747374527a465176737a755449 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-cbc-128 crypto-key 784c47744e4442505a58427679627a42 integ-alg sha-512-256 integ-key 7665494162624e41485a436f436c63754b75574f7751736e576d71414a43474c48756a4f78494a4a57466c52695365586c6e6a704768746f5956615174474b53 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-cbc-128 crypto-key 784c47744e4442505a58427679627a42 integ-alg sha-512-256 integ-key 7665494162624e41485a436f436c63754b75574f7751736e576d71414a43474c48756a4f78494a4a57466c52695365586c6e6a704768746f5956615174474b53 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-cbc-128 crypto-key 6b71614a4662707255656963706b4773 integ-alg sha-512-256 integ-key 665242486b6163694964624f4a4377664d4b46756a7456616f767a64766778787277514d666548496c795471484b545a6a5a6667646f714b4b77616367744a71 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-cbc-128 crypto-key 6b71614a4662707255656963706b4773 integ-alg sha-512-256 integ-key 665242486b6163694964624f4a4377664d4b46756a7456616f767a64766778787277514d666548496c795471484b545a6a5a6667646f714b4b77616367744a71 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-cbc-128 crypto-key 787a48764f6e6e74466179696550524d integ-alg sha-512-256 integ-key 434741587759675078426c5a716d6f4d56657246677a4e466a6a664a52734e4b4a4e4374644c44614a727868586a52487a586a494f71794e61685074646b774d esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-cbc-128 crypto-key 787a48764f6e6e74466179696550524d integ-alg sha-512-256 integ-key 434741587759675078426c5a716d6f4d56657246677a4e466a6a664a52734e4b4a4e4374644c44614a727868586a52487a586a494f71794e61685074646b774d esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-cbc-128 crypto-key 76426e6857636170626e616b7258664d integ-alg sha-512-256 integ-key 6a494642457a776c456f715142567775647a666876735944726c4873434f54476b5963585273566578476565557a5a44514a7548557864566b41744d5654476d esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-cbc-128 crypto-key 76426e6857636170626e616b7258664d integ-alg sha-512-256 integ-key 6a494642457a776c456f715142567775647a666876735944726c4873434f54476b5963585273566578476565557a5a44514a7548557864566b41744d5654476d esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-cbc-128 crypto-key 726956654e6966624f774e6975454c4c integ-alg sha-512-256 integ-key 444557676f657865624e6d4a7971536f6c794c524e417371696c59416767614a53625055456348474359494867767a7868524c6d6242456654586f4b59746552 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-cbc-128 crypto-key 726956654e6966624f774e6975454c4c integ-alg sha-512-256 integ-key 444557676f657865624e6d4a7971536f6c794c524e417371696c59416767614a53625055456348474359494867767a7868524c6d6242456654586f4b59746552 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-cbc-128 crypto-key 436951764a786d68546c4f7448715076 integ-alg sha-512-256 integ-key 466a42546d716d5168735a5a6d447643755958695a5847556e46785a746249736f4f444e4742684b4e6d6b4c434c62594666714e776750516177756d6b58664f esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-cbc-128 crypto-key 436951764a786d68546c4f7448715076 integ-alg sha-512-256 integ-key 466a42546d716d5168735a5a6d447643755958695a5847556e46785a746249736f4f444e4742684b4e6d6b4c434c62594666714e776750516177756d6b58664f esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-cbc-128 crypto-key 4a7450414b4376644253555649507948 integ-alg sha-512-256 integ-key 625646534a5677507a70737a75486144554e73556b564c6272694a626b4952526d4c5172794d504f7463535055485866575850636a5a505375734c4379616b68 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-cbc-128 crypto-key 4a7450414b4376644253555649507948 integ-alg sha-512-256 integ-key 625646534a5677507a70737a75486144554e73556b564c6272694a626b4952526d4c5172794d504f7463535055485866575850636a5a505375734c4379616b68 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-cbc-128 crypto-key 537763505652576e715646635a427855 integ-alg sha-512-256 integ-key 5944595177516e644c7a654f4e636f5354477a694c6865447a444a4f555051644f6363426d4a506c4c674f4e47556a47727545616373574a6e486e71506b7861 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-cbc-128 crypto-key 537763505652576e715646635a427855 integ-alg sha-512-256 integ-key 5944595177516e644c7a654f4e636f5354477a694c6865447a444a4f555051644f6363426d4a506c4c674f4e47556a47727545616373574a6e486e71506b7861 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-cbc-128 crypto-key 644c734a4950654c4b77635844485944 integ-alg sha-512-256 integ-key 65574748477457504966524f515365574f775961556c47594545754943726d516a6d4e43794179494f4a52724b6f4f48556b50467a476a6a534a436a6f706c55 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-cbc-128 crypto-key 644c734a4950654c4b77635844485944 integ-alg sha-512-256 integ-key 65574748477457504966524f515365574f775961556c47594545754943726d516a6d4e43794179494f4a52724b6f4f48556b50467a476a6a534a436a6f706c55 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-cbc-128 crypto-key 6756484a77754752637a534875446d59 integ-alg sha-512-256 integ-key 61744f79486b56725147466c4a576b554f4364705650417049785877695762686e676d71704d6775716a6f5467764c6f737741627446486542714e4779684758 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-cbc-128 crypto-key 6756484a77754752637a534875446d59 integ-alg sha-512-256 integ-key 61744f79486b56725147466c4a576b554f4364705650417049785877695762686e676d71704d6775716a6f5467764c6f737741627446486542714e4779684758 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-cbc-128 crypto-key 72474d4d77456d696572424378434a75 integ-alg sha-512-256 integ-key 706962535544624470694d725a615557736e78516669684b4e696a6c6a6d54774263624546636345424853524d6e47486b466962576d66636b584c6945445359 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-cbc-128 crypto-key 72474d4d77456d696572424378434a75 integ-alg sha-512-256 integ-key 706962535544624470694d725a615557736e78516669684b4e696a6c6a6d54774263624546636345424853524d6e47486b466962576d66636b584c6945445359 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-cbc-128 crypto-key 6b47635445484c6a7256437a414f6a41 integ-alg sha-512-256 integ-key 745373796f4548587a6241464e6556486759696178555579674f4c596f6d6c4b6e5850566356776f7a49574867766d66527052415a50414a6a4b6468704e4278 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-cbc-128 crypto-key 6b47635445484c6a7256437a414f6a41 integ-alg sha-512-256 integ-key 745373796f4548587a6241464e6556486759696178555579674f4c596f6d6c4b6e5850566356776f7a49574867766d66527052415a50414a6a4b6468704e4278 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.101 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) 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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.101/24
exec set ip neighbor avf-0/3b/a/0 200.0.0.102 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.102 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 4d6d57474953506f7752757272525254 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 4d6d57474953506f7752757272525254 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.102 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 6563794d4b71414e5444764863616f76 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 6563794d4b71414e5444764863616f76 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.102 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 4147686d456b68536e524e63444a7a76 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 4147686d456b68536e524e63444a7a76 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.102 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 717a4e574850564549744d654f737a77 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 717a4e574850564549744d654f737a77 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.102 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 6744486f6e616e4a42677462677a6657 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 6744486f6e616e4a42677462677a6657 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.102 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 64427159474b447371776d50526e766e esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 64427159474b447371776d50526e766e 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.102 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 4f716355584c4d76516c757068477663 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 4f716355584c4d76516c757068477663 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.102 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 46656953424b6366646e6978514c7354 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 46656953424b6366646e6978514c7354 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.102 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 694a4941544d4343474f626f53437344 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 694a4941544d4343474f626f53437344 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.102 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 48586452594c6e4b5950536747455441 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 48586452594c6e4b5950536747455441 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.102 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 58526a7a576a625866426d7545657778 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 58526a7a576a625866426d7545657778 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.102 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 545a6a744a69584e4542654b57686952 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 545a6a744a69584e4542654b57686952 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.102 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 6450416a5369685964796a77784b7551 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 6450416a5369685964796a77784b7551 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.102 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 70587a6749744568537344754d544869 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 70587a6749744568537344754d544869 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.102 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 4e45644155436665444179767a464961 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 4e45644155436665444179767a464961 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.102 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 5053694458774d755a426f70566b534f esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 5053694458774d755a426f70566b534f 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.102 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 5153546478756b4976716f6471677364 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 5153546478756b4976716f6471677364 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.102 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 784768495569725a7167447574426e78 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 784768495569725a7167447574426e78 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.102 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 5853727a4b565a7278767a736b4b7a4e esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 5853727a4b565a7278767a736b4b7a4e 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.102 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 7a664161617874724b577272676a7647 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 7a664161617874724b577272676a7647 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.102 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 7074646d50504f526f547250686e7168 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 7074646d50504f526f547250686e7168 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.102 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 646f4b4f525a5a594d7249416d51636f esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 646f4b4f525a5a594d7249416d51636f 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.102 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 4b57736161565066414144794a6b6a7a esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 4b57736161565066414144794a6b6a7a 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.102 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 7574787a637154435064704c694e5942 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 7574787a637154435064704c694e5942 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.102 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 48505a4a4e46737379775152614b5965 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 48505a4a4e46737379775152614b5965 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.102 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 745046795279444758507545514a484d esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 745046795279444758507545514a484d 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.102 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 624f6e5a497162534b486e7464587a49 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 624f6e5a497162534b486e7464587a49 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.102 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 677272567375576b514e79655a585970 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 677272567375576b514e79655a585970 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.102 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 73546f434a486958676265715a646f50 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 73546f434a486958676265715a646f50 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.102 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 65557558504847485367545842565446 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 65557558504847485367545842565446 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.102 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 596a515a4d666f47666c6b6d756b6265 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 596a515a4d666f47666c6b6d756b6265 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.102 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 4e6f6c4c6b49536b5779785851536477 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 4e6f6c4c6b49536b5779785851536477 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.102 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 676d5471674276684b74444a4f534563 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 676d5471674276684b74444a4f534563 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.102 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 526c62464e786447666d5949444c4b51 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 526c62464e786447666d5949444c4b51 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.102 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 754e59564d734859554f42584e66734f esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 754e59564d734859554f42584e66734f 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.102 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 795655546e6b727267797a564c46446b esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 795655546e6b727267797a564c46446b 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.102 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 516c445643644a7168796e6972476765 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 516c445643644a7168796e6972476765 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.102 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 6c684d4775725144456647704853506a esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 6c684d4775725144456647704853506a 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.102 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 4c4244414f79666f44544b5150794c43 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 4c4244414f79666f44544b5150794c43 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.102 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 705244776b666c774c627655647a7759 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 705244776b666c774c627655647a7759 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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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.102/24.0
exec create ipip tunnel src 200.0.0.102 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 4d6d57474953506f7752757272525254 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 4d6d57474953506f7752757272525254 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 6563794d4b71414e5444764863616f76 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 6563794d4b71414e5444764863616f76 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 4147686d456b68536e524e63444a7a76 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 4147686d456b68536e524e63444a7a76 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 717a4e574850564549744d654f737a77 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 717a4e574850564549744d654f737a77 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 6744486f6e616e4a42677462677a6657 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 6744486f6e616e4a42677462677a6657 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 64427159474b447371776d50526e766e esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 64427159474b447371776d50526e766e esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 4f716355584c4d76516c757068477663 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 4f716355584c4d76516c757068477663 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 46656953424b6366646e6978514c7354 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 46656953424b6366646e6978514c7354 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 694a4941544d4343474f626f53437344 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 694a4941544d4343474f626f53437344 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 48586452594c6e4b5950536747455441 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 48586452594c6e4b5950536747455441 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 58526a7a576a625866426d7545657778 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 58526a7a576a625866426d7545657778 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 545a6a744a69584e4542654b57686952 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 545a6a744a69584e4542654b57686952 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 6450416a5369685964796a77784b7551 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 6450416a5369685964796a77784b7551 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 70587a6749744568537344754d544869 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 70587a6749744568537344754d544869 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 4e45644155436665444179767a464961 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 4e45644155436665444179767a464961 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 5053694458774d755a426f70566b534f esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 5053694458774d755a426f70566b534f esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 5153546478756b4976716f6471677364 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 5153546478756b4976716f6471677364 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 784768495569725a7167447574426e78 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 784768495569725a7167447574426e78 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 5853727a4b565a7278767a736b4b7a4e esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 5853727a4b565a7278767a736b4b7a4e esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 7a664161617874724b577272676a7647 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 7a664161617874724b577272676a7647 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 7074646d50504f526f547250686e7168 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 7074646d50504f526f547250686e7168 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 646f4b4f525a5a594d7249416d51636f esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 646f4b4f525a5a594d7249416d51636f esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 4b57736161565066414144794a6b6a7a esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 4b57736161565066414144794a6b6a7a esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 7574787a637154435064704c694e5942 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 7574787a637154435064704c694e5942 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 48505a4a4e46737379775152614b5965 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 48505a4a4e46737379775152614b5965 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 745046795279444758507545514a484d esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 745046795279444758507545514a484d esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 624f6e5a497162534b486e7464587a49 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 624f6e5a497162534b486e7464587a49 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 677272567375576b514e79655a585970 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 677272567375576b514e79655a585970 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 73546f434a486958676265715a646f50 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 73546f434a486958676265715a646f50 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 65557558504847485367545842565446 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 65557558504847485367545842565446 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 596a515a4d666f47666c6b6d756b6265 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 596a515a4d666f47666c6b6d756b6265 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 4e6f6c4c6b49536b5779785851536477 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 4e6f6c4c6b49536b5779785851536477 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 676d5471674276684b74444a4f534563 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 676d5471674276684b74444a4f534563 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 526c62464e786447666d5949444c4b51 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 526c62464e786447666d5949444c4b51 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 754e59564d734859554f42584e66734f esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 754e59564d734859554f42584e66734f esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 795655546e6b727267797a564c46446b esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 795655546e6b727267797a564c46446b esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 516c445643644a7168796e6972476765 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 516c445643644a7168796e6972476765 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 6c684d4775725144456647704853506a esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 6c684d4775725144456647704853506a esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 4c4244414f79666f44544b5150794c43 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 4c4244414f79666f44544b5150794c43 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 705244776b666c774c627655647a7759 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 705244776b666c774c627655647a7759 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.101 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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.101/24
exec set ip neighbor avf-0/3b/a/0 200.0.0.102 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.102 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 776b4a49675459574674584847426f76 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 776b4a49675459574674584847426f76 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.102 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 61705079416f57776e7a674d6f615a6e esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 61705079416f57776e7a674d6f615a6e 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.102 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 614556555a6e6b63576155754a4b5474 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 614556555a6e6b63576155754a4b5474 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.102 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 4b62426e56766c64544c5659556d7943 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 4b62426e56766c64544c5659556d7943 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.102 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 714956764b44726a574f686343495452 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 714956764b44726a574f686343495452 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.102 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 6f685777514e59584250507662517949 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 6f685777514e59584250507662517949 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.102 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 71594a774e6b52786f614a4b6b536969 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 71594a774e6b52786f614a4b6b536969 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.102 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 4442594d5553797863647163646d6f6f esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 4442594d5553797863647163646d6f6f 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.102 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 68614a6b664771564d73486e45585374 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 68614a6b664771564d73486e45585374 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.102 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 454f4a6645667a525a6948527566756e esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 454f4a6645667a525a6948527566756e 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.102 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 574659664945464c666c517159764c6e esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 574659664945464c666c517159764c6e 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.102 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 554467454c526c734772786e6e6a634e esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 554467454c526c734772786e6e6a634e 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.102 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 7a58707a7048746645796951556d426b esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 7a58707a7048746645796951556d426b 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.102 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 6d476970586b53677a5167547366754d esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 6d476970586b53677a5167547366754d 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.102 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 4f7a41584a7271785243495347767766 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 4f7a41584a7271785243495347767766 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.102 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 6f7665696c76556a415a7a416c517670 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 6f7665696c76556a415a7a416c517670 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.102 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 554e734a654f5548486c454f6f4f7847 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 554e734a654f5548486c454f6f4f7847 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.102 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 546e6d726a484a614b42545764564349 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 546e6d726a484a614b42545764564349 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.102 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 715a45784b4743784f78497654754864 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 715a45784b4743784f78497654754864 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.102 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 7a75737654764348734a567646614a4d esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 7a75737654764348734a567646614a4d 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.102 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 79596743674272584d41795a61775352 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 79596743674272584d41795a61775352 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.102 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 6541434155424c425a766c596a77756d esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 6541434155424c425a766c596a77756d 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.102 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 4e6d6f5051536d766b4e70756c6b554f esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 4e6d6f5051536d766b4e70756c6b554f 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.102 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 735270455464567578634f4a55696347 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 735270455464567578634f4a55696347 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.102 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 506a4e456f46434555595a6c446e6c6d esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 506a4e456f46434555595a6c446e6c6d 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.102 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 7073656b7857646c47754a686b4a5664 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 7073656b7857646c47754a686b4a5664 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.102 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 586d5569736b4671616150746a634565 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 586d5569736b4671616150746a634565 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.102 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 4962754665524a4f7a4f4673576e4c44 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 4962754665524a4f7a4f4673576e4c44 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.102 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 74634d465a4d4763426f47415174754b esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 74634d465a4d4763426f47415174754b 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.102 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 7276717978534368545647496d5a546f esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 7276717978534368545647496d5a546f 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.102 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 654b46467a464573594d7465785a7845 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 654b46467a464573594d7465785a7845 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.102 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 46696d567074764f68686b7a77784b62 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 46696d567074764f68686b7a77784b62 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.102 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 6563447a51784746706d727846447169 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 6563447a51784746706d727846447169 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.102 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 7a4c4c7654626c78587569426b594c45 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 7a4c4c7654626c78587569426b594c45 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.102 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 515a5446776e6373794a52526c586a78 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 515a5446776e6373794a52526c586a78 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.102 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 417742687877686371576e6a53466947 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 417742687877686371576e6a53466947 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.102 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 6b4f6b4b53507377566677444a4c5248 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 6b4f6b4b53507377566677444a4c5248 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.102 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 6648644a456648745769726f6246487a esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 6648644a456648745769726f6246487a 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.102 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 634677766267716f77595a6e6a495564 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 634677766267716f77595a6e6a495564 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.102 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 4347564e4e4e626d7459635876726462 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 4347564e4e4e626d7459635876726462 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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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.102/24.0
exec create ipip tunnel src 200.0.0.102 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 776b4a49675459574674584847426f76 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 776b4a49675459574674584847426f76 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 61705079416f57776e7a674d6f615a6e esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 61705079416f57776e7a674d6f615a6e esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 614556555a6e6b63576155754a4b5474 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 614556555a6e6b63576155754a4b5474 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 4b62426e56766c64544c5659556d7943 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 4b62426e56766c64544c5659556d7943 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 714956764b44726a574f686343495452 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 714956764b44726a574f686343495452 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 6f685777514e59584250507662517949 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 6f685777514e59584250507662517949 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 71594a774e6b52786f614a4b6b536969 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 71594a774e6b52786f614a4b6b536969 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 4442594d5553797863647163646d6f6f esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 4442594d5553797863647163646d6f6f esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 68614a6b664771564d73486e45585374 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 68614a6b664771564d73486e45585374 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 454f4a6645667a525a6948527566756e esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 454f4a6645667a525a6948527566756e esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 574659664945464c666c517159764c6e esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 574659664945464c666c517159764c6e esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 554467454c526c734772786e6e6a634e esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 554467454c526c734772786e6e6a634e esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 7a58707a7048746645796951556d426b esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 7a58707a7048746645796951556d426b esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 6d476970586b53677a5167547366754d esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 6d476970586b53677a5167547366754d esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 4f7a41584a7271785243495347767766 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 4f7a41584a7271785243495347767766 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 6f7665696c76556a415a7a416c517670 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 6f7665696c76556a415a7a416c517670 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 554e734a654f5548486c454f6f4f7847 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 554e734a654f5548486c454f6f4f7847 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 546e6d726a484a614b42545764564349 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 546e6d726a484a614b42545764564349 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 715a45784b4743784f78497654754864 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 715a45784b4743784f78497654754864 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 7a75737654764348734a567646614a4d esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 7a75737654764348734a567646614a4d esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 79596743674272584d41795a61775352 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 79596743674272584d41795a61775352 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 6541434155424c425a766c596a77756d esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 6541434155424c425a766c596a77756d esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 4e6d6f5051536d766b4e70756c6b554f esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 4e6d6f5051536d766b4e70756c6b554f esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 735270455464567578634f4a55696347 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 735270455464567578634f4a55696347 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 506a4e456f46434555595a6c446e6c6d esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 506a4e456f46434555595a6c446e6c6d esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 7073656b7857646c47754a686b4a5664 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 7073656b7857646c47754a686b4a5664 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 586d5569736b4671616150746a634565 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 586d5569736b4671616150746a634565 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 4962754665524a4f7a4f4673576e4c44 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 4962754665524a4f7a4f4673576e4c44 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 74634d465a4d4763426f47415174754b esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 74634d465a4d4763426f47415174754b esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 7276717978534368545647496d5a546f esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 7276717978534368545647496d5a546f esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 654b46467a464573594d7465785a7845 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 654b46467a464573594d7465785a7845 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 46696d567074764f68686b7a77784b62 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 46696d567074764f68686b7a77784b62 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 6563447a51784746706d727846447169 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 6563447a51784746706d727846447169 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 7a4c4c7654626c78587569426b594c45 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 7a4c4c7654626c78587569426b594c45 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 515a5446776e6373794a52526c586a78 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 515a5446776e6373794a52526c586a78 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 417742687877686371576e6a53466947 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 417742687877686371576e6a53466947 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 6b4f6b4b53507377566677444a4c5248 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 6b4f6b4b53507377566677444a4c5248 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 6648644a456648745769726f6246487a esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 6648644a456648745769726f6246487a esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 634677766267716f77595a6e6a495564 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 634677766267716f77595a6e6a495564 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 4347564e4e4e626d7459635876726462 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 4347564e4e4e626d7459635876726462 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.101 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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.101/24
exec set ip neighbor avf-0/3b/a/0 200.0.0.102 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.102 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 63476c674b5174426a6243634d436f4f esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 63476c674b5174426a6243634d436f4f 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.102 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 52526e6e4741736e6c4e784c454d486a esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 52526e6e4741736e6c4e784c454d486a 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.102 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 6a636d55776f61685441547a76676e51 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 6a636d55776f61685441547a76676e51 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.102 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 4d734867666377555a6b656f53575674 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 4d734867666377555a6b656f53575674 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.102 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 454864755a4f55557749496a78765a4b esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 454864755a4f55557749496a78765a4b 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.102 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 584b6273494f5841504c6f484254636b esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 584b6273494f5841504c6f484254636b 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.102 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 5663634f6756764d536a545043766e79 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 5663634f6756764d536a545043766e79 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.102 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 43707a78564c557153446b48706a4952 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 43707a78564c557153446b48706a4952 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.102 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 4d764966424d7256786d7a5075516b64 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 4d764966424d7256786d7a5075516b64 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.102 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 6171757853546b686473716347697149 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 6171757853546b686473716347697149 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.102 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 7148514d6b4d4c456a41587465716b62 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 7148514d6b4d4c456a41587465716b62 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.102 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 69576259597175587851766f636c656b esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 69576259597175587851766f636c656b 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.102 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 5464687a4e634d524e486a4b7a4c5a55 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 5464687a4e634d524e486a4b7a4c5a55 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.102 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 4f686a574366524b6d54424245454445 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 4f686a574366524b6d54424245454445 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.102 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 554b4b467251716757595a6f577a6957 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 554b4b467251716757595a6f577a6957 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.102 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 49614a68674c787061754e796474594e esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 49614a68674c787061754e796474594e 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.102 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 76586359694e71574b7a4156746f7365 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 76586359694e71574b7a4156746f7365 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.102 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 787775725a7764495062794f5a447574 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 787775725a7764495062794f5a447574 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.102 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 71655963546569464e5574504761426d esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 71655963546569464e5574504761426d 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.102 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 796b7672704d665142515453556a527a esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 796b7672704d665142515453556a527a 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.102 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 79576a4245705241724e454d524f4d48 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 79576a4245705241724e454d524f4d48 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.102 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 757242454348635774677a48454e4a62 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 757242454348635774677a48454e4a62 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.102 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 644a6d675054416f784d6c4a544d624f esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 644a6d675054416f784d6c4a544d624f 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.102 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 556f597269754c6d525569576259744f esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 556f597269754c6d525569576259744f 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.102 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 447a51426f444e67446c6f64427a4b4a esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 447a51426f444e67446c6f64427a4b4a 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.102 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 616b5a6551434b5a6b496c42614e7743 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 616b5a6551434b5a6b496c42614e7743 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.102 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 7541636844514852436b4a4b55537a59 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 7541636844514852436b4a4b55537a59 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.102 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 734c725771717874546544774d4d5967 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 734c725771717874546544774d4d5967 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.102 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 4d4967584e6d64584a7a6d594b544577 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 4d4967584e6d64584a7a6d594b544577 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.102 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 6a444b5941514177524a5654594d594d esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 6a444b5941514177524a5654594d594d 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.102 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 4874736f4f5054636c784151576b6f44 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 4874736f4f5054636c784151576b6f44 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.102 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 6a5a4d6a4d4b55546544786e57794274 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 6a5a4d6a4d4b55546544786e57794274 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.102 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 596248586e67515461434846714f4f64 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 596248586e67515461434846714f4f64 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.102 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 78776963554f7450755546515a744b70 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 78776963554f7450755546515a744b70 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.102 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 41775056787863624f65715370696d76 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 41775056787863624f65715370696d76 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.102 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 72584975786d635955656f4f50425043 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 72584975786d635955656f4f50425043 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.102 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 616c58477a594463656b62594d564349 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 616c58477a594463656b62594d564349 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.102 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 766a567a646f6544547a634465724177 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 766a567a646f6544547a634465724177 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.102 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 74684542646157435455484241564356 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 74684542646157435455484241564356 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.102 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 56435348764b496d636248796b6f4a49 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 56435348764b496d636248796b6f4a49 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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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.102/24.0
exec create ipip tunnel src 200.0.0.102 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 63476c674b5174426a6243634d436f4f esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 63476c674b5174426a6243634d436f4f esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 52526e6e4741736e6c4e784c454d486a esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 52526e6e4741736e6c4e784c454d486a esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 6a636d55776f61685441547a76676e51 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 6a636d55776f61685441547a76676e51 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 4d734867666377555a6b656f53575674 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 4d734867666377555a6b656f53575674 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 454864755a4f55557749496a78765a4b esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 454864755a4f55557749496a78765a4b esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 584b6273494f5841504c6f484254636b esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 584b6273494f5841504c6f484254636b esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 5663634f6756764d536a545043766e79 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 5663634f6756764d536a545043766e79 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 43707a78564c557153446b48706a4952 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 43707a78564c557153446b48706a4952 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 4d764966424d7256786d7a5075516b64 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 4d764966424d7256786d7a5075516b64 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 6171757853546b686473716347697149 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 6171757853546b686473716347697149 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 7148514d6b4d4c456a41587465716b62 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 7148514d6b4d4c456a41587465716b62 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 69576259597175587851766f636c656b esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 69576259597175587851766f636c656b esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 5464687a4e634d524e486a4b7a4c5a55 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 5464687a4e634d524e486a4b7a4c5a55 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 4f686a574366524b6d54424245454445 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 4f686a574366524b6d54424245454445 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 554b4b467251716757595a6f577a6957 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 554b4b467251716757595a6f577a6957 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 49614a68674c787061754e796474594e esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 49614a68674c787061754e796474594e esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 76586359694e71574b7a4156746f7365 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 76586359694e71574b7a4156746f7365 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 787775725a7764495062794f5a447574 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 787775725a7764495062794f5a447574 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 71655963546569464e5574504761426d esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 71655963546569464e5574504761426d esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 796b7672704d665142515453556a527a esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 796b7672704d665142515453556a527a esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 79576a4245705241724e454d524f4d48 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 79576a4245705241724e454d524f4d48 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 757242454348635774677a48454e4a62 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 757242454348635774677a48454e4a62 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 644a6d675054416f784d6c4a544d624f esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 644a6d675054416f784d6c4a544d624f esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 556f597269754c6d525569576259744f esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 556f597269754c6d525569576259744f esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 447a51426f444e67446c6f64427a4b4a esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 447a51426f444e67446c6f64427a4b4a esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 616b5a6551434b5a6b496c42614e7743 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 616b5a6551434b5a6b496c42614e7743 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 7541636844514852436b4a4b55537a59 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 7541636844514852436b4a4b55537a59 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 734c725771717874546544774d4d5967 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 734c725771717874546544774d4d5967 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 4d4967584e6d64584a7a6d594b544577 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 4d4967584e6d64584a7a6d594b544577 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 6a444b5941514177524a5654594d594d esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 6a444b5941514177524a5654594d594d esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 4874736f4f5054636c784151576b6f44 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 4874736f4f5054636c784151576b6f44 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 6a5a4d6a4d4b55546544786e57794274 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 6a5a4d6a4d4b55546544786e57794274 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 596248586e67515461434846714f4f64 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 596248586e67515461434846714f4f64 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 78776963554f7450755546515a744b70 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 78776963554f7450755546515a744b70 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 41775056787863624f65715370696d76 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 41775056787863624f65715370696d76 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 72584975786d635955656f4f50425043 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 72584975786d635955656f4f50425043 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 616c58477a594463656b62594d564349 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 616c58477a594463656b62594d564349 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 766a567a646f6544547a634465724177 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 766a567a646f6544547a634465724177 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 74684542646157435455484241564356 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 74684542646157435455484241564356 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 56435348764b496d636248796b6f4a49 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 56435348764b496d636248796b6f4a49 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.101 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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.101/24
exec set ip neighbor avf-0/3b/a/0 200.0.0.102 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.102 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 5a62427256754144547a506345566a42 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 5a62427256754144547a506345566a42 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.102 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 444a485853695645646e4a726572614c esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 444a485853695645646e4a726572614c 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.102 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 5a4e7755544f724a755453455852657a esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 5a4e7755544f724a755453455852657a 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.102 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 6b6761425756736b496f7161454a6c53 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 6b6761425756736b496f7161454a6c53 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.102 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 5a6b6553534765796a72494972554952 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 5a6b6553534765796a72494972554952 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.102 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 50694c6c6b714762514641565a4c547a esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 50694c6c6b714762514641565a4c547a 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.102 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 48794a796a747a4f5452775175475a66 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 48794a796a747a4f5452775175475a66 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.102 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 51536767436b7a527773674169726b42 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 51536767436b7a527773674169726b42 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.102 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 6c717a594a4663694f5a695068576944 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 6c717a594a4663694f5a695068576944 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.102 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 6c6944425377496d446d5479597a5552 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 6c6944425377496d446d5479597a5552 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.102 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 6d44546843735476484a724c454f6579 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 6d44546843735476484a724c454f6579 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.102 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 46574e4976586c434d567a4653704d52 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 46574e4976586c434d567a4653704d52 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.102 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 4253794c4b465576684d617273746f47 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 4253794c4b465576684d617273746f47 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.102 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 4f51744d44454c784c5971634f765644 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 4f51744d44454c784c5971634f765644 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.102 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 67505052776c6f614e46676363556e6a esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 67505052776c6f614e46676363556e6a 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.102 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 4163537663516a72415951484b7a6751 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 4163537663516a72415951484b7a6751 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.102 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 6b714a6b7859794a6d465a5a4f4f5444 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 6b714a6b7859794a6d465a5a4f4f5444 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.102 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 44785a466a5152774b67685959676a49 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 44785a466a5152774b67685959676a49 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.102 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 447664534d726e574169617558417552 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 447664534d726e574169617558417552 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.102 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 506c77724c5349426445436454616758 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 506c77724c5349426445436454616758 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.102 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 714a78717a7565524e70436c4b455357 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 714a78717a7565524e70436c4b455357 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.102 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 66755a4b6f514c7768706b614b75524e esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 66755a4b6f514c7768706b614b75524e 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.102 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 4a764a50494e63704a7055785243626a esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 4a764a50494e63704a7055785243626a 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.102 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 594a6363414e6d507441507368414147 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 594a6363414e6d507441507368414147 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.102 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 71474d417a4678496165454b71786c62 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 71474d417a4678496165454b71786c62 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.102 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 516f73494351776b6f4d446e65535170 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 516f73494351776b6f4d446e65535170 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.102 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 7a4c61754f4a544949767a6877584951 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 7a4c61754f4a544949767a6877584951 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.102 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 6b4f6b5053767547704f706461444574 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 6b4f6b5053767547704f706461444574 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.102 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 48534e534d666671474e4a7a724e6158 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 48534e534d666671474e4a7a724e6158 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.102 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 707171526d5773445644565356706867 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 707171526d5773445644565356706867 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.102 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 555665526a444c4b6e74654163586b44 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 555665526a444c4b6e74654163586b44 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.102 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 68424352584a57697457477a69456176 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 68424352584a57697457477a69456176 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.102 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 53484c7453666d784c566e5855726e51 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 53484c7453666d784c566e5855726e51 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.102 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 45464c6752595a707166776b5a66736b esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 45464c6752595a707166776b5a66736b 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.102 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 4f43526b65684d6d464c5a68716e794b esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 4f43526b65684d6d464c5a68716e794b 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.102 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 646f786e576a5568444d4f76564e5044 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 646f786e576a5568444d4f76564e5044 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.102 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 4f494d416c7651576168675050594976 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 4f494d416c7651576168675050594976 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.102 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 4a72704258546d6c464a76584a506258 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 4a72704258546d6c464a76584a506258 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.102 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 616d6741444b44706f62746c65444f69 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 616d6741444b44706f62746c65444f69 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.102 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 4b524e5556784f694b6f736444504142 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 4b524e5556784f694b6f736444504142 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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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.102/24.0
exec create ipip tunnel src 200.0.0.102 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 5a62427256754144547a506345566a42 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 5a62427256754144547a506345566a42 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 444a485853695645646e4a726572614c esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 444a485853695645646e4a726572614c esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 5a4e7755544f724a755453455852657a esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 5a4e7755544f724a755453455852657a esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 6b6761425756736b496f7161454a6c53 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 6b6761425756736b496f7161454a6c53 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 5a6b6553534765796a72494972554952 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 5a6b6553534765796a72494972554952 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 50694c6c6b714762514641565a4c547a esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 50694c6c6b714762514641565a4c547a esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 48794a796a747a4f5452775175475a66 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 48794a796a747a4f5452775175475a66 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 51536767436b7a527773674169726b42 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 51536767436b7a527773674169726b42 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 6c717a594a4663694f5a695068576944 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 6c717a594a4663694f5a695068576944 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 6c6944425377496d446d5479597a5552 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 6c6944425377496d446d5479597a5552 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 6d44546843735476484a724c454f6579 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 6d44546843735476484a724c454f6579 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 46574e4976586c434d567a4653704d52 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 46574e4976586c434d567a4653704d52 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 4253794c4b465576684d617273746f47 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 4253794c4b465576684d617273746f47 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 4f51744d44454c784c5971634f765644 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 4f51744d44454c784c5971634f765644 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 67505052776c6f614e46676363556e6a esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 67505052776c6f614e46676363556e6a esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 4163537663516a72415951484b7a6751 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 4163537663516a72415951484b7a6751 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 6b714a6b7859794a6d465a5a4f4f5444 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 6b714a6b7859794a6d465a5a4f4f5444 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 44785a466a5152774b67685959676a49 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 44785a466a5152774b67685959676a49 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 447664534d726e574169617558417552 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 447664534d726e574169617558417552 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 506c77724c5349426445436454616758 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 506c77724c5349426445436454616758 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 714a78717a7565524e70436c4b455357 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 714a78717a7565524e70436c4b455357 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 66755a4b6f514c7768706b614b75524e esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 66755a4b6f514c7768706b614b75524e esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 4a764a50494e63704a7055785243626a esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 4a764a50494e63704a7055785243626a esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 594a6363414e6d507441507368414147 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 594a6363414e6d507441507368414147 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 71474d417a4678496165454b71786c62 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 71474d417a4678496165454b71786c62 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 516f73494351776b6f4d446e65535170 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 516f73494351776b6f4d446e65535170 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 7a4c61754f4a544949767a6877584951 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 7a4c61754f4a544949767a6877584951 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 6b4f6b5053767547704f706461444574 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 6b4f6b5053767547704f706461444574 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 48534e534d666671474e4a7a724e6158 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 48534e534d666671474e4a7a724e6158 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 707171526d5773445644565356706867 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 707171526d5773445644565356706867 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 555665526a444c4b6e74654163586b44 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 555665526a444c4b6e74654163586b44 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 68424352584a57697457477a69456176 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 68424352584a57697457477a69456176 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 53484c7453666d784c566e5855726e51 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 53484c7453666d784c566e5855726e51 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 45464c6752595a707166776b5a66736b esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 45464c6752595a707166776b5a66736b esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 4f43526b65684d6d464c5a68716e794b esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 4f43526b65684d6d464c5a68716e794b esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 646f786e576a5568444d4f76564e5044 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 646f786e576a5568444d4f76564e5044 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 4f494d416c7651576168675050594976 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 4f494d416c7651576168675050594976 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 4a72704258546d6c464a76584a506258 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 4a72704258546d6c464a76584a506258 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 616d6741444b44706f62746c65444f69 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 616d6741444b44706f62746c65444f69 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 4b524e5556784f694b6f736444504142 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 4b524e5556784f694b6f736444504142 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.101 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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.101/24
exec set ip neighbor avf-0/3b/a/0 200.0.0.102 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.102 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 6479646c4b736d69754e75787a644f4f esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 6479646c4b736d69754e75787a644f4f 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.102 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 64696e70444766676179775a4c506677 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 64696e70444766676179775a4c506677 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.102 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 61656b42645751474876647468534b4c esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 61656b42645751474876647468534b4c 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.102 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 704a6f7046776d636d4845594f616a48 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 704a6f7046776d636d4845594f616a48 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.102 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 6a4a6b6d6952496166444f6e50484770 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 6a4a6b6d6952496166444f6e50484770 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.102 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 505449696a447675674859535353784c esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 505449696a447675674859535353784c 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.102 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 6d41515452416d714d6a636959694d6a esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 6d41515452416d714d6a636959694d6a 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.102 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 58446b424b66474d6657564c4b614d58 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 58446b424b66474d6657564c4b614d58 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.102 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 5473584447564859796a6e4671566878 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 5473584447564859796a6e4671566878 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.102 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 74534f4874776a5a6c57437751666962 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 74534f4874776a5a6c57437751666962 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.102 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 415a6f656d6b705a515a6b715463754d esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 415a6f656d6b705a515a6b715463754d 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.102 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 4343446a456c5a684b6b73694b4b4544 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 4343446a456c5a684b6b73694b4b4544 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.102 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 77784449476271746f774976677a5647 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 77784449476271746f774976677a5647 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.102 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 725647437a746f5759514b6463727941 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 725647437a746f5759514b6463727941 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.102 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 6c5641686d626d7575557a766f4d7951 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 6c5641686d626d7575557a766f4d7951 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.102 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 524a5442757357707159694867614966 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 524a5442757357707159694867614966 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.102 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 6d52684d66467a616471754a5a505876 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 6d52684d66467a616471754a5a505876 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.102 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 4a526271776c6a54676c415564566e49 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 4a526271776c6a54676c415564566e49 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.102 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 754859595846594d4f4e557872424b58 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 754859595846594d4f4e557872424b58 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.102 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 7844614c7977644e45436471597a744d esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 7844614c7977644e45436471597a744d 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.102 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 6c6b6861785a484957544f6862734f70 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 6c6b6861785a484957544f6862734f70 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.102 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 4365726868485952536d4e50627a7974 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 4365726868485952536d4e50627a7974 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.102 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 4e574d77694e624c6b63505a4b577061 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 4e574d77694e624c6b63505a4b577061 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.102 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 6f686a4a4c49507a4d75714563635477 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 6f686a4a4c49507a4d75714563635477 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.102 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 4476664a677850784b6f6542466a6c77 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 4476664a677850784b6f6542466a6c77 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.102 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 6c6148594b4b41506178465a50656f43 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 6c6148594b4b41506178465a50656f43 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.102 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 51594761596c41474f77574369536653 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 51594761596c41474f77574369536653 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.102 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 65587965645266745551484a69624c57 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 65587965645266745551484a69624c57 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.102 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 4a4555784d47624a496f437575675a43 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 4a4555784d47624a496f437575675a43 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.102 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 494144714b446f665551514266496e62 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 494144714b446f665551514266496e62 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.102 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 425a786f457277656248554a6a6b6d56 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 425a786f457277656248554a6a6b6d56 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.102 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 6f4b4c674e6942415771636e50756452 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 6f4b4c674e6942415771636e50756452 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.102 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 746d456373724e484c686d53646d7556 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 746d456373724e484c686d53646d7556 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.102 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 67447a576b714c6e7649414678647959 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 67447a576b714c6e7649414678647959 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.102 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 794b51724a5961425a696d64626d4a43 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 794b51724a5961425a696d64626d4a43 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.102 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 7a44685074504b5a4f43674f617a4747 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 7a44685074504b5a4f43674f617a4747 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.102 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 6a47566b6a7347614863686e6d52554d esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 6a47566b6a7347614863686e6d52554d 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.102 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 6f62497a6c6e70414b6b4a7355756c50 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 6f62497a6c6e70414b6b4a7355756c50 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.102 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 7a634a75776a5241764a6d736b71534f esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 7a634a75776a5241764a6d736b71534f 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.102 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 68684a777a465772695a764d59495662 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 68684a777a465772695a764d59495662 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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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.102/24.0
exec create ipip tunnel src 200.0.0.102 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 6479646c4b736d69754e75787a644f4f esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 6479646c4b736d69754e75787a644f4f esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 64696e70444766676179775a4c506677 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 64696e70444766676179775a4c506677 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 61656b42645751474876647468534b4c esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 61656b42645751474876647468534b4c esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 704a6f7046776d636d4845594f616a48 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 704a6f7046776d636d4845594f616a48 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 6a4a6b6d6952496166444f6e50484770 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 6a4a6b6d6952496166444f6e50484770 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 505449696a447675674859535353784c esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 505449696a447675674859535353784c esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 6d41515452416d714d6a636959694d6a esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 6d41515452416d714d6a636959694d6a esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 58446b424b66474d6657564c4b614d58 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 58446b424b66474d6657564c4b614d58 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 5473584447564859796a6e4671566878 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 5473584447564859796a6e4671566878 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 74534f4874776a5a6c57437751666962 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 74534f4874776a5a6c57437751666962 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 415a6f656d6b705a515a6b715463754d esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 415a6f656d6b705a515a6b715463754d esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 4343446a456c5a684b6b73694b4b4544 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 4343446a456c5a684b6b73694b4b4544 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 77784449476271746f774976677a5647 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 77784449476271746f774976677a5647 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 725647437a746f5759514b6463727941 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 725647437a746f5759514b6463727941 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 6c5641686d626d7575557a766f4d7951 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 6c5641686d626d7575557a766f4d7951 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 524a5442757357707159694867614966 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 524a5442757357707159694867614966 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 6d52684d66467a616471754a5a505876 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 6d52684d66467a616471754a5a505876 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 4a526271776c6a54676c415564566e49 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 4a526271776c6a54676c415564566e49 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 754859595846594d4f4e557872424b58 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 754859595846594d4f4e557872424b58 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 7844614c7977644e45436471597a744d esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 7844614c7977644e45436471597a744d esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 6c6b6861785a484957544f6862734f70 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 6c6b6861785a484957544f6862734f70 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 4365726868485952536d4e50627a7974 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 4365726868485952536d4e50627a7974 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 4e574d77694e624c6b63505a4b577061 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 4e574d77694e624c6b63505a4b577061 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 6f686a4a4c49507a4d75714563635477 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 6f686a4a4c49507a4d75714563635477 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 4476664a677850784b6f6542466a6c77 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 4476664a677850784b6f6542466a6c77 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 6c6148594b4b41506178465a50656f43 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 6c6148594b4b41506178465a50656f43 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 51594761596c41474f77574369536653 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 51594761596c41474f77574369536653 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 65587965645266745551484a69624c57 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 65587965645266745551484a69624c57 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 4a4555784d47624a496f437575675a43 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 4a4555784d47624a496f437575675a43 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 494144714b446f665551514266496e62 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 494144714b446f665551514266496e62 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 425a786f457277656248554a6a6b6d56 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 425a786f457277656248554a6a6b6d56 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 6f4b4c674e6942415771636e50756452 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 6f4b4c674e6942415771636e50756452 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 746d456373724e484c686d53646d7556 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 746d456373724e484c686d53646d7556 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 67447a576b714c6e7649414678647959 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 67447a576b714c6e7649414678647959 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 794b51724a5961425a696d64626d4a43 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 794b51724a5961425a696d64626d4a43 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 7a44685074504b5a4f43674f617a4747 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 7a44685074504b5a4f43674f617a4747 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 6a47566b6a7347614863686e6d52554d esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 6a47566b6a7347614863686e6d52554d esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 6f62497a6c6e70414b6b4a7355756c50 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 6f62497a6c6e70414b6b4a7355756c50 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 7a634a75776a5241764a6d736b71534f esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 7a634a75776a5241764a6d736b71534f esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 68684a777a465772695a764d59495662 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 68684a777a465772695a764d59495662 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.101 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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.101/24
exec set ip neighbor avf-0/3b/a/0 200.0.0.102 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.102 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 7772527448466a65536c6b6348797051 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 7772527448466a65536c6b6348797051 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.102 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 776f445450765873636347686d586373 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 776f445450765873636347686d586373 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.102 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 44654f414248637652794c4747667144 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 44654f414248637652794c4747667144 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.102 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 4770495a6c45445745586f44506b456a esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 4770495a6c45445745586f44506b456a 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.102 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 566f76456e5778586a624245567a4242 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 566f76456e5778586a624245567a4242 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.102 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 4c447a6b45557254724e794266527a45 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 4c447a6b45557254724e794266527a45 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.102 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 424a77795a546a74706c72576a4d7a79 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 424a77795a546a74706c72576a4d7a79 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.102 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 516d584778534f546374484458534952 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 516d584778534f546374484458534952 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.102 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 69427444506850714978634a7a617943 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 69427444506850714978634a7a617943 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.102 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 4270516d576454715952414b534d5663 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 4270516d576454715952414b534d5663 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.102 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 505a62546777506a7162716c71464c4c esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 505a62546777506a7162716c71464c4c 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.102 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 586e4b544b507144517747626f547966 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 586e4b544b507144517747626f547966 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.102 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 77547265416a6f4a6a6c69566b54744f esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 77547265416a6f4a6a6c69566b54744f 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.102 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 75664b5466686d65426558526f507479 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 75664b5466686d65426558526f507479 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.102 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 5a4b5876414379636c4b497a74505358 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 5a4b5876414379636c4b497a74505358 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.102 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 52794551587754526f6c574347526a51 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 52794551587754526f6c574347526a51 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.102 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 6661474e54546d4745457a4571754273 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 6661474e54546d4745457a4571754273 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.102 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 416f504542617241505a677661674d79 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 416f504542617241505a677661674d79 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.102 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 6d71425677635a7049684a566d74774a esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 6d71425677635a7049684a566d74774a 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.102 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 6848566e646d70727369456754444c70 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 6848566e646d70727369456754444c70 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.102 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 5073704e776f656f4445794f71644666 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 5073704e776f656f4445794f71644666 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.102 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 63754a654774504e5576765475425468 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 63754a654774504e5576765475425468 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.102 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 44774673696c79507a51664d4b4f796c esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 44774673696c79507a51664d4b4f796c 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.102 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 675a436c654764634c6565427a54426e esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 675a436c654764634c6565427a54426e 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.102 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 4d676978514e7574546675446a4d6a70 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 4d676978514e7574546675446a4d6a70 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.102 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 79534f676d4b6d6d554f775470766369 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 79534f676d4b6d6d554f775470766369 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.102 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 54455344736b5a75684a4255664a4842 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 54455344736b5a75684a4255664a4842 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.102 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 6d436c534557756c704958777978686e esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 6d436c534557756c704958777978686e 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.102 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 50475475675051536155575578426b51 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 50475475675051536155575578426b51 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.102 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 427772714941654559766f424754724f esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 427772714941654559766f424754724f 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.102 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 66774c4273724a7958584b4e425a4357 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 66774c4273724a7958584b4e425a4357 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.102 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 4f656d646955794a624c504f4a6b5350 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 4f656d646955794a624c504f4a6b5350 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.102 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 47424a57657867434947724c4f794c65 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 47424a57657867434947724c4f794c65 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.102 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 4e575a657075454567456d4f437a6c4b esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 4e575a657075454567456d4f437a6c4b 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.102 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 764f506e5a416165586477514e6d7848 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 764f506e5a416165586477514e6d7848 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.102 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 43426c4d6a6b6e636661474969787849 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 43426c4d6a6b6e636661474969787849 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.102 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 55676162584f62565867424f4a746758 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 55676162584f62565867424f4a746758 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.102 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 516964436f6b6267786f4f5a50516149 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 516964436f6b6267786f4f5a50516149 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.102 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 53636a47634a63724c4842744c576a63 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 53636a47634a63724c4842744c576a63 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.102 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 746c676271506571547a5a694d4b6870 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 746c676271506571547a5a694d4b6870 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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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.102/24.0
exec create ipip tunnel src 200.0.0.102 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 7772527448466a65536c6b6348797051 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 7772527448466a65536c6b6348797051 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 776f445450765873636347686d586373 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 776f445450765873636347686d586373 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 44654f414248637652794c4747667144 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 44654f414248637652794c4747667144 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 4770495a6c45445745586f44506b456a esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 4770495a6c45445745586f44506b456a esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 566f76456e5778586a624245567a4242 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 566f76456e5778586a624245567a4242 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 4c447a6b45557254724e794266527a45 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 4c447a6b45557254724e794266527a45 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 424a77795a546a74706c72576a4d7a79 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 424a77795a546a74706c72576a4d7a79 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 516d584778534f546374484458534952 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 516d584778534f546374484458534952 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 69427444506850714978634a7a617943 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 69427444506850714978634a7a617943 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 4270516d576454715952414b534d5663 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 4270516d576454715952414b534d5663 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 505a62546777506a7162716c71464c4c esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 505a62546777506a7162716c71464c4c esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 586e4b544b507144517747626f547966 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 586e4b544b507144517747626f547966 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 77547265416a6f4a6a6c69566b54744f esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 77547265416a6f4a6a6c69566b54744f esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 75664b5466686d65426558526f507479 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 75664b5466686d65426558526f507479 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 5a4b5876414379636c4b497a74505358 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 5a4b5876414379636c4b497a74505358 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 52794551587754526f6c574347526a51 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 52794551587754526f6c574347526a51 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 6661474e54546d4745457a4571754273 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 6661474e54546d4745457a4571754273 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 416f504542617241505a677661674d79 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 416f504542617241505a677661674d79 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 6d71425677635a7049684a566d74774a esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 6d71425677635a7049684a566d74774a esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 6848566e646d70727369456754444c70 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 6848566e646d70727369456754444c70 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 5073704e776f656f4445794f71644666 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 5073704e776f656f4445794f71644666 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 63754a654774504e5576765475425468 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 63754a654774504e5576765475425468 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 44774673696c79507a51664d4b4f796c esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 44774673696c79507a51664d4b4f796c esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 675a436c654764634c6565427a54426e esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 675a436c654764634c6565427a54426e esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 4d676978514e7574546675446a4d6a70 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 4d676978514e7574546675446a4d6a70 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 79534f676d4b6d6d554f775470766369 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 79534f676d4b6d6d554f775470766369 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 54455344736b5a75684a4255664a4842 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 54455344736b5a75684a4255664a4842 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 6d436c534557756c704958777978686e esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 6d436c534557756c704958777978686e esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 50475475675051536155575578426b51 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 50475475675051536155575578426b51 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 427772714941654559766f424754724f esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 427772714941654559766f424754724f esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 66774c4273724a7958584b4e425a4357 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 66774c4273724a7958584b4e425a4357 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 4f656d646955794a624c504f4a6b5350 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 4f656d646955794a624c504f4a6b5350 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 47424a57657867434947724c4f794c65 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 47424a57657867434947724c4f794c65 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 4e575a657075454567456d4f437a6c4b esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 4e575a657075454567456d4f437a6c4b esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 764f506e5a416165586477514e6d7848 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 764f506e5a416165586477514e6d7848 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 43426c4d6a6b6e636661474969787849 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 43426c4d6a6b6e636661474969787849 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 55676162584f62565867424f4a746758 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 55676162584f62565867424f4a746758 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 516964436f6b6267786f4f5a50516149 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 516964436f6b6267786f4f5a50516149 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 53636a47634a63724c4842744c576a63 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 53636a47634a63724c4842744c576a63 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 746c676271506571547a5a694d4b6870 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 746c676271506571547a5a694d4b6870 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.101 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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.101/24
exec set ip neighbor avf-0/3b/a/0 200.0.0.102 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.102 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 664d624e45784c6e575a44764642516b esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 664d624e45784c6e575a44764642516b 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.102 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 7179656b5970494e6555764c74795564 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 7179656b5970494e6555764c74795564 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.102 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 677a445477687078427962506c43644e esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 677a445477687078427962506c43644e 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.102 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 797977486868747478456b6763614e70 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 797977486868747478456b6763614e70 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.102 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 4f664e42566a51765263664346464869 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 4f664e42566a51765263664346464869 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.102 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 5167626b6b416e4e7059796c6869464c esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 5167626b6b416e4e7059796c6869464c 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.102 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 72645079516d6f5674586f4651726562 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 72645079516d6f5674586f4651726562 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.102 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 554456484246506273694a777164425a esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 554456484246506273694a777164425a 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.102 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 585054435865774861714d514a65656b esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 585054435865774861714d514a65656b 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.102 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 7563454b6352745963444d4d4479416d esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 7563454b6352745963444d4d4479416d 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.102 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 70446d6e6b59726b41535a68544f5a64 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 70446d6e6b59726b41535a68544f5a64 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.102 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 6e584362684443494b716a5a576f686e esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 6e584362684443494b716a5a576f686e 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.102 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 476745586d62676367546e6179716c53 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 476745586d62676367546e6179716c53 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.102 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 6d76567756796b426755757871587a76 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 6d76567756796b426755757871587a76 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.102 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 6f634971514e474f77594b444158716f esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 6f634971514e474f77594b444158716f 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.102 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 546152556f6c70414c6c626f6649656d esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 546152556f6c70414c6c626f6649656d 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.102 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 505758526c724f6d6f4c4b6f52577979 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 505758526c724f6d6f4c4b6f52577979 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.102 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 466879444c71437449415853516a5349 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 466879444c71437449415853516a5349 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.102 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 50635561456659704b476f4c52506469 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 50635561456659704b476f4c52506469 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.102 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 6b78694d6c68617a7069596d69494644 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 6b78694d6c68617a7069596d69494644 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.102 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 6878596d58596e7a4e5a797171686c52 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 6878596d58596e7a4e5a797171686c52 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.102 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 6b6a496b79696a4f4978504c54476763 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 6b6a496b79696a4f4978504c54476763 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.102 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 484369654c68716776664f5171586c42 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 484369654c68716776664f5171586c42 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.102 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 7a4e437a6968497a6559627141567176 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 7a4e437a6968497a6559627141567176 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.102 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 766567576a4155765776766f74584d6f esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 766567576a4155765776766f74584d6f 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.102 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 6f6b72696370444d545169714c727675 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 6f6b72696370444d545169714c727675 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.102 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 57747249665165655276484662556b47 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 57747249665165655276484662556b47 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.102 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 725747734f4976757156794a755a4842 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 725747734f4976757156794a755a4842 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.102 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 69656b534d49734c6e73646f52627971 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 69656b534d49734c6e73646f52627971 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.102 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 7242736d66474f6172774f68676d6848 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 7242736d66474f6172774f68676d6848 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.102 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 6a6967475a5a796c6441704b6548596d esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 6a6967475a5a796c6441704b6548596d 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.102 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 586d624c67624252524469656c6c536e esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 586d624c67624252524469656c6c536e 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.102 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 4574504c46776b446d626b4c59527a73 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 4574504c46776b446d626b4c59527a73 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.102 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 574a6c494378496d6d6f42587a4d5359 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 574a6c494378496d6d6f42587a4d5359 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.102 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 736c7a6951695a66735249586d7a7549 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 736c7a6951695a66735249586d7a7549 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.102 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 4767634b43795879756c4a786656436f esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 4767634b43795879756c4a786656436f 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.102 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 74476451616665706b65676e68744652 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 74476451616665706b65676e68744652 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.102 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 694c4c747946767a7471667962696465 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 694c4c747946767a7471667962696465 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.102 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 51746b634f4765594a516b6e55466645 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 51746b634f4765594a516b6e55466645 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.102 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 764b674e7871795178476d51754b5969 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 764b674e7871795178476d51754b5969 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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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.102/24.0
exec create ipip tunnel src 200.0.0.102 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 664d624e45784c6e575a44764642516b esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 664d624e45784c6e575a44764642516b esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 7179656b5970494e6555764c74795564 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 7179656b5970494e6555764c74795564 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 677a445477687078427962506c43644e esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 677a445477687078427962506c43644e esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 797977486868747478456b6763614e70 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 797977486868747478456b6763614e70 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 4f664e42566a51765263664346464869 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 4f664e42566a51765263664346464869 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 5167626b6b416e4e7059796c6869464c esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 5167626b6b416e4e7059796c6869464c esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 72645079516d6f5674586f4651726562 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 72645079516d6f5674586f4651726562 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 554456484246506273694a777164425a esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 554456484246506273694a777164425a esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 585054435865774861714d514a65656b esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 585054435865774861714d514a65656b esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 7563454b6352745963444d4d4479416d esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 7563454b6352745963444d4d4479416d esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 70446d6e6b59726b41535a68544f5a64 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 70446d6e6b59726b41535a68544f5a64 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 6e584362684443494b716a5a576f686e esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 6e584362684443494b716a5a576f686e esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 476745586d62676367546e6179716c53 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 476745586d62676367546e6179716c53 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 6d76567756796b426755757871587a76 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 6d76567756796b426755757871587a76 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 6f634971514e474f77594b444158716f esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 6f634971514e474f77594b444158716f esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 546152556f6c70414c6c626f6649656d esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 546152556f6c70414c6c626f6649656d esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 505758526c724f6d6f4c4b6f52577979 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 505758526c724f6d6f4c4b6f52577979 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 466879444c71437449415853516a5349 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 466879444c71437449415853516a5349 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 50635561456659704b476f4c52506469 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 50635561456659704b476f4c52506469 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 6b78694d6c68617a7069596d69494644 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 6b78694d6c68617a7069596d69494644 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 6878596d58596e7a4e5a797171686c52 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 6878596d58596e7a4e5a797171686c52 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 6b6a496b79696a4f4978504c54476763 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 6b6a496b79696a4f4978504c54476763 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 484369654c68716776664f5171586c42 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 484369654c68716776664f5171586c42 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 7a4e437a6968497a6559627141567176 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 7a4e437a6968497a6559627141567176 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 766567576a4155765776766f74584d6f esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 766567576a4155765776766f74584d6f esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 6f6b72696370444d545169714c727675 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 6f6b72696370444d545169714c727675 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 57747249665165655276484662556b47 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 57747249665165655276484662556b47 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 725747734f4976757156794a755a4842 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 725747734f4976757156794a755a4842 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 69656b534d49734c6e73646f52627971 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 69656b534d49734c6e73646f52627971 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 7242736d66474f6172774f68676d6848 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 7242736d66474f6172774f68676d6848 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 6a6967475a5a796c6441704b6548596d esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 6a6967475a5a796c6441704b6548596d esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 586d624c67624252524469656c6c536e esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 586d624c67624252524469656c6c536e esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 4574504c46776b446d626b4c59527a73 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 4574504c46776b446d626b4c59527a73 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 574a6c494378496d6d6f42587a4d5359 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 574a6c494378496d6d6f42587a4d5359 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 736c7a6951695a66735249586d7a7549 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 736c7a6951695a66735249586d7a7549 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 4767634b43795879756c4a786656436f esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 4767634b43795879756c4a786656436f esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 74476451616665706b65676e68744652 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 74476451616665706b65676e68744652 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 694c4c747946767a7471667962696465 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 694c4c747946767a7471667962696465 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 51746b634f4765594a516b6e55466645 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 51746b634f4765594a516b6e55466645 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 764b674e7871795178476d51754b5969 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 764b674e7871795178476d51754b5969 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.101 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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.101/24
exec set ip neighbor avf-0/3b/a/0 200.0.0.102 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.102 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 6359544f4e4f4d76467a416e6b706e6d esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 6359544f4e4f4d76467a416e6b706e6d 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.102 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 6874504e4e4c645a594142645a4b534d esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 6874504e4e4c645a594142645a4b534d 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.102 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 715571486d617068436a506a58416f51 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 715571486d617068436a506a58416f51 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.102 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 694c4c6e79596152466941574b535451 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 694c4c6e79596152466941574b535451 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.102 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 726951516f7950734c556b5375485241 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 726951516f7950734c556b5375485241 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.102 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 72425078795079624365765551775149 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 72425078795079624365765551775149 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.102 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 58477845496e6c61546a686959504d4b esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 58477845496e6c61546a686959504d4b 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.102 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 6c6343684d7851577a67575178765046 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 6c6343684d7851577a67575178765046 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.102 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 417155507371487568436f7364744342 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 417155507371487568436f7364744342 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.102 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 624c76517a664e494c63514578766754 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 624c76517a664e494c63514578766754 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.102 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 6c546648584e67724a5162634856754d esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 6c546648584e67724a5162634856754d 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.102 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 416469595763784f6e796442694b5564 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 416469595763784f6e796442694b5564 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.102 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 484e51664d534d4274704876546d655a esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 484e51664d534d4274704876546d655a 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.102 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 614e5a534b52676c63446f6b6b476f6e esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 614e5a534b52676c63446f6b6b476f6e 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.102 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 455a654e757144624e73694f684c5464 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 455a654e757144624e73694f684c5464 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.102 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 787a55456d62496548624566526a7952 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 787a55456d62496548624566526a7952 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.102 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 534b46415850487a465045726e706259 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 534b46415850487a465045726e706259 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.102 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 5558484d636176436247544455474e69 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 5558484d636176436247544455474e69 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.102 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 756e466967737051645743667854686c esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 756e466967737051645743667854686c 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.102 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 4f6f674550676664746c797556546e53 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 4f6f674550676664746c797556546e53 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.102 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 5745434572464948714e4d4b76746d6d esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 5745434572464948714e4d4b76746d6d 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.102 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 6146787258754157556e79676a72536d esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 6146787258754157556e79676a72536d 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.102 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 745a436a4359564654496f61686c6966 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 745a436a4359564654496f61686c6966 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.102 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 6c484342727a4d594b4b4c727774754a esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 6c484342727a4d594b4b4c727774754a 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.102 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 754d6566775767556f7a73454a54517a esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 754d6566775767556f7a73454a54517a 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.102 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 574e775a526e5945784e667558787373 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 574e775a526e5945784e667558787373 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.102 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 75424672426f4e43424250786f566777 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 75424672426f4e43424250786f566777 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.102 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 71456271565676567769685359594f75 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 71456271565676567769685359594f75 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.102 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 576a626c585156437055416e674c4659 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 576a626c585156437055416e674c4659 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.102 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 4d594845627853556e6865667356785a esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 4d594845627853556e6865667356785a 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.102 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 514178594d6f42795854567862744843 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 514178594d6f42795854567862744843 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.102 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 6a434b7a64726775556a694e4454444e esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 6a434b7a64726775556a694e4454444e 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.102 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 77516465547a777251695a7a74775773 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 77516465547a777251695a7a74775773 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.102 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 6c70764f455351745a56656572676878 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 6c70764f455351745a56656572676878 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.102 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 436a4d56646a535368505a4a50557577 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 436a4d56646a535368505a4a50557577 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.102 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 5679776f576343795079714278567877 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 5679776f576343795079714278567877 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.102 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 546e6751517a786b5361714f68586669 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 546e6751517a786b5361714f68586669 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.102 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 52734256784959764e535052486b5248 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 52734256784959764e535052486b5248 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.102 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 4f486c69687667756d64555763654366 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 4f486c69687667756d64555763654366 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.102 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 59636e5467566d55614841694e504743 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 59636e5467566d55614841694e504743 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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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.102/24.0
exec create ipip tunnel src 200.0.0.102 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 6359544f4e4f4d76467a416e6b706e6d esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 6359544f4e4f4d76467a416e6b706e6d esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 6874504e4e4c645a594142645a4b534d esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 6874504e4e4c645a594142645a4b534d esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 715571486d617068436a506a58416f51 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 715571486d617068436a506a58416f51 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 694c4c6e79596152466941574b535451 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 694c4c6e79596152466941574b535451 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 726951516f7950734c556b5375485241 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 726951516f7950734c556b5375485241 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 72425078795079624365765551775149 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 72425078795079624365765551775149 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 58477845496e6c61546a686959504d4b esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 58477845496e6c61546a686959504d4b esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 6c6343684d7851577a67575178765046 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 6c6343684d7851577a67575178765046 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 417155507371487568436f7364744342 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 417155507371487568436f7364744342 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 624c76517a664e494c63514578766754 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 624c76517a664e494c63514578766754 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 6c546648584e67724a5162634856754d esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 6c546648584e67724a5162634856754d esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 416469595763784f6e796442694b5564 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 416469595763784f6e796442694b5564 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 484e51664d534d4274704876546d655a esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 484e51664d534d4274704876546d655a esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 614e5a534b52676c63446f6b6b476f6e esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 614e5a534b52676c63446f6b6b476f6e esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 455a654e757144624e73694f684c5464 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 455a654e757144624e73694f684c5464 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 787a55456d62496548624566526a7952 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 787a55456d62496548624566526a7952 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 534b46415850487a465045726e706259 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 534b46415850487a465045726e706259 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 5558484d636176436247544455474e69 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 5558484d636176436247544455474e69 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 756e466967737051645743667854686c esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 756e466967737051645743667854686c esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 4f6f674550676664746c797556546e53 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 4f6f674550676664746c797556546e53 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 5745434572464948714e4d4b76746d6d esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 5745434572464948714e4d4b76746d6d esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 6146787258754157556e79676a72536d esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 6146787258754157556e79676a72536d esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 745a436a4359564654496f61686c6966 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 745a436a4359564654496f61686c6966 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 6c484342727a4d594b4b4c727774754a esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 6c484342727a4d594b4b4c727774754a esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 754d6566775767556f7a73454a54517a esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 754d6566775767556f7a73454a54517a esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 574e775a526e5945784e667558787373 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 574e775a526e5945784e667558787373 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 75424672426f4e43424250786f566777 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 75424672426f4e43424250786f566777 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 71456271565676567769685359594f75 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 71456271565676567769685359594f75 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 576a626c585156437055416e674c4659 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 576a626c585156437055416e674c4659 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 4d594845627853556e6865667356785a esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 4d594845627853556e6865667356785a esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 514178594d6f42795854567862744843 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 514178594d6f42795854567862744843 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 6a434b7a64726775556a694e4454444e esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 6a434b7a64726775556a694e4454444e esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 77516465547a777251695a7a74775773 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 77516465547a777251695a7a74775773 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 6c70764f455351745a56656572676878 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 6c70764f455351745a56656572676878 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 436a4d56646a535368505a4a50557577 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 436a4d56646a535368505a4a50557577 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 5679776f576343795079714278567877 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 5679776f576343795079714278567877 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 546e6751517a786b5361714f68586669 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 546e6751517a786b5361714f68586669 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 52734256784959764e535052486b5248 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 52734256784959764e535052486b5248 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 4f486c69687667756d64555763654366 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 4f486c69687667756d64555763654366 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 59636e5467566d55614841694e504743 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 59636e5467566d55614841694e504743 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.101 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) 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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.101/24
exec set ip neighbor avf-0/3b/a/0 200.0.0.102 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.102 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 74496c5346546b4650525a6644574e77594646756b4e664b4c66536461746865 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 74496c5346546b4650525a6644574e77594646756b4e664b4c66536461746865 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.102 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 6876487462464d714c4b7364444462566357564f4f64424e6352597357514d6a esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 6876487462464d714c4b7364444462566357564f4f64424e6352597357514d6a 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.102 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 4b6747474469594b67437652626c51774e6558587a4d636b46446b5a6e687172 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 4b6747474469594b67437652626c51774e6558587a4d636b46446b5a6e687172 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.102 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 664f756c7455635879775544464466475342567869415441794a655773664a64 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 664f756c7455635879775544464466475342567869415441794a655773664a64 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.102 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 6b6d49686c6a6c67726c645a516466464e586173564c66566357766e576e5955 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 6b6d49686c6a6c67726c645a516466464e586173564c66566357766e576e5955 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.102 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 4d41716c62454f65476f765748515a524467556d61665571786954416543474b esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 4d41716c62454f65476f765748515a524467556d61665571786954416543474b 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.102 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 556a777575736a4264585443424b647174416d654767784d63486554556f6944 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 556a777575736a4264585443424b647174416d654767784d63486554556f6944 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.102 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 4c6176707744646a414b5749444245424e586a79514e66624145457779706f78 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 4c6176707744646a414b5749444245424e586a79514e66624145457779706f78 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.102 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 49745971717a78524976504d776a4871676e56554356775a7362665a51754f47 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 49745971717a78524976504d776a4871676e56554356775a7362665a51754f47 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.102 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 7a54726b6d6e75507644414661597959565071716269614d6b534d515072524a esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 7a54726b6d6e75507644414661597959565071716269614d6b534d515072524a 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.102 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 58656651446c475356555956465a446a4741544b47697943786d59676b6a5351 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 58656651446c475356555956465a446a4741544b47697943786d59676b6a5351 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.102 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 7a6c48614842485a6a466853656c4c5170784f68645048495a49725a6e5a4357 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 7a6c48614842485a6a466853656c4c5170784f68645048495a49725a6e5a4357 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.102 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 7975725373437057564f746273636f41747a61554d4b5a57554370416f535873 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 7975725373437057564f746273636f41747a61554d4b5a57554370416f535873 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.102 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 4a614d58554f584c63476f534f6653526869494461714271414c684e466d5157 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 4a614d58554f584c63476f534f6653526869494461714271414c684e466d5157 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.102 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 434a59745249635472586a544e414456576d637a6f4b624d6c41714f474a5967 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 434a59745249635472586a544e414456576d637a6f4b624d6c41714f474a5967 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.102 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 4f4f4f546c724b4b55566c53465152714c6a7174556173486466416e4b744e4e esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 4f4f4f546c724b4b55566c53465152714c6a7174556173486466416e4b744e4e 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.102 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 6c7863594b46436e4a76595951787449596b64436b796b6b454e4e484f615670 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 6c7863594b46436e4a76595951787449596b64436b796b6b454e4e484f615670 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.102 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 4b4e5a666a6d6463494b74654a4b454c54764a505257455672576a6c6d5a644f esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 4b4e5a666a6d6463494b74654a4b454c54764a505257455672576a6c6d5a644f 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.102 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 64746e6e54524b417764556b73456f436e6873714f5a6e6f4665614d68616b69 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 64746e6e54524b417764556b73456f436e6873714f5a6e6f4665614d68616b69 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.102 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 7070747256494778487a4148415073496357426c42464d7955756f77424a6959 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 7070747256494778487a4148415073496357426c42464d7955756f77424a6959 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.102 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 5a766649466f6c41757558484c4a70584b5a446f427954705650524d4e764673 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 5a766649466f6c41757558484c4a70584b5a446f427954705650524d4e764673 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.102 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 584374776d6243726a5942594443675a4e756d6b6843614d6c6d4e4b5547666c esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 584374776d6243726a5942594443675a4e756d6b6843614d6c6d4e4b5547666c 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.102 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 6962624b665455634a70706a6c7356424442647467465948776b444152496656 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 6962624b665455634a70706a6c7356424442647467465948776b444152496656 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.102 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 4859444d66674b554b5161704c79477058727041484c4244556675756d644d62 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 4859444d66674b554b5161704c79477058727041484c4244556675756d644d62 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.102 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 5a467464734461596667656e4e694c51587a414f5a72504e5650687742547170 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 5a467464734461596667656e4e694c51587a414f5a72504e5650687742547170 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.102 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 6163796c4f61567374794c67456750534867426a686c507a4d71516c68506a76 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 6163796c4f61567374794c67456750534867426a686c507a4d71516c68506a76 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.102 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 414470644457615872516a437869594d7a4e64435850505973694e735563596e esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 414470644457615872516a437869594d7a4e64435850505973694e735563596e 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.102 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 6f6e416272485052495a4f594d41784f706142486a755a6a656870695776524b esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 6f6e416272485052495a4f594d41784f706142486a755a6a656870695776524b 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.102 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 51775745444e7753456c716e59567655696a517a47696252574a70466c67534f esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 51775745444e7753456c716e59567655696a517a47696252574a70466c67534f 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.102 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 4b636f414b7667436363546d796f746f464550726a4b6e467544735361674456 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 4b636f414b7667436363546d796f746f464550726a4b6e467544735361674456 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.102 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 4a7076646352495a4a4448586855716847744e705169436c79666d716e52644c esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 4a7076646352495a4a4448586855716847744e705169436c79666d716e52644c 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.102 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 596f5a61664c4f65794c4452536d7571505970585a7849664f54726661427759 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 596f5a61664c4f65794c4452536d7571505970585a7849664f54726661427759 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.102 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 51687975547748664c56516278664878424c4841446d48644256634e7a487252 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 51687975547748664c56516278664878424c4841446d48644256634e7a487252 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.102 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 524370616b72466c794c446249634e676d684241506f774e4f514d7962464a64 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 524370616b72466c794c446249634e676d684241506f774e4f514d7962464a64 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.102 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 4c744259614e7966524a71755a4f684c52716d5576447347444870636f726141 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 4c744259614e7966524a71755a4f684c52716d5576447347444870636f726141 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.102 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 6572686f6e5379695170776a494e65764d4c476e7a5a595a5370666e65585377 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 6572686f6e5379695170776a494e65764d4c476e7a5a595a5370666e65585377 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.102 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 77724861524b59587746676b6252555143694a5261716c6b6f65716248576549 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 77724861524b59587746676b6252555143694a5261716c6b6f65716248576549 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.102 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 59735259557257515a545a62466c6f42514d6c5a4a784c6b5769486154557975 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 59735259557257515a545a62466c6f42514d6c5a4a784c6b5769486154557975 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.102 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 705853734465624d44436b526c54586245426e774f6676576b4f6d4c43577178 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 705853734465624d44436b526c54586245426e774f6676576b4f6d4c43577178 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.102 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 6c41464f6677694a565a794147614244424c754b665176514c50794a73496573 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 6c41464f6677694a565a794147614244424c754b665176514c50794a73496573 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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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.102/24.0
exec create ipip tunnel src 200.0.0.102 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 74496c5346546b4650525a6644574e77594646756b4e664b4c66536461746865 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 74496c5346546b4650525a6644574e77594646756b4e664b4c66536461746865 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 6876487462464d714c4b7364444462566357564f4f64424e6352597357514d6a esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 6876487462464d714c4b7364444462566357564f4f64424e6352597357514d6a esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 4b6747474469594b67437652626c51774e6558587a4d636b46446b5a6e687172 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 4b6747474469594b67437652626c51774e6558587a4d636b46446b5a6e687172 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 664f756c7455635879775544464466475342567869415441794a655773664a64 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 664f756c7455635879775544464466475342567869415441794a655773664a64 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 6b6d49686c6a6c67726c645a516466464e586173564c66566357766e576e5955 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 6b6d49686c6a6c67726c645a516466464e586173564c66566357766e576e5955 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 4d41716c62454f65476f765748515a524467556d61665571786954416543474b esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 4d41716c62454f65476f765748515a524467556d61665571786954416543474b esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 556a777575736a4264585443424b647174416d654767784d63486554556f6944 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 556a777575736a4264585443424b647174416d654767784d63486554556f6944 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 4c6176707744646a414b5749444245424e586a79514e66624145457779706f78 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 4c6176707744646a414b5749444245424e586a79514e66624145457779706f78 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 49745971717a78524976504d776a4871676e56554356775a7362665a51754f47 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 49745971717a78524976504d776a4871676e56554356775a7362665a51754f47 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 7a54726b6d6e75507644414661597959565071716269614d6b534d515072524a esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 7a54726b6d6e75507644414661597959565071716269614d6b534d515072524a esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 58656651446c475356555956465a446a4741544b47697943786d59676b6a5351 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 58656651446c475356555956465a446a4741544b47697943786d59676b6a5351 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 7a6c48614842485a6a466853656c4c5170784f68645048495a49725a6e5a4357 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 7a6c48614842485a6a466853656c4c5170784f68645048495a49725a6e5a4357 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 7975725373437057564f746273636f41747a61554d4b5a57554370416f535873 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 7975725373437057564f746273636f41747a61554d4b5a57554370416f535873 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 4a614d58554f584c63476f534f6653526869494461714271414c684e466d5157 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 4a614d58554f584c63476f534f6653526869494461714271414c684e466d5157 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 434a59745249635472586a544e414456576d637a6f4b624d6c41714f474a5967 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 434a59745249635472586a544e414456576d637a6f4b624d6c41714f474a5967 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 4f4f4f546c724b4b55566c53465152714c6a7174556173486466416e4b744e4e esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 4f4f4f546c724b4b55566c53465152714c6a7174556173486466416e4b744e4e esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 6c7863594b46436e4a76595951787449596b64436b796b6b454e4e484f615670 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 6c7863594b46436e4a76595951787449596b64436b796b6b454e4e484f615670 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 4b4e5a666a6d6463494b74654a4b454c54764a505257455672576a6c6d5a644f esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 4b4e5a666a6d6463494b74654a4b454c54764a505257455672576a6c6d5a644f esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 64746e6e54524b417764556b73456f436e6873714f5a6e6f4665614d68616b69 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 64746e6e54524b417764556b73456f436e6873714f5a6e6f4665614d68616b69 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 7070747256494778487a4148415073496357426c42464d7955756f77424a6959 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 7070747256494778487a4148415073496357426c42464d7955756f77424a6959 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 5a766649466f6c41757558484c4a70584b5a446f427954705650524d4e764673 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 5a766649466f6c41757558484c4a70584b5a446f427954705650524d4e764673 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 584374776d6243726a5942594443675a4e756d6b6843614d6c6d4e4b5547666c esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 584374776d6243726a5942594443675a4e756d6b6843614d6c6d4e4b5547666c esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 6962624b665455634a70706a6c7356424442647467465948776b444152496656 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 6962624b665455634a70706a6c7356424442647467465948776b444152496656 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 4859444d66674b554b5161704c79477058727041484c4244556675756d644d62 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 4859444d66674b554b5161704c79477058727041484c4244556675756d644d62 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 5a467464734461596667656e4e694c51587a414f5a72504e5650687742547170 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 5a467464734461596667656e4e694c51587a414f5a72504e5650687742547170 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 6163796c4f61567374794c67456750534867426a686c507a4d71516c68506a76 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 6163796c4f61567374794c67456750534867426a686c507a4d71516c68506a76 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 414470644457615872516a437869594d7a4e64435850505973694e735563596e esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 414470644457615872516a437869594d7a4e64435850505973694e735563596e esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 6f6e416272485052495a4f594d41784f706142486a755a6a656870695776524b esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 6f6e416272485052495a4f594d41784f706142486a755a6a656870695776524b esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 51775745444e7753456c716e59567655696a517a47696252574a70466c67534f esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 51775745444e7753456c716e59567655696a517a47696252574a70466c67534f esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 4b636f414b7667436363546d796f746f464550726a4b6e467544735361674456 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 4b636f414b7667436363546d796f746f464550726a4b6e467544735361674456 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 4a7076646352495a4a4448586855716847744e705169436c79666d716e52644c esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 4a7076646352495a4a4448586855716847744e705169436c79666d716e52644c esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 596f5a61664c4f65794c4452536d7571505970585a7849664f54726661427759 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 596f5a61664c4f65794c4452536d7571505970585a7849664f54726661427759 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 51687975547748664c56516278664878424c4841446d48644256634e7a487252 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 51687975547748664c56516278664878424c4841446d48644256634e7a487252 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 524370616b72466c794c446249634e676d684241506f774e4f514d7962464a64 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 524370616b72466c794c446249634e676d684241506f774e4f514d7962464a64 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 4c744259614e7966524a71755a4f684c52716d5576447347444870636f726141 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 4c744259614e7966524a71755a4f684c52716d5576447347444870636f726141 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 6572686f6e5379695170776a494e65764d4c476e7a5a595a5370666e65585377 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 6572686f6e5379695170776a494e65764d4c476e7a5a595a5370666e65585377 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 77724861524b59587746676b6252555143694a5261716c6b6f65716248576549 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 77724861524b59587746676b6252555143694a5261716c6b6f65716248576549 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 59735259557257515a545a62466c6f42514d6c5a4a784c6b5769486154557975 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 59735259557257515a545a62466c6f42514d6c5a4a784c6b5769486154557975 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 705853734465624d44436b526c54586245426e774f6676576b4f6d4c43577178 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 705853734465624d44436b526c54586245426e774f6676576b4f6d4c43577178 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 6c41464f6677694a565a794147614244424c754b665176514c50794a73496573 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 6c41464f6677694a565a794147614244424c754b665176514c50794a73496573 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.101 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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.101/24
exec set ip neighbor avf-0/3b/a/0 200.0.0.102 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.102 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 43416e6e4758696d4b7a446b554347717849594a4d4c686b4b47555850647649 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 43416e6e4758696d4b7a446b554347717849594a4d4c686b4b47555850647649 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.102 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 6f5965586671454d767a4b6b4c63577a4d737a755043617674796374554d4f69 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 6f5965586671454d767a4b6b4c63577a4d737a755043617674796374554d4f69 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.102 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 4d6c4f5850656b7058784e427367554d7774704e694c4b4674586a7450507a6e esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 4d6c4f5850656b7058784e427367554d7774704e694c4b4674586a7450507a6e 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.102 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 4d5363576c796d7a6353704e784b5a677875764a697763644f456763484a4570 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 4d5363576c796d7a6353704e784b5a677875764a697763644f456763484a4570 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.102 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 417148415a565358534c674561444258676b634b4c636b55666b566767527272 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 417148415a565358534c674561444258676b634b4c636b55666b566767527272 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.102 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 6a747963626a4a527367435669654e6d78666f7a4f6a67584c627053697a567a esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 6a747963626a4a527367435669654e6d78666f7a4f6a67584c627053697a567a 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.102 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 44745a66525966794a416c4c4f53756677774e586a56637176567a5861494b4b esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 44745a66525966794a416c4c4f53756677774e586a56637176567a5861494b4b 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.102 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 7467477859694f514d6346425567546b48535354727279526f7266634949664a esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 7467477859694f514d6346425567546b48535354727279526f7266634949664a 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.102 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 494b42654f4948737564526c6442696446557551546b6d7644746a7462764647 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 494b42654f4948737564526c6442696446557551546b6d7644746a7462764647 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.102 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 78676b4e5273536b676d674a424d755a535a546264494270614d6f7575644d42 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 78676b4e5273536b676d674a424d755a535a546264494270614d6f7575644d42 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.102 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 48734975697879715255726f7176555052587a724d764f6d6d684952554f7678 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 48734975697879715255726f7176555052587a724d764f6d6d684952554f7678 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.102 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 664f49514c734a565167706e6d4761556c5248506f697945527a4b6761664b72 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 664f49514c734a565167706e6d4761556c5248506f697945527a4b6761664b72 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.102 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 4b4474506566546b41546e486b74554e6a704579495a51674568614f68515969 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 4b4474506566546b41546e486b74554e6a704579495a51674568614f68515969 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.102 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 697073576b4874594d637951665a5a57585566786a4f66786843535342526561 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 697073576b4874594d637951665a5a57585566786a4f66786843535342526561 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.102 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 584d566e4f4a444d7146615278466861705763686c4b6e496e76727872647475 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 584d566e4f4a444d7146615278466861705763686c4b6e496e76727872647475 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.102 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 6b684556506e49617656757145426259726c4374644f6668774443684b567062 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 6b684556506e49617656757145426259726c4374644f6668774443684b567062 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.102 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 7944667a424f4955796f4674734959584c724542526661746752667357655161 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 7944667a424f4955796f4674734959584c724542526661746752667357655161 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.102 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 4e6c4e4e7657567a4a777457425175545177654a6f72656b73544f5a58754d66 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 4e6c4e4e7657567a4a777457425175545177654a6f72656b73544f5a58754d66 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.102 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 567a664171494b6f6c747a66514c5771634c6255614b5442694d6158694b7879 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 567a664171494b6f6c747a66514c5771634c6255614b5442694d6158694b7879 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.102 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 4a4a4742526b4f5143746d6e51694b775951654c6e7a5a4b5672774476474a6f esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 4a4a4742526b4f5143746d6e51694b775951654c6e7a5a4b5672774476474a6f 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.102 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 586a4f65795169554f4f7663744d67467356696565614242454e496d47725557 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 586a4f65795169554f4f7663744d67467356696565614242454e496d47725557 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.102 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 67494a614d487a5443576f626c52567157564f794c4164616670596b65736f69 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 67494a614d487a5443576f626c52567157564f794c4164616670596b65736f69 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.102 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 6a4f49727752794b6a795a4b6c5346456e67555150474f624b6971736e717242 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 6a4f49727752794b6a795a4b6c5346456e67555150474f624b6971736e717242 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.102 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 4c6b4964626967694b4f5767526c6e437464434e454f6f7443585a6f794f6862 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 4c6b4964626967694b4f5767526c6e437464434e454f6f7443585a6f794f6862 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.102 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 4f436a4a66626564586b54545172565a785343796179594b5a537547667a746a esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 4f436a4a66626564586b54545172565a785343796179594b5a537547667a746a 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.102 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 664e706747565a4762765a5145465057696b626f44434f707a4f6552704c5742 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 664e706747565a4762765a5145465057696b626f44434f707a4f6552704c5742 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.102 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 774f456e44614a4a71614648736a6c5044426476696a66484949684f50697044 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 774f456e44614a4a71614648736a6c5044426476696a66484949684f50697044 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.102 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 724c6c775663766d554446626b57754e504845436f6d7a4b7779754d4b574e76 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 724c6c775663766d554446626b57754e504845436f6d7a4b7779754d4b574e76 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.102 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 464b4d4a594e774245776270594d645a76694f4247776a4d6357647976486458 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 464b4d4a594e774245776270594d645a76694f4247776a4d6357647976486458 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.102 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 4553695a4a734178535876717147485a4b626744635969546e4d484c4e56524b esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 4553695a4a734178535876717147485a4b626744635969546e4d484c4e56524b 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.102 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 535a4e6a4742626446564542534d64746447536463645447784a41565669654c esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 535a4e6a4742626446564542534d64746447536463645447784a41565669654c 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.102 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 577648797a666f65734e72544e655a755943627162536c42754f58684d796b78 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 577648797a666f65734e72544e655a755943627162536c42754f58684d796b78 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.102 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 777676786e6979426744756b7362674a5562514d6c73456b6378566677465763 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 777676786e6979426744756b7362674a5562514d6c73456b6378566677465763 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.102 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 42734e7a78516f774b445067554b43467848546b6251694a644e797173674470 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 42734e7a78516f774b445067554b43467848546b6251694a644e797173674470 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.102 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 6767774d776871414f66696575494b4c7462714c5a4a764d697453566b747a6b esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 6767774d776871414f66696575494b4c7462714c5a4a764d697453566b747a6b 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.102 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 637862666670457259686e6878536f74587876567873554a687964654561754b esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 637862666670457259686e6878536f74587876567873554a687964654561754b 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.102 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 494f4f6d4a66724162756a42514a6166415066685967544c546c666a704c5057 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 494f4f6d4a66724162756a42514a6166415066685967544c546c666a704c5057 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.102 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 714247555a4a435266696841744548506544766c6374646a656145796b674357 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 714247555a4a435266696841744548506544766c6374646a656145796b674357 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.102 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 6d77774b494277776342424e4859736b43554465726466616e4567427a4d5350 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 6d77774b494277776342424e4859736b43554465726466616e4567427a4d5350 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.102 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 68516b4b4d707757427a4568657a747464586c646f6c467a634a49596862464b esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 68516b4b4d707757427a4568657a747464586c646f6c467a634a49596862464b 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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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.102/24.0
exec create ipip tunnel src 200.0.0.102 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 43416e6e4758696d4b7a446b554347717849594a4d4c686b4b47555850647649 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 43416e6e4758696d4b7a446b554347717849594a4d4c686b4b47555850647649 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 6f5965586671454d767a4b6b4c63577a4d737a755043617674796374554d4f69 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 6f5965586671454d767a4b6b4c63577a4d737a755043617674796374554d4f69 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 4d6c4f5850656b7058784e427367554d7774704e694c4b4674586a7450507a6e esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 4d6c4f5850656b7058784e427367554d7774704e694c4b4674586a7450507a6e esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 4d5363576c796d7a6353704e784b5a677875764a697763644f456763484a4570 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 4d5363576c796d7a6353704e784b5a677875764a697763644f456763484a4570 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 417148415a565358534c674561444258676b634b4c636b55666b566767527272 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 417148415a565358534c674561444258676b634b4c636b55666b566767527272 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 6a747963626a4a527367435669654e6d78666f7a4f6a67584c627053697a567a esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 6a747963626a4a527367435669654e6d78666f7a4f6a67584c627053697a567a esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 44745a66525966794a416c4c4f53756677774e586a56637176567a5861494b4b esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 44745a66525966794a416c4c4f53756677774e586a56637176567a5861494b4b esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 7467477859694f514d6346425567546b48535354727279526f7266634949664a esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 7467477859694f514d6346425567546b48535354727279526f7266634949664a esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 494b42654f4948737564526c6442696446557551546b6d7644746a7462764647 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 494b42654f4948737564526c6442696446557551546b6d7644746a7462764647 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 78676b4e5273536b676d674a424d755a535a546264494270614d6f7575644d42 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 78676b4e5273536b676d674a424d755a535a546264494270614d6f7575644d42 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 48734975697879715255726f7176555052587a724d764f6d6d684952554f7678 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 48734975697879715255726f7176555052587a724d764f6d6d684952554f7678 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 664f49514c734a565167706e6d4761556c5248506f697945527a4b6761664b72 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 664f49514c734a565167706e6d4761556c5248506f697945527a4b6761664b72 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 4b4474506566546b41546e486b74554e6a704579495a51674568614f68515969 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 4b4474506566546b41546e486b74554e6a704579495a51674568614f68515969 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 697073576b4874594d637951665a5a57585566786a4f66786843535342526561 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 697073576b4874594d637951665a5a57585566786a4f66786843535342526561 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 584d566e4f4a444d7146615278466861705763686c4b6e496e76727872647475 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 584d566e4f4a444d7146615278466861705763686c4b6e496e76727872647475 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 6b684556506e49617656757145426259726c4374644f6668774443684b567062 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 6b684556506e49617656757145426259726c4374644f6668774443684b567062 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 7944667a424f4955796f4674734959584c724542526661746752667357655161 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 7944667a424f4955796f4674734959584c724542526661746752667357655161 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 4e6c4e4e7657567a4a777457425175545177654a6f72656b73544f5a58754d66 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 4e6c4e4e7657567a4a777457425175545177654a6f72656b73544f5a58754d66 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 567a664171494b6f6c747a66514c5771634c6255614b5442694d6158694b7879 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 567a664171494b6f6c747a66514c5771634c6255614b5442694d6158694b7879 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 4a4a4742526b4f5143746d6e51694b775951654c6e7a5a4b5672774476474a6f esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 4a4a4742526b4f5143746d6e51694b775951654c6e7a5a4b5672774476474a6f esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 586a4f65795169554f4f7663744d67467356696565614242454e496d47725557 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 586a4f65795169554f4f7663744d67467356696565614242454e496d47725557 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 67494a614d487a5443576f626c52567157564f794c4164616670596b65736f69 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 67494a614d487a5443576f626c52567157564f794c4164616670596b65736f69 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 6a4f49727752794b6a795a4b6c5346456e67555150474f624b6971736e717242 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 6a4f49727752794b6a795a4b6c5346456e67555150474f624b6971736e717242 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 4c6b4964626967694b4f5767526c6e437464434e454f6f7443585a6f794f6862 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 4c6b4964626967694b4f5767526c6e437464434e454f6f7443585a6f794f6862 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 4f436a4a66626564586b54545172565a785343796179594b5a537547667a746a esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 4f436a4a66626564586b54545172565a785343796179594b5a537547667a746a esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 664e706747565a4762765a5145465057696b626f44434f707a4f6552704c5742 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 664e706747565a4762765a5145465057696b626f44434f707a4f6552704c5742 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 774f456e44614a4a71614648736a6c5044426476696a66484949684f50697044 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 774f456e44614a4a71614648736a6c5044426476696a66484949684f50697044 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 724c6c775663766d554446626b57754e504845436f6d7a4b7779754d4b574e76 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 724c6c775663766d554446626b57754e504845436f6d7a4b7779754d4b574e76 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 464b4d4a594e774245776270594d645a76694f4247776a4d6357647976486458 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 464b4d4a594e774245776270594d645a76694f4247776a4d6357647976486458 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 4553695a4a734178535876717147485a4b626744635969546e4d484c4e56524b esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 4553695a4a734178535876717147485a4b626744635969546e4d484c4e56524b esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 535a4e6a4742626446564542534d64746447536463645447784a41565669654c esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 535a4e6a4742626446564542534d64746447536463645447784a41565669654c esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 577648797a666f65734e72544e655a755943627162536c42754f58684d796b78 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 577648797a666f65734e72544e655a755943627162536c42754f58684d796b78 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 777676786e6979426744756b7362674a5562514d6c73456b6378566677465763 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 777676786e6979426744756b7362674a5562514d6c73456b6378566677465763 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 42734e7a78516f774b445067554b43467848546b6251694a644e797173674470 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 42734e7a78516f774b445067554b43467848546b6251694a644e797173674470 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 6767774d776871414f66696575494b4c7462714c5a4a764d697453566b747a6b esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 6767774d776871414f66696575494b4c7462714c5a4a764d697453566b747a6b esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 637862666670457259686e6878536f74587876567873554a687964654561754b esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 637862666670457259686e6878536f74587876567873554a687964654561754b esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 494f4f6d4a66724162756a42514a6166415066685967544c546c666a704c5057 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 494f4f6d4a66724162756a42514a6166415066685967544c546c666a704c5057 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 714247555a4a435266696841744548506544766c6374646a656145796b674357 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 714247555a4a435266696841744548506544766c6374646a656145796b674357 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 6d77774b494277776342424e4859736b43554465726466616e4567427a4d5350 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 6d77774b494277776342424e4859736b43554465726466616e4567427a4d5350 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 68516b4b4d707757427a4568657a747464586c646f6c467a634a49596862464b esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 68516b4b4d707757427a4568657a747464586c646f6c467a634a49596862464b 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.101 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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.101/24
exec set ip neighbor avf-0/3b/a/0 200.0.0.102 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.102 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 6d65476d695a614c434a5656547a7942454c54774d6e4b62707363487a6e4767 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 6d65476d695a614c434a5656547a7942454c54774d6e4b62707363487a6e4767 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.102 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 67417471594d4f496f544b4e42584d78684e49434c5543466e565551536b4f62 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 67417471594d4f496f544b4e42584d78684e49434c5543466e565551536b4f62 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.102 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 706e615342655175666f545355575755684144666d58584f7a6d7841716a5147 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 706e615342655175666f545355575755684144666d58584f7a6d7841716a5147 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.102 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 7658687165795144444f6d687663735a734775495776624678794a56646a6264 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 7658687165795144444f6d687663735a734775495776624678794a56646a6264 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.102 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 547a614e674369704a4a6a704259675a414166464d754145566d467649496c74 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 547a614e674369704a4a6a704259675a414166464d754145566d467649496c74 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.102 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 71414844667662444f456f7a487363577361695654544e554565565a48796b75 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 71414844667662444f456f7a487363577361695654544e554565565a48796b75 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.102 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 6e716f564266654372626655717a68756a477168724e7144766a654d64585258 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 6e716f564266654372626655717a68756a477168724e7144766a654d64585258 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.102 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 565857436a72695345705250726143724769555055504d64474d6a5352676a76 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 565857436a72695345705250726143724769555055504d64474d6a5352676a76 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.102 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 585453676c526c43556b7a5a796a665146434b41676c546c7667686d64594f4c esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 585453676c526c43556b7a5a796a665146434b41676c546c7667686d64594f4c 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.102 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 4258506152786e45594c55726c654363776a5a6842614b454f734b4866495977 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 4258506152786e45594c55726c654363776a5a6842614b454f734b4866495977 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.102 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 7776725a50716c57516b424a7075534f6448795675694752576c69544175526c esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 7776725a50716c57516b424a7075534f6448795675694752576c69544175526c 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.102 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 656e666442556157666d6a586465536d475347696a446a7458706d4f7166674a esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 656e666442556157666d6a586465536d475347696a446a7458706d4f7166674a 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.102 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 68745853784c765a4a5244514b764f69594b4948434b4d59504d4a526b4a4b48 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 68745853784c765a4a5244514b764f69594b4948434b4d59504d4a526b4a4b48 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.102 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 75634a657771477956474c7a5350666965456f414a4b73626f625971424a5071 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 75634a657771477956474c7a5350666965456f414a4b73626f625971424a5071 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.102 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 46764b77766575644e59486b656d436f4f485879574f6e676e596f524646796e esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 46764b77766575644e59486b656d436f4f485879574f6e676e596f524646796e 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.102 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 6f625a4679517476685069514d714b77464c6a4c42537575696d7155617a4e64 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 6f625a4679517476685069514d714b77464c6a4c42537575696d7155617a4e64 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.102 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 67414b6450486b484a6d64745a41694f764b6d6e47664e72786b687a616c5979 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 67414b6450486b484a6d64745a41694f764b6d6e47664e72786b687a616c5979 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.102 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 476f584951506e6b6274696a54514d64536a4f76694d43444c537757426c5770 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 476f584951506e6b6274696a54514d64536a4f76694d43444c537757426c5770 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.102 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 4158627148664e6356616c4f7a4f4f4875497572764f6155566678766c7a7378 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 4158627148664e6356616c4f7a4f4f4875497572764f6155566678766c7a7378 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.102 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 47714e434f70544d59447843506e774158487a69667a79795576437759516141 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 47714e434f70544d59447843506e774158487a69667a79795576437759516141 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.102 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 4a45706355624857436a6147455a584e48676c61485247424f5a4f50744e4b67 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 4a45706355624857436a6147455a584e48676c61485247424f5a4f50744e4b67 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.102 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 78746442444a43674a59654a6b4d656b42586b625048595177496b486c4c5370 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 78746442444a43674a59654a6b4d656b42586b625048595177496b486c4c5370 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.102 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 78674b6f7968746a6d7a4d447665574e55777362736e6e464b4a696244527074 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 78674b6f7968746a6d7a4d447665574e55777362736e6e464b4a696244527074 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.102 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 50575267787a7749636578554853594f625941414d42575778436d484c537555 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 50575267787a7749636578554853594f625941414d42575778436d484c537555 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.102 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 5546514a425773655551504c66716a4f755a7373466579496e68515357717041 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 5546514a425773655551504c66716a4f755a7373466579496e68515357717041 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.102 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 4b545a5353705778767a4758694e544d7978585858704a61587668666b68426b esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 4b545a5353705778767a4758694e544d7978585858704a61587668666b68426b 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.102 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 59505842624b42635753436345694e534a6c42716b53574470725a4c7550504c esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 59505842624b42635753436345694e534a6c42716b53574470725a4c7550504c 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.102 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 71597877617a73704c4c6547524c52634c7a544e4c464a4b6d4d41794165624a esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 71597877617a73704c4c6547524c52634c7a544e4c464a4b6d4d41794165624a 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.102 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 5a4765754c515a5a4c7a794343446350736c484f58474b4d5158567972525357 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 5a4765754c515a5a4c7a794343446350736c484f58474b4d5158567972525357 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.102 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 546669726b6f524c6168454d5963486156434f7a6e6e6e4a6b565a4978797849 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 546669726b6f524c6168454d5963486156434f7a6e6e6e4a6b565a4978797849 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.102 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 6b67524653676f4572424a497772465a676a5344716b67425a4a73435a656a47 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 6b67524653676f4572424a497772465a676a5344716b67425a4a73435a656a47 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.102 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 5a4870644a45656e425a50776e4c6a5155444662776d4e6a5a4f577558534a4e esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 5a4870644a45656e425a50776e4c6a5155444662776d4e6a5a4f577558534a4e 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.102 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 506e617248495972436b58656e726d424841624e786c5854715864564b627258 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 506e617248495972436b58656e726d424841624e786c5854715864564b627258 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.102 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 4b4e7757615464685044544644534c76666f50454a534662445456506c4c755a esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 4b4e7757615464685044544644534c76666f50454a534662445456506c4c755a 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.102 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 78636a576c48427a4868474877676d5a53694673784f444e48437873704a5865 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 78636a576c48427a4868474877676d5a53694673784f444e48437873704a5865 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.102 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 446253516b7a7771784c7441496e5a6c6d715779535472424f6c59427a686a4e esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 446253516b7a7771784c7441496e5a6c6d715779535472424f6c59427a686a4e 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.102 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 6f686c7a485941664c66476b456970686c776c436b565a576f5867556f706845 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 6f686c7a485941664c66476b456970686c776c436b565a576f5867556f706845 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.102 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 70656375754c736b54436c476c4678614f566e415267544e434b5a6e4b516178 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 70656375754c736b54436c476c4678614f566e415267544e434b5a6e4b516178 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.102 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 79655a587577576b716d616463754b5154616848627371684350465a76684f49 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 79655a587577576b716d616463754b5154616848627371684350465a76684f49 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.102 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 4c57796c514970455a566f4c556d486974426e4a715579756445565a55536349 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 4c57796c514970455a566f4c556d486974426e4a715579756445565a55536349 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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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.102/24.0
exec create ipip tunnel src 200.0.0.102 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 6d65476d695a614c434a5656547a7942454c54774d6e4b62707363487a6e4767 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 6d65476d695a614c434a5656547a7942454c54774d6e4b62707363487a6e4767 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 67417471594d4f496f544b4e42584d78684e49434c5543466e565551536b4f62 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 67417471594d4f496f544b4e42584d78684e49434c5543466e565551536b4f62 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 706e615342655175666f545355575755684144666d58584f7a6d7841716a5147 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 706e615342655175666f545355575755684144666d58584f7a6d7841716a5147 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 7658687165795144444f6d687663735a734775495776624678794a56646a6264 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 7658687165795144444f6d687663735a734775495776624678794a56646a6264 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 547a614e674369704a4a6a704259675a414166464d754145566d467649496c74 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 547a614e674369704a4a6a704259675a414166464d754145566d467649496c74 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 71414844667662444f456f7a487363577361695654544e554565565a48796b75 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 71414844667662444f456f7a487363577361695654544e554565565a48796b75 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 6e716f564266654372626655717a68756a477168724e7144766a654d64585258 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 6e716f564266654372626655717a68756a477168724e7144766a654d64585258 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 565857436a72695345705250726143724769555055504d64474d6a5352676a76 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 565857436a72695345705250726143724769555055504d64474d6a5352676a76 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 585453676c526c43556b7a5a796a665146434b41676c546c7667686d64594f4c esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 585453676c526c43556b7a5a796a665146434b41676c546c7667686d64594f4c esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 4258506152786e45594c55726c654363776a5a6842614b454f734b4866495977 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 4258506152786e45594c55726c654363776a5a6842614b454f734b4866495977 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 7776725a50716c57516b424a7075534f6448795675694752576c69544175526c esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 7776725a50716c57516b424a7075534f6448795675694752576c69544175526c esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 656e666442556157666d6a586465536d475347696a446a7458706d4f7166674a esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 656e666442556157666d6a586465536d475347696a446a7458706d4f7166674a esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 68745853784c765a4a5244514b764f69594b4948434b4d59504d4a526b4a4b48 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 68745853784c765a4a5244514b764f69594b4948434b4d59504d4a526b4a4b48 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 75634a657771477956474c7a5350666965456f414a4b73626f625971424a5071 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 75634a657771477956474c7a5350666965456f414a4b73626f625971424a5071 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 46764b77766575644e59486b656d436f4f485879574f6e676e596f524646796e esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 46764b77766575644e59486b656d436f4f485879574f6e676e596f524646796e esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 6f625a4679517476685069514d714b77464c6a4c42537575696d7155617a4e64 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 6f625a4679517476685069514d714b77464c6a4c42537575696d7155617a4e64 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 67414b6450486b484a6d64745a41694f764b6d6e47664e72786b687a616c5979 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 67414b6450486b484a6d64745a41694f764b6d6e47664e72786b687a616c5979 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 476f584951506e6b6274696a54514d64536a4f76694d43444c537757426c5770 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 476f584951506e6b6274696a54514d64536a4f76694d43444c537757426c5770 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 4158627148664e6356616c4f7a4f4f4875497572764f6155566678766c7a7378 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 4158627148664e6356616c4f7a4f4f4875497572764f6155566678766c7a7378 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 47714e434f70544d59447843506e774158487a69667a79795576437759516141 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 47714e434f70544d59447843506e774158487a69667a79795576437759516141 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 4a45706355624857436a6147455a584e48676c61485247424f5a4f50744e4b67 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 4a45706355624857436a6147455a584e48676c61485247424f5a4f50744e4b67 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 78746442444a43674a59654a6b4d656b42586b625048595177496b486c4c5370 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 78746442444a43674a59654a6b4d656b42586b625048595177496b486c4c5370 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 78674b6f7968746a6d7a4d447665574e55777362736e6e464b4a696244527074 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 78674b6f7968746a6d7a4d447665574e55777362736e6e464b4a696244527074 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 50575267787a7749636578554853594f625941414d42575778436d484c537555 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 50575267787a7749636578554853594f625941414d42575778436d484c537555 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 5546514a425773655551504c66716a4f755a7373466579496e68515357717041 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 5546514a425773655551504c66716a4f755a7373466579496e68515357717041 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 4b545a5353705778767a4758694e544d7978585858704a61587668666b68426b esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 4b545a5353705778767a4758694e544d7978585858704a61587668666b68426b esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 59505842624b42635753436345694e534a6c42716b53574470725a4c7550504c esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 59505842624b42635753436345694e534a6c42716b53574470725a4c7550504c esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 71597877617a73704c4c6547524c52634c7a544e4c464a4b6d4d41794165624a esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 71597877617a73704c4c6547524c52634c7a544e4c464a4b6d4d41794165624a esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 5a4765754c515a5a4c7a794343446350736c484f58474b4d5158567972525357 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 5a4765754c515a5a4c7a794343446350736c484f58474b4d5158567972525357 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 546669726b6f524c6168454d5963486156434f7a6e6e6e4a6b565a4978797849 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 546669726b6f524c6168454d5963486156434f7a6e6e6e4a6b565a4978797849 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 6b67524653676f4572424a497772465a676a5344716b67425a4a73435a656a47 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 6b67524653676f4572424a497772465a676a5344716b67425a4a73435a656a47 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 5a4870644a45656e425a50776e4c6a5155444662776d4e6a5a4f577558534a4e esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 5a4870644a45656e425a50776e4c6a5155444662776d4e6a5a4f577558534a4e esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 506e617248495972436b58656e726d424841624e786c5854715864564b627258 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 506e617248495972436b58656e726d424841624e786c5854715864564b627258 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 4b4e7757615464685044544644534c76666f50454a534662445456506c4c755a esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 4b4e7757615464685044544644534c76666f50454a534662445456506c4c755a esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 78636a576c48427a4868474877676d5a53694673784f444e48437873704a5865 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 78636a576c48427a4868474877676d5a53694673784f444e48437873704a5865 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 446253516b7a7771784c7441496e5a6c6d715779535472424f6c59427a686a4e esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 446253516b7a7771784c7441496e5a6c6d715779535472424f6c59427a686a4e esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 6f686c7a485941664c66476b456970686c776c436b565a576f5867556f706845 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 6f686c7a485941664c66476b456970686c776c436b565a576f5867556f706845 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 70656375754c736b54436c476c4678614f566e415267544e434b5a6e4b516178 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 70656375754c736b54436c476c4678614f566e415267544e434b5a6e4b516178 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 79655a587577576b716d616463754b5154616848627371684350465a76684f49 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 79655a587577576b716d616463754b5154616848627371684350465a76684f49 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 4c57796c514970455a566f4c556d486974426e4a715579756445565a55536349 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 4c57796c514970455a566f4c556d486974426e4a715579756445565a55536349 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.101 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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.101/24
exec set ip neighbor avf-0/3b/a/0 200.0.0.102 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.102 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 677a5961444d5671766847536e796e4b59704a68734f697a4143636c744e4f4b esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 677a5961444d5671766847536e796e4b59704a68734f697a4143636c744e4f4b 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.102 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 5a6a6950596c4b46487659586a6873784370416d48487258576355436b4e7a4b esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 5a6a6950596c4b46487659586a6873784370416d48487258576355436b4e7a4b 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.102 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 52425449674a476972676d695872635a6b504a4f4e586542664f596d6b454c4a esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 52425449674a476972676d695872635a6b504a4f4e586542664f596d6b454c4a 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.102 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 7a624d4d646b596d696d447652576d75724a59474d4356436456517158714c4a esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 7a624d4d646b596d696d447652576d75724a59474d4356436456517158714c4a 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.102 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 744f4671485a4d62414b754c62596d776158426744524a6d544f6c674a61786b esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 744f4671485a4d62414b754c62596d776158426744524a6d544f6c674a61786b 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.102 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 596d4d506163566254704444534e75574144424e59696c614b746a456a687773 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 596d4d506163566254704444534e75574144424e59696c614b746a456a687773 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.102 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 534b6446454d795743616d66556a66774270726f627242615145744643697949 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 534b6446454d795743616d66556a66774270726f627242615145744643697949 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.102 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 614f7444774a636b5a6146714b42726b46674d746946786145436d4444657a48 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 614f7444774a636b5a6146714b42726b46674d746946786145436d4444657a48 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.102 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 424a6368505746526a635157665341687673434941774b465678526877726c75 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 424a6368505746526a635157665341687673434941774b465678526877726c75 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.102 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 50596e73687978694a556a446d4c6850575773565049687a5a5865554f77414d esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 50596e73687978694a556a446d4c6850575773565049687a5a5865554f77414d 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.102 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 66724843796479544e414b47434963565063566e614164505363476f6e646f42 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 66724843796479544e414b47434963565063566e614164505363476f6e646f42 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.102 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 5a514d4752536366556e7352674364586a5a61487a7654754f74766656516b64 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 5a514d4752536366556e7352674364586a5a61487a7654754f74766656516b64 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.102 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 684a504549614277776d4447714c5755647562744e6f6d5047585459614d5755 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 684a504549614277776d4447714c5755647562744e6f6d5047585459614d5755 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.102 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 496d6a7769494568415a4378584b4144747570796d724655435466567148546b esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 496d6a7769494568415a4378584b4144747570796d724655435466567148546b 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.102 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 56676b59686c6b4f7773786c5953486361585662554844484d69785648737a48 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 56676b59686c6b4f7773786c5953486361585662554844484d69785648737a48 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.102 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 706671674471574b42635046425a7969586a6a736d4b4c755647467a4c627052 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 706671674471574b42635046425a7969586a6a736d4b4c755647467a4c627052 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.102 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 455a487a4f71476761516e41476f4f5a665045586d41725464706d615a42756e esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 455a487a4f71476761516e41476f4f5a665045586d41725464706d615a42756e 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.102 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 636c7270436d73636c5869675376694a4a6c515870457a575244765346724464 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 636c7270436d73636c5869675376694a4a6c515870457a575244765346724464 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.102 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 6a667243767a564b636d53504b6a52595477744258677666736263725a724467 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 6a667243767a564b636d53504b6a52595477744258677666736263725a724467 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.102 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 4f67656d655a515342664f7579786747625a6c526277476a4873715676625968 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 4f67656d655a515342664f7579786747625a6c526277476a4873715676625968 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.102 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 7a52494d55764578776d596e784f596d7a7a6f6a6c5266526f56644d704c704e esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 7a52494d55764578776d596e784f596d7a7a6f6a6c5266526f56644d704c704e 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.102 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 5348576e726366496f766c476e6d79704356555174677663766943596a774b55 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 5348576e726366496f766c476e6d79704356555174677663766943596a774b55 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.102 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 734c7668655a6b46667967755866466d6363725479654d6d6a76725271524376 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 734c7668655a6b46667967755866466d6363725479654d6d6a76725271524376 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.102 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 4653524e5250744758676c536c4763534c677666504f4d6d644f626b496c7355 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 4653524e5250744758676c536c4763534c677666504f4d6d644f626b496c7355 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.102 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 55744d444553566c4a5567566f5a624e47717a444c477962754453786c496346 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 55744d444553566c4a5567566f5a624e47717a444c477962754453786c496346 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.102 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 4b567461726a686b6b6d61537765594446686f716d54535a577a705a536b7a4b esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 4b567461726a686b6b6d61537765594446686f716d54535a577a705a536b7a4b 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.102 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 6c704657756978674c7a67775848486145585451714c5654416154415277546c esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 6c704657756978674c7a67775848486145585451714c5654416154415277546c 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.102 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 4778455775786d547764626162464272524e66444b756b4e6246625946447357 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 4778455775786d547764626162464272524e66444b756b4e6246625946447357 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.102 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 4976574d686c4150436b42494f73764f6c776b4c477566594f637156616d6453 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 4976574d686c4150436b42494f73764f6c776b4c477566594f637156616d6453 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.102 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 4f714b5254466b456947724c544a514a484f626243597248416d566843616c76 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 4f714b5254466b456947724c544a514a484f626243597248416d566843616c76 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.102 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 566f776966674f486d5969677156776f62764f7874596e6b634754434d6b544e esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 566f776966674f486d5969677156776f62764f7874596e6b634754434d6b544e 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.102 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 7858735163667a664142724b416c744143714769556842727358634d666d4166 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 7858735163667a664142724b416c744143714769556842727358634d666d4166 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.102 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 485843754e7562776d744b4563417677694b51594678477a65666f566c61525a esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 485843754e7562776d744b4563417677694b51594678477a65666f566c61525a 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.102 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 4c756153557573447a6e45425a5452654b774862437969445a76464948516564 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 4c756153557573447a6e45425a5452654b774862437969445a76464948516564 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.102 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 444d4f4946745349616a466f4b6364697a47684e665867437866556a47574c63 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 444d4f4946745349616a466f4b6364697a47684e665867437866556a47574c63 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.102 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 554b4271766b5371734b484246426a7358694a7a4a6a4172686c455571756764 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 554b4271766b5371734b484246426a7358694a7a4a6a4172686c455571756764 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.102 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 5041594670505a4f624b4e524b6a6573794778656c6553656650636a516a6968 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 5041594670505a4f624b4e524b6a6573794778656c6553656650636a516a6968 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.102 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 634a43654c63507153424261467a7363696c4a7864617a50626b797a59525266 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 634a43654c63507153424261467a7363696c4a7864617a50626b797a59525266 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.102 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 516768736e64415a737065707a4b6a586d6663757476555450645242776a4458 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 516768736e64415a737065707a4b6a586d6663757476555450645242776a4458 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.102 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 46507371447075414641647461464e42507565506b6866645579584751586741 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 46507371447075414641647461464e42507565506b6866645579584751586741 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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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.102/24.0
exec create ipip tunnel src 200.0.0.102 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 677a5961444d5671766847536e796e4b59704a68734f697a4143636c744e4f4b esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 677a5961444d5671766847536e796e4b59704a68734f697a4143636c744e4f4b esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 5a6a6950596c4b46487659586a6873784370416d48487258576355436b4e7a4b esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 5a6a6950596c4b46487659586a6873784370416d48487258576355436b4e7a4b esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 52425449674a476972676d695872635a6b504a4f4e586542664f596d6b454c4a esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 52425449674a476972676d695872635a6b504a4f4e586542664f596d6b454c4a esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 7a624d4d646b596d696d447652576d75724a59474d4356436456517158714c4a esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 7a624d4d646b596d696d447652576d75724a59474d4356436456517158714c4a esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 744f4671485a4d62414b754c62596d776158426744524a6d544f6c674a61786b esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 744f4671485a4d62414b754c62596d776158426744524a6d544f6c674a61786b esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 596d4d506163566254704444534e75574144424e59696c614b746a456a687773 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 596d4d506163566254704444534e75574144424e59696c614b746a456a687773 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 534b6446454d795743616d66556a66774270726f627242615145744643697949 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 534b6446454d795743616d66556a66774270726f627242615145744643697949 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 614f7444774a636b5a6146714b42726b46674d746946786145436d4444657a48 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 614f7444774a636b5a6146714b42726b46674d746946786145436d4444657a48 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 424a6368505746526a635157665341687673434941774b465678526877726c75 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 424a6368505746526a635157665341687673434941774b465678526877726c75 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 50596e73687978694a556a446d4c6850575773565049687a5a5865554f77414d esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 50596e73687978694a556a446d4c6850575773565049687a5a5865554f77414d esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 66724843796479544e414b47434963565063566e614164505363476f6e646f42 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 66724843796479544e414b47434963565063566e614164505363476f6e646f42 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 5a514d4752536366556e7352674364586a5a61487a7654754f74766656516b64 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 5a514d4752536366556e7352674364586a5a61487a7654754f74766656516b64 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 684a504549614277776d4447714c5755647562744e6f6d5047585459614d5755 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 684a504549614277776d4447714c5755647562744e6f6d5047585459614d5755 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 496d6a7769494568415a4378584b4144747570796d724655435466567148546b esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 496d6a7769494568415a4378584b4144747570796d724655435466567148546b esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 56676b59686c6b4f7773786c5953486361585662554844484d69785648737a48 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 56676b59686c6b4f7773786c5953486361585662554844484d69785648737a48 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 706671674471574b42635046425a7969586a6a736d4b4c755647467a4c627052 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 706671674471574b42635046425a7969586a6a736d4b4c755647467a4c627052 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 455a487a4f71476761516e41476f4f5a665045586d41725464706d615a42756e esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 455a487a4f71476761516e41476f4f5a665045586d41725464706d615a42756e esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 636c7270436d73636c5869675376694a4a6c515870457a575244765346724464 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 636c7270436d73636c5869675376694a4a6c515870457a575244765346724464 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 6a667243767a564b636d53504b6a52595477744258677666736263725a724467 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 6a667243767a564b636d53504b6a52595477744258677666736263725a724467 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 4f67656d655a515342664f7579786747625a6c526277476a4873715676625968 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 4f67656d655a515342664f7579786747625a6c526277476a4873715676625968 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 7a52494d55764578776d596e784f596d7a7a6f6a6c5266526f56644d704c704e esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 7a52494d55764578776d596e784f596d7a7a6f6a6c5266526f56644d704c704e esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 5348576e726366496f766c476e6d79704356555174677663766943596a774b55 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 5348576e726366496f766c476e6d79704356555174677663766943596a774b55 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 734c7668655a6b46667967755866466d6363725479654d6d6a76725271524376 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 734c7668655a6b46667967755866466d6363725479654d6d6a76725271524376 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 4653524e5250744758676c536c4763534c677666504f4d6d644f626b496c7355 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 4653524e5250744758676c536c4763534c677666504f4d6d644f626b496c7355 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 55744d444553566c4a5567566f5a624e47717a444c477962754453786c496346 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 55744d444553566c4a5567566f5a624e47717a444c477962754453786c496346 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 4b567461726a686b6b6d61537765594446686f716d54535a577a705a536b7a4b esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 4b567461726a686b6b6d61537765594446686f716d54535a577a705a536b7a4b esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 6c704657756978674c7a67775848486145585451714c5654416154415277546c esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 6c704657756978674c7a67775848486145585451714c5654416154415277546c esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 4778455775786d547764626162464272524e66444b756b4e6246625946447357 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 4778455775786d547764626162464272524e66444b756b4e6246625946447357 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 4976574d686c4150436b42494f73764f6c776b4c477566594f637156616d6453 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 4976574d686c4150436b42494f73764f6c776b4c477566594f637156616d6453 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 4f714b5254466b456947724c544a514a484f626243597248416d566843616c76 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 4f714b5254466b456947724c544a514a484f626243597248416d566843616c76 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 566f776966674f486d5969677156776f62764f7874596e6b634754434d6b544e esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 566f776966674f486d5969677156776f62764f7874596e6b634754434d6b544e esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 7858735163667a664142724b416c744143714769556842727358634d666d4166 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 7858735163667a664142724b416c744143714769556842727358634d666d4166 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 485843754e7562776d744b4563417677694b51594678477a65666f566c61525a esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 485843754e7562776d744b4563417677694b51594678477a65666f566c61525a esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 4c756153557573447a6e45425a5452654b774862437969445a76464948516564 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 4c756153557573447a6e45425a5452654b774862437969445a76464948516564 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 444d4f4946745349616a466f4b6364697a47684e665867437866556a47574c63 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 444d4f4946745349616a466f4b6364697a47684e665867437866556a47574c63 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 554b4271766b5371734b484246426a7358694a7a4a6a4172686c455571756764 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 554b4271766b5371734b484246426a7358694a7a4a6a4172686c455571756764 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 5041594670505a4f624b4e524b6a6573794778656c6553656650636a516a6968 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 5041594670505a4f624b4e524b6a6573794778656c6553656650636a516a6968 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 634a43654c63507153424261467a7363696c4a7864617a50626b797a59525266 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 634a43654c63507153424261467a7363696c4a7864617a50626b797a59525266 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 516768736e64415a737065707a4b6a586d6663757476555450645242776a4458 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 516768736e64415a737065707a4b6a586d6663757476555450645242776a4458 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 46507371447075414641647461464e42507565506b6866645579584751586741 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 46507371447075414641647461464e42507565506b6866645579584751586741 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.101 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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.101/24
exec set ip neighbor avf-0/3b/a/0 200.0.0.102 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.102 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 676748476d6b4154617765624562637659724e44777559486d696d5656766279 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 676748476d6b4154617765624562637659724e44777559486d696d5656766279 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.102 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 7a427150634f6f6c4a624f5a6a55654f5650514d526e6e546261596856626549 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 7a427150634f6f6c4a624f5a6a55654f5650514d526e6e546261596856626549 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.102 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 684f635553544a76625a4e764a467961495a75656d6a507642554b63596a5673 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 684f635553544a76625a4e764a467961495a75656d6a507642554b63596a5673 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.102 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 6c56496c6c726a6f6c746c4e7a50645a444c777446654249545871686b624964 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 6c56496c6c726a6f6c746c4e7a50645a444c777446654249545871686b624964 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.102 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 494b6571644279427a666972707075785645517974487975494e6970584e4757 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 494b6571644279427a666972707075785645517974487975494e6970584e4757 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.102 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 64724d5944434e477979736b75785a4b4d59746c5645746b5064416b41447653 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 64724d5944434e477979736b75785a4b4d59746c5645746b5064416b41447653 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.102 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 5a6979624b55684d7541584c575a79624e596458614562417258766747634466 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 5a6979624b55684d7541584c575a79624e596458614562417258766747634466 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.102 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 746849794b7678484c4a566e715a70696d5942594376784a6b454a4e47437658 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 746849794b7678484c4a566e715a70696d5942594376784a6b454a4e47437658 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.102 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 4f474859516f59424553544d64684b754c4c7766466a52546e7657636b466173 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 4f474859516f59424553544d64684b754c4c7766466a52546e7657636b466173 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.102 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 43496e594a6f416d7476787a534d41747344726a6548414e4557624251596262 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 43496e594a6f416d7476787a534d41747344726a6548414e4557624251596262 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.102 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 61424f436e6764636a6b736b6e7a71596a6563484447664b6172464641646863 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 61424f436e6764636a6b736b6e7a71596a6563484447664b6172464641646863 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.102 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 474e45594f594b4d614142694a4670726b6f596c57454f6e4746625954474a79 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 474e45594f594b4d614142694a4670726b6f596c57454f6e4746625954474a79 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.102 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 704344667446794c5976644844756a5642564c527457456b5a58454b7668697a esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 704344667446794c5976644844756a5642564c527457456b5a58454b7668697a 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.102 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 4d71496242564a6f4b6648464361707468636e645568536357464d49684e596b esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 4d71496242564a6f4b6648464361707468636e645568536357464d49684e596b 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.102 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 5a6c6769705a566c4d7564705578504652566c68434a544574624d58656a7850 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 5a6c6769705a566c4d7564705578504652566c68434a544574624d58656a7850 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.102 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 4e4247535866525453726a74504a56664b4141764146526645485366466f6c4b esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 4e4247535866525453726a74504a56664b4141764146526645485366466f6c4b 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.102 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 6546495151654f485359757441495177444a63645a65775041484946536b6c47 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 6546495151654f485359757441495177444a63645a65775041484946536b6c47 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.102 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 744f787864617145655450446c617a5047464e4f6f6b70614e44416c536d6462 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 744f787864617145655450446c617a5047464e4f6f6b70614e44416c536d6462 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.102 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 645752745a77476371506f7467414e78516155707851736e7345774546716a45 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 645752745a77476371506f7467414e78516155707851736e7345774546716a45 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.102 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 50416d737a59546c446578524f47504e55477974456d4a6d494c4c6a6b4e624b esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 50416d737a59546c446578524f47504e55477974456d4a6d494c4c6a6b4e624b 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.102 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 5a594268636c687a6678504d416d6b4b53417a7a52626e5a5a574667505a7a45 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 5a594268636c687a6678504d416d6b4b53417a7a52626e5a5a574667505a7a45 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.102 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 786a514b4b574b6f5052774e6b694e62436b585367534754567748677557514d esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 786a514b4b574b6f5052774e6b694e62436b585367534754567748677557514d 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.102 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 42486565564a5a4248724f6f44666a714c477a495973584e5263536a6c557457 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 42486565564a5a4248724f6f44666a714c477a495973584e5263536a6c557457 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.102 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 51594b554a766476746e4775576e7759525462486c4b575569634b43534a724c esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 51594b554a766476746e4775576e7759525462486c4b575569634b43534a724c 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.102 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 716d6b5a41476a4e6d564f69496f57624f664c57517668624b754562434f5049 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 716d6b5a41476a4e6d564f69496f57624f664c57517668624b754562434f5049 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.102 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 6952594169495552497756504c496c4d7368514f566b485a79416e5a6b73414e esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 6952594169495552497756504c496c4d7368514f566b485a79416e5a6b73414e 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.102 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 554d4c54706f534241627454714b4457746243594f6e6d6a56476959734d6e6b esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 554d4c54706f534241627454714b4457746243594f6e6d6a56476959734d6e6b 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.102 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 58714a6c676d4851524a576c764f575a6c4f68675369504e635353666f547441 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 58714a6c676d4851524a576c764f575a6c4f68675369504e635353666f547441 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.102 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 674a4c6e696b634e57687a6b4c55727742465a425859766247766a56616f776c esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 674a4c6e696b634e57687a6b4c55727742465a425859766247766a56616f776c 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.102 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 6658496e62724f464a5377664f4f64716274507a4f4e524b514d4c6864544a67 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 6658496e62724f464a5377664f4f64716274507a4f4e524b514d4c6864544a67 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.102 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 6a7241457844464169535076596c6c61596477775456554f677842435175657a esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 6a7241457844464169535076596c6c61596477775456554f677842435175657a 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.102 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 58754b616a584e654370456c68757163765776777968414c4d454d4d487a6e71 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 58754b616a584e654370456c68757163765776777968414c4d454d4d487a6e71 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.102 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 71637a634d745467564e75465764556e446e436e67746d6b56536a4d63484b73 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 71637a634d745467564e75465764556e446e436e67746d6b56536a4d63484b73 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.102 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 587a5851506f6154416e49436349757a5879747071676d727269796579504876 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 587a5851506f6154416e49436349757a5879747071676d727269796579504876 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.102 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 7169726d66455954686c4559565a57504e43686277546659695368744e764c56 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 7169726d66455954686c4559565a57504e43686277546659695368744e764c56 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.102 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 72576a55506d714c4c4c7a444574526778466744736245775a48555564566d79 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 72576a55506d714c4c4c7a444574526778466744736245775a48555564566d79 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.102 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 614e5a6e55437a4a6d696e68415064527a56795a79437964517271565372537a esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 614e5a6e55437a4a6d696e68415064527a56795a79437964517271565372537a 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.102 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 4159484d63524763624558786d57535358616963446c4952724e477344615a65 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 4159484d63524763624558786d57535358616963446c4952724e477344615a65 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.102 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 7a426746724f454f564658536e4f4643686c5444654f5744756f4c6266647559 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 7a426746724f454f564658536e4f4643686c5444654f5744756f4c6266647559 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.102 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 5445446f53674167724e62426b6447697a42547473775a684545554344557045 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 5445446f53674167724e62426b6447697a42547473775a684545554344557045 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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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.102/24.0
exec create ipip tunnel src 200.0.0.102 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 676748476d6b4154617765624562637659724e44777559486d696d5656766279 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 676748476d6b4154617765624562637659724e44777559486d696d5656766279 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 7a427150634f6f6c4a624f5a6a55654f5650514d526e6e546261596856626549 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 7a427150634f6f6c4a624f5a6a55654f5650514d526e6e546261596856626549 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 684f635553544a76625a4e764a467961495a75656d6a507642554b63596a5673 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 684f635553544a76625a4e764a467961495a75656d6a507642554b63596a5673 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 6c56496c6c726a6f6c746c4e7a50645a444c777446654249545871686b624964 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 6c56496c6c726a6f6c746c4e7a50645a444c777446654249545871686b624964 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 494b6571644279427a666972707075785645517974487975494e6970584e4757 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 494b6571644279427a666972707075785645517974487975494e6970584e4757 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 64724d5944434e477979736b75785a4b4d59746c5645746b5064416b41447653 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 64724d5944434e477979736b75785a4b4d59746c5645746b5064416b41447653 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 5a6979624b55684d7541584c575a79624e596458614562417258766747634466 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 5a6979624b55684d7541584c575a79624e596458614562417258766747634466 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 746849794b7678484c4a566e715a70696d5942594376784a6b454a4e47437658 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 746849794b7678484c4a566e715a70696d5942594376784a6b454a4e47437658 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 4f474859516f59424553544d64684b754c4c7766466a52546e7657636b466173 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 4f474859516f59424553544d64684b754c4c7766466a52546e7657636b466173 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 43496e594a6f416d7476787a534d41747344726a6548414e4557624251596262 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 43496e594a6f416d7476787a534d41747344726a6548414e4557624251596262 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 61424f436e6764636a6b736b6e7a71596a6563484447664b6172464641646863 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 61424f436e6764636a6b736b6e7a71596a6563484447664b6172464641646863 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 474e45594f594b4d614142694a4670726b6f596c57454f6e4746625954474a79 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 474e45594f594b4d614142694a4670726b6f596c57454f6e4746625954474a79 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 704344667446794c5976644844756a5642564c527457456b5a58454b7668697a esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 704344667446794c5976644844756a5642564c527457456b5a58454b7668697a esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 4d71496242564a6f4b6648464361707468636e645568536357464d49684e596b esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 4d71496242564a6f4b6648464361707468636e645568536357464d49684e596b esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 5a6c6769705a566c4d7564705578504652566c68434a544574624d58656a7850 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 5a6c6769705a566c4d7564705578504652566c68434a544574624d58656a7850 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 4e4247535866525453726a74504a56664b4141764146526645485366466f6c4b esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 4e4247535866525453726a74504a56664b4141764146526645485366466f6c4b esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 6546495151654f485359757441495177444a63645a65775041484946536b6c47 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 6546495151654f485359757441495177444a63645a65775041484946536b6c47 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 744f787864617145655450446c617a5047464e4f6f6b70614e44416c536d6462 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 744f787864617145655450446c617a5047464e4f6f6b70614e44416c536d6462 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 645752745a77476371506f7467414e78516155707851736e7345774546716a45 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 645752745a77476371506f7467414e78516155707851736e7345774546716a45 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 50416d737a59546c446578524f47504e55477974456d4a6d494c4c6a6b4e624b esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 50416d737a59546c446578524f47504e55477974456d4a6d494c4c6a6b4e624b esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 5a594268636c687a6678504d416d6b4b53417a7a52626e5a5a574667505a7a45 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 5a594268636c687a6678504d416d6b4b53417a7a52626e5a5a574667505a7a45 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 786a514b4b574b6f5052774e6b694e62436b585367534754567748677557514d esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 786a514b4b574b6f5052774e6b694e62436b585367534754567748677557514d esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 42486565564a5a4248724f6f44666a714c477a495973584e5263536a6c557457 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 42486565564a5a4248724f6f44666a714c477a495973584e5263536a6c557457 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 51594b554a766476746e4775576e7759525462486c4b575569634b43534a724c esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 51594b554a766476746e4775576e7759525462486c4b575569634b43534a724c esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 716d6b5a41476a4e6d564f69496f57624f664c57517668624b754562434f5049 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 716d6b5a41476a4e6d564f69496f57624f664c57517668624b754562434f5049 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 6952594169495552497756504c496c4d7368514f566b485a79416e5a6b73414e esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 6952594169495552497756504c496c4d7368514f566b485a79416e5a6b73414e esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 554d4c54706f534241627454714b4457746243594f6e6d6a56476959734d6e6b esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 554d4c54706f534241627454714b4457746243594f6e6d6a56476959734d6e6b esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 58714a6c676d4851524a576c764f575a6c4f68675369504e635353666f547441 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 58714a6c676d4851524a576c764f575a6c4f68675369504e635353666f547441 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 674a4c6e696b634e57687a6b4c55727742465a425859766247766a56616f776c esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 674a4c6e696b634e57687a6b4c55727742465a425859766247766a56616f776c esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 6658496e62724f464a5377664f4f64716274507a4f4e524b514d4c6864544a67 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 6658496e62724f464a5377664f4f64716274507a4f4e524b514d4c6864544a67 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 6a7241457844464169535076596c6c61596477775456554f677842435175657a esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 6a7241457844464169535076596c6c61596477775456554f677842435175657a esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 58754b616a584e654370456c68757163765776777968414c4d454d4d487a6e71 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 58754b616a584e654370456c68757163765776777968414c4d454d4d487a6e71 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 71637a634d745467564e75465764556e446e436e67746d6b56536a4d63484b73 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 71637a634d745467564e75465764556e446e436e67746d6b56536a4d63484b73 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 587a5851506f6154416e49436349757a5879747071676d727269796579504876 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 587a5851506f6154416e49436349757a5879747071676d727269796579504876 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 7169726d66455954686c4559565a57504e43686277546659695368744e764c56 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 7169726d66455954686c4559565a57504e43686277546659695368744e764c56 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 72576a55506d714c4c4c7a444574526778466744736245775a48555564566d79 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 72576a55506d714c4c4c7a444574526778466744736245775a48555564566d79 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 614e5a6e55437a4a6d696e68415064527a56795a79437964517271565372537a esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 614e5a6e55437a4a6d696e68415064527a56795a79437964517271565372537a esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 4159484d63524763624558786d57535358616963446c4952724e477344615a65 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 4159484d63524763624558786d57535358616963446c4952724e477344615a65 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 7a426746724f454f564658536e4f4643686c5444654f5744756f4c6266647559 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 7a426746724f454f564658536e4f4643686c5444654f5744756f4c6266647559 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 5445446f53674167724e62426b6447697a42547473775a684545554344557045 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 5445446f53674167724e62426b6447697a42547473775a684545554344557045 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.101 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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.101/24
exec set ip neighbor avf-0/3b/a/0 200.0.0.102 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.102 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 774d42426451546a6b727358477a6c77434d4e61754f695351767964434c4172 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 774d42426451546a6b727358477a6c77434d4e61754f695351767964434c4172 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.102 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 595657486c62556d69794a4f5a624a78644166516b7276616d7043504c6f4842 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 595657486c62556d69794a4f5a624a78644166516b7276616d7043504c6f4842 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.102 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 686864534e42566f53764a494273684364777459454d4856646e556978716478 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 686864534e42566f53764a494273684364777459454d4856646e556978716478 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.102 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 635246415a5279476b636f6e4a755877425359747a526c577a485259644c4748 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 635246415a5279476b636f6e4a755877425359747a526c577a485259644c4748 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.102 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 666855666f43754370666455637371536758626d765042597a71514746544e63 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 666855666f43754370666455637371536758626d765042597a71514746544e63 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.102 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 556e584678456e65574e4b796e706d764b426d6275455763436f5873716f5441 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 556e584678456e65574e4b796e706d764b426d6275455763436f5873716f5441 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.102 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 7948704449687a61426e4c4970544b736f6973767777637951545174516c596d esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 7948704449687a61426e4c4970544b736f6973767777637951545174516c596d 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.102 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 696c4354757a7044544554496b486153495145544f73696f5743436a6463457a esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 696c4354757a7044544554496b486153495145544f73696f5743436a6463457a 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.102 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 514f5061687a705144636675526b4e62515565486267435755776f684e4d4d4e esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 514f5061687a705144636675526b4e62515565486267435755776f684e4d4d4e 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.102 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 71464a7471724f714d56756161756b75554e766a6574597a4e6d644c77737164 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 71464a7471724f714d56756161756b75554e766a6574597a4e6d644c77737164 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.102 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 79516a47644a625a414b63794661616345576455776d654275634c4c577a6f65 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 79516a47644a625a414b63794661616345576455776d654275634c4c577a6f65 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.102 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 616b6764647074624e6a415076785544644e5761735a634f7955674b4e754843 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 616b6764647074624e6a415076785544644e5761735a634f7955674b4e754843 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.102 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 444d6a414245554467776e6351486741487677564a6a6c7073684e7379745575 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 444d6a414245554467776e6351486741487677564a6a6c7073684e7379745575 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.102 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 516a65574457676d46416e6a576872746b5a59454448654565514a7553766e65 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 516a65574457676d46416e6a576872746b5a59454448654565514a7553766e65 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.102 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 73426761696b4473736d4e74576677446b4e4e59446e56544e5973786e655147 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 73426761696b4473736d4e74576677446b4e4e59446e56544e5973786e655147 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.102 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 54415643495659706d70776d685a47584179596b637a41415a4c6d72416a6644 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 54415643495659706d70776d685a47584179596b637a41415a4c6d72416a6644 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.102 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 5941645665466f615479706677495344435267416a5472726d4d454c44584b6e esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 5941645665466f615479706677495344435267416a5472726d4d454c44584b6e 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.102 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 4152775a7a536c7543756b4e476d627275786b47546e7a764d73445373426a4a esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 4152775a7a536c7543756b4e476d627275786b47546e7a764d73445373426a4a 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.102 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 515647574c5a6e446e6b586e5a76656a684f44765144477162624b546e50656f esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 515647574c5a6e446e6b586e5a76656a684f44765144477162624b546e50656f 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.102 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 63684f43555455784259587944657a447347744979554a584a54485645556473 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 63684f43555455784259587944657a447347744979554a584a54485645556473 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.102 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 42745175557752476649456e7359645067724545514952586165705452714b44 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 42745175557752476649456e7359645067724545514952586165705452714b44 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.102 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 44696347476e477a75726b704a566a6963436766796a4b5665666f476243655a esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 44696347476e477a75726b704a566a6963436766796a4b5665666f476243655a 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.102 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 4f7878464f4857646552444548646f75726e6c6b436452644b6f6a6863496a52 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 4f7878464f4857646552444548646f75726e6c6b436452644b6f6a6863496a52 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.102 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 746f6775486f7349567165645363464454526d4c63617a5765704f6645534845 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 746f6775486f7349567165645363464454526d4c63617a5765704f6645534845 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.102 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 77456e4771587174794b5276437865674a437079457672536258796447496c6c esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 77456e4771587174794b5276437865674a437079457672536258796447496c6c 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.102 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 65496a6957776a764c504e5474546a456f5248446250797a585a634c63566368 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 65496a6957776a764c504e5474546a456f5248446250797a585a634c63566368 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.102 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 51417a6567544b7a78775357545864457941526e697050725071564f58587269 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 51417a6567544b7a78775357545864457941526e697050725071564f58587269 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.102 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 63536e566a4e6158425171544a594c66506a44464d7943524d6a674d416d6d6c esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 63536e566a4e6158425171544a594c66506a44464d7943524d6a674d416d6d6c 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.102 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 684141724a5153534e454f4d7979496858554c767870596c754d5a55464b7946 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 684141724a5153534e454f4d7979496858554c767870596c754d5a55464b7946 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.102 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 6a4755646965464c4e56674751767647716a446e694166596f71437659737879 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 6a4755646965464c4e56674751767647716a446e694166596f71437659737879 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.102 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 775178785a6c75566c5264477a7a614772736c6963586572506844476a436773 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 775178785a6c75566c5264477a7a614772736c6963586572506844476a436773 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.102 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 68624f466f554e6d494464446b7466716c5a737250427a6e684b6a425461526e esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 68624f466f554e6d494464446b7466716c5a737250427a6e684b6a425461526e 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.102 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 575a6173426a4a416d6964735855466f794f7744564c4b7370636b6e7a526774 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 575a6173426a4a416d6964735855466f794f7744564c4b7370636b6e7a526774 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.102 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 4474484f534d44746a764d646d45496d47524d71664b466c4e696b6251477770 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 4474484f534d44746a764d646d45496d47524d71664b466c4e696b6251477770 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.102 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 63726b584d4d434662585a6e626950457673516f5667447754656b6c72574958 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 63726b584d4d434662585a6e626950457673516f5667447754656b6c72574958 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.102 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 7573697454534767554f6c73464971516c776c5461484d477a4a4d617578704d esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 7573697454534767554f6c73464971516c776c5461484d477a4a4d617578704d 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.102 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 66534b4958776d634a635472427257444a497257417749594b70464e647a4a74 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 66534b4958776d634a635472427257444a497257417749594b70464e647a4a74 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.102 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 717865707144665762484e7743775a4a4e434e5152474a747858577972505275 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 717865707144665762484e7743775a4a4e434e5152474a747858577972505275 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.102 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 526863666b596e535069504959546c6a6f417a756175545565706b6d74696a44 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 526863666b596e535069504959546c6a6f417a756175545565706b6d74696a44 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.102 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 7654416478417255587670565867474b43627876796b77445a574b5a6f555048 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 7654416478417255587670565867474b43627876796b77445a574b5a6f555048 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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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.102/24.0
exec create ipip tunnel src 200.0.0.102 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 774d42426451546a6b727358477a6c77434d4e61754f695351767964434c4172 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 774d42426451546a6b727358477a6c77434d4e61754f695351767964434c4172 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 595657486c62556d69794a4f5a624a78644166516b7276616d7043504c6f4842 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 595657486c62556d69794a4f5a624a78644166516b7276616d7043504c6f4842 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 686864534e42566f53764a494273684364777459454d4856646e556978716478 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 686864534e42566f53764a494273684364777459454d4856646e556978716478 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 635246415a5279476b636f6e4a755877425359747a526c577a485259644c4748 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 635246415a5279476b636f6e4a755877425359747a526c577a485259644c4748 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 666855666f43754370666455637371536758626d765042597a71514746544e63 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 666855666f43754370666455637371536758626d765042597a71514746544e63 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 556e584678456e65574e4b796e706d764b426d6275455763436f5873716f5441 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 556e584678456e65574e4b796e706d764b426d6275455763436f5873716f5441 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 7948704449687a61426e4c4970544b736f6973767777637951545174516c596d esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 7948704449687a61426e4c4970544b736f6973767777637951545174516c596d esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 696c4354757a7044544554496b486153495145544f73696f5743436a6463457a esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 696c4354757a7044544554496b486153495145544f73696f5743436a6463457a esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 514f5061687a705144636675526b4e62515565486267435755776f684e4d4d4e esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 514f5061687a705144636675526b4e62515565486267435755776f684e4d4d4e esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 71464a7471724f714d56756161756b75554e766a6574597a4e6d644c77737164 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 71464a7471724f714d56756161756b75554e766a6574597a4e6d644c77737164 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 79516a47644a625a414b63794661616345576455776d654275634c4c577a6f65 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 79516a47644a625a414b63794661616345576455776d654275634c4c577a6f65 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 616b6764647074624e6a415076785544644e5761735a634f7955674b4e754843 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 616b6764647074624e6a415076785544644e5761735a634f7955674b4e754843 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 444d6a414245554467776e6351486741487677564a6a6c7073684e7379745575 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 444d6a414245554467776e6351486741487677564a6a6c7073684e7379745575 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 516a65574457676d46416e6a576872746b5a59454448654565514a7553766e65 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 516a65574457676d46416e6a576872746b5a59454448654565514a7553766e65 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 73426761696b4473736d4e74576677446b4e4e59446e56544e5973786e655147 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 73426761696b4473736d4e74576677446b4e4e59446e56544e5973786e655147 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 54415643495659706d70776d685a47584179596b637a41415a4c6d72416a6644 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 54415643495659706d70776d685a47584179596b637a41415a4c6d72416a6644 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 5941645665466f615479706677495344435267416a5472726d4d454c44584b6e esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 5941645665466f615479706677495344435267416a5472726d4d454c44584b6e esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 4152775a7a536c7543756b4e476d627275786b47546e7a764d73445373426a4a esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 4152775a7a536c7543756b4e476d627275786b47546e7a764d73445373426a4a esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 515647574c5a6e446e6b586e5a76656a684f44765144477162624b546e50656f esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 515647574c5a6e446e6b586e5a76656a684f44765144477162624b546e50656f esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 63684f43555455784259587944657a447347744979554a584a54485645556473 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 63684f43555455784259587944657a447347744979554a584a54485645556473 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 42745175557752476649456e7359645067724545514952586165705452714b44 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 42745175557752476649456e7359645067724545514952586165705452714b44 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 44696347476e477a75726b704a566a6963436766796a4b5665666f476243655a esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 44696347476e477a75726b704a566a6963436766796a4b5665666f476243655a esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 4f7878464f4857646552444548646f75726e6c6b436452644b6f6a6863496a52 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 4f7878464f4857646552444548646f75726e6c6b436452644b6f6a6863496a52 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 746f6775486f7349567165645363464454526d4c63617a5765704f6645534845 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 746f6775486f7349567165645363464454526d4c63617a5765704f6645534845 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 77456e4771587174794b5276437865674a437079457672536258796447496c6c esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 77456e4771587174794b5276437865674a437079457672536258796447496c6c esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 65496a6957776a764c504e5474546a456f5248446250797a585a634c63566368 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 65496a6957776a764c504e5474546a456f5248446250797a585a634c63566368 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 51417a6567544b7a78775357545864457941526e697050725071564f58587269 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 51417a6567544b7a78775357545864457941526e697050725071564f58587269 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 63536e566a4e6158425171544a594c66506a44464d7943524d6a674d416d6d6c esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 63536e566a4e6158425171544a594c66506a44464d7943524d6a674d416d6d6c esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 684141724a5153534e454f4d7979496858554c767870596c754d5a55464b7946 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 684141724a5153534e454f4d7979496858554c767870596c754d5a55464b7946 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 6a4755646965464c4e56674751767647716a446e694166596f71437659737879 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 6a4755646965464c4e56674751767647716a446e694166596f71437659737879 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 775178785a6c75566c5264477a7a614772736c6963586572506844476a436773 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 775178785a6c75566c5264477a7a614772736c6963586572506844476a436773 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 68624f466f554e6d494464446b7466716c5a737250427a6e684b6a425461526e esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 68624f466f554e6d494464446b7466716c5a737250427a6e684b6a425461526e esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 575a6173426a4a416d6964735855466f794f7744564c4b7370636b6e7a526774 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 575a6173426a4a416d6964735855466f794f7744564c4b7370636b6e7a526774 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 4474484f534d44746a764d646d45496d47524d71664b466c4e696b6251477770 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 4474484f534d44746a764d646d45496d47524d71664b466c4e696b6251477770 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 63726b584d4d434662585a6e626950457673516f5667447754656b6c72574958 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 63726b584d4d434662585a6e626950457673516f5667447754656b6c72574958 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 7573697454534767554f6c73464971516c776c5461484d477a4a4d617578704d esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 7573697454534767554f6c73464971516c776c5461484d477a4a4d617578704d esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 66534b4958776d634a635472427257444a497257417749594b70464e647a4a74 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 66534b4958776d634a635472427257444a497257417749594b70464e647a4a74 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 717865707144665762484e7743775a4a4e434e5152474a747858577972505275 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 717865707144665762484e7743775a4a4e434e5152474a747858577972505275 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 526863666b596e535069504959546c6a6f417a756175545565706b6d74696a44 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 526863666b596e535069504959546c6a6f417a756175545565706b6d74696a44 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 7654416478417255587670565867474b43627876796b77445a574b5a6f555048 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 7654416478417255587670565867474b43627876796b77445a574b5a6f555048 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.101 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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.101/24
exec set ip neighbor avf-0/3b/a/0 200.0.0.102 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.102 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 617777616c4f436549794a4b6967497151764865766264465967706663746478 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 617777616c4f436549794a4b6967497151764865766264465967706663746478 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.102 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 726c6c4f54797942634e4756475a7a4d6f4f484c794d5359576665544f7a6d4c esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 726c6c4f54797942634e4756475a7a4d6f4f484c794d5359576665544f7a6d4c 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.102 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 726f495a4175754a4556636b73507275684b507066535375785a626f4a55765a esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 726f495a4175754a4556636b73507275684b507066535375785a626f4a55765a 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.102 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 7178664e4475516d7379444b446b69467546567955644a636e634d4b78535567 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 7178664e4475516d7379444b446b69467546567955644a636e634d4b78535567 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.102 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 7062735249725053474146786e74656d534b42504f4261655546727059634c66 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 7062735249725053474146786e74656d534b42504f4261655546727059634c66 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.102 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 6c434c5779414e76686f4f6a485943656253674a426c55627a444a626d624f52 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 6c434c5779414e76686f4f6a485943656253674a426c55627a444a626d624f52 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.102 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 4b66596275595148597457744b52464c7846554457707441436644776b4f6c58 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 4b66596275595148597457744b52464c7846554457707441436644776b4f6c58 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.102 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 51424d52766f6354734468425a6a57516e7678476a736c54456a71546364665a esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 51424d52766f6354734468425a6a57516e7678476a736c54456a71546364665a 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.102 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 5242724e47757565545551454f414c5a4b47715454766d7279776d627477796e esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 5242724e47757565545551454f414c5a4b47715454766d7279776d627477796e 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.102 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 7a6c644a4262735a497150664d4b58754e7655734e617370654873586d706c44 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 7a6c644a4262735a497150664d4b58754e7655734e617370654873586d706c44 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.102 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 564d73676a4456746d7742777a507a7844626b704148506544614b73464d6f6d esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 564d73676a4456746d7742777a507a7844626b704148506544614b73464d6f6d 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.102 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 7479446358787a7a4d6f6d5946496d46764a69736e564d45704c574f4159794a esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 7479446358787a7a4d6f6d5946496d46764a69736e564d45704c574f4159794a 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.102 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 4d7366754c51454d6c65634353686c61504f4d5a61566f725557556d4843536c esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 4d7366754c51454d6c65634353686c61504f4d5a61566f725557556d4843536c 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.102 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 577444684575706755634a4a7266416747796142476e4c4f716f496658415349 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 577444684575706755634a4a7266416747796142476e4c4f716f496658415349 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.102 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 73684f635563474473687677556f796548566345774743534575495a7a716b52 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 73684f635563474473687677556f796548566345774743534575495a7a716b52 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.102 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 4c6c55475a474b51636c5953496855574d754d796a494b637166786a47505268 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 4c6c55475a474b51636c5953496855574d754d796a494b637166786a47505268 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.102 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 48706872424b7945516c507473595a4e6b6e53667a684c7a777563596b554173 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 48706872424b7945516c507473595a4e6b6e53667a684c7a777563596b554173 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.102 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 6a6970416b587357444644546c7555706d735a644975786f58544c51637a7854 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 6a6970416b587357444644546c7555706d735a644975786f58544c51637a7854 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.102 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 786b4e54736c754a74666a697a52525a50635a714a777878714d6f584a44456b esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 786b4e54736c754a74666a697a52525a50635a714a777878714d6f584a44456b 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.102 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 6556427050417165625144726b46564f4c446d4a564d72616463727a6446544f esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 6556427050417165625144726b46564f4c446d4a564d72616463727a6446544f 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.102 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 7663514b746a59484d79636a5543675a47686e4e786d707370576d4241696654 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 7663514b746a59484d79636a5543675a47686e4e786d707370576d4241696654 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.102 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 70775541484c746a45754c56534f464176427673695a7057497866696e526f51 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 70775541484c746a45754c56534f464176427673695a7057497866696e526f51 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.102 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 69674f6f64525667666251464667754b67726351774e556973507a6563544f4b esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 69674f6f64525667666251464667754b67726351774e556973507a6563544f4b 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.102 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 4363657973756170714a6c6351646d4c7755516c726c4c41506f4579616c7a55 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 4363657973756170714a6c6351646d4c7755516c726c4c41506f4579616c7a55 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.102 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 4a44794e55584768716d5a6f487273774e4b784d5a5754414870484f744a4151 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 4a44794e55584768716d5a6f487273774e4b784d5a5754414870484f744a4151 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.102 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 576b6962494f4d72634245544a6d4d6269574265585263674d53666e454c4b47 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 576b6962494f4d72634245544a6d4d6269574265585263674d53666e454c4b47 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.102 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 656f4f6b6848664e444b445547586467656472534d5841576e427a6643547543 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 656f4f6b6848664e444b445547586467656472534d5841576e427a6643547543 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.102 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 665951704c4a6c5454594c524a4872714f635a6c7a7a4a4c4e4c4c414f454c44 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 665951704c4a6c5454594c524a4872714f635a6c7a7a4a4c4e4c4c414f454c44 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.102 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 6e474d79586e6d71506e7674467677586549537068506f6b575466715a547753 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 6e474d79586e6d71506e7674467677586549537068506f6b575466715a547753 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.102 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 494d65664f4a52744d63757557645264556e7250687a76706b6b47447568546d esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 494d65664f4a52744d63757557645264556e7250687a76706b6b47447568546d 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.102 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 796a5266484d7954764f6a547476714565665649646f4a48616441626e6e436b esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 796a5266484d7954764f6a547476714565665649646f4a48616441626e6e436b 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.102 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 63434155554a507371484368675256677357717972704c4c4565535643704644 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 63434155554a507371484368675256677357717972704c4c4565535643704644 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.102 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 5678434b44545874776a4d4e636c4c4779537171594e43635949695a45434173 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 5678434b44545874776a4d4e636c4c4779537171594e43635949695a45434173 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.102 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 4347736e4b4651794155694c5157564a6747634845684c754c6f74596a4e7663 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 4347736e4b4651794155694c5157564a6747634845684c754c6f74596a4e7663 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.102 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 4b714a6d5349714668796841646e6f70434754795a4375706f524e4554595852 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 4b714a6d5349714668796841646e6f70434754795a4375706f524e4554595852 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.102 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 476567636e6d634c6e496b50534e7a425941544244636a736d765a6c55434743 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 476567636e6d634c6e496b50534e7a425941544244636a736d765a6c55434743 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.102 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 476f494447664275496e45744c4c6776485279786b517171644d61524843634d esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 476f494447664275496e45744c4c6776485279786b517171644d61524843634d 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.102 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 6d747164677266796e4169496a787152436c504476526777596755724846485a esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 6d747164677266796e4169496a787152436c504476526777596755724846485a 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.102 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 4c704f56546a4c464e746667796947504a4577444b7a4f555a7a7a69716b674d esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 4c704f56546a4c464e746667796947504a4577444b7a4f555a7a7a69716b674d 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.102 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 4e736c567451415770644969704962584e79555771726e4b7365735056527147 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 4e736c567451415770644969704962584e79555771726e4b7365735056527147 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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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.102/24.0
exec create ipip tunnel src 200.0.0.102 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 617777616c4f436549794a4b6967497151764865766264465967706663746478 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 617777616c4f436549794a4b6967497151764865766264465967706663746478 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 726c6c4f54797942634e4756475a7a4d6f4f484c794d5359576665544f7a6d4c esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 726c6c4f54797942634e4756475a7a4d6f4f484c794d5359576665544f7a6d4c esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 726f495a4175754a4556636b73507275684b507066535375785a626f4a55765a esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 726f495a4175754a4556636b73507275684b507066535375785a626f4a55765a esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 7178664e4475516d7379444b446b69467546567955644a636e634d4b78535567 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 7178664e4475516d7379444b446b69467546567955644a636e634d4b78535567 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 7062735249725053474146786e74656d534b42504f4261655546727059634c66 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 7062735249725053474146786e74656d534b42504f4261655546727059634c66 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 6c434c5779414e76686f4f6a485943656253674a426c55627a444a626d624f52 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 6c434c5779414e76686f4f6a485943656253674a426c55627a444a626d624f52 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 4b66596275595148597457744b52464c7846554457707441436644776b4f6c58 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 4b66596275595148597457744b52464c7846554457707441436644776b4f6c58 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 51424d52766f6354734468425a6a57516e7678476a736c54456a71546364665a esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 51424d52766f6354734468425a6a57516e7678476a736c54456a71546364665a esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 5242724e47757565545551454f414c5a4b47715454766d7279776d627477796e esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 5242724e47757565545551454f414c5a4b47715454766d7279776d627477796e esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 7a6c644a4262735a497150664d4b58754e7655734e617370654873586d706c44 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 7a6c644a4262735a497150664d4b58754e7655734e617370654873586d706c44 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 564d73676a4456746d7742777a507a7844626b704148506544614b73464d6f6d esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 564d73676a4456746d7742777a507a7844626b704148506544614b73464d6f6d esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 7479446358787a7a4d6f6d5946496d46764a69736e564d45704c574f4159794a esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 7479446358787a7a4d6f6d5946496d46764a69736e564d45704c574f4159794a esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 4d7366754c51454d6c65634353686c61504f4d5a61566f725557556d4843536c esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 4d7366754c51454d6c65634353686c61504f4d5a61566f725557556d4843536c esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 577444684575706755634a4a7266416747796142476e4c4f716f496658415349 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 577444684575706755634a4a7266416747796142476e4c4f716f496658415349 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 73684f635563474473687677556f796548566345774743534575495a7a716b52 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 73684f635563474473687677556f796548566345774743534575495a7a716b52 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 4c6c55475a474b51636c5953496855574d754d796a494b637166786a47505268 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 4c6c55475a474b51636c5953496855574d754d796a494b637166786a47505268 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 48706872424b7945516c507473595a4e6b6e53667a684c7a777563596b554173 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 48706872424b7945516c507473595a4e6b6e53667a684c7a777563596b554173 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 6a6970416b587357444644546c7555706d735a644975786f58544c51637a7854 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 6a6970416b587357444644546c7555706d735a644975786f58544c51637a7854 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 786b4e54736c754a74666a697a52525a50635a714a777878714d6f584a44456b esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 786b4e54736c754a74666a697a52525a50635a714a777878714d6f584a44456b esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 6556427050417165625144726b46564f4c446d4a564d72616463727a6446544f esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 6556427050417165625144726b46564f4c446d4a564d72616463727a6446544f esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 7663514b746a59484d79636a5543675a47686e4e786d707370576d4241696654 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 7663514b746a59484d79636a5543675a47686e4e786d707370576d4241696654 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 70775541484c746a45754c56534f464176427673695a7057497866696e526f51 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 70775541484c746a45754c56534f464176427673695a7057497866696e526f51 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 69674f6f64525667666251464667754b67726351774e556973507a6563544f4b esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 69674f6f64525667666251464667754b67726351774e556973507a6563544f4b esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 4363657973756170714a6c6351646d4c7755516c726c4c41506f4579616c7a55 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 4363657973756170714a6c6351646d4c7755516c726c4c41506f4579616c7a55 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 4a44794e55584768716d5a6f487273774e4b784d5a5754414870484f744a4151 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 4a44794e55584768716d5a6f487273774e4b784d5a5754414870484f744a4151 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 576b6962494f4d72634245544a6d4d6269574265585263674d53666e454c4b47 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 576b6962494f4d72634245544a6d4d6269574265585263674d53666e454c4b47 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 656f4f6b6848664e444b445547586467656472534d5841576e427a6643547543 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 656f4f6b6848664e444b445547586467656472534d5841576e427a6643547543 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 665951704c4a6c5454594c524a4872714f635a6c7a7a4a4c4e4c4c414f454c44 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 665951704c4a6c5454594c524a4872714f635a6c7a7a4a4c4e4c4c414f454c44 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 6e474d79586e6d71506e7674467677586549537068506f6b575466715a547753 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 6e474d79586e6d71506e7674467677586549537068506f6b575466715a547753 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 494d65664f4a52744d63757557645264556e7250687a76706b6b47447568546d esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 494d65664f4a52744d63757557645264556e7250687a76706b6b47447568546d esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 796a5266484d7954764f6a547476714565665649646f4a48616441626e6e436b esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 796a5266484d7954764f6a547476714565665649646f4a48616441626e6e436b esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 63434155554a507371484368675256677357717972704c4c4565535643704644 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 63434155554a507371484368675256677357717972704c4c4565535643704644 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 5678434b44545874776a4d4e636c4c4779537171594e43635949695a45434173 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 5678434b44545874776a4d4e636c4c4779537171594e43635949695a45434173 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 4347736e4b4651794155694c5157564a6747634845684c754c6f74596a4e7663 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 4347736e4b4651794155694c5157564a6747634845684c754c6f74596a4e7663 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 4b714a6d5349714668796841646e6f70434754795a4375706f524e4554595852 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 4b714a6d5349714668796841646e6f70434754795a4375706f524e4554595852 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 476567636e6d634c6e496b50534e7a425941544244636a736d765a6c55434743 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 476567636e6d634c6e496b50534e7a425941544244636a736d765a6c55434743 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 476f494447664275496e45744c4c6776485279786b517171644d61524843634d esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 476f494447664275496e45744c4c6776485279786b517171644d61524843634d esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 6d747164677266796e4169496a787152436c504476526777596755724846485a esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 6d747164677266796e4169496a787152436c504476526777596755724846485a esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 4c704f56546a4c464e746667796947504a4577444b7a4f555a7a7a69716b674d esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 4c704f56546a4c464e746667796947504a4577444b7a4f555a7a7a69716b674d esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 4e736c567451415770644969704962584e79555771726e4b7365735056527147 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 4e736c567451415770644969704962584e79555771726e4b7365735056527147 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.101 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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.101/24
exec set ip neighbor avf-0/3b/a/0 200.0.0.102 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.102 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 6c6c6f4849584f48445155414e49517a486e6770536e517a7449796b64524247 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 6c6c6f4849584f48445155414e49517a486e6770536e517a7449796b64524247 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.102 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 4d694154744476746551664752455a73725a526c4350455673594a6e466a724a esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 4d694154744476746551664752455a73725a526c4350455673594a6e466a724a 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.102 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 6a676c666d69497546566a754d41614948707955444d44757047547a4d487043 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 6a676c666d69497546566a754d41614948707955444d44757047547a4d487043 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.102 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 775a69657176685670746d52665262667a71586e435a5342786f785076424d54 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 775a69657176685670746d52665262667a71586e435a5342786f785076424d54 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.102 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 4d6d49545a646f5175446d734a5a5a4a4e696d46414c79655a48457752677252 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 4d6d49545a646f5175446d734a5a5a4a4e696d46414c79655a48457752677252 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.102 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 704669776b6b6b6a595673446c4459765a5854486f73756e47736b50786b7169 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 704669776b6b6b6a595673446c4459765a5854486f73756e47736b50786b7169 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.102 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 5673714364566a6649715a6c7956726b764b68445a4559657346537468705949 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 5673714364566a6649715a6c7956726b764b68445a4559657346537468705949 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.102 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 74424950774555474b776a42415a7363777868746e79466a5141724667775065 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 74424950774555474b776a42415a7363777868746e79466a5141724667775065 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.102 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 584645427a7963764857695a556d4347556c706b6743726a72636c6e74734850 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 584645427a7963764857695a556d4347556c706b6743726a72636c6e74734850 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.102 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 4362664c754777566644735563745242624a6175414570744b6863767478417a esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 4362664c754777566644735563745242624a6175414570744b6863767478417a 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.102 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 716c4467714a6a6774457358656b786474706e524362484d5a444456716c4a54 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 716c4467714a6a6774457358656b786474706e524362484d5a444456716c4a54 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.102 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 4f74444459566d4e494c484d5a4c6c534f796b4b484574545048705574625261 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 4f74444459566d4e494c484d5a4c6c534f796b4b484574545048705574625261 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.102 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 515971444f51774a4775655142484b786e614770504f6d534965615a45497961 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 515971444f51774a4775655142484b786e614770504f6d534965615a45497961 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.102 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 6b4c756d535563646d6f47787944484364566144474d4a5361706563454e4348 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 6b4c756d535563646d6f47787944484364566144474d4a5361706563454e4348 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.102 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 446e735356576d615578424568436b6477414a684878524f5455596a524b6c48 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 446e735356576d615578424568436b6477414a684878524f5455596a524b6c48 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.102 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 59454e55474e677a764f6d554777675a78695647676f66476c714c76524e636a esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 59454e55474e677a764f6d554777675a78695647676f66476c714c76524e636a 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.102 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 625a4767536550435756454b48474e747a5a494765574246506f515171484b4a esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 625a4767536550435756454b48474e747a5a494765574246506f515171484b4a 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.102 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 526a5242467079505369696b6a6941664f445a43465949554d5a7870724f476c esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 526a5242467079505369696b6a6941664f445a43465949554d5a7870724f476c 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.102 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 69596f626d774d456143714748587162795752556e6742627a436b5049575072 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 69596f626d774d456143714748587162795752556e6742627a436b5049575072 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.102 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 5174534f4a7a7445754a526b41584a4c57596b6f46454f6c43414c6555656c6b esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 5174534f4a7a7445754a526b41584a4c57596b6f46454f6c43414c6555656c6b 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.102 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 7170706f567648544f524d6d52655a515870574363707462786b63417659756b esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 7170706f567648544f524d6d52655a515870574363707462786b63417659756b 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.102 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 5157686b674e646d4664676a4847596d67634f6a694d57456a71555253646d43 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 5157686b674e646d4664676a4847596d67634f6a694d57456a71555253646d43 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.102 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 70476f6e4d5570796a465259544164456e6d7a6742556d7264686c63644e6457 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 70476f6e4d5570796a465259544164456e6d7a6742556d7264686c63644e6457 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.102 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 576e6342494541534c4556614c6f6a684d636e4667436764544647676c43746e esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 576e6342494541534c4556614c6f6a684d636e4667436764544647676c43746e 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.102 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 7159636b457671754878627878717367596b6652736c4b494e45555359427366 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 7159636b457671754878627878717367596b6652736c4b494e45555359427366 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.102 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 527568664a7172556d49654b6c53417865457277587065414a4c565551795450 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 527568664a7172556d49654b6c53417865457277587065414a4c565551795450 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.102 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 4b455563684e436a45597159735249584777437a7348724b4157776d7a48694d esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 4b455563684e436a45597159735249584777437a7348724b4157776d7a48694d 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.102 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 5168567a554b4f72546b5058744f4a5762587941496f43416e666e5168577562 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 5168567a554b4f72546b5058744f4a5762587941496f43416e666e5168577562 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.102 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 4a535a48496568694e71424b48676a6d794f4e4f594d467564464d4552517a67 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 4a535a48496568694e71424b48676a6d794f4e4f594d467564464d4552517a67 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.102 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 4a68587770467977497474617a427753464b6e4b735278476168536a6e746152 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 4a68587770467977497474617a427753464b6e4b735278476168536a6e746152 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.102 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 555a737758694e55496578444744505442777a6c725177444a7a4f6676514652 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 555a737758694e55496578444744505442777a6c725177444a7a4f6676514652 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.102 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 6c694657496475637364704966446551754e416c6b566a62746368445079714a esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 6c694657496475637364704966446551754e416c6b566a62746368445079714a 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.102 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 706778586d6854546d71576f586b4579626c735353514f6b4578534f61526c56 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 706778586d6854546d71576f586b4579626c735353514f6b4578534f61526c56 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.102 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 73797753744b4c73774b48597a586f6c65576e50727843486458495147757454 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 73797753744b4c73774b48597a586f6c65576e50727843486458495147757454 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.102 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 64645a624f70496e6465416c576d474d49686a754e5054767245577179424f43 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 64645a624f70496e6465416c576d474d49686a754e5054767245577179424f43 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.102 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 504e52497a794356794d6d5446535259525767796a707649564174544c784a4a esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 504e52497a794356794d6d5446535259525767796a707649564174544c784a4a 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.102 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 774458694d4d51586e6d466f6353474e4a496a6579634e47476f4d665670626f esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 774458694d4d51586e6d466f6353474e4a496a6579634e47476f4d665670626f 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.102 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 6267496152764c6c526e7853524d6f4e6f766b695a656650684a5172424f4b78 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 6267496152764c6c526e7853524d6f4e6f766b695a656650684a5172424f4b78 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.102 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 424e6e78797268666f6c46546e78657543655962425a54567073467373696273 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 424e6e78797268666f6c46546e78657543655962425a54567073467373696273 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.102 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 45594149515154706e635a464374484a466d4d474e56767157476c584f4b5241 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 45594149515154706e635a464374484a466d4d474e56767157476c584f4b5241 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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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.102/24.0
exec create ipip tunnel src 200.0.0.102 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 6c6c6f4849584f48445155414e49517a486e6770536e517a7449796b64524247 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 6c6c6f4849584f48445155414e49517a486e6770536e517a7449796b64524247 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 4d694154744476746551664752455a73725a526c4350455673594a6e466a724a esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 4d694154744476746551664752455a73725a526c4350455673594a6e466a724a esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 6a676c666d69497546566a754d41614948707955444d44757047547a4d487043 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 6a676c666d69497546566a754d41614948707955444d44757047547a4d487043 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 775a69657176685670746d52665262667a71586e435a5342786f785076424d54 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 775a69657176685670746d52665262667a71586e435a5342786f785076424d54 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 4d6d49545a646f5175446d734a5a5a4a4e696d46414c79655a48457752677252 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 4d6d49545a646f5175446d734a5a5a4a4e696d46414c79655a48457752677252 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 704669776b6b6b6a595673446c4459765a5854486f73756e47736b50786b7169 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 704669776b6b6b6a595673446c4459765a5854486f73756e47736b50786b7169 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 5673714364566a6649715a6c7956726b764b68445a4559657346537468705949 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 5673714364566a6649715a6c7956726b764b68445a4559657346537468705949 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 74424950774555474b776a42415a7363777868746e79466a5141724667775065 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 74424950774555474b776a42415a7363777868746e79466a5141724667775065 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 584645427a7963764857695a556d4347556c706b6743726a72636c6e74734850 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 584645427a7963764857695a556d4347556c706b6743726a72636c6e74734850 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 4362664c754777566644735563745242624a6175414570744b6863767478417a esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 4362664c754777566644735563745242624a6175414570744b6863767478417a esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 716c4467714a6a6774457358656b786474706e524362484d5a444456716c4a54 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 716c4467714a6a6774457358656b786474706e524362484d5a444456716c4a54 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 4f74444459566d4e494c484d5a4c6c534f796b4b484574545048705574625261 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 4f74444459566d4e494c484d5a4c6c534f796b4b484574545048705574625261 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 515971444f51774a4775655142484b786e614770504f6d534965615a45497961 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 515971444f51774a4775655142484b786e614770504f6d534965615a45497961 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 6b4c756d535563646d6f47787944484364566144474d4a5361706563454e4348 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 6b4c756d535563646d6f47787944484364566144474d4a5361706563454e4348 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 446e735356576d615578424568436b6477414a684878524f5455596a524b6c48 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 446e735356576d615578424568436b6477414a684878524f5455596a524b6c48 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 59454e55474e677a764f6d554777675a78695647676f66476c714c76524e636a esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 59454e55474e677a764f6d554777675a78695647676f66476c714c76524e636a esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 625a4767536550435756454b48474e747a5a494765574246506f515171484b4a esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 625a4767536550435756454b48474e747a5a494765574246506f515171484b4a esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 526a5242467079505369696b6a6941664f445a43465949554d5a7870724f476c esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 526a5242467079505369696b6a6941664f445a43465949554d5a7870724f476c esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 69596f626d774d456143714748587162795752556e6742627a436b5049575072 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 69596f626d774d456143714748587162795752556e6742627a436b5049575072 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 5174534f4a7a7445754a526b41584a4c57596b6f46454f6c43414c6555656c6b esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 5174534f4a7a7445754a526b41584a4c57596b6f46454f6c43414c6555656c6b esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 7170706f567648544f524d6d52655a515870574363707462786b63417659756b esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 7170706f567648544f524d6d52655a515870574363707462786b63417659756b esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 5157686b674e646d4664676a4847596d67634f6a694d57456a71555253646d43 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 5157686b674e646d4664676a4847596d67634f6a694d57456a71555253646d43 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 70476f6e4d5570796a465259544164456e6d7a6742556d7264686c63644e6457 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 70476f6e4d5570796a465259544164456e6d7a6742556d7264686c63644e6457 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 576e6342494541534c4556614c6f6a684d636e4667436764544647676c43746e esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 576e6342494541534c4556614c6f6a684d636e4667436764544647676c43746e esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 7159636b457671754878627878717367596b6652736c4b494e45555359427366 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 7159636b457671754878627878717367596b6652736c4b494e45555359427366 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 527568664a7172556d49654b6c53417865457277587065414a4c565551795450 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 527568664a7172556d49654b6c53417865457277587065414a4c565551795450 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 4b455563684e436a45597159735249584777437a7348724b4157776d7a48694d esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 4b455563684e436a45597159735249584777437a7348724b4157776d7a48694d esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 5168567a554b4f72546b5058744f4a5762587941496f43416e666e5168577562 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 5168567a554b4f72546b5058744f4a5762587941496f43416e666e5168577562 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 4a535a48496568694e71424b48676a6d794f4e4f594d467564464d4552517a67 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 4a535a48496568694e71424b48676a6d794f4e4f594d467564464d4552517a67 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 4a68587770467977497474617a427753464b6e4b735278476168536a6e746152 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 4a68587770467977497474617a427753464b6e4b735278476168536a6e746152 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 555a737758694e55496578444744505442777a6c725177444a7a4f6676514652 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 555a737758694e55496578444744505442777a6c725177444a7a4f6676514652 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 6c694657496475637364704966446551754e416c6b566a62746368445079714a esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 6c694657496475637364704966446551754e416c6b566a62746368445079714a esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 706778586d6854546d71576f586b4579626c735353514f6b4578534f61526c56 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 706778586d6854546d71576f586b4579626c735353514f6b4578534f61526c56 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 73797753744b4c73774b48597a586f6c65576e50727843486458495147757454 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 73797753744b4c73774b48597a586f6c65576e50727843486458495147757454 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 64645a624f70496e6465416c576d474d49686a754e5054767245577179424f43 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 64645a624f70496e6465416c576d474d49686a754e5054767245577179424f43 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 504e52497a794356794d6d5446535259525767796a707649564174544c784a4a esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 504e52497a794356794d6d5446535259525767796a707649564174544c784a4a esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 774458694d4d51586e6d466f6353474e4a496a6579634e47476f4d665670626f esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 774458694d4d51586e6d466f6353474e4a496a6579634e47476f4d665670626f esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 6267496152764c6c526e7853524d6f4e6f766b695a656650684a5172424f4b78 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 6267496152764c6c526e7853524d6f4e6f766b695a656650684a5172424f4b78 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 424e6e78797268666f6c46546e78657543655962425a54567073467373696273 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 424e6e78797268666f6c46546e78657543655962425a54567073467373696273 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 45594149515154706e635a464374484a466d4d474e56767157476c584f4b5241 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 45594149515154706e635a464374484a466d4d474e56767157476c584f4b5241 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.101 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) 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’IuuBgVWjGHXthSvK’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’GxHDzxokusrGbXTdJFTovOhOGXdZcJCMizKyDsZifMakiGUzCJjODMYJBvUXGcBY’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’IuuBgVWjGHXthSvK’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’GxHDzxokusrGbXTdJFTovOhOGXdZcJCMizKyDsZifMakiGUzCJjODMYJBvUXGcBY’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’nmOmXwKdVTVXfFkQ’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’BbdIExTqpTBaWgwnALBgCpKUrHIYQffAYHIhNeTVDPOvnhcizNcXoXfIOGOzUYRZ’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’nmOmXwKdVTVXfFkQ’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’BbdIExTqpTBaWgwnALBgCpKUrHIYQffAYHIhNeTVDPOvnhcizNcXoXfIOGOzUYRZ’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’wHmgTWZWWPaZpkPu’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’dFGpVDuVADnWDZeYybtesmPNqsDfymArUOOjoSySqKtRBIfoHikVDjNnkyTqNNdE’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’wHmgTWZWWPaZpkPu’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’dFGpVDuVADnWDZeYybtesmPNqsDfymArUOOjoSySqKtRBIfoHikVDjNnkyTqNNdE’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ydhRvlDjBWjRgYNx’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’rpmZEFLhDVUAmAzxrctVLoZAYzJmhEDGsIywvWOcbFpODdfJvfrOkCmSDBSLEtMw’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ydhRvlDjBWjRgYNx’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’rpmZEFLhDVUAmAzxrctVLoZAYzJmhEDGsIywvWOcbFpODdfJvfrOkCmSDBSLEtMw’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’IuuBgVWjGHXthSvK’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’GxHDzxokusrGbXTdJFTovOhOGXdZcJCMizKyDsZifMakiGUzCJjODMYJBvUXGcBY’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’IuuBgVWjGHXthSvK’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’GxHDzxokusrGbXTdJFTovOhOGXdZcJCMizKyDsZifMakiGUzCJjODMYJBvUXGcBY’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’nmOmXwKdVTVXfFkQ’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’BbdIExTqpTBaWgwnALBgCpKUrHIYQffAYHIhNeTVDPOvnhcizNcXoXfIOGOzUYRZ’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’nmOmXwKdVTVXfFkQ’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’BbdIExTqpTBaWgwnALBgCpKUrHIYQffAYHIhNeTVDPOvnhcizNcXoXfIOGOzUYRZ’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’wHmgTWZWWPaZpkPu’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’dFGpVDuVADnWDZeYybtesmPNqsDfymArUOOjoSySqKtRBIfoHikVDjNnkyTqNNdE’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’wHmgTWZWWPaZpkPu’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’dFGpVDuVADnWDZeYybtesmPNqsDfymArUOOjoSySqKtRBIfoHikVDjNnkyTqNNdE’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ydhRvlDjBWjRgYNx’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’rpmZEFLhDVUAmAzxrctVLoZAYzJmhEDGsIywvWOcbFpODdfJvfrOkCmSDBSLEtMw’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ydhRvlDjBWjRgYNx’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’rpmZEFLhDVUAmAzxrctVLoZAYzJmhEDGsIywvWOcbFpODdfJvfrOkCmSDBSLEtMw’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’rTkOsnrFpHsZClXS’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’zdkciNMIXijQjBsabLeDbouwJCMFXPicBstkSEYZdlESnKOxaiANDmChOrkOCinO’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rTkOsnrFpHsZClXS’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’zdkciNMIXijQjBsabLeDbouwJCMFXPicBstkSEYZdlESnKOxaiANDmChOrkOCinO’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’NIKfMrgaSSfFzMZg’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’eWPDOVfEMsoybtvpcSIytFQpxVpAYWvzmRbjHXEDoqnBZAIXlmfHMBoPotmaiUlZ’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’NIKfMrgaSSfFzMZg’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’eWPDOVfEMsoybtvpcSIytFQpxVpAYWvzmRbjHXEDoqnBZAIXlmfHMBoPotmaiUlZ’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’tSjZNcJUTtSmGINW’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’emQmocMZEoLwiIhiyfxiVzQbcnscPTzXFHkswVNjjlseCOHNwBXBQPgLMcfZUjUr’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’tSjZNcJUTtSmGINW’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’emQmocMZEoLwiIhiyfxiVzQbcnscPTzXFHkswVNjjlseCOHNwBXBQPgLMcfZUjUr’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’VIcsiKhHaEFCoQuS’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’zjVKwVabuMFWREmFxicFfQZOFcisGwevvhXyCrDNuGThCbbmAQBOhjJwhKGHJniv’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’VIcsiKhHaEFCoQuS’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’zjVKwVabuMFWREmFxicFfQZOFcisGwevvhXyCrDNuGThCbbmAQBOhjJwhKGHJniv’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’rTkOsnrFpHsZClXS’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’zdkciNMIXijQjBsabLeDbouwJCMFXPicBstkSEYZdlESnKOxaiANDmChOrkOCinO’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rTkOsnrFpHsZClXS’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’zdkciNMIXijQjBsabLeDbouwJCMFXPicBstkSEYZdlESnKOxaiANDmChOrkOCinO’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’NIKfMrgaSSfFzMZg’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’eWPDOVfEMsoybtvpcSIytFQpxVpAYWvzmRbjHXEDoqnBZAIXlmfHMBoPotmaiUlZ’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’NIKfMrgaSSfFzMZg’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’eWPDOVfEMsoybtvpcSIytFQpxVpAYWvzmRbjHXEDoqnBZAIXlmfHMBoPotmaiUlZ’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’tSjZNcJUTtSmGINW’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’emQmocMZEoLwiIhiyfxiVzQbcnscPTzXFHkswVNjjlseCOHNwBXBQPgLMcfZUjUr’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’tSjZNcJUTtSmGINW’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’emQmocMZEoLwiIhiyfxiVzQbcnscPTzXFHkswVNjjlseCOHNwBXBQPgLMcfZUjUr’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’VIcsiKhHaEFCoQuS’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’zjVKwVabuMFWREmFxicFfQZOFcisGwevvhXyCrDNuGThCbbmAQBOhjJwhKGHJniv’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’VIcsiKhHaEFCoQuS’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’zjVKwVabuMFWREmFxicFfQZOFcisGwevvhXyCrDNuGThCbbmAQBOhjJwhKGHJniv’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’CWunQpyBMwmVHvuV’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’BvzNPSpXSPQgCuAZdWlvlDgYkrTPeIQdpVassYTisFNgfuhNDlCtEwFMzHdqnqRH’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’CWunQpyBMwmVHvuV’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’BvzNPSpXSPQgCuAZdWlvlDgYkrTPeIQdpVassYTisFNgfuhNDlCtEwFMzHdqnqRH’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’jOMKKCQeZGVpEESY’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’gXRxVvtPcjEYrPWtZSiVaYkIBbIyIpFRdvWjebiymgkhkkZgvePhlgMOWYyuKpsT’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’jOMKKCQeZGVpEESY’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’gXRxVvtPcjEYrPWtZSiVaYkIBbIyIpFRdvWjebiymgkhkkZgvePhlgMOWYyuKpsT’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’GRknRKGMNkLtlckp’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’fhgnSEAnhrmzvNSPmvVOIyUGqwiQhufDsleEvZUUgNEBBJoizcRikkjOkPnggQkS’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’GRknRKGMNkLtlckp’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’fhgnSEAnhrmzvNSPmvVOIyUGqwiQhufDsleEvZUUgNEBBJoizcRikkjOkPnggQkS’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rUiKONkPABgnDzAc’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’CAANqjLWqJecUqfHpsOwkfnGPDsdSAgWPQIGhStepQqhnJShasQPulIpYCnsmGSh’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rUiKONkPABgnDzAc’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’CAANqjLWqJecUqfHpsOwkfnGPDsdSAgWPQIGhStepQqhnJShasQPulIpYCnsmGSh’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’CWunQpyBMwmVHvuV’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’BvzNPSpXSPQgCuAZdWlvlDgYkrTPeIQdpVassYTisFNgfuhNDlCtEwFMzHdqnqRH’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’CWunQpyBMwmVHvuV’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’BvzNPSpXSPQgCuAZdWlvlDgYkrTPeIQdpVassYTisFNgfuhNDlCtEwFMzHdqnqRH’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’jOMKKCQeZGVpEESY’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’gXRxVvtPcjEYrPWtZSiVaYkIBbIyIpFRdvWjebiymgkhkkZgvePhlgMOWYyuKpsT’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’jOMKKCQeZGVpEESY’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’gXRxVvtPcjEYrPWtZSiVaYkIBbIyIpFRdvWjebiymgkhkkZgvePhlgMOWYyuKpsT’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’GRknRKGMNkLtlckp’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’fhgnSEAnhrmzvNSPmvVOIyUGqwiQhufDsleEvZUUgNEBBJoizcRikkjOkPnggQkS’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’GRknRKGMNkLtlckp’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’fhgnSEAnhrmzvNSPmvVOIyUGqwiQhufDsleEvZUUgNEBBJoizcRikkjOkPnggQkS’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rUiKONkPABgnDzAc’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’CAANqjLWqJecUqfHpsOwkfnGPDsdSAgWPQIGhStepQqhnJShasQPulIpYCnsmGSh’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rUiKONkPABgnDzAc’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’CAANqjLWqJecUqfHpsOwkfnGPDsdSAgWPQIGhStepQqhnJShasQPulIpYCnsmGSh’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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) 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’LaJCLrNjhDsdjYub’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’LaJCLrNjhDsdjYub’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’lMgjuSXgLLDJCGdg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’lMgjuSXgLLDJCGdg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fLeMvmwMDSdfkVtE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fLeMvmwMDSdfkVtE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’oVSNuQQmxGOZjVGW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’oVSNuQQmxGOZjVGW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’LaJCLrNjhDsdjYub’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’LaJCLrNjhDsdjYub’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’lMgjuSXgLLDJCGdg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’lMgjuSXgLLDJCGdg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fLeMvmwMDSdfkVtE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fLeMvmwMDSdfkVtE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’oVSNuQQmxGOZjVGW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’oVSNuQQmxGOZjVGW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’BAIxUVhkBdlPNqLC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’BAIxUVhkBdlPNqLC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’wsqHFzXUPLUQCtrY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’wsqHFzXUPLUQCtrY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’aNjPpGaaICDWvXPF’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’aNjPpGaaICDWvXPF’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’IYLFlCypmDQbXtIf’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’IYLFlCypmDQbXtIf’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’BAIxUVhkBdlPNqLC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’BAIxUVhkBdlPNqLC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’wsqHFzXUPLUQCtrY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’wsqHFzXUPLUQCtrY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’aNjPpGaaICDWvXPF’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’aNjPpGaaICDWvXPF’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’IYLFlCypmDQbXtIf’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’IYLFlCypmDQbXtIf’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’tVtLIGhlkZbFlXaM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’tVtLIGhlkZbFlXaM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KWaXxqFJhKRIYPQJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KWaXxqFJhKRIYPQJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’MvzNtpOCQHdCrpiQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’MvzNtpOCQHdCrpiQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XcxoptfXLZGymRVl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XcxoptfXLZGymRVl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’tVtLIGhlkZbFlXaM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’tVtLIGhlkZbFlXaM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KWaXxqFJhKRIYPQJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KWaXxqFJhKRIYPQJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’MvzNtpOCQHdCrpiQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’MvzNtpOCQHdCrpiQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XcxoptfXLZGymRVl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XcxoptfXLZGymRVl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’aFkXNYdNWZaFfpfe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’aFkXNYdNWZaFfpfe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’xhGYSqoNVuOPwrsa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’xhGYSqoNVuOPwrsa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’qLQRZLGvMmuwdppw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’qLQRZLGvMmuwdppw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’vGlvuljQPmsUOAHI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’vGlvuljQPmsUOAHI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’aFkXNYdNWZaFfpfe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’aFkXNYdNWZaFfpfe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’xhGYSqoNVuOPwrsa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’xhGYSqoNVuOPwrsa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’qLQRZLGvMmuwdppw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’qLQRZLGvMmuwdppw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’vGlvuljQPmsUOAHI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’vGlvuljQPmsUOAHI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’wZDRTfeqtFdPNBAI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’wZDRTfeqtFdPNBAI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’pJUZVCLBlKWoiilJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’pJUZVCLBlKWoiilJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’dasHQtegdJoQHtyY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’dasHQtegdJoQHtyY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’LHrsuyvxDLzWyYWQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’LHrsuyvxDLzWyYWQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’wZDRTfeqtFdPNBAI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’wZDRTfeqtFdPNBAI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’pJUZVCLBlKWoiilJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’pJUZVCLBlKWoiilJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’dasHQtegdJoQHtyY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’dasHQtegdJoQHtyY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’LHrsuyvxDLzWyYWQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’LHrsuyvxDLzWyYWQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’WqkWQhOgklAUBgDC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’WqkWQhOgklAUBgDC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’bVnWrjltkkdBvmOr’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’bVnWrjltkkdBvmOr’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’lkRWMOMgaspfGlbN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’lkRWMOMgaspfGlbN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’CnTKSDylzfnfVwHR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’CnTKSDylzfnfVwHR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’WqkWQhOgklAUBgDC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’WqkWQhOgklAUBgDC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’bVnWrjltkkdBvmOr’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’bVnWrjltkkdBvmOr’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’lkRWMOMgaspfGlbN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’lkRWMOMgaspfGlbN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’CnTKSDylzfnfVwHR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’CnTKSDylzfnfVwHR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’LDFWypIAtJmEcVlO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’LDFWypIAtJmEcVlO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’CdLFxDtuTdABaSDG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’CdLFxDtuTdABaSDG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’PMBQqoowEdKDPVEp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’PMBQqoowEdKDPVEp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’pvyaLvVvdWoJGTpy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’pvyaLvVvdWoJGTpy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’LDFWypIAtJmEcVlO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’LDFWypIAtJmEcVlO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’CdLFxDtuTdABaSDG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’CdLFxDtuTdABaSDG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’PMBQqoowEdKDPVEp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’PMBQqoowEdKDPVEp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’pvyaLvVvdWoJGTpy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’pvyaLvVvdWoJGTpy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’WTizrDvZMuYiVzKm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’WTizrDvZMuYiVzKm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fFUKUXRObTfBcpDR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fFUKUXRObTfBcpDR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’SYjdllCrrosNLKkW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’SYjdllCrrosNLKkW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’jWYsAARaoEuOHqhf’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’jWYsAARaoEuOHqhf’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’WTizrDvZMuYiVzKm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’WTizrDvZMuYiVzKm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fFUKUXRObTfBcpDR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fFUKUXRObTfBcpDR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’SYjdllCrrosNLKkW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’SYjdllCrrosNLKkW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’jWYsAARaoEuOHqhf’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’jWYsAARaoEuOHqhf’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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) 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’eIAXzGeAqShbLyKDnpWWQoDHtcEcDqdP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’eIAXzGeAqShbLyKDnpWWQoDHtcEcDqdP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’lTTgoTOvaeJEdFGWrxtCpjCtDAjHLiSV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’lTTgoTOvaeJEdFGWrxtCpjCtDAjHLiSV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’gZrshuAnViUtbqKkHMcSgelOFqnavosu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’gZrshuAnViUtbqKkHMcSgelOFqnavosu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’EIXNXQwmParESYdeyGZJDLsgcFUNPxRD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’EIXNXQwmParESYdeyGZJDLsgcFUNPxRD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’eIAXzGeAqShbLyKDnpWWQoDHtcEcDqdP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’eIAXzGeAqShbLyKDnpWWQoDHtcEcDqdP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’lTTgoTOvaeJEdFGWrxtCpjCtDAjHLiSV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’lTTgoTOvaeJEdFGWrxtCpjCtDAjHLiSV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’gZrshuAnViUtbqKkHMcSgelOFqnavosu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’gZrshuAnViUtbqKkHMcSgelOFqnavosu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’EIXNXQwmParESYdeyGZJDLsgcFUNPxRD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’EIXNXQwmParESYdeyGZJDLsgcFUNPxRD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’QYdmtyoIWMQiQkOpDAFgHADOmyrohXOJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’QYdmtyoIWMQiQkOpDAFgHADOmyrohXOJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’byfDOAResrVsHfXEhJawRNXDNcSFCtZz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’byfDOAResrVsHfXEhJawRNXDNcSFCtZz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’hxtRwxyGfMcZXBRCOBIJNRJeMQwzRONB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’hxtRwxyGfMcZXBRCOBIJNRJeMQwzRONB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’bfYYPNdFftaCbOuCHrSWohvehnLZBBig’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’bfYYPNdFftaCbOuCHrSWohvehnLZBBig’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’QYdmtyoIWMQiQkOpDAFgHADOmyrohXOJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’QYdmtyoIWMQiQkOpDAFgHADOmyrohXOJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’byfDOAResrVsHfXEhJawRNXDNcSFCtZz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’byfDOAResrVsHfXEhJawRNXDNcSFCtZz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’hxtRwxyGfMcZXBRCOBIJNRJeMQwzRONB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’hxtRwxyGfMcZXBRCOBIJNRJeMQwzRONB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’bfYYPNdFftaCbOuCHrSWohvehnLZBBig’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’bfYYPNdFftaCbOuCHrSWohvehnLZBBig’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’pAGyhMBAaYlVHFQAHEfwFRzLKsZAdxNG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’pAGyhMBAaYlVHFQAHEfwFRzLKsZAdxNG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fdtEmhkRoQjnmOHQsClQccDbCVGbxCHb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fdtEmhkRoQjnmOHQsClQccDbCVGbxCHb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’WELFIwluzKJkBrYLAiWZBWLUMpymHDcy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’WELFIwluzKJkBrYLAiWZBWLUMpymHDcy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’HRXAQwehrvpWnfKjTxdaEHPyzFwXsVvX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’HRXAQwehrvpWnfKjTxdaEHPyzFwXsVvX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’pAGyhMBAaYlVHFQAHEfwFRzLKsZAdxNG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’pAGyhMBAaYlVHFQAHEfwFRzLKsZAdxNG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fdtEmhkRoQjnmOHQsClQccDbCVGbxCHb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fdtEmhkRoQjnmOHQsClQccDbCVGbxCHb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’WELFIwluzKJkBrYLAiWZBWLUMpymHDcy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’WELFIwluzKJkBrYLAiWZBWLUMpymHDcy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’HRXAQwehrvpWnfKjTxdaEHPyzFwXsVvX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’HRXAQwehrvpWnfKjTxdaEHPyzFwXsVvX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’KoIqakrdlxbRzTnIBGFoArGPipAqOPAA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KoIqakrdlxbRzTnIBGFoArGPipAqOPAA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’noDyyLYALchrWIvqluoezLsszvQzogJy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’noDyyLYALchrWIvqluoezLsszvQzogJy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’IJKtCZcfuxmThSNbXhuadcpvmvtOrIZb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’IJKtCZcfuxmThSNbXhuadcpvmvtOrIZb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’OrgZzefJusgbiGJoQzrJNHLKOCiCyVGw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’OrgZzefJusgbiGJoQzrJNHLKOCiCyVGw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’KoIqakrdlxbRzTnIBGFoArGPipAqOPAA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KoIqakrdlxbRzTnIBGFoArGPipAqOPAA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’noDyyLYALchrWIvqluoezLsszvQzogJy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’noDyyLYALchrWIvqluoezLsszvQzogJy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’IJKtCZcfuxmThSNbXhuadcpvmvtOrIZb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’IJKtCZcfuxmThSNbXhuadcpvmvtOrIZb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’OrgZzefJusgbiGJoQzrJNHLKOCiCyVGw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’OrgZzefJusgbiGJoQzrJNHLKOCiCyVGw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’IdWciAPuSpuVWeajFrNNazDWIYCxXSaD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’IdWciAPuSpuVWeajFrNNazDWIYCxXSaD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’zWRRAyohbcQuVPCnLmCumaVfqRKPPWhH’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’zWRRAyohbcQuVPCnLmCumaVfqRKPPWhH’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’oenBXnFSsCfYUUhYHNIKhcHJfMhIhWil’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’oenBXnFSsCfYUUhYHNIKhcHJfMhIhWil’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’xblCHvxFzjzetNizRHZWDlCTqsaQGAKl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’xblCHvxFzjzetNizRHZWDlCTqsaQGAKl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’IdWciAPuSpuVWeajFrNNazDWIYCxXSaD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’IdWciAPuSpuVWeajFrNNazDWIYCxXSaD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’zWRRAyohbcQuVPCnLmCumaVfqRKPPWhH’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’zWRRAyohbcQuVPCnLmCumaVfqRKPPWhH’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’oenBXnFSsCfYUUhYHNIKhcHJfMhIhWil’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’oenBXnFSsCfYUUhYHNIKhcHJfMhIhWil’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’xblCHvxFzjzetNizRHZWDlCTqsaQGAKl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’xblCHvxFzjzetNizRHZWDlCTqsaQGAKl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’dPphqIDEiaInIIUapRNfsZDPbeGUlGyw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’dPphqIDEiaInIIUapRNfsZDPbeGUlGyw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’cVBWDfRtkHRXShMfZNErgupDWWwjRXRI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’cVBWDfRtkHRXShMfZNErgupDWWwjRXRI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’oZFpmrmzxpsYEumynYVKAllAQqwWDdWx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’oZFpmrmzxpsYEumynYVKAllAQqwWDdWx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’AoddAhuHXsAmabmMallCuariYsIlpnoR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’AoddAhuHXsAmabmMallCuariYsIlpnoR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’dPphqIDEiaInIIUapRNfsZDPbeGUlGyw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’dPphqIDEiaInIIUapRNfsZDPbeGUlGyw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’cVBWDfRtkHRXShMfZNErgupDWWwjRXRI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’cVBWDfRtkHRXShMfZNErgupDWWwjRXRI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’oZFpmrmzxpsYEumynYVKAllAQqwWDdWx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’oZFpmrmzxpsYEumynYVKAllAQqwWDdWx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’AoddAhuHXsAmabmMallCuariYsIlpnoR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’AoddAhuHXsAmabmMallCuariYsIlpnoR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’ethCQocGVfYGzmrBRMpyWdWJnGeRZlFL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ethCQocGVfYGzmrBRMpyWdWJnGeRZlFL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ZIRrCvpvdRfJGARmMYVuLOhShgjZNrlW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ZIRrCvpvdRfJGARmMYVuLOhShgjZNrlW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KBGNCrVMEdlElPtuzAMAYTXDyHKBDCqd’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KBGNCrVMEdlElPtuzAMAYTXDyHKBDCqd’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’STIzQWVezXejFCuieQWCqGMWoJnBUHkU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’STIzQWVezXejFCuieQWCqGMWoJnBUHkU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’ethCQocGVfYGzmrBRMpyWdWJnGeRZlFL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ethCQocGVfYGzmrBRMpyWdWJnGeRZlFL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ZIRrCvpvdRfJGARmMYVuLOhShgjZNrlW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ZIRrCvpvdRfJGARmMYVuLOhShgjZNrlW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KBGNCrVMEdlElPtuzAMAYTXDyHKBDCqd’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KBGNCrVMEdlElPtuzAMAYTXDyHKBDCqd’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’STIzQWVezXejFCuieQWCqGMWoJnBUHkU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’STIzQWVezXejFCuieQWCqGMWoJnBUHkU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’EHLnAfDWRalJGMyGAxFCexllxBuYNpuc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’EHLnAfDWRalJGMyGAxFCexllxBuYNpuc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’bDMJoRCQIAikVTiBnrcEEoeWPTLhjRvR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’bDMJoRCQIAikVTiBnrcEEoeWPTLhjRvR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XZdhVESukVZlmwCAHFACOZtxlZcSAkHK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XZdhVESukVZlmwCAHFACOZtxlZcSAkHK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XvytiEPLTkOSvsNhKSFsJCoMXXOyVaRR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XvytiEPLTkOSvsNhKSFsJCoMXXOyVaRR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’EHLnAfDWRalJGMyGAxFCexllxBuYNpuc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’EHLnAfDWRalJGMyGAxFCexllxBuYNpuc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’bDMJoRCQIAikVTiBnrcEEoeWPTLhjRvR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’bDMJoRCQIAikVTiBnrcEEoeWPTLhjRvR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XZdhVESukVZlmwCAHFACOZtxlZcSAkHK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XZdhVESukVZlmwCAHFACOZtxlZcSAkHK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XvytiEPLTkOSvsNhKSFsJCoMXXOyVaRR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XvytiEPLTkOSvsNhKSFsJCoMXXOyVaRR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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) 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’tdELUhYVehryaUMR’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’YVpCYqsOVVxegErboOaiSnEWXQNWkBoAjJEedTDjccFBwWLzFKhARUdFlelACGIg’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’tdELUhYVehryaUMR’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’YVpCYqsOVVxegErboOaiSnEWXQNWkBoAjJEedTDjccFBwWLzFKhARUdFlelACGIg’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XFKMWeVqomivjSsv’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ngpDUKHJzkTDSdOiZXXfSfwsokduxqPwJxRLlhNzKYGBvUKlznGbcqHCmkUtVCiq’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XFKMWeVqomivjSsv’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ngpDUKHJzkTDSdOiZXXfSfwsokduxqPwJxRLlhNzKYGBvUKlznGbcqHCmkUtVCiq’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’snedUsrjxAXwCZUJ’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’BAPdbsoJBRDSEeWSEqymUNWmgPwfzlzyOoKriEXbnNMSismyHxhQoIUgmHsYxikR’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’snedUsrjxAXwCZUJ’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’BAPdbsoJBRDSEeWSEqymUNWmgPwfzlzyOoKriEXbnNMSismyHxhQoIUgmHsYxikR’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’IflajSNAuLpSLHis’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’uBiEsiKxdKslZtOtzcHlekpSSfHupeKqIZpHQFEetGcNZHtFGIZDWfbsaMxxSGPV’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’IflajSNAuLpSLHis’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’uBiEsiKxdKslZtOtzcHlekpSSfHupeKqIZpHQFEetGcNZHtFGIZDWfbsaMxxSGPV’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’tdELUhYVehryaUMR’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’YVpCYqsOVVxegErboOaiSnEWXQNWkBoAjJEedTDjccFBwWLzFKhARUdFlelACGIg’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’tdELUhYVehryaUMR’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’YVpCYqsOVVxegErboOaiSnEWXQNWkBoAjJEedTDjccFBwWLzFKhARUdFlelACGIg’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XFKMWeVqomivjSsv’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ngpDUKHJzkTDSdOiZXXfSfwsokduxqPwJxRLlhNzKYGBvUKlznGbcqHCmkUtVCiq’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XFKMWeVqomivjSsv’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ngpDUKHJzkTDSdOiZXXfSfwsokduxqPwJxRLlhNzKYGBvUKlznGbcqHCmkUtVCiq’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’snedUsrjxAXwCZUJ’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’BAPdbsoJBRDSEeWSEqymUNWmgPwfzlzyOoKriEXbnNMSismyHxhQoIUgmHsYxikR’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’snedUsrjxAXwCZUJ’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’BAPdbsoJBRDSEeWSEqymUNWmgPwfzlzyOoKriEXbnNMSismyHxhQoIUgmHsYxikR’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’IflajSNAuLpSLHis’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’uBiEsiKxdKslZtOtzcHlekpSSfHupeKqIZpHQFEetGcNZHtFGIZDWfbsaMxxSGPV’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’IflajSNAuLpSLHis’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’uBiEsiKxdKslZtOtzcHlekpSSfHupeKqIZpHQFEetGcNZHtFGIZDWfbsaMxxSGPV’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’vySVyXhrnLDXWuHZ’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’UWHSLSuVbfrQgjYhEXpvyWeduaEkhsSOFyskmOjPEYDDTEMdWKPTDctuxCMUAaDG’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’vySVyXhrnLDXWuHZ’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’UWHSLSuVbfrQgjYhEXpvyWeduaEkhsSOFyskmOjPEYDDTEMdWKPTDctuxCMUAaDG’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’DvRxPDFRKeNeYhUf’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’nXKApHDAkimwwfdnDFIOYEsdhQhZgILvQHQNSpxwlUFIJTlLfYPqptNpNoIznWsK’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’DvRxPDFRKeNeYhUf’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’nXKApHDAkimwwfdnDFIOYEsdhQhZgILvQHQNSpxwlUFIJTlLfYPqptNpNoIznWsK’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fZvFsDnKRDbyKRbM’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’fkQDlchCDFRMlFlLBRuUgiuYPYdGPoyxKdbhhQJAnkFLnTLbYRFrshotqiIwHzbK’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fZvFsDnKRDbyKRbM’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’fkQDlchCDFRMlFlLBRuUgiuYPYdGPoyxKdbhhQJAnkFLnTLbYRFrshotqiIwHzbK’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’vPdERAYlPjatXScj’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’wEINIHlsQieyVeDDAxVmannSTkHawzPbsmKEEtcXeKmWRkBltWuUwdZMNluExKeS’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’vPdERAYlPjatXScj’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’wEINIHlsQieyVeDDAxVmannSTkHawzPbsmKEEtcXeKmWRkBltWuUwdZMNluExKeS’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’vySVyXhrnLDXWuHZ’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’UWHSLSuVbfrQgjYhEXpvyWeduaEkhsSOFyskmOjPEYDDTEMdWKPTDctuxCMUAaDG’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’vySVyXhrnLDXWuHZ’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’UWHSLSuVbfrQgjYhEXpvyWeduaEkhsSOFyskmOjPEYDDTEMdWKPTDctuxCMUAaDG’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’DvRxPDFRKeNeYhUf’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’nXKApHDAkimwwfdnDFIOYEsdhQhZgILvQHQNSpxwlUFIJTlLfYPqptNpNoIznWsK’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’DvRxPDFRKeNeYhUf’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’nXKApHDAkimwwfdnDFIOYEsdhQhZgILvQHQNSpxwlUFIJTlLfYPqptNpNoIznWsK’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fZvFsDnKRDbyKRbM’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’fkQDlchCDFRMlFlLBRuUgiuYPYdGPoyxKdbhhQJAnkFLnTLbYRFrshotqiIwHzbK’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fZvFsDnKRDbyKRbM’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’fkQDlchCDFRMlFlLBRuUgiuYPYdGPoyxKdbhhQJAnkFLnTLbYRFrshotqiIwHzbK’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’vPdERAYlPjatXScj’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’wEINIHlsQieyVeDDAxVmannSTkHawzPbsmKEEtcXeKmWRkBltWuUwdZMNluExKeS’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’vPdERAYlPjatXScj’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’wEINIHlsQieyVeDDAxVmannSTkHawzPbsmKEEtcXeKmWRkBltWuUwdZMNluExKeS’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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-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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’KWoxsLYNsCsKiUmV’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’NEPKQmOSMPrVdGXPzeIvyBlWmAVHNFWzFjuAVqawaEJNUTPaVQbJqbkHvSOwtHgh’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KWoxsLYNsCsKiUmV’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’NEPKQmOSMPrVdGXPzeIvyBlWmAVHNFWzFjuAVqawaEJNUTPaVQbJqbkHvSOwtHgh’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’HjLoSEwBiJLnwczc’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’QkCNeRncdaifmojXIsCGiDbtVTRNoPtUuosZIexuKlgOzXrhxzMTmcDjXBkvLyOU’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’HjLoSEwBiJLnwczc’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’QkCNeRncdaifmojXIsCGiDbtVTRNoPtUuosZIexuKlgOzXrhxzMTmcDjXBkvLyOU’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’RvHxPNvaLXIzQUyO’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’waRngrXjtkvtriutGMzcRKagAzYvuOhzMbXucGNMQAXHLcKvYabRieZqzzPCbejh’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’RvHxPNvaLXIzQUyO’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’waRngrXjtkvtriutGMzcRKagAzYvuOhzMbXucGNMQAXHLcKvYabRieZqzzPCbejh’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’CXdnmDOucIJMkEJd’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’cgMUEOTcGQHfXIjTRjQkCByeVYiOxFfgqCuxWbCKkuIkZCFHmhXWXdjuxNNOUwlV’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’CXdnmDOucIJMkEJd’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’cgMUEOTcGQHfXIjTRjQkCByeVYiOxFfgqCuxWbCKkuIkZCFHmhXWXdjuxNNOUwlV’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’KWoxsLYNsCsKiUmV’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’NEPKQmOSMPrVdGXPzeIvyBlWmAVHNFWzFjuAVqawaEJNUTPaVQbJqbkHvSOwtHgh’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KWoxsLYNsCsKiUmV’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’NEPKQmOSMPrVdGXPzeIvyBlWmAVHNFWzFjuAVqawaEJNUTPaVQbJqbkHvSOwtHgh’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’HjLoSEwBiJLnwczc’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’QkCNeRncdaifmojXIsCGiDbtVTRNoPtUuosZIexuKlgOzXrhxzMTmcDjXBkvLyOU’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’HjLoSEwBiJLnwczc’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’QkCNeRncdaifmojXIsCGiDbtVTRNoPtUuosZIexuKlgOzXrhxzMTmcDjXBkvLyOU’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’RvHxPNvaLXIzQUyO’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’waRngrXjtkvtriutGMzcRKagAzYvuOhzMbXucGNMQAXHLcKvYabRieZqzzPCbejh’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’RvHxPNvaLXIzQUyO’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’waRngrXjtkvtriutGMzcRKagAzYvuOhzMbXucGNMQAXHLcKvYabRieZqzzPCbejh’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’CXdnmDOucIJMkEJd’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’cgMUEOTcGQHfXIjTRjQkCByeVYiOxFfgqCuxWbCKkuIkZCFHmhXWXdjuxNNOUwlV’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’CXdnmDOucIJMkEJd’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’cgMUEOTcGQHfXIjTRjQkCByeVYiOxFfgqCuxWbCKkuIkZCFHmhXWXdjuxNNOUwlV’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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-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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’qIZPnRfYdKmMTFeG’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’xnvNmxgcBXBYUfEVxSqeYjxMmkbsDTcYelHzqCnAOHzZJVpACenDMgWxewZqbfle’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’qIZPnRfYdKmMTFeG’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’xnvNmxgcBXBYUfEVxSqeYjxMmkbsDTcYelHzqCnAOHzZJVpACenDMgWxewZqbfle’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’xwwikLIYhZykPtLO’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’bOkFcXvWkNMeqvBycWfmXsWFcywoCqhWeIAYLTdLcFisODfHjmQENskKbNnCRcdb’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’xwwikLIYhZykPtLO’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’bOkFcXvWkNMeqvBycWfmXsWFcywoCqhWeIAYLTdLcFisODfHjmQENskKbNnCRcdb’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fpXISsYfpezzLrxI’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’OFiQWNlRAUSMEDoHhIfJECCIvdxfzHBWoMyQrtKcHDgptiHNfUPONvHlcrgxeoqN’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fpXISsYfpezzLrxI’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’OFiQWNlRAUSMEDoHhIfJECCIvdxfzHBWoMyQrtKcHDgptiHNfUPONvHlcrgxeoqN’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ZuRGJFGFxqQWbBPX’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’oSWrKzaYZwBlyoRpqUdjAkBRupbzskqxRhEvjJGbNxRjtDuSWuGMmfUQlJotOTHi’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ZuRGJFGFxqQWbBPX’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’oSWrKzaYZwBlyoRpqUdjAkBRupbzskqxRhEvjJGbNxRjtDuSWuGMmfUQlJotOTHi’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’qIZPnRfYdKmMTFeG’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’xnvNmxgcBXBYUfEVxSqeYjxMmkbsDTcYelHzqCnAOHzZJVpACenDMgWxewZqbfle’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’qIZPnRfYdKmMTFeG’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’xnvNmxgcBXBYUfEVxSqeYjxMmkbsDTcYelHzqCnAOHzZJVpACenDMgWxewZqbfle’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’xwwikLIYhZykPtLO’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’bOkFcXvWkNMeqvBycWfmXsWFcywoCqhWeIAYLTdLcFisODfHjmQENskKbNnCRcdb’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’xwwikLIYhZykPtLO’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’bOkFcXvWkNMeqvBycWfmXsWFcywoCqhWeIAYLTdLcFisODfHjmQENskKbNnCRcdb’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fpXISsYfpezzLrxI’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’OFiQWNlRAUSMEDoHhIfJECCIvdxfzHBWoMyQrtKcHDgptiHNfUPONvHlcrgxeoqN’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fpXISsYfpezzLrxI’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’OFiQWNlRAUSMEDoHhIfJECCIvdxfzHBWoMyQrtKcHDgptiHNfUPONvHlcrgxeoqN’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ZuRGJFGFxqQWbBPX’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’oSWrKzaYZwBlyoRpqUdjAkBRupbzskqxRhEvjJGbNxRjtDuSWuGMmfUQlJotOTHi’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ZuRGJFGFxqQWbBPX’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’oSWrKzaYZwBlyoRpqUdjAkBRupbzskqxRhEvjJGbNxRjtDuSWuGMmfUQlJotOTHi’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’yeRTJYXecWPTPqVl’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’OYefDonBDYFGIPJIHRKEMUrWAOWUwhYxWmuLohUyGZSKkfsMUqDmbtLPxgVJtTQU’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’yeRTJYXecWPTPqVl’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’OYefDonBDYFGIPJIHRKEMUrWAOWUwhYxWmuLohUyGZSKkfsMUqDmbtLPxgVJtTQU’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rUwMxYQpYEvVqqOz’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ltLRrfXrAYZmGwlhriaccxGXOaRNMtpjLdbtBCocWGutlySlxsMlWquiZbFEbrzn’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rUwMxYQpYEvVqqOz’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ltLRrfXrAYZmGwlhriaccxGXOaRNMtpjLdbtBCocWGutlySlxsMlWquiZbFEbrzn’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’JvAKmVopBgyCLcPJ’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’PJoajCVeXpNhPiAdePOjWBZoqEGjkFSLedDFFxajIguFRFsUlKHZbDTcmGhITVtv’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’JvAKmVopBgyCLcPJ’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’PJoajCVeXpNhPiAdePOjWBZoqEGjkFSLedDFFxajIguFRFsUlKHZbDTcmGhITVtv’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’vXRXqAgeHXNdArdN’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’pXCAIoDmudpQKJqAMWBzYCeymuvNipOasQDuzHLcbsfBvddRTusKMjQOwjRonmkt’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’vXRXqAgeHXNdArdN’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’pXCAIoDmudpQKJqAMWBzYCeymuvNipOasQDuzHLcbsfBvddRTusKMjQOwjRonmkt’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’yeRTJYXecWPTPqVl’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’OYefDonBDYFGIPJIHRKEMUrWAOWUwhYxWmuLohUyGZSKkfsMUqDmbtLPxgVJtTQU’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’yeRTJYXecWPTPqVl’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’OYefDonBDYFGIPJIHRKEMUrWAOWUwhYxWmuLohUyGZSKkfsMUqDmbtLPxgVJtTQU’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rUwMxYQpYEvVqqOz’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ltLRrfXrAYZmGwlhriaccxGXOaRNMtpjLdbtBCocWGutlySlxsMlWquiZbFEbrzn’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rUwMxYQpYEvVqqOz’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ltLRrfXrAYZmGwlhriaccxGXOaRNMtpjLdbtBCocWGutlySlxsMlWquiZbFEbrzn’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’JvAKmVopBgyCLcPJ’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’PJoajCVeXpNhPiAdePOjWBZoqEGjkFSLedDFFxajIguFRFsUlKHZbDTcmGhITVtv’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’JvAKmVopBgyCLcPJ’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’PJoajCVeXpNhPiAdePOjWBZoqEGjkFSLedDFFxajIguFRFsUlKHZbDTcmGhITVtv’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’vXRXqAgeHXNdArdN’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’pXCAIoDmudpQKJqAMWBzYCeymuvNipOasQDuzHLcbsfBvddRTusKMjQOwjRonmkt’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’vXRXqAgeHXNdArdN’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’pXCAIoDmudpQKJqAMWBzYCeymuvNipOasQDuzHLcbsfBvddRTusKMjQOwjRonmkt’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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) 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xskVDNITTHkmQmXw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’xskVDNITTHkmQmXw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’xpuGOtCYQinPGcLY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’xpuGOtCYQinPGcLY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’nfUzZpXgOUppiBDO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’nfUzZpXgOUppiBDO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’DGoAIHTpysogAQJh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’DGoAIHTpysogAQJh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xskVDNITTHkmQmXw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’xskVDNITTHkmQmXw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’xpuGOtCYQinPGcLY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’xpuGOtCYQinPGcLY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’nfUzZpXgOUppiBDO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’nfUzZpXgOUppiBDO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’DGoAIHTpysogAQJh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’DGoAIHTpysogAQJh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’muXfcoQuvhvNXncK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’muXfcoQuvhvNXncK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’VHSbbuJCGyKOtdTJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’VHSbbuJCGyKOtdTJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’WFeRqofxWSSGojbZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’WFeRqofxWSSGojbZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XSrWWWBpMgDooYGj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XSrWWWBpMgDooYGj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’muXfcoQuvhvNXncK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’muXfcoQuvhvNXncK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’VHSbbuJCGyKOtdTJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’VHSbbuJCGyKOtdTJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’WFeRqofxWSSGojbZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’WFeRqofxWSSGojbZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XSrWWWBpMgDooYGj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XSrWWWBpMgDooYGj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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-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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’YxeAJFeAdADGlCgE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’YxeAJFeAdADGlCgE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’GqnkRbMhPbIlShIT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’GqnkRbMhPbIlShIT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’OSPAQYSupBdNlwId’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’OSPAQYSupBdNlwId’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’gBfUnBqHtPurwMad’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’gBfUnBqHtPurwMad’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’YxeAJFeAdADGlCgE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’YxeAJFeAdADGlCgE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’GqnkRbMhPbIlShIT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’GqnkRbMhPbIlShIT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’OSPAQYSupBdNlwId’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’OSPAQYSupBdNlwId’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’gBfUnBqHtPurwMad’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’gBfUnBqHtPurwMad’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’okzUvhomWwpAitLW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’okzUvhomWwpAitLW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’QBvoBgcgSXNMvhmP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’QBvoBgcgSXNMvhmP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’BOIURVMrYlrUcwZJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’BOIURVMrYlrUcwZJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’jDAjDuHzwioANWup’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’jDAjDuHzwioANWup’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’okzUvhomWwpAitLW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’okzUvhomWwpAitLW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’QBvoBgcgSXNMvhmP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’QBvoBgcgSXNMvhmP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’BOIURVMrYlrUcwZJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’BOIURVMrYlrUcwZJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’jDAjDuHzwioANWup’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’jDAjDuHzwioANWup’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’QUYTzkUNiniIdDuB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’QUYTzkUNiniIdDuB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’spwLpTGUGjTSjNJq’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’spwLpTGUGjTSjNJq’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XSBxmmCIDWslDhkb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XSBxmmCIDWslDhkb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’bHyvIzZwvbAsncOz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’bHyvIzZwvbAsncOz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’QUYTzkUNiniIdDuB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’QUYTzkUNiniIdDuB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’spwLpTGUGjTSjNJq’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’spwLpTGUGjTSjNJq’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XSBxmmCIDWslDhkb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XSBxmmCIDWslDhkb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’bHyvIzZwvbAsncOz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’bHyvIzZwvbAsncOz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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) 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’JepiMFdPhYVWzjbvRdWjZxNbIdoYMAGL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’JepiMFdPhYVWzjbvRdWjZxNbIdoYMAGL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rnJGRFpRlazyFTFRIuQDTmPxIzOvfrmH’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rnJGRFpRlazyFTFRIuQDTmPxIzOvfrmH’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’GbPPODfHcWNDQixvXnRfFXYpARsGRyRt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’GbPPODfHcWNDQixvXnRfFXYpARsGRyRt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’eDYZakFyrrQwiVicbYqQjGeoucmSDMZt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’eDYZakFyrrQwiVicbYqQjGeoucmSDMZt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’JepiMFdPhYVWzjbvRdWjZxNbIdoYMAGL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’JepiMFdPhYVWzjbvRdWjZxNbIdoYMAGL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rnJGRFpRlazyFTFRIuQDTmPxIzOvfrmH’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rnJGRFpRlazyFTFRIuQDTmPxIzOvfrmH’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’GbPPODfHcWNDQixvXnRfFXYpARsGRyRt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’GbPPODfHcWNDQixvXnRfFXYpARsGRyRt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’eDYZakFyrrQwiVicbYqQjGeoucmSDMZt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’eDYZakFyrrQwiVicbYqQjGeoucmSDMZt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’IBGwhZlitiIvDPTpxEIHmWprYXTtpZop’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’IBGwhZlitiIvDPTpxEIHmWprYXTtpZop’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’HIklcEWgOiXzrWzwYtwksHjfpIRlYEMj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’HIklcEWgOiXzrWzwYtwksHjfpIRlYEMj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’OplPyJxGpwObTDQDRdwIcbxGsglNRoGK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’OplPyJxGpwObTDQDRdwIcbxGsglNRoGK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ysQkdIYsjpaAgyeEnmsUuYKHASeDYdYG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ysQkdIYsjpaAgyeEnmsUuYKHASeDYdYG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’IBGwhZlitiIvDPTpxEIHmWprYXTtpZop’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’IBGwhZlitiIvDPTpxEIHmWprYXTtpZop’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’HIklcEWgOiXzrWzwYtwksHjfpIRlYEMj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’HIklcEWgOiXzrWzwYtwksHjfpIRlYEMj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’OplPyJxGpwObTDQDRdwIcbxGsglNRoGK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’OplPyJxGpwObTDQDRdwIcbxGsglNRoGK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ysQkdIYsjpaAgyeEnmsUuYKHASeDYdYG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ysQkdIYsjpaAgyeEnmsUuYKHASeDYdYG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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-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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’zpxBuaaZFtLpQNVstzmIbXBnhAOhQePP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’zpxBuaaZFtLpQNVstzmIbXBnhAOhQePP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’SeMNQfbLZkHFzSTiAlJYapMyjfcnnrjL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’SeMNQfbLZkHFzSTiAlJYapMyjfcnnrjL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’HWdDeYkvcTdwFjbFRIgxbwSWeTxgvfvV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’HWdDeYkvcTdwFjbFRIgxbwSWeTxgvfvV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’myZGDLfnJnMGECGuRmHpCSdOssoukQDi’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’myZGDLfnJnMGECGuRmHpCSdOssoukQDi’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’zpxBuaaZFtLpQNVstzmIbXBnhAOhQePP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’zpxBuaaZFtLpQNVstzmIbXBnhAOhQePP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’SeMNQfbLZkHFzSTiAlJYapMyjfcnnrjL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’SeMNQfbLZkHFzSTiAlJYapMyjfcnnrjL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’HWdDeYkvcTdwFjbFRIgxbwSWeTxgvfvV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’HWdDeYkvcTdwFjbFRIgxbwSWeTxgvfvV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’myZGDLfnJnMGECGuRmHpCSdOssoukQDi’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’myZGDLfnJnMGECGuRmHpCSdOssoukQDi’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’rVhSoKUyvaqZaoRRvWpLbucmshDXeffb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rVhSoKUyvaqZaoRRvWpLbucmshDXeffb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ElrOkrtaAsufVEhPGCnNKKcsGdfHrVDu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ElrOkrtaAsufVEhPGCnNKKcsGdfHrVDu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’mrfchnEUQaHHZMJdqCOlGnxyWJdxdHCh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’mrfchnEUQaHHZMJdqCOlGnxyWJdxdHCh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’hEwJqnfoWQwHzXcjSCAQGvzWmLFUnEjz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’hEwJqnfoWQwHzXcjSCAQGvzWmLFUnEjz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’rVhSoKUyvaqZaoRRvWpLbucmshDXeffb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rVhSoKUyvaqZaoRRvWpLbucmshDXeffb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ElrOkrtaAsufVEhPGCnNKKcsGdfHrVDu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ElrOkrtaAsufVEhPGCnNKKcsGdfHrVDu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’mrfchnEUQaHHZMJdqCOlGnxyWJdxdHCh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’mrfchnEUQaHHZMJdqCOlGnxyWJdxdHCh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’hEwJqnfoWQwHzXcjSCAQGvzWmLFUnEjz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’hEwJqnfoWQwHzXcjSCAQGvzWmLFUnEjz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’yVfOhyYPTTLpRnmiexIOuZovgPByYGnv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’yVfOhyYPTTLpRnmiexIOuZovgPByYGnv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’NuUdfvRDVvvFyHFtkofenBtFDgDXocFX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’NuUdfvRDVvvFyHFtkofenBtFDgDXocFX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’NNueSjTFNBbpgWqIBuPYwhcaaEGLODMN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’NNueSjTFNBbpgWqIBuPYwhcaaEGLODMN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’wgAAEUTAFGbHOBLlNqtnrAKQMfKWaJTt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’wgAAEUTAFGbHOBLlNqtnrAKQMfKWaJTt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’yVfOhyYPTTLpRnmiexIOuZovgPByYGnv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’yVfOhyYPTTLpRnmiexIOuZovgPByYGnv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’NuUdfvRDVvvFyHFtkofenBtFDgDXocFX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’NuUdfvRDVvvFyHFtkofenBtFDgDXocFX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’NNueSjTFNBbpgWqIBuPYwhcaaEGLODMN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’NNueSjTFNBbpgWqIBuPYwhcaaEGLODMN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’wgAAEUTAFGbHOBLlNqtnrAKQMfKWaJTt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’wgAAEUTAFGbHOBLlNqtnrAKQMfKWaJTt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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) 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’peryyOJzTMBWQMfz’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’cmGioywxTqrGhhngoJSZxkKEJhxniQtSFuYrdDgOWWKaYKkWxvIUazYHriMtzAhQ’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’peryyOJzTMBWQMfz’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’cmGioywxTqrGhhngoJSZxkKEJhxniQtSFuYrdDgOWWKaYKkWxvIUazYHriMtzAhQ’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’sVyGjePIyITkJCAn’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’IrMvjduMIAJukUpaIcleelxkvUIAGPxaIKHaIyzwMnRaWwwqZPhnDbVuYfYFRPQL’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’sVyGjePIyITkJCAn’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’IrMvjduMIAJukUpaIcleelxkvUIAGPxaIKHaIyzwMnRaWwwqZPhnDbVuYfYFRPQL’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’nVFbvWlGEWZdlUuh’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’oOBfSchjtVEfdAdARDQmokksPprVKjLIIYXvMwbDethGSuTaxSdGzMdSxMpVDWlZ’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’nVFbvWlGEWZdlUuh’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’oOBfSchjtVEfdAdARDQmokksPprVKjLIIYXvMwbDethGSuTaxSdGzMdSxMpVDWlZ’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’xLIfcHOAnZbnwAcg’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’XMMMuHKwqQzdLWtJkdhdUcMrlMNinIGSyxNxCVbGBPgOGemnojGVZMedGXIDIFoR’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’xLIfcHOAnZbnwAcg’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’XMMMuHKwqQzdLWtJkdhdUcMrlMNinIGSyxNxCVbGBPgOGemnojGVZMedGXIDIFoR’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’peryyOJzTMBWQMfz’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’cmGioywxTqrGhhngoJSZxkKEJhxniQtSFuYrdDgOWWKaYKkWxvIUazYHriMtzAhQ’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’peryyOJzTMBWQMfz’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’cmGioywxTqrGhhngoJSZxkKEJhxniQtSFuYrdDgOWWKaYKkWxvIUazYHriMtzAhQ’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’sVyGjePIyITkJCAn’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’IrMvjduMIAJukUpaIcleelxkvUIAGPxaIKHaIyzwMnRaWwwqZPhnDbVuYfYFRPQL’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’sVyGjePIyITkJCAn’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’IrMvjduMIAJukUpaIcleelxkvUIAGPxaIKHaIyzwMnRaWwwqZPhnDbVuYfYFRPQL’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’nVFbvWlGEWZdlUuh’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’oOBfSchjtVEfdAdARDQmokksPprVKjLIIYXvMwbDethGSuTaxSdGzMdSxMpVDWlZ’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’nVFbvWlGEWZdlUuh’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’oOBfSchjtVEfdAdARDQmokksPprVKjLIIYXvMwbDethGSuTaxSdGzMdSxMpVDWlZ’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’xLIfcHOAnZbnwAcg’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’XMMMuHKwqQzdLWtJkdhdUcMrlMNinIGSyxNxCVbGBPgOGemnojGVZMedGXIDIFoR’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’xLIfcHOAnZbnwAcg’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’XMMMuHKwqQzdLWtJkdhdUcMrlMNinIGSyxNxCVbGBPgOGemnojGVZMedGXIDIFoR’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’ZalOsFqovFxicumW’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’PJjfNKZyktDheeeYBwDLMmEYvqEyRXXkwajjrOrFtUbzwtvpsrLeEqgZJUECLnVs’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ZalOsFqovFxicumW’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’PJjfNKZyktDheeeYBwDLMmEYvqEyRXXkwajjrOrFtUbzwtvpsrLeEqgZJUECLnVs’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ACgUeDvXIbceNmGY’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’vWtEZkjTFjsbAUBEIzKVOZcfddqYMWAsTRzavgRrgYsJeSZUIRcqbZbcZVNkncxP’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ACgUeDvXIbceNmGY’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’vWtEZkjTFjsbAUBEIzKVOZcfddqYMWAsTRzavgRrgYsJeSZUIRcqbZbcZVNkncxP’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’xgaSrlCRHgJRzAlW’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’lgrlatmjEpVYvneKYWRPQmMRIjZCjhBTrZUPtzwODMrKEwXMqdvvyejUGQCmvZzx’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’xgaSrlCRHgJRzAlW’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’lgrlatmjEpVYvneKYWRPQmMRIjZCjhBTrZUPtzwODMrKEwXMqdvvyejUGQCmvZzx’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’OwheuJGLpZjwEiEk’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’BsGFTAZFWeHddtAdJxBGWFwKVwXIgVSNNTgSxSUJreJHrIQEmziYHciSExyHkSJj’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’OwheuJGLpZjwEiEk’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’BsGFTAZFWeHddtAdJxBGWFwKVwXIgVSNNTgSxSUJreJHrIQEmziYHciSExyHkSJj’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’ZalOsFqovFxicumW’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’PJjfNKZyktDheeeYBwDLMmEYvqEyRXXkwajjrOrFtUbzwtvpsrLeEqgZJUECLnVs’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ZalOsFqovFxicumW’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’PJjfNKZyktDheeeYBwDLMmEYvqEyRXXkwajjrOrFtUbzwtvpsrLeEqgZJUECLnVs’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ACgUeDvXIbceNmGY’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’vWtEZkjTFjsbAUBEIzKVOZcfddqYMWAsTRzavgRrgYsJeSZUIRcqbZbcZVNkncxP’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ACgUeDvXIbceNmGY’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’vWtEZkjTFjsbAUBEIzKVOZcfddqYMWAsTRzavgRrgYsJeSZUIRcqbZbcZVNkncxP’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’xgaSrlCRHgJRzAlW’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’lgrlatmjEpVYvneKYWRPQmMRIjZCjhBTrZUPtzwODMrKEwXMqdvvyejUGQCmvZzx’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’xgaSrlCRHgJRzAlW’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’lgrlatmjEpVYvneKYWRPQmMRIjZCjhBTrZUPtzwODMrKEwXMqdvvyejUGQCmvZzx’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’OwheuJGLpZjwEiEk’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’BsGFTAZFWeHddtAdJxBGWFwKVwXIgVSNNTgSxSUJreJHrIQEmziYHciSExyHkSJj’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’OwheuJGLpZjwEiEk’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’BsGFTAZFWeHddtAdJxBGWFwKVwXIgVSNNTgSxSUJreJHrIQEmziYHciSExyHkSJj’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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]}]})

 1518b-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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’lKMtIdEZuWPaBMWA’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’EmrNQuGJiHEXJhNPYyfQDKDQTQZgTBJDjYKainkvYnmDFNPgfzoBsKzkuBKPCKUR’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’lKMtIdEZuWPaBMWA’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’EmrNQuGJiHEXJhNPYyfQDKDQTQZgTBJDjYKainkvYnmDFNPgfzoBsKzkuBKPCKUR’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’DorfLMCrAiCLojne’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’afigCnKBhlCuICeSZYXqwCrGvnqXyNfVwoAbOQWKmcIFpRZJLbwaBrzvrePlDwTM’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’DorfLMCrAiCLojne’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’afigCnKBhlCuICeSZYXqwCrGvnqXyNfVwoAbOQWKmcIFpRZJLbwaBrzvrePlDwTM’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’wBUEqGklvzmPdXjJ’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’DvTuFuDIwQeidgpjIoGJhhaZlbnLgPThfVIzbTpoUPULYRpBYsgWwnoKMWSfySsX’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’wBUEqGklvzmPdXjJ’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’DvTuFuDIwQeidgpjIoGJhhaZlbnLgPThfVIzbTpoUPULYRpBYsgWwnoKMWSfySsX’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’udSGlCjSGOfgLCsB’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’zpyGVXpQsDIumprQJROPCRcAjSoTSfaTJEXEOpbtFpCxOfuuMZFGJCJESEgpbeCY’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’udSGlCjSGOfgLCsB’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’zpyGVXpQsDIumprQJROPCRcAjSoTSfaTJEXEOpbtFpCxOfuuMZFGJCJESEgpbeCY’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’lKMtIdEZuWPaBMWA’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’EmrNQuGJiHEXJhNPYyfQDKDQTQZgTBJDjYKainkvYnmDFNPgfzoBsKzkuBKPCKUR’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’lKMtIdEZuWPaBMWA’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’EmrNQuGJiHEXJhNPYyfQDKDQTQZgTBJDjYKainkvYnmDFNPgfzoBsKzkuBKPCKUR’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’DorfLMCrAiCLojne’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’afigCnKBhlCuICeSZYXqwCrGvnqXyNfVwoAbOQWKmcIFpRZJLbwaBrzvrePlDwTM’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’DorfLMCrAiCLojne’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’afigCnKBhlCuICeSZYXqwCrGvnqXyNfVwoAbOQWKmcIFpRZJLbwaBrzvrePlDwTM’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’wBUEqGklvzmPdXjJ’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’DvTuFuDIwQeidgpjIoGJhhaZlbnLgPThfVIzbTpoUPULYRpBYsgWwnoKMWSfySsX’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’wBUEqGklvzmPdXjJ’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’DvTuFuDIwQeidgpjIoGJhhaZlbnLgPThfVIzbTpoUPULYRpBYsgWwnoKMWSfySsX’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’udSGlCjSGOfgLCsB’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’zpyGVXpQsDIumprQJROPCRcAjSoTSfaTJEXEOpbtFpCxOfuuMZFGJCJESEgpbeCY’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’udSGlCjSGOfgLCsB’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’zpyGVXpQsDIumprQJROPCRcAjSoTSfaTJEXEOpbtFpCxOfuuMZFGJCJESEgpbeCY’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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-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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’PISsqJjdynNgdalI’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ClZISBsJYrimjPfbKULVYyTuQXsqYMRdNWudwzgNgGacVITGKxQFIkRSWQZuxjkW’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’PISsqJjdynNgdalI’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ClZISBsJYrimjPfbKULVYyTuQXsqYMRdNWudwzgNgGacVITGKxQFIkRSWQZuxjkW’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’QoaSaJIMqdAHnmPZ’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’CEvOMZFSZNMslOlJKpBJwmlCPUVXpKHDbIjSnjFxsKzGMLQNYNoooRIArqJoCIbg’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’QoaSaJIMqdAHnmPZ’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’CEvOMZFSZNMslOlJKpBJwmlCPUVXpKHDbIjSnjFxsKzGMLQNYNoooRIArqJoCIbg’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’UewvjcOJeFVrzINP’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’hlAKptLIOzAWRpHWCNBEloigIiEsxkCJlscsQEUjDzrEhyBvnYsTUZscQfZpOMaj’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’UewvjcOJeFVrzINP’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’hlAKptLIOzAWRpHWCNBEloigIiEsxkCJlscsQEUjDzrEhyBvnYsTUZscQfZpOMaj’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’aJnTXMCuWqajgBVs’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’xksZFawDRHvfjEeXkcURiOjzNLlQBqIZpNWgdatsPoOCtFmHDUfPSWfQdaRTsDuI’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’aJnTXMCuWqajgBVs’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’xksZFawDRHvfjEeXkcURiOjzNLlQBqIZpNWgdatsPoOCtFmHDUfPSWfQdaRTsDuI’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’PISsqJjdynNgdalI’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ClZISBsJYrimjPfbKULVYyTuQXsqYMRdNWudwzgNgGacVITGKxQFIkRSWQZuxjkW’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’PISsqJjdynNgdalI’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ClZISBsJYrimjPfbKULVYyTuQXsqYMRdNWudwzgNgGacVITGKxQFIkRSWQZuxjkW’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’QoaSaJIMqdAHnmPZ’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’CEvOMZFSZNMslOlJKpBJwmlCPUVXpKHDbIjSnjFxsKzGMLQNYNoooRIArqJoCIbg’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’QoaSaJIMqdAHnmPZ’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’CEvOMZFSZNMslOlJKpBJwmlCPUVXpKHDbIjSnjFxsKzGMLQNYNoooRIArqJoCIbg’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’UewvjcOJeFVrzINP’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’hlAKptLIOzAWRpHWCNBEloigIiEsxkCJlscsQEUjDzrEhyBvnYsTUZscQfZpOMaj’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’UewvjcOJeFVrzINP’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’hlAKptLIOzAWRpHWCNBEloigIiEsxkCJlscsQEUjDzrEhyBvnYsTUZscQfZpOMaj’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’aJnTXMCuWqajgBVs’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’xksZFawDRHvfjEeXkcURiOjzNLlQBqIZpNWgdatsPoOCtFmHDUfPSWfQdaRTsDuI’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’aJnTXMCuWqajgBVs’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’xksZFawDRHvfjEeXkcURiOjzNLlQBqIZpNWgdatsPoOCtFmHDUfPSWfQdaRTsDuI’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’NhHEdgYmMvowxmFS’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’zvqyYqaYwDYcMHLTfxXAtghULALIiGukHIGnPYEXFuVIDCkEdZLcQwjqIMfvEubJ’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’NhHEdgYmMvowxmFS’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’zvqyYqaYwDYcMHLTfxXAtghULALIiGukHIGnPYEXFuVIDCkEdZLcQwjqIMfvEubJ’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’pGLwbAsfOoUDhWVa’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’iHkmpcinOZpYULbMiNanWxgogRgkMaMpsshHZvpZgDulnLTwypQefapABeBRauHs’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’pGLwbAsfOoUDhWVa’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’iHkmpcinOZpYULbMiNanWxgogRgkMaMpsshHZvpZgDulnLTwypQefapABeBRauHs’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rSQPewOBUgOuPUzC’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’WSgegBzJclScugGnXtOUKAQhCAaMsSUtwgiSDbYwtxSwggZLfaTwbsDkfndUgppe’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rSQPewOBUgOuPUzC’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’WSgegBzJclScugGnXtOUKAQhCAaMsSUtwgiSDbYwtxSwggZLfaTwbsDkfndUgppe’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KJKsnPaPIVWoyfUH’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’xkovETifzIKhLyXXRdoBjowSCWyHNDfcKqpEFpcityDUMgMnHTfXhifQeYiTpETB’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KJKsnPaPIVWoyfUH’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’xkovETifzIKhLyXXRdoBjowSCWyHNDfcKqpEFpcityDUMgMnHTfXhifQeYiTpETB’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’NhHEdgYmMvowxmFS’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’zvqyYqaYwDYcMHLTfxXAtghULALIiGukHIGnPYEXFuVIDCkEdZLcQwjqIMfvEubJ’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’NhHEdgYmMvowxmFS’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’zvqyYqaYwDYcMHLTfxXAtghULALIiGukHIGnPYEXFuVIDCkEdZLcQwjqIMfvEubJ’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’pGLwbAsfOoUDhWVa’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’iHkmpcinOZpYULbMiNanWxgogRgkMaMpsshHZvpZgDulnLTwypQefapABeBRauHs’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’pGLwbAsfOoUDhWVa’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’iHkmpcinOZpYULbMiNanWxgogRgkMaMpsshHZvpZgDulnLTwypQefapABeBRauHs’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rSQPewOBUgOuPUzC’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’WSgegBzJclScugGnXtOUKAQhCAaMsSUtwgiSDbYwtxSwggZLfaTwbsDkfndUgppe’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rSQPewOBUgOuPUzC’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’WSgegBzJclScugGnXtOUKAQhCAaMsSUtwgiSDbYwtxSwggZLfaTwbsDkfndUgppe’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KJKsnPaPIVWoyfUH’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’xkovETifzIKhLyXXRdoBjowSCWyHNDfcKqpEFpcityDUMgMnHTfXhifQeYiTpETB’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KJKsnPaPIVWoyfUH’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’xkovETifzIKhLyXXRdoBjowSCWyHNDfcKqpEFpcityDUMgMnHTfXhifQeYiTpETB’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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) 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’yVXmgUdTHxmHDkOP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’yVXmgUdTHxmHDkOP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’zTkJBrIKJabNUJSU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’zTkJBrIKJabNUJSU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’LDdfdsyKKinQIZhu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’LDdfdsyKKinQIZhu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’IlinxTTTFkrmJeSG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’IlinxTTTFkrmJeSG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’yVXmgUdTHxmHDkOP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’yVXmgUdTHxmHDkOP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’zTkJBrIKJabNUJSU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’zTkJBrIKJabNUJSU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’LDdfdsyKKinQIZhu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’LDdfdsyKKinQIZhu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’IlinxTTTFkrmJeSG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’IlinxTTTFkrmJeSG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’VMCttiJkTDGTnhCO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’VMCttiJkTDGTnhCO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’TbVfkfcRJfaxWLQK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’TbVfkfcRJfaxWLQK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’kQgxNdmReUUziixk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’kQgxNdmReUUziixk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’LettdJbZrKBVUfMJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’LettdJbZrKBVUfMJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’VMCttiJkTDGTnhCO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’VMCttiJkTDGTnhCO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’TbVfkfcRJfaxWLQK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’TbVfkfcRJfaxWLQK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’kQgxNdmReUUziixk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’kQgxNdmReUUziixk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’LettdJbZrKBVUfMJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’LettdJbZrKBVUfMJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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]}]})

 1518b-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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’nkbkDoOLrXcgjuKY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’nkbkDoOLrXcgjuKY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’qxbEcZdKuqRRUIUF’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’qxbEcZdKuqRRUIUF’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’FCNzsYFbjgUeZYZC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’FCNzsYFbjgUeZYZC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’LksnENrqyglytmLw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’LksnENrqyglytmLw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’nkbkDoOLrXcgjuKY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’nkbkDoOLrXcgjuKY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’qxbEcZdKuqRRUIUF’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’qxbEcZdKuqRRUIUF’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’FCNzsYFbjgUeZYZC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’FCNzsYFbjgUeZYZC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’LksnENrqyglytmLw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’LksnENrqyglytmLw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’DGBUvZjjipYsPtUN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’DGBUvZjjipYsPtUN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’HaIdVHckKNWRASuM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’HaIdVHckKNWRASuM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’jNlLtgnXSxcgkCVr’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’jNlLtgnXSxcgkCVr’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’gpxqZmLxUepNDBaM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’gpxqZmLxUepNDBaM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’DGBUvZjjipYsPtUN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’DGBUvZjjipYsPtUN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’HaIdVHckKNWRASuM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’HaIdVHckKNWRASuM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’jNlLtgnXSxcgkCVr’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’jNlLtgnXSxcgkCVr’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’gpxqZmLxUepNDBaM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’gpxqZmLxUepNDBaM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’lRvHetkmZWfcEGvk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’lRvHetkmZWfcEGvk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’nelOghnMLKtqyGDH’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’nelOghnMLKtqyGDH’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’RVfQtrYzvtkcXGOC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’RVfQtrYzvtkcXGOC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’kcBpcQRLKLKtMKSt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’kcBpcQRLKLKtMKSt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’lRvHetkmZWfcEGvk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’lRvHetkmZWfcEGvk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’nelOghnMLKtqyGDH’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’nelOghnMLKtqyGDH’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’RVfQtrYzvtkcXGOC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’RVfQtrYzvtkcXGOC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’kcBpcQRLKLKtMKSt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’kcBpcQRLKLKtMKSt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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) 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’NVXYYcffWISNGFyykxkAXKcuTCKjBgpt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’NVXYYcffWISNGFyykxkAXKcuTCKjBgpt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’uKxorkXIVuCLCctFcWvZZlQisYiVPGvO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’uKxorkXIVuCLCctFcWvZZlQisYiVPGvO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’MtBxaQemOrWkNvyvgQAWTcAJBxUvJMWR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’MtBxaQemOrWkNvyvgQAWTcAJBxUvJMWR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’LntfpzBiJYPFqaijRHSpVoadnbKCztsp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’LntfpzBiJYPFqaijRHSpVoadnbKCztsp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’NVXYYcffWISNGFyykxkAXKcuTCKjBgpt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’NVXYYcffWISNGFyykxkAXKcuTCKjBgpt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’uKxorkXIVuCLCctFcWvZZlQisYiVPGvO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’uKxorkXIVuCLCctFcWvZZlQisYiVPGvO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’MtBxaQemOrWkNvyvgQAWTcAJBxUvJMWR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’MtBxaQemOrWkNvyvgQAWTcAJBxUvJMWR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’LntfpzBiJYPFqaijRHSpVoadnbKCztsp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’LntfpzBiJYPFqaijRHSpVoadnbKCztsp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’melqZHYssOsKvHffANnNXzFDeAMpfGpI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’melqZHYssOsKvHffANnNXzFDeAMpfGpI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’hxPFYtNruteAPSrMYsvtGOjEhitHwUAd’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’hxPFYtNruteAPSrMYsvtGOjEhitHwUAd’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’HFXzvhqKtXZAtnuELayAXukBMuydYbCL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’HFXzvhqKtXZAtnuELayAXukBMuydYbCL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’kpDcxIabAzIGQnuAyoEHhwugfCGrBJpX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’kpDcxIabAzIGQnuAyoEHhwugfCGrBJpX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’melqZHYssOsKvHffANnNXzFDeAMpfGpI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’melqZHYssOsKvHffANnNXzFDeAMpfGpI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’hxPFYtNruteAPSrMYsvtGOjEhitHwUAd’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’hxPFYtNruteAPSrMYsvtGOjEhitHwUAd’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’HFXzvhqKtXZAtnuELayAXukBMuydYbCL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’HFXzvhqKtXZAtnuELayAXukBMuydYbCL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’kpDcxIabAzIGQnuAyoEHhwugfCGrBJpX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’kpDcxIabAzIGQnuAyoEHhwugfCGrBJpX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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]}]})

 1518b-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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’PopQdDPfyQcgVzvBfqIpCBESEJXUJSqL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’PopQdDPfyQcgVzvBfqIpCBESEJXUJSqL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’HSwFgEHTxRiOfmQBYhLLelgPVLEsbVLL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’HSwFgEHTxRiOfmQBYhLLelgPVLEsbVLL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’agXeVfYNOlGZvqGpQJClpbREUEeMzyrb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’agXeVfYNOlGZvqGpQJClpbREUEeMzyrb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rwZEShVmuLhgCANHaJEoCOLOUmBZkrrr’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rwZEShVmuLhgCANHaJEoCOLOUmBZkrrr’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’PopQdDPfyQcgVzvBfqIpCBESEJXUJSqL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’PopQdDPfyQcgVzvBfqIpCBESEJXUJSqL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’HSwFgEHTxRiOfmQBYhLLelgPVLEsbVLL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’HSwFgEHTxRiOfmQBYhLLelgPVLEsbVLL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’agXeVfYNOlGZvqGpQJClpbREUEeMzyrb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’agXeVfYNOlGZvqGpQJClpbREUEeMzyrb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rwZEShVmuLhgCANHaJEoCOLOUmBZkrrr’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rwZEShVmuLhgCANHaJEoCOLOUmBZkrrr’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’URnwInRdztaAXfFbaDtdZSKKoiBKhBxk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’URnwInRdztaAXfFbaDtdZSKKoiBKhBxk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XkWoMvULrEVwdHpalYNJMxPkAntiPWqU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XkWoMvULrEVwdHpalYNJMxPkAntiPWqU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’llfZUEdYQsynPViYlFYSuZdQfCqCjDtP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’llfZUEdYQsynPViYlFYSuZdQfCqCjDtP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’PeDdqeAynHtriAixTzKhrpoWBrBNhfia’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’PeDdqeAynHtriAixTzKhrpoWBrBNhfia’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’URnwInRdztaAXfFbaDtdZSKKoiBKhBxk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’URnwInRdztaAXfFbaDtdZSKKoiBKhBxk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XkWoMvULrEVwdHpalYNJMxPkAntiPWqU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XkWoMvULrEVwdHpalYNJMxPkAntiPWqU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’llfZUEdYQsynPViYlFYSuZdQfCqCjDtP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’llfZUEdYQsynPViYlFYSuZdQfCqCjDtP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’PeDdqeAynHtriAixTzKhrpoWBrBNhfia’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’PeDdqeAynHtriAixTzKhrpoWBrBNhfia’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’ayxOfdklgeatTLgsRrjAMcNFtlWzJQnp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ayxOfdklgeatTLgsRrjAMcNFtlWzJQnp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’zcvMNZaTWJowoXRWJgIymYvjEADfNlUp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’zcvMNZaTWJowoXRWJgIymYvjEADfNlUp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’IiQOwPBJAVZEXADKSOsOUcPizzghnnJG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’IiQOwPBJAVZEXADKSOsOUcPizzghnnJG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’pDvvuMFdYsZQqhzXvbzqrGnGZoAYMNYu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’pDvvuMFdYsZQqhzXvbzqrGnGZoAYMNYu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’ayxOfdklgeatTLgsRrjAMcNFtlWzJQnp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ayxOfdklgeatTLgsRrjAMcNFtlWzJQnp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’zcvMNZaTWJowoXRWJgIymYvjEADfNlUp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’zcvMNZaTWJowoXRWJgIymYvjEADfNlUp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’IiQOwPBJAVZEXADKSOsOUcPizzghnnJG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’IiQOwPBJAVZEXADKSOsOUcPizzghnnJG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’pDvvuMFdYsZQqhzXvbzqrGnGZoAYMNYu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’pDvvuMFdYsZQqhzXvbzqrGnGZoAYMNYu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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) 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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) 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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) 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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) 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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) 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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) 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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) 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) 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’DJniNDUstfseYXPp’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’krsoiLcpxdJccGcwkYBiDZapgRAdFZdSHvIZJkktJovzBZoqzJgZGzjhDUIatqsK’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’DJniNDUstfseYXPp’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’krsoiLcpxdJccGcwkYBiDZapgRAdFZdSHvIZJkktJovzBZoqzJgZGzjhDUIatqsK’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’DJniNDUstfseYXPp’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’krsoiLcpxdJccGcwkYBiDZapgRAdFZdSHvIZJkktJovzBZoqzJgZGzjhDUIatqsK’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’DJniNDUstfseYXPp’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’krsoiLcpxdJccGcwkYBiDZapgRAdFZdSHvIZJkktJovzBZoqzJgZGzjhDUIatqsK’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xUzfUdsJWZTJhhiv’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’TPxgOYpUUhHMQIamcbwlfGnbTDHHCaxvSQGrHXBehQzLanyknKInQBGRrSwBNVgR’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’xUzfUdsJWZTJhhiv’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’TPxgOYpUUhHMQIamcbwlfGnbTDHHCaxvSQGrHXBehQzLanyknKInQBGRrSwBNVgR’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xUzfUdsJWZTJhhiv’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’TPxgOYpUUhHMQIamcbwlfGnbTDHHCaxvSQGrHXBehQzLanyknKInQBGRrSwBNVgR’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’xUzfUdsJWZTJhhiv’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’TPxgOYpUUhHMQIamcbwlfGnbTDHHCaxvSQGrHXBehQzLanyknKInQBGRrSwBNVgR’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xlZvYOlhFIlYhtlZ’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’LhVTClyikfsUnvoSiIiCGdqLYKyScLQVhXOcSPnWdtGDEYTPrcMjevAExFTphVvC’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’xlZvYOlhFIlYhtlZ’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’LhVTClyikfsUnvoSiIiCGdqLYKyScLQVhXOcSPnWdtGDEYTPrcMjevAExFTphVvC’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xlZvYOlhFIlYhtlZ’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’LhVTClyikfsUnvoSiIiCGdqLYKyScLQVhXOcSPnWdtGDEYTPrcMjevAExFTphVvC’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’xlZvYOlhFIlYhtlZ’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’LhVTClyikfsUnvoSiIiCGdqLYKyScLQVhXOcSPnWdtGDEYTPrcMjevAExFTphVvC’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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) 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’ynphVYtcxsRILTiQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ynphVYtcxsRILTiQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’ynphVYtcxsRILTiQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ynphVYtcxsRILTiQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’AePzHEAKbelgLXlj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’AePzHEAKbelgLXlj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’AePzHEAKbelgLXlj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’AePzHEAKbelgLXlj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’yMiYKLOddPlJAZsW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’yMiYKLOddPlJAZsW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’yMiYKLOddPlJAZsW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’yMiYKLOddPlJAZsW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’VEXQmZLPDcWyRyXR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’VEXQmZLPDcWyRyXR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’VEXQmZLPDcWyRyXR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’VEXQmZLPDcWyRyXR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’uXaOkuDonOgJQuYV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’uXaOkuDonOgJQuYV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’uXaOkuDonOgJQuYV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’uXaOkuDonOgJQuYV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’GYBMXpuwRRtZQrkg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’GYBMXpuwRRtZQrkg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’GYBMXpuwRRtZQrkg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’GYBMXpuwRRtZQrkg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’ymWTdYikrKAPtHyL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ymWTdYikrKAPtHyL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’ymWTdYikrKAPtHyL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ymWTdYikrKAPtHyL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’czwYnxOCAVcZCIMx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’czwYnxOCAVcZCIMx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’czwYnxOCAVcZCIMx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’czwYnxOCAVcZCIMx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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) 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’DINjgFwguvvaIfeqkqjLiNiMDqcvimBg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’DINjgFwguvvaIfeqkqjLiNiMDqcvimBg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’DINjgFwguvvaIfeqkqjLiNiMDqcvimBg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’DINjgFwguvvaIfeqkqjLiNiMDqcvimBg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’taAXRrmYkpDmvWafOiqRKRVEZAYNvLNO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’taAXRrmYkpDmvWafOiqRKRVEZAYNvLNO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’taAXRrmYkpDmvWafOiqRKRVEZAYNvLNO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’taAXRrmYkpDmvWafOiqRKRVEZAYNvLNO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’SPejsZBhustLMcpEvhuzAZFmqtRSrcdZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’SPejsZBhustLMcpEvhuzAZFmqtRSrcdZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’SPejsZBhustLMcpEvhuzAZFmqtRSrcdZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’SPejsZBhustLMcpEvhuzAZFmqtRSrcdZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’faHwHStTCSLUveWhOlhRMuAfLccfxohK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’faHwHStTCSLUveWhOlhRMuAfLccfxohK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’faHwHStTCSLUveWhOlhRMuAfLccfxohK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’faHwHStTCSLUveWhOlhRMuAfLccfxohK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’JcbiAMMmCBoPujhdkBxxJiuMeDGZNKyy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’JcbiAMMmCBoPujhdkBxxJiuMeDGZNKyy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’JcbiAMMmCBoPujhdkBxxJiuMeDGZNKyy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’JcbiAMMmCBoPujhdkBxxJiuMeDGZNKyy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’muTLWoiZKzjtTtsyAzGfzfOLelkAipmU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’muTLWoiZKzjtTtsyAzGfzfOLelkAipmU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’muTLWoiZKzjtTtsyAzGfzfOLelkAipmU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’muTLWoiZKzjtTtsyAzGfzfOLelkAipmU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’ozfKFwAcGidKMKuQFvKlmvkaWkoeKxNO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ozfKFwAcGidKMKuQFvKlmvkaWkoeKxNO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’ozfKFwAcGidKMKuQFvKlmvkaWkoeKxNO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ozfKFwAcGidKMKuQFvKlmvkaWkoeKxNO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’hJBMiqMIrHqVUbhiQNrxwfJDYaCOMQMb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’hJBMiqMIrHqVUbhiQNrxwfJDYaCOMQMb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’hJBMiqMIrHqVUbhiQNrxwfJDYaCOMQMb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’hJBMiqMIrHqVUbhiQNrxwfJDYaCOMQMb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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) 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}}, ‘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’xc8x00x00f’}, ‘via_label’: 1048576, ‘obj_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(‘200.0.0.102’)})
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’xc8x00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8xffxffxff’}}, ‘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’xc8x00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8xffxffxff’}}, ‘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’NQmJiliqoBqIccLVFPJwRiSvtDjXXnWB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘100.0.0.1’, ‘dst’: ‘200.0.0.102’, ‘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’NQmJiliqoBqIccLVFPJwRiSvtDjXXnWB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘200.0.0.102’, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
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]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘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’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]}]})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:39’, ‘ip_address’: IPv4Address(‘100.0.0.1’)})
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’xc8x00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8xffxffxff’}}, ‘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’xc8x00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8xffxffxff’}}, ‘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’NQmJiliqoBqIccLVFPJwRiSvtDjXXnWB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘100.0.0.1’, ‘dst’: ‘200.0.0.102’, ‘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’NQmJiliqoBqIccLVFPJwRiSvtDjXXnWB’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘200.0.0.102’, ‘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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}}, ‘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’xc8x00x00f’}, ‘via_label’: 1048576, ‘obj_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(‘200.0.0.102’)})
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’xc8x00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8xffxffxff’}}, ‘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’xc8x00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8xffxffxff’}}, ‘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’rYCbGBRqQDRupLLTykDiAjuyVPBWEaLU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘100.0.0.1’, ‘dst’: ‘200.0.0.102’, ‘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’rYCbGBRqQDRupLLTykDiAjuyVPBWEaLU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘200.0.0.102’, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
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]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘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’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]}]})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:39’, ‘ip_address’: IPv4Address(‘100.0.0.1’)})
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’xc8x00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8xffxffxff’}}, ‘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’xc8x00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8xffxffxff’}}, ‘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’rYCbGBRqQDRupLLTykDiAjuyVPBWEaLU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘100.0.0.1’, ‘dst’: ‘200.0.0.102’, ‘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’rYCbGBRqQDRupLLTykDiAjuyVPBWEaLU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘200.0.0.102’, ‘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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}}, ‘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’xc8x00x00f’}, ‘via_label’: 1048576, ‘obj_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(‘200.0.0.102’)})
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’xc8x00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8xffxffxff’}}, ‘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’xc8x00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8xffxffxff’}}, ‘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’abXmjKWxozFRWMPDrRVlxNifxqQsEave’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘100.0.0.1’, ‘dst’: ‘200.0.0.102’, ‘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’abXmjKWxozFRWMPDrRVlxNifxqQsEave’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘200.0.0.102’, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
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]}]})
ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘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’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]}]})
ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:bd:f9:39’, ‘ip_address’: IPv4Address(‘100.0.0.1’)})
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’xc8x00x00x00’}}, ‘local_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8xffxffxff’}}, ‘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’xc8x00x00x00’}}, ‘remote_address_stop’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8xffxffxff’}}, ‘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’abXmjKWxozFRWMPDrRVlxNifxqQsEave’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘100.0.0.1’, ‘dst’: ‘200.0.0.102’, ‘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’abXmjKWxozFRWMPDrRVlxNifxqQsEave’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: 0}, ‘flags’: 4, ‘tunnel’: {‘src’: ‘200.0.0.102’, ‘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) 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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’FMtVSinxwJCPhxVy’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’RuOOkDiigbwenfzmrjcOjQgneDhOfznHayhhBWlfTpRdwwoQXOGppRRmTqNgdouC’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’FMtVSinxwJCPhxVy’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’RuOOkDiigbwenfzmrjcOjQgneDhOfznHayhhBWlfTpRdwwoQXOGppRRmTqNgdouC’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’FMtVSinxwJCPhxVy’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’RuOOkDiigbwenfzmrjcOjQgneDhOfznHayhhBWlfTpRdwwoQXOGppRRmTqNgdouC’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’FMtVSinxwJCPhxVy’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’RuOOkDiigbwenfzmrjcOjQgneDhOfznHayhhBWlfTpRdwwoQXOGppRRmTqNgdouC’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’pwZPgiYWWrBwtyRA’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’HautBlpuRGNyYluyYgpTLVCtwfKKhslolxwqelLdAZWdIEIeFycNkCbwTXiWsvFj’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’pwZPgiYWWrBwtyRA’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’HautBlpuRGNyYluyYgpTLVCtwfKKhslolxwqelLdAZWdIEIeFycNkCbwTXiWsvFj’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’pwZPgiYWWrBwtyRA’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’HautBlpuRGNyYluyYgpTLVCtwfKKhslolxwqelLdAZWdIEIeFycNkCbwTXiWsvFj’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’pwZPgiYWWrBwtyRA’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’HautBlpuRGNyYluyYgpTLVCtwfKKhslolxwqelLdAZWdIEIeFycNkCbwTXiWsvFj’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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-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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’NGjYpSJJcjqYoquK’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’aihQJjpteRxsmAgteQiqpWKrraEzHdgMFORZhoNhCSiSuEppaGPlgcKFeaEtsgQi’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’NGjYpSJJcjqYoquK’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’aihQJjpteRxsmAgteQiqpWKrraEzHdgMFORZhoNhCSiSuEppaGPlgcKFeaEtsgQi’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’NGjYpSJJcjqYoquK’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’aihQJjpteRxsmAgteQiqpWKrraEzHdgMFORZhoNhCSiSuEppaGPlgcKFeaEtsgQi’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’NGjYpSJJcjqYoquK’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’aihQJjpteRxsmAgteQiqpWKrraEzHdgMFORZhoNhCSiSuEppaGPlgcKFeaEtsgQi’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’AJOEeYJKfRQmXKKf’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’VBIUEWuQkaLEGojcWMVqLmjxmxYVlbUrhuDcEcjhcVqZPsmxnbBwYnRqIRczWAmW’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’AJOEeYJKfRQmXKKf’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’VBIUEWuQkaLEGojcWMVqLmjxmxYVlbUrhuDcEcjhcVqZPsmxnbBwYnRqIRczWAmW’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’AJOEeYJKfRQmXKKf’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’VBIUEWuQkaLEGojcWMVqLmjxmxYVlbUrhuDcEcjhcVqZPsmxnbBwYnRqIRczWAmW’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’AJOEeYJKfRQmXKKf’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’VBIUEWuQkaLEGojcWMVqLmjxmxYVlbUrhuDcEcjhcVqZPsmxnbBwYnRqIRczWAmW’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’RTtouYawdfimRMJi’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’csZdgMnyRIkHFLikPoJExyULXucBqTnkydeZNNdpjbCXLrbqbMFiUdJgKsyedJwY’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’RTtouYawdfimRMJi’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’csZdgMnyRIkHFLikPoJExyULXucBqTnkydeZNNdpjbCXLrbqbMFiUdJgKsyedJwY’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’RTtouYawdfimRMJi’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’csZdgMnyRIkHFLikPoJExyULXucBqTnkydeZNNdpjbCXLrbqbMFiUdJgKsyedJwY’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’RTtouYawdfimRMJi’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’csZdgMnyRIkHFLikPoJExyULXucBqTnkydeZNNdpjbCXLrbqbMFiUdJgKsyedJwY’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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) 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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’nVVbXKhYjnPWpyKi’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’nVVbXKhYjnPWpyKi’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’nVVbXKhYjnPWpyKi’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’nVVbXKhYjnPWpyKi’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’vXLRGrLcwdRiEKGv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’vXLRGrLcwdRiEKGv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’vXLRGrLcwdRiEKGv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’vXLRGrLcwdRiEKGv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’YimcVvfJVHAFwUKW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’YimcVvfJVHAFwUKW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’YimcVvfJVHAFwUKW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’YimcVvfJVHAFwUKW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’YsyjJAQCaslIXtOS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’YsyjJAQCaslIXtOS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’YsyjJAQCaslIXtOS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’YsyjJAQCaslIXtOS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’UJcmOLAjTaFFRchl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’UJcmOLAjTaFFRchl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’UJcmOLAjTaFFRchl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’UJcmOLAjTaFFRchl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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) 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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’UewedgYSUbkCxffsjMASBXJhMTdCYsgg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’UewedgYSUbkCxffsjMASBXJhMTdCYsgg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’UewedgYSUbkCxffsjMASBXJhMTdCYsgg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’UewedgYSUbkCxffsjMASBXJhMTdCYsgg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’vwpSVPaOVfdEcprZxvCUXyZghbEUtrTd’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’vwpSVPaOVfdEcprZxvCUXyZghbEUtrTd’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’vwpSVPaOVfdEcprZxvCUXyZghbEUtrTd’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’vwpSVPaOVfdEcprZxvCUXyZghbEUtrTd’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’RjKrIHCdrIAHjYOQXuAAbRcnVNWhpKyv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’RjKrIHCdrIAHjYOQXuAAbRcnVNWhpKyv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’RjKrIHCdrIAHjYOQXuAAbRcnVNWhpKyv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’RjKrIHCdrIAHjYOQXuAAbRcnVNWhpKyv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’pJFdXHQkXDZMRKSPMBscXdUaGtWnhwbf’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’pJFdXHQkXDZMRKSPMBscXdUaGtWnhwbf’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’pJFdXHQkXDZMRKSPMBscXdUaGtWnhwbf’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’pJFdXHQkXDZMRKSPMBscXdUaGtWnhwbf’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’uYEjbHXZQrEwqoTNtvhDbynxXrfpfPxC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’uYEjbHXZQrEwqoTNtvhDbynxXrfpfPxC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’uYEjbHXZQrEwqoTNtvhDbynxXrfpfPxC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’uYEjbHXZQrEwqoTNtvhDbynxXrfpfPxC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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) 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-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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’ydoAvCieZaQdkPxs’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’MVGykoNmVzBwZLLcmkpKiSNInMWGeOqbbQGupPVkYRWqTfSkNtCFpFMtSYFgDBIB’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ydoAvCieZaQdkPxs’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’MVGykoNmVzBwZLLcmkpKiSNInMWGeOqbbQGupPVkYRWqTfSkNtCFpFMtSYFgDBIB’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’dRwbycanlkgThWFc’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’JVaqcbrbzJLhcmFVqcnffbJSyjflrzirajIsvnkQaMjPVaMaipmtGTIGfJvtSClq’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’dRwbycanlkgThWFc’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’JVaqcbrbzJLhcmFVqcnffbJSyjflrzirajIsvnkQaMjPVaMaipmtGTIGfJvtSClq’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’ydoAvCieZaQdkPxs’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’MVGykoNmVzBwZLLcmkpKiSNInMWGeOqbbQGupPVkYRWqTfSkNtCFpFMtSYFgDBIB’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ydoAvCieZaQdkPxs’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’MVGykoNmVzBwZLLcmkpKiSNInMWGeOqbbQGupPVkYRWqTfSkNtCFpFMtSYFgDBIB’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’dRwbycanlkgThWFc’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’JVaqcbrbzJLhcmFVqcnffbJSyjflrzirajIsvnkQaMjPVaMaipmtGTIGfJvtSClq’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’dRwbycanlkgThWFc’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’JVaqcbrbzJLhcmFVqcnffbJSyjflrzirajIsvnkQaMjPVaMaipmtGTIGfJvtSClq’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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-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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’ayzNVQNajKkspWCT’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’pUahAUobQgMvwBSTHEwqKYKpPMGRgYpudcjusEwKaqBkZeGJrzCVnpTPxNteUirj’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ayzNVQNajKkspWCT’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’pUahAUobQgMvwBSTHEwqKYKpPMGRgYpudcjusEwKaqBkZeGJrzCVnpTPxNteUirj’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’csJjcZXhGjjBzZye’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’MPmBdgdwsMrQwkLImRmAzIYEBWwKLmwGRBXJhDUhieMtHPExnuSCdvQQabWGNmfP’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’csJjcZXhGjjBzZye’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’MPmBdgdwsMrQwkLImRmAzIYEBWwKLmwGRBXJhDUhieMtHPExnuSCdvQQabWGNmfP’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’ayzNVQNajKkspWCT’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’pUahAUobQgMvwBSTHEwqKYKpPMGRgYpudcjusEwKaqBkZeGJrzCVnpTPxNteUirj’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ayzNVQNajKkspWCT’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’pUahAUobQgMvwBSTHEwqKYKpPMGRgYpudcjusEwKaqBkZeGJrzCVnpTPxNteUirj’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’csJjcZXhGjjBzZye’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’MPmBdgdwsMrQwkLImRmAzIYEBWwKLmwGRBXJhDUhieMtHPExnuSCdvQQabWGNmfP’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’csJjcZXhGjjBzZye’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’MPmBdgdwsMrQwkLImRmAzIYEBWwKLmwGRBXJhDUhieMtHPExnuSCdvQQabWGNmfP’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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]}]})

 1518b-2t2c-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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’JADyoGlhlrLmRTpl’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ZTNZXugdOtZNxZVGRJrLzHYxiHIbVsfQMVcGscUtPXrKvZczQreOKBcexlqUDQUZ’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’JADyoGlhlrLmRTpl’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ZTNZXugdOtZNxZVGRJrLzHYxiHIbVsfQMVcGscUtPXrKvZczQreOKBcexlqUDQUZ’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’hMZrPpLyAFRkWlfe’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’KrikaOtnQnOBtAPevQeVaqiSWWvRnTfSIaZPcdpblKaPTBshWScgEWBXJSXxBaTV’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’hMZrPpLyAFRkWlfe’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’KrikaOtnQnOBtAPevQeVaqiSWWvRnTfSIaZPcdpblKaPTBshWScgEWBXJSXxBaTV’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’JADyoGlhlrLmRTpl’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ZTNZXugdOtZNxZVGRJrLzHYxiHIbVsfQMVcGscUtPXrKvZczQreOKBcexlqUDQUZ’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’JADyoGlhlrLmRTpl’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ZTNZXugdOtZNxZVGRJrLzHYxiHIbVsfQMVcGscUtPXrKvZczQreOKBcexlqUDQUZ’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’hMZrPpLyAFRkWlfe’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’KrikaOtnQnOBtAPevQeVaqiSWWvRnTfSIaZPcdpblKaPTBshWScgEWBXJSXxBaTV’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’hMZrPpLyAFRkWlfe’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’KrikaOtnQnOBtAPevQeVaqiSWWvRnTfSIaZPcdpblKaPTBshWScgEWBXJSXxBaTV’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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-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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’JxvXaOpeKbmhQOCx’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ocynlEXVczZRsKwVSIYKrgHKThvXWMVvIrXTjmZHBXXEiQsWgWneinsCehAYPTSW’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’JxvXaOpeKbmhQOCx’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ocynlEXVczZRsKwVSIYKrgHKThvXWMVvIrXTjmZHBXXEiQsWgWneinsCehAYPTSW’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’zpSuhvBwqCzKbYns’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’VmSIiwVvtrEOUsPALbXgnACcvLMDHRurRnAQikojxGeKwxbtSNwqtMRJujUlCDRO’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’zpSuhvBwqCzKbYns’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’VmSIiwVvtrEOUsPALbXgnACcvLMDHRurRnAQikojxGeKwxbtSNwqtMRJujUlCDRO’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’JxvXaOpeKbmhQOCx’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ocynlEXVczZRsKwVSIYKrgHKThvXWMVvIrXTjmZHBXXEiQsWgWneinsCehAYPTSW’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’JxvXaOpeKbmhQOCx’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ocynlEXVczZRsKwVSIYKrgHKThvXWMVvIrXTjmZHBXXEiQsWgWneinsCehAYPTSW’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’zpSuhvBwqCzKbYns’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’VmSIiwVvtrEOUsPALbXgnACcvLMDHRurRnAQikojxGeKwxbtSNwqtMRJujUlCDRO’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’zpSuhvBwqCzKbYns’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’VmSIiwVvtrEOUsPALbXgnACcvLMDHRurRnAQikojxGeKwxbtSNwqtMRJujUlCDRO’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’dMvGXCPPNVIBbYfw’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ppSbUcXdUUmwHVLIsCtjWSPZUYiGnzQNPAlIFKPRQHClAbpPPJlQllHEPjNOIWCc’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’dMvGXCPPNVIBbYfw’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ppSbUcXdUUmwHVLIsCtjWSPZUYiGnzQNPAlIFKPRQHClAbpPPJlQllHEPjNOIWCc’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’aLZoDtggMcKYppcb’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’eugKdOJIzpCWJgcrFpsDTOfsLAuVpfLUxWHXyhvLnPntSjyLhTFyJoTsEtFebUsc’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’aLZoDtggMcKYppcb’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’eugKdOJIzpCWJgcrFpsDTOfsLAuVpfLUxWHXyhvLnPntSjyLhTFyJoTsEtFebUsc’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’dMvGXCPPNVIBbYfw’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ppSbUcXdUUmwHVLIsCtjWSPZUYiGnzQNPAlIFKPRQHClAbpPPJlQllHEPjNOIWCc’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’dMvGXCPPNVIBbYfw’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ppSbUcXdUUmwHVLIsCtjWSPZUYiGnzQNPAlIFKPRQHClAbpPPJlQllHEPjNOIWCc’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’aLZoDtggMcKYppcb’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’eugKdOJIzpCWJgcrFpsDTOfsLAuVpfLUxWHXyhvLnPntSjyLhTFyJoTsEtFebUsc’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’aLZoDtggMcKYppcb’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’eugKdOJIzpCWJgcrFpsDTOfsLAuVpfLUxWHXyhvLnPntSjyLhTFyJoTsEtFebUsc’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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) 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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’ScsSOpzwDbysUkjT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ScsSOpzwDbysUkjT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’wbgiOsdBSUtDewaG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’wbgiOsdBSUtDewaG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’ScsSOpzwDbysUkjT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ScsSOpzwDbysUkjT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’wbgiOsdBSUtDewaG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’wbgiOsdBSUtDewaG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’NPNywBBexmVLMOAw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’NPNywBBexmVLMOAw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’xtjBznqJlTbKOkiL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’xtjBznqJlTbKOkiL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’NPNywBBexmVLMOAw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’NPNywBBexmVLMOAw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’xtjBznqJlTbKOkiL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’xtjBznqJlTbKOkiL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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]}]})

 1518b-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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’QotEQNRchnoyGOzQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’QotEQNRchnoyGOzQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’WjvZsdsDIaHBgfVD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’WjvZsdsDIaHBgfVD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’QotEQNRchnoyGOzQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’QotEQNRchnoyGOzQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’WjvZsdsDIaHBgfVD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’WjvZsdsDIaHBgfVD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’yBXUmtrZFANdbVZM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’yBXUmtrZFANdbVZM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’pqCJVYkvhZfFWWEg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’pqCJVYkvhZfFWWEg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’yBXUmtrZFANdbVZM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’yBXUmtrZFANdbVZM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’pqCJVYkvhZfFWWEg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’pqCJVYkvhZfFWWEg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’yRKyjHsWPXgBqWOS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’yRKyjHsWPXgBqWOS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’vUMMQBFgtuSAyheI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’vUMMQBFgtuSAyheI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’yRKyjHsWPXgBqWOS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’yRKyjHsWPXgBqWOS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’vUMMQBFgtuSAyheI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’vUMMQBFgtuSAyheI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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) 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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’DWvgOjYsmOjUYidLKgSCuGWXjZNdRiyK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’DWvgOjYsmOjUYidLKgSCuGWXjZNdRiyK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’aGyDWQPESrkhuncNVuuWbBqGrUCQkHUo’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’aGyDWQPESrkhuncNVuuWbBqGrUCQkHUo’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’DWvgOjYsmOjUYidLKgSCuGWXjZNdRiyK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’DWvgOjYsmOjUYidLKgSCuGWXjZNdRiyK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’aGyDWQPESrkhuncNVuuWbBqGrUCQkHUo’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’aGyDWQPESrkhuncNVuuWbBqGrUCQkHUo’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’QTjagRdJhCUzhUjZZCnlyLTNaTzIvyAh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’QTjagRdJhCUzhUjZZCnlyLTNaTzIvyAh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’sUrodxnnLizBAUmBxVsxwKgkCqlKDTyt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’sUrodxnnLizBAUmBxVsxwKgkCqlKDTyt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’QTjagRdJhCUzhUjZZCnlyLTNaTzIvyAh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’QTjagRdJhCUzhUjZZCnlyLTNaTzIvyAh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’sUrodxnnLizBAUmBxVsxwKgkCqlKDTyt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’sUrodxnnLizBAUmBxVsxwKgkCqlKDTyt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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]}]})

 1518b-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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’VAQFFIhjyzXJtiQEvHHMpcIqsARbIKsn’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’VAQFFIhjyzXJtiQEvHHMpcIqsARbIKsn’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’VnESwoLDSdrndstoETZJBeDfwCfyMpeM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’VnESwoLDSdrndstoETZJBeDfwCfyMpeM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’VAQFFIhjyzXJtiQEvHHMpcIqsARbIKsn’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’VAQFFIhjyzXJtiQEvHHMpcIqsARbIKsn’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’VnESwoLDSdrndstoETZJBeDfwCfyMpeM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’VnESwoLDSdrndstoETZJBeDfwCfyMpeM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’ViJyujXxIeYTIebzcSqeKbRGmFSBockc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ViJyujXxIeYTIebzcSqeKbRGmFSBockc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’UPJzNZYQnoFkYsmhoMwRURHFXcCNnJoU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’UPJzNZYQnoFkYsmhoMwRURHFXcCNnJoU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’ViJyujXxIeYTIebzcSqeKbRGmFSBockc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ViJyujXxIeYTIebzcSqeKbRGmFSBockc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’UPJzNZYQnoFkYsmhoMwRURHFXcCNnJoU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’UPJzNZYQnoFkYsmhoMwRURHFXcCNnJoU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’SWvfGYhOQrjMDDkuuTxTnRMNUtnnflLO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’SWvfGYhOQrjMDDkuuTxTnRMNUtnnflLO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fXJTdlmmqqOGSiCcAqFFrzUKKIuuSyFC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fXJTdlmmqqOGSiCcAqFFrzUKKIuuSyFC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’SWvfGYhOQrjMDDkuuTxTnRMNUtnnflLO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’SWvfGYhOQrjMDDkuuTxTnRMNUtnnflLO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fXJTdlmmqqOGSiCcAqFFrzUKKIuuSyFC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fXJTdlmmqqOGSiCcAqFFrzUKKIuuSyFC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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) 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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.101/24
exec set ip neighbor TwentyFiveGigabitEthernet3b/0/1 200.0.0.102 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.102 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-cbc-128 crypto-key 734a4c5842735a4479555164796e656e integ-alg sha-512-256 integ-key 447871435858526546577448694277544b796d5a6f4c704c514e525a4863524f41646c6b6b536246676d4b4566554770424c57627962615963665a4b4c736b59 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-cbc-128 crypto-key 734a4c5842735a4479555164796e656e integ-alg sha-512-256 integ-key 447871435858526546577448694277544b796d5a6f4c704c514e525a4863524f41646c6b6b536246676d4b4566554770424c57627962615963665a4b4c736b59 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.102 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-cbc-128 crypto-key 486a7a69686e6943766f704447626673 integ-alg sha-512-256 integ-key 69595568564f5a636f636a725256684e6e70756350567442737959734b7a4e6f6b474d7945514163754e72674e736c506a63486e7a6465687651676577466c68 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-cbc-128 crypto-key 486a7a69686e6943766f704447626673 integ-alg sha-512-256 integ-key 69595568564f5a636f636a725256684e6e70756350567442737959734b7a4e6f6b474d7945514163754e72674e736c506a63486e7a6465687651676577466c68 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.102 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-cbc-128 crypto-key 64645a565854484c476f75597156664d integ-alg sha-512-256 integ-key 6e6a66447a6d77534c734e71416a68744a736973767667426c626c43714f474c6543516271497868586f41464649785173476d50736e66776c45516d4550524e esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-cbc-128 crypto-key 64645a565854484c476f75597156664d integ-alg sha-512-256 integ-key 6e6a66447a6d77534c734e71416a68744a736973767667426c626c43714f474c6543516271497868586f41464649785173476d50736e66776c45516d4550524e 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.102 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-cbc-128 crypto-key 7642455053794a4253436d4357485952 integ-alg sha-512-256 integ-key 42484c6d576c6179677070796e4d41574d697752576b4b64567262764f54767161566f7a436479564e75744276696b687574434368514648786a4666587a5754 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-cbc-128 crypto-key 7642455053794a4253436d4357485952 integ-alg sha-512-256 integ-key 42484c6d576c6179677070796e4d41574d697752576b4b64567262764f54767161566f7a436479564e75744276696b687574434368514648786a4666587a5754 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.102 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-cbc-128 crypto-key 476e67536555585a6d47744d736e6864 integ-alg sha-512-256 integ-key 56644946496844544261634a4f454845506a6c656e494f6151774675446f6f635a474d7859736c62477069416d46614a5a794d4d595a43696654696649625769 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-cbc-128 crypto-key 476e67536555585a6d47744d736e6864 integ-alg sha-512-256 integ-key 56644946496844544261634a4f454845506a6c656e494f6151774675446f6f635a474d7859736c62477069416d46614a5a794d4d595a43696654696649625769 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.102 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-cbc-128 crypto-key 5270716d6f6445694b5943536b755152 integ-alg sha-512-256 integ-key 67786b514f417a6452585061416851716d754e7041594d6b644475757777434649745a506c5764587a44444a4f784b4b7746716464685367416c7554456b6171 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-cbc-128 crypto-key 5270716d6f6445694b5943536b755152 integ-alg sha-512-256 integ-key 67786b514f417a6452585061416851716d754e7041594d6b644475757777434649745a506c5764587a44444a4f784b4b7746716464685367416c7554456b6171 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.102 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-cbc-128 crypto-key 666142695653737862796553594c7070 integ-alg sha-512-256 integ-key 5a6d534c435279624f6c66554c5170615848586e6365414671764b4e6b4c7577514b414d634e6d646e42677a786d4d4e6344726e684e494b4d6c78746a4d544a esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-cbc-128 crypto-key 666142695653737862796553594c7070 integ-alg sha-512-256 integ-key 5a6d534c435279624f6c66554c5170615848586e6365414671764b4e6b4c7577514b414d634e6d646e42677a786d4d4e6344726e684e494b4d6c78746a4d544a 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.102 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-cbc-128 crypto-key 6b6870666b52446d467a62716863746c integ-alg sha-512-256 integ-key 737466684b78534d594a5063746373666e574747687577474c696f787055586b6241545543694b6f434e73636f596b757a7742536f6c74645049725664766269 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-cbc-128 crypto-key 6b6870666b52446d467a62716863746c integ-alg sha-512-256 integ-key 737466684b78534d594a5063746373666e574747687577474c696f787055586b6241545543694b6f434e73636f596b757a7742536f6c74645049725664766269 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.102 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-cbc-128 crypto-key 69474950734b4479516d475652597558 integ-alg sha-512-256 integ-key 65497043734570664c4f79436d52536765495566634f535453735748734271796c43704f4a4d6b50544a6764446645415741566163516c6d62474953567a6c64 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-cbc-128 crypto-key 69474950734b4479516d475652597558 integ-alg sha-512-256 integ-key 65497043734570664c4f79436d52536765495566634f535453735748734271796c43704f4a4d6b50544a6764446645415741566163516c6d62474953567a6c64 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.102 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-cbc-128 crypto-key 4b6a53567745744b7361597272685756 integ-alg sha-512-256 integ-key 69436f6b5267656f7776734f6649676b4572444669674d524e6157424d4d564f596e6f796d687978546851466167444d5457597255665a6a4a44674a6c585449 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-cbc-128 crypto-key 4b6a53567745744b7361597272685756 integ-alg sha-512-256 integ-key 69436f6b5267656f7776734f6649676b4572444669674d524e6157424d4d564f596e6f796d687978546851466167444d5457597255665a6a4a44674a6c585449 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.102 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-cbc-128 crypto-key 7a796e4b5571764a7259635944537a6d integ-alg sha-512-256 integ-key 496b4777446d5445454950474a714b4c694a65466c6e6f4348595a4e62614b58616d7557425175436162544b6f6d707176506d4158595854447058686e46746b esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-cbc-128 crypto-key 7a796e4b5571764a7259635944537a6d integ-alg sha-512-256 integ-key 496b4777446d5445454950474a714b4c694a65466c6e6f4348595a4e62614b58616d7557425175436162544b6f6d707176506d4158595854447058686e46746b 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.102 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-cbc-128 crypto-key 744d576259446a5a4c62424747517263 integ-alg sha-512-256 integ-key 42466174586b47496f6e424d704c7a504a5842765650656f5458725a4c4d76694b426e577a416c466f5473664c43686853485642496650756a58676c547a6e76 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-cbc-128 crypto-key 744d576259446a5a4c62424747517263 integ-alg sha-512-256 integ-key 42466174586b47496f6e424d704c7a504a5842765650656f5458725a4c4d76694b426e577a416c466f5473664c43686853485642496650756a58676c547a6e76 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.102 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-cbc-128 crypto-key 634b574f4f696f627a704f74746c6d57 integ-alg sha-512-256 integ-key 506857545761536a7151534947476c575856697172654d4a63727851786869576c664e5a434b764c474b415243577273694c7048636b42787158686e414f6768 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-cbc-128 crypto-key 634b574f4f696f627a704f74746c6d57 integ-alg sha-512-256 integ-key 506857545761536a7151534947476c575856697172654d4a63727851786869576c664e5a434b764c474b415243577273694c7048636b42787158686e414f6768 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.102 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-cbc-128 crypto-key 66667a6371506f4f6e5859764167566c integ-alg sha-512-256 integ-key 4477595041496663706a625a4674435561747a67675a53505473544a7a6f55567177524b4377527077674477677a47485a756443414d634a69766d786c427165 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-cbc-128 crypto-key 66667a6371506f4f6e5859764167566c integ-alg sha-512-256 integ-key 4477595041496663706a625a4674435561747a67675a53505473544a7a6f55567177524b4377527077674477677a47485a756443414d634a69766d786c427165 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.102 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-cbc-128 crypto-key 4d414b6776456c67525962774a645949 integ-alg sha-512-256 integ-key 6c4f6468524d6762584c5a6d4657594b716f7646644b4a59616b425561576c57736946674f5862415a656c6d57626873706f66675a4c4a564b666374667a7776 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-cbc-128 crypto-key 4d414b6776456c67525962774a645949 integ-alg sha-512-256 integ-key 6c4f6468524d6762584c5a6d4657594b716f7646644b4a59616b425561576c57736946674f5862415a656c6d57626873706f66675a4c4a564b666374667a7776 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.102 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-cbc-128 crypto-key 4448507a765a79554f477764474b6658 integ-alg sha-512-256 integ-key 68644c584362646d4d416862496174524269747077754f75446f73735a4a566b4e5a586d74546d7766487970756e52684d4978594d586f784d536b6441596c47 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-cbc-128 crypto-key 4448507a765a79554f477764474b6658 integ-alg sha-512-256 integ-key 68644c584362646d4d416862496174524269747077754f75446f73735a4a566b4e5a586d74546d7766487970756e52684d4978594d586f784d536b6441596c47 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.102 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-cbc-128 crypto-key 70476e6b577767544b4d43416e544c6f integ-alg sha-512-256 integ-key 41574c505270476e744a4e4c675652787649714e6250554f646b717a665678704b50436d424a6d6b42777a5475706d645458565476715050476a49494c744565 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-cbc-128 crypto-key 70476e6b577767544b4d43416e544c6f integ-alg sha-512-256 integ-key 41574c505270476e744a4e4c675652787649714e6250554f646b717a665678704b50436d424a6d6b42777a5475706d645458565476715050476a49494c744565 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.102 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-cbc-128 crypto-key 694a6c73536e444b467850566b767271 integ-alg sha-512-256 integ-key 73564861684b7471596562704c7078634f41706c706561616e45595561424755515466587a44574b685652444850584d615963794b4c71547a49534d517a5253 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-cbc-128 crypto-key 694a6c73536e444b467850566b767271 integ-alg sha-512-256 integ-key 73564861684b7471596562704c7078634f41706c706561616e45595561424755515466587a44574b685652444850584d615963794b4c71547a49534d517a5253 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.102 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-cbc-128 crypto-key 62617378536b626942644867567a646f integ-alg sha-512-256 integ-key 6650755742735577474c416b64547356746556654f4d53516a4c6147664e5863725341774865724e6e63655a6544447757766d486b646b6d5568454b70576377 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-cbc-128 crypto-key 62617378536b626942644867567a646f integ-alg sha-512-256 integ-key 6650755742735577474c416b64547356746556654f4d53516a4c6147664e5863725341774865724e6e63655a6544447757766d486b646b6d5568454b70576377 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.102 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-cbc-128 crypto-key 5275726c76627a7644585a485756524a integ-alg sha-512-256 integ-key 78685746417447714272476a4c754759664655666573785a4549654b68697741704b564779504b6e776674544d6b764e48547a447964616f6a6261767546714c esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-cbc-128 crypto-key 5275726c76627a7644585a485756524a integ-alg sha-512-256 integ-key 78685746417447714272476a4c754759664655666573785a4549654b68697741704b564779504b6e776674544d6b764e48547a447964616f6a6261767546714c 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.102 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-cbc-128 crypto-key 5457734c41706275415a4b676478674f integ-alg sha-512-256 integ-key 6c415050456c725a41426e554b7669756f6a536e764d4c50757a506b53674261414d6b4e6561494a4d785276494c6452784969625271764e7548737552414b7a esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-cbc-128 crypto-key 5457734c41706275415a4b676478674f integ-alg sha-512-256 integ-key 6c415050456c725a41426e554b7669756f6a536e764d4c50757a506b53674261414d6b4e6561494a4d785276494c6452784969625271764e7548737552414b7a 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.102 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-cbc-128 crypto-key 7247746141556d707971447065475148 integ-alg sha-512-256 integ-key 6b466a724f6168545a474c5041536a7470427547514775514451436568414b7554486979564e534c436d61734657774a446b654c7a675a6c564f7741466b7677 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-cbc-128 crypto-key 7247746141556d707971447065475148 integ-alg sha-512-256 integ-key 6b466a724f6168545a474c5041536a7470427547514775514451436568414b7554486979564e534c436d61734657774a446b654c7a675a6c564f7741466b7677 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.102 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-cbc-128 crypto-key 6e517248594e586f596454556a616958 integ-alg sha-512-256 integ-key 52504f516642486a72426b517a437458787a6f6d5a4c5962474f6557714e4552464f4f5859744646464c585471746757797a7169576a754d50455a734b4e7461 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-cbc-128 crypto-key 6e517248594e586f596454556a616958 integ-alg sha-512-256 integ-key 52504f516642486a72426b517a437458787a6f6d5a4c5962474f6557714e4552464f4f5859744646464c585471746757797a7169576a754d50455a734b4e7461 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.102 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-cbc-128 crypto-key 6e636a6e784d6375764a436e5858454c integ-alg sha-512-256 integ-key 584b7465506a56745845444e494a5a475455674b6c66706e5a746364716a4d6b464b676d58424c58727a4c53666a71574c7a546f7452536b65524156726d4742 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-cbc-128 crypto-key 6e636a6e784d6375764a436e5858454c integ-alg sha-512-256 integ-key 584b7465506a56745845444e494a5a475455674b6c66706e5a746364716a4d6b464b676d58424c58727a4c53666a71574c7a546f7452536b65524156726d4742 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.102 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-cbc-128 crypto-key 63646b64437649466e45646259637479 integ-alg sha-512-256 integ-key 6f5862724d7670696b6b69655372615a4d504c7a46574f4150545a56555a6e415566566f726e53704f4d7a754248755273547a43486769584145527a44694977 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-cbc-128 crypto-key 63646b64437649466e45646259637479 integ-alg sha-512-256 integ-key 6f5862724d7670696b6b69655372615a4d504c7a46574f4150545a56555a6e415566566f726e53704f4d7a754248755273547a43486769584145527a44694977 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.102 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-cbc-128 crypto-key 43687946785349427355474172795444 integ-alg sha-512-256 integ-key 787845727548544456527246515852585666417a7954784564584f42674a714e426f7363796c4463466765577a4c65434f7477434158634863624d464f7a454e esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-cbc-128 crypto-key 43687946785349427355474172795444 integ-alg sha-512-256 integ-key 787845727548544456527246515852585666417a7954784564584f42674a714e426f7363796c4463466765577a4c65434f7477434158634863624d464f7a454e 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.102 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-cbc-128 crypto-key 437a65776170774c63466651726b7562 integ-alg sha-512-256 integ-key 6b7667736d414674464a545771444a4e49487250476a494e65576c4646506664594852546c7054415257437749635558624a7045705356494a6b496e5149616c esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-cbc-128 crypto-key 437a65776170774c63466651726b7562 integ-alg sha-512-256 integ-key 6b7667736d414674464a545771444a4e49487250476a494e65576c4646506664594852546c7054415257437749635558624a7045705356494a6b496e5149616c 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.102 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-cbc-128 crypto-key 45615a47575356546c45795750584963 integ-alg sha-512-256 integ-key 4b454977594f516e4f6a69674663517775615149676e4e666e5570575642535664547965495a4a52526c78535644694851586f6143684e4755684b7341614d41 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-cbc-128 crypto-key 45615a47575356546c45795750584963 integ-alg sha-512-256 integ-key 4b454977594f516e4f6a69674663517775615149676e4e666e5570575642535664547965495a4a52526c78535644694851586f6143684e4755684b7341614d41 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.102 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-cbc-128 crypto-key 7a595373636e684855486d4e76694149 integ-alg sha-512-256 integ-key 56457461635378626772576b4b786542794c5255696e4a4d4850435259496566716553696f6e6778424c6142707059587261734c6979527a414178515570517a esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-cbc-128 crypto-key 7a595373636e684855486d4e76694149 integ-alg sha-512-256 integ-key 56457461635378626772576b4b786542794c5255696e4a4d4850435259496566716553696f6e6778424c6142707059587261734c6979527a414178515570517a 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.102 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-cbc-128 crypto-key 486754744e4e66466b4a6555684b7867 integ-alg sha-512-256 integ-key 57704d73554455694174466852444b6579514a51584b665043706d4d596c514a6861516b615074476161507a527242625a68574873774268536d67465651474c esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-cbc-128 crypto-key 486754744e4e66466b4a6555684b7867 integ-alg sha-512-256 integ-key 57704d73554455694174466852444b6579514a51584b665043706d4d596c514a6861516b615074476161507a527242625a68574873774268536d67465651474c 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.102 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-cbc-128 crypto-key 50616b79474545465375656256666e43 integ-alg sha-512-256 integ-key 764c706b524a776770526f767a4f6f73506f5465644c6342714a4e464e52424e634167556f626f4f4f726b6e586374644754587048456c6a4e436e4363635371 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-cbc-128 crypto-key 50616b79474545465375656256666e43 integ-alg sha-512-256 integ-key 764c706b524a776770526f767a4f6f73506f5465644c6342714a4e464e52424e634167556f626f4f4f726b6e586374644754587048456c6a4e436e4363635371 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.102 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-cbc-128 crypto-key 736b6e61726d474a6a6570767175464f integ-alg sha-512-256 integ-key 75427a70436174505a6d6364524571524d5568726f755147444361484867626964764c5a726350595862574f566143744871434f436471676a43495a466c7577 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-cbc-128 crypto-key 736b6e61726d474a6a6570767175464f integ-alg sha-512-256 integ-key 75427a70436174505a6d6364524571524d5568726f755147444361484867626964764c5a726350595862574f566143744871434f436471676a43495a466c7577 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.102 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-cbc-128 crypto-key 5042525976577749475063794d486a44 integ-alg sha-512-256 integ-key 6e4a63434a6664726c4151494b56577749666d616d68574f71564b636642595a766b4d48774149644c7a705670555544764267625772436c73524b6e71487a4d esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-cbc-128 crypto-key 5042525976577749475063794d486a44 integ-alg sha-512-256 integ-key 6e4a63434a6664726c4151494b56577749666d616d68574f71564b636642595a766b4d48774149644c7a705670555544764267625772436c73524b6e71487a4d 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.102 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-cbc-128 crypto-key 57644a45766d63486d635769447a4e74 integ-alg sha-512-256 integ-key 4c746e656c54486f68706c70624d4f584367486272495059586753714b4c70486573454558736456586b6d516c50634d4b4b46507166564f4b7547484e676d66 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-cbc-128 crypto-key 57644a45766d63486d635769447a4e74 integ-alg sha-512-256 integ-key 4c746e656c54486f68706c70624d4f584367486272495059586753714b4c70486573454558736456586b6d516c50634d4b4b46507166564f4b7547484e676d66 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.102 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-cbc-128 crypto-key 4153584247566b6d6f4b7158515a7856 integ-alg sha-512-256 integ-key 6c4d7849794a4e786d45614a6c4d7167724e62546f696a664c447a51587a56435057734c45486742414e50747643445565674757636953776657786a4a5a6c51 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-cbc-128 crypto-key 4153584247566b6d6f4b7158515a7856 integ-alg sha-512-256 integ-key 6c4d7849794a4e786d45614a6c4d7167724e62546f696a664c447a51587a56435057734c45486742414e50747643445565674757636953776657786a4a5a6c51 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.102 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-cbc-128 crypto-key 74457743664e56776e57577048434a72 integ-alg sha-512-256 integ-key 6a63444654586d55426d416d564c4f436658434a414a516c694a697a64427a54587547744255574b6348734e68437043656c645677556d5250534a5a7254627a esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-cbc-128 crypto-key 74457743664e56776e57577048434a72 integ-alg sha-512-256 integ-key 6a63444654586d55426d416d564c4f436658434a414a516c694a697a64427a54587547744255574b6348734e68437043656c645677556d5250534a5a7254627a 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.102 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-cbc-128 crypto-key 59495546554467735461517074644678 integ-alg sha-512-256 integ-key 4f5972564567676c4679434e5a4343527471654e7263715861526c59675569555456456a6c4445684763656c784a5663567979697357636974526572656c5a46 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-cbc-128 crypto-key 59495546554467735461517074644678 integ-alg sha-512-256 integ-key 4f5972564567676c4679434e5a4343527471654e7263715861526c59675569555456456a6c4445684763656c784a5663567979697357636974526572656c5a46 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.102 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-cbc-128 crypto-key 536d626e56637664494c706e5655466f integ-alg sha-512-256 integ-key 447a787473505669757155766a787746714b7157474d6b4346627156414d636b4b727a4759414c6542746177724f6155505a437173546162544b534a566e6557 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-cbc-128 crypto-key 536d626e56637664494c706e5655466f integ-alg sha-512-256 integ-key 447a787473505669757155766a787746714b7157474d6b4346627156414d636b4b727a4759414c6542746177724f6155505a437173546162544b534a566e6557 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.102 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-cbc-128 crypto-key 4c4b4c4e4b72524e45644b70496b7251 integ-alg sha-512-256 integ-key 5252414a44456e616352516e576f4f58646d666d454d445173744c6873684b6b7555667059757964494b68426c5a7562716d49664f4a444a494c706f576c5843 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-cbc-128 crypto-key 4c4b4c4e4b72524e45644b70496b7251 integ-alg sha-512-256 integ-key 5252414a44456e616352516e576f4f58646d666d454d445173744c6873684b6b7555667059757964494b68426c5a7562716d49664f4a444a494c706f576c5843 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.102 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-cbc-128 crypto-key 6264556d76756e4a6c716e584a594a42 integ-alg sha-512-256 integ-key 5872547a4b7a67426e44495a4a4470776248596e455266465a5373476b525a41644c77516c6f4f4a596245717a435847677844525748504b4846644750567641 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-cbc-128 crypto-key 6264556d76756e4a6c716e584a594a42 integ-alg sha-512-256 integ-key 5872547a4b7a67426e44495a4a4470776248596e455266465a5373476b525a41644c77516c6f4f4a596245717a435847677844525748504b4846644750567641 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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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.102/24.0
exec create ipip tunnel src 200.0.0.102 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-cbc-128 crypto-key 734a4c5842735a4479555164796e656e integ-alg sha-512-256 integ-key 447871435858526546577448694277544b796d5a6f4c704c514e525a4863524f41646c6b6b536246676d4b4566554770424c57627962615963665a4b4c736b59 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-cbc-128 crypto-key 734a4c5842735a4479555164796e656e integ-alg sha-512-256 integ-key 447871435858526546577448694277544b796d5a6f4c704c514e525a4863524f41646c6b6b536246676d4b4566554770424c57627962615963665a4b4c736b59 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-cbc-128 crypto-key 486a7a69686e6943766f704447626673 integ-alg sha-512-256 integ-key 69595568564f5a636f636a725256684e6e70756350567442737959734b7a4e6f6b474d7945514163754e72674e736c506a63486e7a6465687651676577466c68 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-cbc-128 crypto-key 486a7a69686e6943766f704447626673 integ-alg sha-512-256 integ-key 69595568564f5a636f636a725256684e6e70756350567442737959734b7a4e6f6b474d7945514163754e72674e736c506a63486e7a6465687651676577466c68 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-cbc-128 crypto-key 64645a565854484c476f75597156664d integ-alg sha-512-256 integ-key 6e6a66447a6d77534c734e71416a68744a736973767667426c626c43714f474c6543516271497868586f41464649785173476d50736e66776c45516d4550524e esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-cbc-128 crypto-key 64645a565854484c476f75597156664d integ-alg sha-512-256 integ-key 6e6a66447a6d77534c734e71416a68744a736973767667426c626c43714f474c6543516271497868586f41464649785173476d50736e66776c45516d4550524e esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-cbc-128 crypto-key 7642455053794a4253436d4357485952 integ-alg sha-512-256 integ-key 42484c6d576c6179677070796e4d41574d697752576b4b64567262764f54767161566f7a436479564e75744276696b687574434368514648786a4666587a5754 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-cbc-128 crypto-key 7642455053794a4253436d4357485952 integ-alg sha-512-256 integ-key 42484c6d576c6179677070796e4d41574d697752576b4b64567262764f54767161566f7a436479564e75744276696b687574434368514648786a4666587a5754 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-cbc-128 crypto-key 476e67536555585a6d47744d736e6864 integ-alg sha-512-256 integ-key 56644946496844544261634a4f454845506a6c656e494f6151774675446f6f635a474d7859736c62477069416d46614a5a794d4d595a43696654696649625769 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-cbc-128 crypto-key 476e67536555585a6d47744d736e6864 integ-alg sha-512-256 integ-key 56644946496844544261634a4f454845506a6c656e494f6151774675446f6f635a474d7859736c62477069416d46614a5a794d4d595a43696654696649625769 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-cbc-128 crypto-key 5270716d6f6445694b5943536b755152 integ-alg sha-512-256 integ-key 67786b514f417a6452585061416851716d754e7041594d6b644475757777434649745a506c5764587a44444a4f784b4b7746716464685367416c7554456b6171 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-cbc-128 crypto-key 5270716d6f6445694b5943536b755152 integ-alg sha-512-256 integ-key 67786b514f417a6452585061416851716d754e7041594d6b644475757777434649745a506c5764587a44444a4f784b4b7746716464685367416c7554456b6171 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-cbc-128 crypto-key 666142695653737862796553594c7070 integ-alg sha-512-256 integ-key 5a6d534c435279624f6c66554c5170615848586e6365414671764b4e6b4c7577514b414d634e6d646e42677a786d4d4e6344726e684e494b4d6c78746a4d544a esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-cbc-128 crypto-key 666142695653737862796553594c7070 integ-alg sha-512-256 integ-key 5a6d534c435279624f6c66554c5170615848586e6365414671764b4e6b4c7577514b414d634e6d646e42677a786d4d4e6344726e684e494b4d6c78746a4d544a esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-cbc-128 crypto-key 6b6870666b52446d467a62716863746c integ-alg sha-512-256 integ-key 737466684b78534d594a5063746373666e574747687577474c696f787055586b6241545543694b6f434e73636f596b757a7742536f6c74645049725664766269 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-cbc-128 crypto-key 6b6870666b52446d467a62716863746c integ-alg sha-512-256 integ-key 737466684b78534d594a5063746373666e574747687577474c696f787055586b6241545543694b6f434e73636f596b757a7742536f6c74645049725664766269 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-cbc-128 crypto-key 69474950734b4479516d475652597558 integ-alg sha-512-256 integ-key 65497043734570664c4f79436d52536765495566634f535453735748734271796c43704f4a4d6b50544a6764446645415741566163516c6d62474953567a6c64 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-cbc-128 crypto-key 69474950734b4479516d475652597558 integ-alg sha-512-256 integ-key 65497043734570664c4f79436d52536765495566634f535453735748734271796c43704f4a4d6b50544a6764446645415741566163516c6d62474953567a6c64 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-cbc-128 crypto-key 4b6a53567745744b7361597272685756 integ-alg sha-512-256 integ-key 69436f6b5267656f7776734f6649676b4572444669674d524e6157424d4d564f596e6f796d687978546851466167444d5457597255665a6a4a44674a6c585449 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-cbc-128 crypto-key 4b6a53567745744b7361597272685756 integ-alg sha-512-256 integ-key 69436f6b5267656f7776734f6649676b4572444669674d524e6157424d4d564f596e6f796d687978546851466167444d5457597255665a6a4a44674a6c585449 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-cbc-128 crypto-key 7a796e4b5571764a7259635944537a6d integ-alg sha-512-256 integ-key 496b4777446d5445454950474a714b4c694a65466c6e6f4348595a4e62614b58616d7557425175436162544b6f6d707176506d4158595854447058686e46746b esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-cbc-128 crypto-key 7a796e4b5571764a7259635944537a6d integ-alg sha-512-256 integ-key 496b4777446d5445454950474a714b4c694a65466c6e6f4348595a4e62614b58616d7557425175436162544b6f6d707176506d4158595854447058686e46746b esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-cbc-128 crypto-key 744d576259446a5a4c62424747517263 integ-alg sha-512-256 integ-key 42466174586b47496f6e424d704c7a504a5842765650656f5458725a4c4d76694b426e577a416c466f5473664c43686853485642496650756a58676c547a6e76 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-cbc-128 crypto-key 744d576259446a5a4c62424747517263 integ-alg sha-512-256 integ-key 42466174586b47496f6e424d704c7a504a5842765650656f5458725a4c4d76694b426e577a416c466f5473664c43686853485642496650756a58676c547a6e76 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-cbc-128 crypto-key 634b574f4f696f627a704f74746c6d57 integ-alg sha-512-256 integ-key 506857545761536a7151534947476c575856697172654d4a63727851786869576c664e5a434b764c474b415243577273694c7048636b42787158686e414f6768 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-cbc-128 crypto-key 634b574f4f696f627a704f74746c6d57 integ-alg sha-512-256 integ-key 506857545761536a7151534947476c575856697172654d4a63727851786869576c664e5a434b764c474b415243577273694c7048636b42787158686e414f6768 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-cbc-128 crypto-key 66667a6371506f4f6e5859764167566c integ-alg sha-512-256 integ-key 4477595041496663706a625a4674435561747a67675a53505473544a7a6f55567177524b4377527077674477677a47485a756443414d634a69766d786c427165 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-cbc-128 crypto-key 66667a6371506f4f6e5859764167566c integ-alg sha-512-256 integ-key 4477595041496663706a625a4674435561747a67675a53505473544a7a6f55567177524b4377527077674477677a47485a756443414d634a69766d786c427165 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-cbc-128 crypto-key 4d414b6776456c67525962774a645949 integ-alg sha-512-256 integ-key 6c4f6468524d6762584c5a6d4657594b716f7646644b4a59616b425561576c57736946674f5862415a656c6d57626873706f66675a4c4a564b666374667a7776 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-cbc-128 crypto-key 4d414b6776456c67525962774a645949 integ-alg sha-512-256 integ-key 6c4f6468524d6762584c5a6d4657594b716f7646644b4a59616b425561576c57736946674f5862415a656c6d57626873706f66675a4c4a564b666374667a7776 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-cbc-128 crypto-key 4448507a765a79554f477764474b6658 integ-alg sha-512-256 integ-key 68644c584362646d4d416862496174524269747077754f75446f73735a4a566b4e5a586d74546d7766487970756e52684d4978594d586f784d536b6441596c47 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-cbc-128 crypto-key 4448507a765a79554f477764474b6658 integ-alg sha-512-256 integ-key 68644c584362646d4d416862496174524269747077754f75446f73735a4a566b4e5a586d74546d7766487970756e52684d4978594d586f784d536b6441596c47 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-cbc-128 crypto-key 70476e6b577767544b4d43416e544c6f integ-alg sha-512-256 integ-key 41574c505270476e744a4e4c675652787649714e6250554f646b717a665678704b50436d424a6d6b42777a5475706d645458565476715050476a49494c744565 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-cbc-128 crypto-key 70476e6b577767544b4d43416e544c6f integ-alg sha-512-256 integ-key 41574c505270476e744a4e4c675652787649714e6250554f646b717a665678704b50436d424a6d6b42777a5475706d645458565476715050476a49494c744565 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-cbc-128 crypto-key 694a6c73536e444b467850566b767271 integ-alg sha-512-256 integ-key 73564861684b7471596562704c7078634f41706c706561616e45595561424755515466587a44574b685652444850584d615963794b4c71547a49534d517a5253 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-cbc-128 crypto-key 694a6c73536e444b467850566b767271 integ-alg sha-512-256 integ-key 73564861684b7471596562704c7078634f41706c706561616e45595561424755515466587a44574b685652444850584d615963794b4c71547a49534d517a5253 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-cbc-128 crypto-key 62617378536b626942644867567a646f integ-alg sha-512-256 integ-key 6650755742735577474c416b64547356746556654f4d53516a4c6147664e5863725341774865724e6e63655a6544447757766d486b646b6d5568454b70576377 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-cbc-128 crypto-key 62617378536b626942644867567a646f integ-alg sha-512-256 integ-key 6650755742735577474c416b64547356746556654f4d53516a4c6147664e5863725341774865724e6e63655a6544447757766d486b646b6d5568454b70576377 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-cbc-128 crypto-key 5275726c76627a7644585a485756524a integ-alg sha-512-256 integ-key 78685746417447714272476a4c754759664655666573785a4549654b68697741704b564779504b6e776674544d6b764e48547a447964616f6a6261767546714c esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-cbc-128 crypto-key 5275726c76627a7644585a485756524a integ-alg sha-512-256 integ-key 78685746417447714272476a4c754759664655666573785a4549654b68697741704b564779504b6e776674544d6b764e48547a447964616f6a6261767546714c esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-cbc-128 crypto-key 5457734c41706275415a4b676478674f integ-alg sha-512-256 integ-key 6c415050456c725a41426e554b7669756f6a536e764d4c50757a506b53674261414d6b4e6561494a4d785276494c6452784969625271764e7548737552414b7a esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-cbc-128 crypto-key 5457734c41706275415a4b676478674f integ-alg sha-512-256 integ-key 6c415050456c725a41426e554b7669756f6a536e764d4c50757a506b53674261414d6b4e6561494a4d785276494c6452784969625271764e7548737552414b7a esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-cbc-128 crypto-key 7247746141556d707971447065475148 integ-alg sha-512-256 integ-key 6b466a724f6168545a474c5041536a7470427547514775514451436568414b7554486979564e534c436d61734657774a446b654c7a675a6c564f7741466b7677 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-cbc-128 crypto-key 7247746141556d707971447065475148 integ-alg sha-512-256 integ-key 6b466a724f6168545a474c5041536a7470427547514775514451436568414b7554486979564e534c436d61734657774a446b654c7a675a6c564f7741466b7677 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-cbc-128 crypto-key 6e517248594e586f596454556a616958 integ-alg sha-512-256 integ-key 52504f516642486a72426b517a437458787a6f6d5a4c5962474f6557714e4552464f4f5859744646464c585471746757797a7169576a754d50455a734b4e7461 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-cbc-128 crypto-key 6e517248594e586f596454556a616958 integ-alg sha-512-256 integ-key 52504f516642486a72426b517a437458787a6f6d5a4c5962474f6557714e4552464f4f5859744646464c585471746757797a7169576a754d50455a734b4e7461 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-cbc-128 crypto-key 6e636a6e784d6375764a436e5858454c integ-alg sha-512-256 integ-key 584b7465506a56745845444e494a5a475455674b6c66706e5a746364716a4d6b464b676d58424c58727a4c53666a71574c7a546f7452536b65524156726d4742 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-cbc-128 crypto-key 6e636a6e784d6375764a436e5858454c integ-alg sha-512-256 integ-key 584b7465506a56745845444e494a5a475455674b6c66706e5a746364716a4d6b464b676d58424c58727a4c53666a71574c7a546f7452536b65524156726d4742 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-cbc-128 crypto-key 63646b64437649466e45646259637479 integ-alg sha-512-256 integ-key 6f5862724d7670696b6b69655372615a4d504c7a46574f4150545a56555a6e415566566f726e53704f4d7a754248755273547a43486769584145527a44694977 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-cbc-128 crypto-key 63646b64437649466e45646259637479 integ-alg sha-512-256 integ-key 6f5862724d7670696b6b69655372615a4d504c7a46574f4150545a56555a6e415566566f726e53704f4d7a754248755273547a43486769584145527a44694977 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-cbc-128 crypto-key 43687946785349427355474172795444 integ-alg sha-512-256 integ-key 787845727548544456527246515852585666417a7954784564584f42674a714e426f7363796c4463466765577a4c65434f7477434158634863624d464f7a454e esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-cbc-128 crypto-key 43687946785349427355474172795444 integ-alg sha-512-256 integ-key 787845727548544456527246515852585666417a7954784564584f42674a714e426f7363796c4463466765577a4c65434f7477434158634863624d464f7a454e esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-cbc-128 crypto-key 437a65776170774c63466651726b7562 integ-alg sha-512-256 integ-key 6b7667736d414674464a545771444a4e49487250476a494e65576c4646506664594852546c7054415257437749635558624a7045705356494a6b496e5149616c esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-cbc-128 crypto-key 437a65776170774c63466651726b7562 integ-alg sha-512-256 integ-key 6b7667736d414674464a545771444a4e49487250476a494e65576c4646506664594852546c7054415257437749635558624a7045705356494a6b496e5149616c esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-cbc-128 crypto-key 45615a47575356546c45795750584963 integ-alg sha-512-256 integ-key 4b454977594f516e4f6a69674663517775615149676e4e666e5570575642535664547965495a4a52526c78535644694851586f6143684e4755684b7341614d41 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-cbc-128 crypto-key 45615a47575356546c45795750584963 integ-alg sha-512-256 integ-key 4b454977594f516e4f6a69674663517775615149676e4e666e5570575642535664547965495a4a52526c78535644694851586f6143684e4755684b7341614d41 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-cbc-128 crypto-key 7a595373636e684855486d4e76694149 integ-alg sha-512-256 integ-key 56457461635378626772576b4b786542794c5255696e4a4d4850435259496566716553696f6e6778424c6142707059587261734c6979527a414178515570517a esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-cbc-128 crypto-key 7a595373636e684855486d4e76694149 integ-alg sha-512-256 integ-key 56457461635378626772576b4b786542794c5255696e4a4d4850435259496566716553696f6e6778424c6142707059587261734c6979527a414178515570517a esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-cbc-128 crypto-key 486754744e4e66466b4a6555684b7867 integ-alg sha-512-256 integ-key 57704d73554455694174466852444b6579514a51584b665043706d4d596c514a6861516b615074476161507a527242625a68574873774268536d67465651474c esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-cbc-128 crypto-key 486754744e4e66466b4a6555684b7867 integ-alg sha-512-256 integ-key 57704d73554455694174466852444b6579514a51584b665043706d4d596c514a6861516b615074476161507a527242625a68574873774268536d67465651474c esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-cbc-128 crypto-key 50616b79474545465375656256666e43 integ-alg sha-512-256 integ-key 764c706b524a776770526f767a4f6f73506f5465644c6342714a4e464e52424e634167556f626f4f4f726b6e586374644754587048456c6a4e436e4363635371 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-cbc-128 crypto-key 50616b79474545465375656256666e43 integ-alg sha-512-256 integ-key 764c706b524a776770526f767a4f6f73506f5465644c6342714a4e464e52424e634167556f626f4f4f726b6e586374644754587048456c6a4e436e4363635371 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-cbc-128 crypto-key 736b6e61726d474a6a6570767175464f integ-alg sha-512-256 integ-key 75427a70436174505a6d6364524571524d5568726f755147444361484867626964764c5a726350595862574f566143744871434f436471676a43495a466c7577 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-cbc-128 crypto-key 736b6e61726d474a6a6570767175464f integ-alg sha-512-256 integ-key 75427a70436174505a6d6364524571524d5568726f755147444361484867626964764c5a726350595862574f566143744871434f436471676a43495a466c7577 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-cbc-128 crypto-key 5042525976577749475063794d486a44 integ-alg sha-512-256 integ-key 6e4a63434a6664726c4151494b56577749666d616d68574f71564b636642595a766b4d48774149644c7a705670555544764267625772436c73524b6e71487a4d esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-cbc-128 crypto-key 5042525976577749475063794d486a44 integ-alg sha-512-256 integ-key 6e4a63434a6664726c4151494b56577749666d616d68574f71564b636642595a766b4d48774149644c7a705670555544764267625772436c73524b6e71487a4d esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-cbc-128 crypto-key 57644a45766d63486d635769447a4e74 integ-alg sha-512-256 integ-key 4c746e656c54486f68706c70624d4f584367486272495059586753714b4c70486573454558736456586b6d516c50634d4b4b46507166564f4b7547484e676d66 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-cbc-128 crypto-key 57644a45766d63486d635769447a4e74 integ-alg sha-512-256 integ-key 4c746e656c54486f68706c70624d4f584367486272495059586753714b4c70486573454558736456586b6d516c50634d4b4b46507166564f4b7547484e676d66 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-cbc-128 crypto-key 4153584247566b6d6f4b7158515a7856 integ-alg sha-512-256 integ-key 6c4d7849794a4e786d45614a6c4d7167724e62546f696a664c447a51587a56435057734c45486742414e50747643445565674757636953776657786a4a5a6c51 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-cbc-128 crypto-key 4153584247566b6d6f4b7158515a7856 integ-alg sha-512-256 integ-key 6c4d7849794a4e786d45614a6c4d7167724e62546f696a664c447a51587a56435057734c45486742414e50747643445565674757636953776657786a4a5a6c51 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-cbc-128 crypto-key 74457743664e56776e57577048434a72 integ-alg sha-512-256 integ-key 6a63444654586d55426d416d564c4f436658434a414a516c694a697a64427a54587547744255574b6348734e68437043656c645677556d5250534a5a7254627a esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-cbc-128 crypto-key 74457743664e56776e57577048434a72 integ-alg sha-512-256 integ-key 6a63444654586d55426d416d564c4f436658434a414a516c694a697a64427a54587547744255574b6348734e68437043656c645677556d5250534a5a7254627a esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-cbc-128 crypto-key 59495546554467735461517074644678 integ-alg sha-512-256 integ-key 4f5972564567676c4679434e5a4343527471654e7263715861526c59675569555456456a6c4445684763656c784a5663567979697357636974526572656c5a46 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-cbc-128 crypto-key 59495546554467735461517074644678 integ-alg sha-512-256 integ-key 4f5972564567676c4679434e5a4343527471654e7263715861526c59675569555456456a6c4445684763656c784a5663567979697357636974526572656c5a46 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-cbc-128 crypto-key 536d626e56637664494c706e5655466f integ-alg sha-512-256 integ-key 447a787473505669757155766a787746714b7157474d6b4346627156414d636b4b727a4759414c6542746177724f6155505a437173546162544b534a566e6557 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-cbc-128 crypto-key 536d626e56637664494c706e5655466f integ-alg sha-512-256 integ-key 447a787473505669757155766a787746714b7157474d6b4346627156414d636b4b727a4759414c6542746177724f6155505a437173546162544b534a566e6557 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-cbc-128 crypto-key 4c4b4c4e4b72524e45644b70496b7251 integ-alg sha-512-256 integ-key 5252414a44456e616352516e576f4f58646d666d454d445173744c6873684b6b7555667059757964494b68426c5a7562716d49664f4a444a494c706f576c5843 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-cbc-128 crypto-key 4c4b4c4e4b72524e45644b70496b7251 integ-alg sha-512-256 integ-key 5252414a44456e616352516e576f4f58646d666d454d445173744c6873684b6b7555667059757964494b68426c5a7562716d49664f4a444a494c706f576c5843 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-cbc-128 crypto-key 6264556d76756e4a6c716e584a594a42 integ-alg sha-512-256 integ-key 5872547a4b7a67426e44495a4a4470776248596e455266465a5373476b525a41644c77516c6f4f4a596245717a435847677844525748504b4846644750567641 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-cbc-128 crypto-key 6264556d76756e4a6c716e584a594a42 integ-alg sha-512-256 integ-key 5872547a4b7a67426e44495a4a4470776248596e455266465a5373476b525a41644c77516c6f4f4a596245717a435847677844525748504b4846644750567641 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.101 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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.101/24
exec set ip neighbor TwentyFiveGigabitEthernet3b/0/1 200.0.0.102 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.102 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-cbc-128 crypto-key 73496861767971516941534353686678 integ-alg sha-512-256 integ-key 4d796e4173564b6c6459794677586f77616f586e516553564f634a71475242516d524a47627a757a6448624e6b6c5762616b796b756d4d595347665774445072 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-cbc-128 crypto-key 73496861767971516941534353686678 integ-alg sha-512-256 integ-key 4d796e4173564b6c6459794677586f77616f586e516553564f634a71475242516d524a47627a757a6448624e6b6c5762616b796b756d4d595347665774445072 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.102 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-cbc-128 crypto-key 446d575a68584150664d794f58414d51 integ-alg sha-512-256 integ-key 494672455a43755761685343424f724b4d7947434b4853774e6e79487a447962614547694244695a714659596e7048656d55674e6f634868557252536b4f695a esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-cbc-128 crypto-key 446d575a68584150664d794f58414d51 integ-alg sha-512-256 integ-key 494672455a43755761685343424f724b4d7947434b4853774e6e79487a447962614547694244695a714659596e7048656d55674e6f634868557252536b4f695a 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.102 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-cbc-128 crypto-key 4251446258576a6c444e585859465049 integ-alg sha-512-256 integ-key 764a45654c63747364696c526c454f4a785464587561636b6e7950556d5646654a61647953444a736e424c63576a466253596a506f6674794c4d4f516b747475 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-cbc-128 crypto-key 4251446258576a6c444e585859465049 integ-alg sha-512-256 integ-key 764a45654c63747364696c526c454f4a785464587561636b6e7950556d5646654a61647953444a736e424c63576a466253596a506f6674794c4d4f516b747475 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.102 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-cbc-128 crypto-key 72456b434d544e6e6b42434668506e45 integ-alg sha-512-256 integ-key 434347714e726f4d54464741424275697853537543566966524a6e6f6a7a5455654543786f69576d654a6e716b52666b4a44587a7868416d517974655071736c esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-cbc-128 crypto-key 72456b434d544e6e6b42434668506e45 integ-alg sha-512-256 integ-key 434347714e726f4d54464741424275697853537543566966524a6e6f6a7a5455654543786f69576d654a6e716b52666b4a44587a7868416d517974655071736c 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.102 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-cbc-128 crypto-key 4b4e565541584d524d7575514d755166 integ-alg sha-512-256 integ-key 72774b57567966757372667641796f68714a5a555a726f7559724c574d434a4876526e706266504b584c57475a6f42776f674b535057674c4646646b61525341 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-cbc-128 crypto-key 4b4e565541584d524d7575514d755166 integ-alg sha-512-256 integ-key 72774b57567966757372667641796f68714a5a555a726f7559724c574d434a4876526e706266504b584c57475a6f42776f674b535057674c4646646b61525341 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.102 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-cbc-128 crypto-key 726c49554275764a726b5251557a4269 integ-alg sha-512-256 integ-key 4143425673736c53574c44506f6e506a6e7662746f696267576c674c454579636d4c4777564542664a78445551576849595567736d696e686a4b4e5a55575853 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-cbc-128 crypto-key 726c49554275764a726b5251557a4269 integ-alg sha-512-256 integ-key 4143425673736c53574c44506f6e506a6e7662746f696267576c674c454579636d4c4777564542664a78445551576849595567736d696e686a4b4e5a55575853 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.102 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-cbc-128 crypto-key 54537766446174547868584c58794f71 integ-alg sha-512-256 integ-key 676e5758644d614d415744615a6e6d6d51674771666168486863525672544f6973415458685250566a70747062774c6a5159415067446c686a49487a4345784f esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-cbc-128 crypto-key 54537766446174547868584c58794f71 integ-alg sha-512-256 integ-key 676e5758644d614d415744615a6e6d6d51674771666168486863525672544f6973415458685250566a70747062774c6a5159415067446c686a49487a4345784f 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.102 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-cbc-128 crypto-key 5a664b5875796d734f6c5872556a7342 integ-alg sha-512-256 integ-key 4955704361644a53536f41535150714b48687374626a4d4e775a70596f5346645353626959714d54547a684e4e445a4d56795941527542707057764657486754 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-cbc-128 crypto-key 5a664b5875796d734f6c5872556a7342 integ-alg sha-512-256 integ-key 4955704361644a53536f41535150714b48687374626a4d4e775a70596f5346645353626959714d54547a684e4e445a4d56795941527542707057764657486754 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.102 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-cbc-128 crypto-key 4a5949525974576a5359634755795664 integ-alg sha-512-256 integ-key 4d44556e514b4c58726e5a4d634a48566956775a657143527850597244586e6a746c506d6a59756b547359666d59426f6d684976705a764667734170637a4b42 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-cbc-128 crypto-key 4a5949525974576a5359634755795664 integ-alg sha-512-256 integ-key 4d44556e514b4c58726e5a4d634a48566956775a657143527850597244586e6a746c506d6a59756b547359666d59426f6d684976705a764667734170637a4b42 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.102 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-cbc-128 crypto-key 4d4e6f415a537663766964616c577348 integ-alg sha-512-256 integ-key 5978694355564c467a43536877414573746d50654561594c466b774a5843776565584576564f58707456575472556270677773764e675a714b6479696f4f5857 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-cbc-128 crypto-key 4d4e6f415a537663766964616c577348 integ-alg sha-512-256 integ-key 5978694355564c467a43536877414573746d50654561594c466b774a5843776565584576564f58707456575472556270677773764e675a714b6479696f4f5857 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.102 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-cbc-128 crypto-key 6a6576415675514a48566475505a6248 integ-alg sha-512-256 integ-key 41524e436c70597178696f594d6c79477371734259514346544f4c5a49634e62556368484c51797845476e7a444375435651757a61536a7058635961794d616d esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-cbc-128 crypto-key 6a6576415675514a48566475505a6248 integ-alg sha-512-256 integ-key 41524e436c70597178696f594d6c79477371734259514346544f4c5a49634e62556368484c51797845476e7a444375435651757a61536a7058635961794d616d 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.102 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-cbc-128 crypto-key 6d7867695162745849647a684a635a50 integ-alg sha-512-256 integ-key 676f42437844744752566145714c4f774a6671615061507a5951414c726a5a61744b44434758574d70686e436e504f596b74457863546c68676e4e454f55554f esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-cbc-128 crypto-key 6d7867695162745849647a684a635a50 integ-alg sha-512-256 integ-key 676f42437844744752566145714c4f774a6671615061507a5951414c726a5a61744b44434758574d70686e436e504f596b74457863546c68676e4e454f55554f 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.102 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-cbc-128 crypto-key 776573696b49627a50785042546c6a4e integ-alg sha-512-256 integ-key 46434268637547496d74615248536f6c5976716f56504e69574c73704e6f66696e434b52495a575362714159576f6555656957664150414b47494b4553555679 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-cbc-128 crypto-key 776573696b49627a50785042546c6a4e integ-alg sha-512-256 integ-key 46434268637547496d74615248536f6c5976716f56504e69574c73704e6f66696e434b52495a575362714159576f6555656957664150414b47494b4553555679 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.102 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-cbc-128 crypto-key 48716770695248434b494c6e696e554b integ-alg sha-512-256 integ-key 6a5057436f54567453704c4f4a45714f4b674273724f576e4c494c504545446e6178656a68636f756f54514477676361696f55575a4d7971574e5969486c764a esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-cbc-128 crypto-key 48716770695248434b494c6e696e554b integ-alg sha-512-256 integ-key 6a5057436f54567453704c4f4a45714f4b674273724f576e4c494c504545446e6178656a68636f756f54514477676361696f55575a4d7971574e5969486c764a 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.102 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-cbc-128 crypto-key 6d41564659436c4977587658774b7058 integ-alg sha-512-256 integ-key 6a66674e7a5970774774777878446c727a4466427345674d6743787064474e6972706f6e6463736f526149674869584943765a6b514c7353534d6a444e485453 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-cbc-128 crypto-key 6d41564659436c4977587658774b7058 integ-alg sha-512-256 integ-key 6a66674e7a5970774774777878446c727a4466427345674d6743787064474e6972706f6e6463736f526149674869584943765a6b514c7353534d6a444e485453 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.102 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-cbc-128 crypto-key 66687a51494a6b64624b685a6d797762 integ-alg sha-512-256 integ-key 73686f72774157746d4a46684e63507446556f74746c4464414b55446b4e6e6343594c6c64794c65766f537144544a706c49506b6b65484c494b484c7949544a esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-cbc-128 crypto-key 66687a51494a6b64624b685a6d797762 integ-alg sha-512-256 integ-key 73686f72774157746d4a46684e63507446556f74746c4464414b55446b4e6e6343594c6c64794c65766f537144544a706c49506b6b65484c494b484c7949544a 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.102 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-cbc-128 crypto-key 567a51576d6c4c524348584545636470 integ-alg sha-512-256 integ-key 734e6d61486c73686a674767726f76416b52425659715447467253786c6d7963506959526e4767795461496271724c456d41615068427868594e4a6847695167 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-cbc-128 crypto-key 567a51576d6c4c524348584545636470 integ-alg sha-512-256 integ-key 734e6d61486c73686a674767726f76416b52425659715447467253786c6d7963506959526e4767795461496271724c456d41615068427868594e4a6847695167 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.102 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-cbc-128 crypto-key 766468544a4c686d6c70764259556570 integ-alg sha-512-256 integ-key 4f7778724b6565786243697948674f7373676e625447466d70457471726e596e414c454852446b6c744c7676475a4a684765485a53747665547a765a6e704f58 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-cbc-128 crypto-key 766468544a4c686d6c70764259556570 integ-alg sha-512-256 integ-key 4f7778724b6565786243697948674f7373676e625447466d70457471726e596e414c454852446b6c744c7676475a4a684765485a53747665547a765a6e704f58 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.102 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-cbc-128 crypto-key 7345694763726263516a4e54534b6758 integ-alg sha-512-256 integ-key 785a754a6f746277685a776f574f647661516169684d5167717151484464506a685151575141656f6c494a77795656467a6f4f496c786b537a526a484c4a7346 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-cbc-128 crypto-key 7345694763726263516a4e54534b6758 integ-alg sha-512-256 integ-key 785a754a6f746277685a776f574f647661516169684d5167717151484464506a685151575141656f6c494a77795656467a6f4f496c786b537a526a484c4a7346 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.102 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-cbc-128 crypto-key 564e54697a75635573486e4f4e784659 integ-alg sha-512-256 integ-key 4d576c4f6e654475574e6455574171516546596472565a744a7a5356454346706c75695342524a465a647a4f5754456f4446636b727069585278597479704468 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-cbc-128 crypto-key 564e54697a75635573486e4f4e784659 integ-alg sha-512-256 integ-key 4d576c4f6e654475574e6455574171516546596472565a744a7a5356454346706c75695342524a465a647a4f5754456f4446636b727069585278597479704468 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.102 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-cbc-128 crypto-key 636770436d504a4e65415575764d6d57 integ-alg sha-512-256 integ-key 47644743476a67727a5641754b515a4a57685447477253584a42526e73434d75446a52645a546c6f73797a7947474c4d4c46456669684b78797a614651454f6b esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-cbc-128 crypto-key 636770436d504a4e65415575764d6d57 integ-alg sha-512-256 integ-key 47644743476a67727a5641754b515a4a57685447477253584a42526e73434d75446a52645a546c6f73797a7947474c4d4c46456669684b78797a614651454f6b 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.102 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-cbc-128 crypto-key 756a4f69616c6b66676855516a414646 integ-alg sha-512-256 integ-key 416845706375666d7145674e757a576256487346794e5a4c6162547279427143487250417a5a594e61727641665a5350437a566b67617a7650616f59644c5864 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-cbc-128 crypto-key 756a4f69616c6b66676855516a414646 integ-alg sha-512-256 integ-key 416845706375666d7145674e757a576256487346794e5a4c6162547279427143487250417a5a594e61727641665a5350437a566b67617a7650616f59644c5864 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.102 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-cbc-128 crypto-key 6778644c52546e464b6a6f5962587756 integ-alg sha-512-256 integ-key 476e674b7846486a6b55686348776f724c6874617656757862557450774b65746c6d73597a547772736a495a5851657646427672674d64645a4c4b6175627249 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-cbc-128 crypto-key 6778644c52546e464b6a6f5962587756 integ-alg sha-512-256 integ-key 476e674b7846486a6b55686348776f724c6874617656757862557450774b65746c6d73597a547772736a495a5851657646427672674d64645a4c4b6175627249 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.102 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-cbc-128 crypto-key 54797a7a4e514d6d6b79656a53526c69 integ-alg sha-512-256 integ-key 44705357715741715a4a414241446a4a5457437562596a5772537762564743537357506b4f434368656c4b6d486277676e5261675a73674c5572644869787569 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-cbc-128 crypto-key 54797a7a4e514d6d6b79656a53526c69 integ-alg sha-512-256 integ-key 44705357715741715a4a414241446a4a5457437562596a5772537762564743537357506b4f434368656c4b6d486277676e5261675a73674c5572644869787569 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.102 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-cbc-128 crypto-key 417a4e4278794b6e6559684976424469 integ-alg sha-512-256 integ-key 4c724e725562615249775563556e7a566b4768696343754855646144686754516348496a446f6a53426564577a4976697a5a72556e505a6f626c484f6c744f4a esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-cbc-128 crypto-key 417a4e4278794b6e6559684976424469 integ-alg sha-512-256 integ-key 4c724e725562615249775563556e7a566b4768696343754855646144686754516348496a446f6a53426564577a4976697a5a72556e505a6f626c484f6c744f4a 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.102 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-cbc-128 crypto-key 6e4661614a6a6c506b71495177706c4e integ-alg sha-512-256 integ-key 71714e41455965514a764c76646f4d78685574627158415753784656576b624e4651797a487441684f6e6e514f5644776871504e7a45646c635a724c74754f42 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-cbc-128 crypto-key 6e4661614a6a6c506b71495177706c4e integ-alg sha-512-256 integ-key 71714e41455965514a764c76646f4d78685574627158415753784656576b624e4651797a487441684f6e6e514f5644776871504e7a45646c635a724c74754f42 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.102 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-cbc-128 crypto-key 4475726f4e4670636675766d55495868 integ-alg sha-512-256 integ-key 4e745570636f6841654143736e5065415764564b696579634643647571574b66734943416864554858586d5a616c50514e63574d4e74504256695572464b6243 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-cbc-128 crypto-key 4475726f4e4670636675766d55495868 integ-alg sha-512-256 integ-key 4e745570636f6841654143736e5065415764564b696579634643647571574b66734943416864554858586d5a616c50514e63574d4e74504256695572464b6243 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.102 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-cbc-128 crypto-key 48446d4448465564485367724f516464 integ-alg sha-512-256 integ-key 684f4a6a484f6670707a77526f625762496d7a76775468485457705347416a70644b6e7363497957465741494a6371717868444454707461614c6b50486d6f61 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-cbc-128 crypto-key 48446d4448465564485367724f516464 integ-alg sha-512-256 integ-key 684f4a6a484f6670707a77526f625762496d7a76775468485457705347416a70644b6e7363497957465741494a6371717868444454707461614c6b50486d6f61 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.102 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-cbc-128 crypto-key 4a4264437056697a6a73715561436951 integ-alg sha-512-256 integ-key 4749516c64714c44636f434f765859424b5344794258614b78766845427a5351747a75734c764569586f73526d4d714777574b4b4964486a7551485164505741 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-cbc-128 crypto-key 4a4264437056697a6a73715561436951 integ-alg sha-512-256 integ-key 4749516c64714c44636f434f765859424b5344794258614b78766845427a5351747a75734c764569586f73526d4d714777574b4b4964486a7551485164505741 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.102 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-cbc-128 crypto-key 6c467073514778746a42645742755053 integ-alg sha-512-256 integ-key 50584a704b6e68715a6e45694957464d6a6b4f6f74646c74586a575a576a45785a69546a486354654a64455556424e677852656a6f4d59664443684b75544172 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-cbc-128 crypto-key 6c467073514778746a42645742755053 integ-alg sha-512-256 integ-key 50584a704b6e68715a6e45694957464d6a6b4f6f74646c74586a575a576a45785a69546a486354654a64455556424e677852656a6f4d59664443684b75544172 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.102 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-cbc-128 crypto-key 6c4141564a55676f4673776371637545 integ-alg sha-512-256 integ-key 4c714c7356417a61676e41676975584d58795452746f63447047765843737a6a4f664a507663774d4262677779756c4a774d534a737546634b47714979736e70 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-cbc-128 crypto-key 6c4141564a55676f4673776371637545 integ-alg sha-512-256 integ-key 4c714c7356417a61676e41676975584d58795452746f63447047765843737a6a4f664a507663774d4262677779756c4a774d534a737546634b47714979736e70 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.102 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-cbc-128 crypto-key 6e45784d777758764e44647048486342 integ-alg sha-512-256 integ-key 6848524670506c414a6a5a67474e614554754955434a486a774c6e4c6f4a5250446469544661685350616d584e444e68656d6551747971756150747949666570 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-cbc-128 crypto-key 6e45784d777758764e44647048486342 integ-alg sha-512-256 integ-key 6848524670506c414a6a5a67474e614554754955434a486a774c6e4c6f4a5250446469544661685350616d584e444e68656d6551747971756150747949666570 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.102 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-cbc-128 crypto-key 416e6441625a57464c7679567768554f integ-alg sha-512-256 integ-key 45664e4163425154544b6c69586d4b6d4e6445774c765a6d5a474b5161637943594e5674516e45436472525476436a5268584646586f44776b6f43556c4b4b76 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-cbc-128 crypto-key 416e6441625a57464c7679567768554f integ-alg sha-512-256 integ-key 45664e4163425154544b6c69586d4b6d4e6445774c765a6d5a474b5161637943594e5674516e45436472525476436a5268584646586f44776b6f43556c4b4b76 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.102 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-cbc-128 crypto-key 5a5172626d59536a446f6857466a4b78 integ-alg sha-512-256 integ-key 4c78456a785576475242446c73644d43535a75674375424e4376774a70474c414a76516f4d7a4f46546b7046565465556f6b7a766c6f4878646472624845466c esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-cbc-128 crypto-key 5a5172626d59536a446f6857466a4b78 integ-alg sha-512-256 integ-key 4c78456a785576475242446c73644d43535a75674375424e4376774a70474c414a76516f4d7a4f46546b7046565465556f6b7a766c6f4878646472624845466c 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.102 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-cbc-128 crypto-key 55654a486876566a6759744b6f667876 integ-alg sha-512-256 integ-key 42727542687849554e4a7256646c446d46425168414e73775a657473414e45756f6565486e47596b596b43764b4476706f5a6d4c716f4574664c596e646d6d41 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-cbc-128 crypto-key 55654a486876566a6759744b6f667876 integ-alg sha-512-256 integ-key 42727542687849554e4a7256646c446d46425168414e73775a657473414e45756f6565486e47596b596b43764b4476706f5a6d4c716f4574664c596e646d6d41 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.102 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-cbc-128 crypto-key 6775664361506f4762584f616f46544f integ-alg sha-512-256 integ-key 496253746d546a6771544641726c48435846705a4a4b7955736f7442626449494f6d556454715366737457664d464b4d42696579417641664c786856756b444c esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-cbc-128 crypto-key 6775664361506f4762584f616f46544f integ-alg sha-512-256 integ-key 496253746d546a6771544641726c48435846705a4a4b7955736f7442626449494f6d556454715366737457664d464b4d42696579417641664c786856756b444c 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.102 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-cbc-128 crypto-key 6748666c67594e70475341634d674d6e integ-alg sha-512-256 integ-key 4e48776567465a61466c626f42526273484853734e736b777346597155434f4177596e496c444a4d4e526a6666736f6976566379794c7162797451527a486972 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-cbc-128 crypto-key 6748666c67594e70475341634d674d6e integ-alg sha-512-256 integ-key 4e48776567465a61466c626f42526273484853734e736b777346597155434f4177596e496c444a4d4e526a6666736f6976566379794c7162797451527a486972 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.102 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-cbc-128 crypto-key 41444d58724e6f426648556a634e7749 integ-alg sha-512-256 integ-key 4566476c74794253784d585a546c43777279444c754a546c5150796176414348794c427a73686562466c5271445872775a744d4a784768596f66796c69484973 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-cbc-128 crypto-key 41444d58724e6f426648556a634e7749 integ-alg sha-512-256 integ-key 4566476c74794253784d585a546c43777279444c754a546c5150796176414348794c427a73686562466c5271445872775a744d4a784768596f66796c69484973 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.102 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-cbc-128 crypto-key 766d7644746c684a6e734273666f4a6f integ-alg sha-512-256 integ-key 676f785349484a626653766f446749616a5368755a516a4272654b6a6b666f7046537066726441584a5475666e4b70536951775958796979796e727a4464667a esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-cbc-128 crypto-key 766d7644746c684a6e734273666f4a6f integ-alg sha-512-256 integ-key 676f785349484a626653766f446749616a5368755a516a4272654b6a6b666f7046537066726441584a5475666e4b70536951775958796979796e727a4464667a 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.102 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-cbc-128 crypto-key 504c79796449756a4961634842786868 integ-alg sha-512-256 integ-key 446e4c776c56457963514c49427a57705a676f4b786c636774747665516d4a6f5858736a4f646146624a6c4b74597a7548714246715179657263795874685167 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-cbc-128 crypto-key 504c79796449756a4961634842786868 integ-alg sha-512-256 integ-key 446e4c776c56457963514c49427a57705a676f4b786c636774747665516d4a6f5858736a4f646146624a6c4b74597a7548714246715179657263795874685167 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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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.102/24.0
exec create ipip tunnel src 200.0.0.102 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-cbc-128 crypto-key 73496861767971516941534353686678 integ-alg sha-512-256 integ-key 4d796e4173564b6c6459794677586f77616f586e516553564f634a71475242516d524a47627a757a6448624e6b6c5762616b796b756d4d595347665774445072 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-cbc-128 crypto-key 73496861767971516941534353686678 integ-alg sha-512-256 integ-key 4d796e4173564b6c6459794677586f77616f586e516553564f634a71475242516d524a47627a757a6448624e6b6c5762616b796b756d4d595347665774445072 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-cbc-128 crypto-key 446d575a68584150664d794f58414d51 integ-alg sha-512-256 integ-key 494672455a43755761685343424f724b4d7947434b4853774e6e79487a447962614547694244695a714659596e7048656d55674e6f634868557252536b4f695a esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-cbc-128 crypto-key 446d575a68584150664d794f58414d51 integ-alg sha-512-256 integ-key 494672455a43755761685343424f724b4d7947434b4853774e6e79487a447962614547694244695a714659596e7048656d55674e6f634868557252536b4f695a esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-cbc-128 crypto-key 4251446258576a6c444e585859465049 integ-alg sha-512-256 integ-key 764a45654c63747364696c526c454f4a785464587561636b6e7950556d5646654a61647953444a736e424c63576a466253596a506f6674794c4d4f516b747475 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-cbc-128 crypto-key 4251446258576a6c444e585859465049 integ-alg sha-512-256 integ-key 764a45654c63747364696c526c454f4a785464587561636b6e7950556d5646654a61647953444a736e424c63576a466253596a506f6674794c4d4f516b747475 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-cbc-128 crypto-key 72456b434d544e6e6b42434668506e45 integ-alg sha-512-256 integ-key 434347714e726f4d54464741424275697853537543566966524a6e6f6a7a5455654543786f69576d654a6e716b52666b4a44587a7868416d517974655071736c esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-cbc-128 crypto-key 72456b434d544e6e6b42434668506e45 integ-alg sha-512-256 integ-key 434347714e726f4d54464741424275697853537543566966524a6e6f6a7a5455654543786f69576d654a6e716b52666b4a44587a7868416d517974655071736c esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-cbc-128 crypto-key 4b4e565541584d524d7575514d755166 integ-alg sha-512-256 integ-key 72774b57567966757372667641796f68714a5a555a726f7559724c574d434a4876526e706266504b584c57475a6f42776f674b535057674c4646646b61525341 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-cbc-128 crypto-key 4b4e565541584d524d7575514d755166 integ-alg sha-512-256 integ-key 72774b57567966757372667641796f68714a5a555a726f7559724c574d434a4876526e706266504b584c57475a6f42776f674b535057674c4646646b61525341 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-cbc-128 crypto-key 726c49554275764a726b5251557a4269 integ-alg sha-512-256 integ-key 4143425673736c53574c44506f6e506a6e7662746f696267576c674c454579636d4c4777564542664a78445551576849595567736d696e686a4b4e5a55575853 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-cbc-128 crypto-key 726c49554275764a726b5251557a4269 integ-alg sha-512-256 integ-key 4143425673736c53574c44506f6e506a6e7662746f696267576c674c454579636d4c4777564542664a78445551576849595567736d696e686a4b4e5a55575853 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-cbc-128 crypto-key 54537766446174547868584c58794f71 integ-alg sha-512-256 integ-key 676e5758644d614d415744615a6e6d6d51674771666168486863525672544f6973415458685250566a70747062774c6a5159415067446c686a49487a4345784f esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-cbc-128 crypto-key 54537766446174547868584c58794f71 integ-alg sha-512-256 integ-key 676e5758644d614d415744615a6e6d6d51674771666168486863525672544f6973415458685250566a70747062774c6a5159415067446c686a49487a4345784f esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-cbc-128 crypto-key 5a664b5875796d734f6c5872556a7342 integ-alg sha-512-256 integ-key 4955704361644a53536f41535150714b48687374626a4d4e775a70596f5346645353626959714d54547a684e4e445a4d56795941527542707057764657486754 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-cbc-128 crypto-key 5a664b5875796d734f6c5872556a7342 integ-alg sha-512-256 integ-key 4955704361644a53536f41535150714b48687374626a4d4e775a70596f5346645353626959714d54547a684e4e445a4d56795941527542707057764657486754 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-cbc-128 crypto-key 4a5949525974576a5359634755795664 integ-alg sha-512-256 integ-key 4d44556e514b4c58726e5a4d634a48566956775a657143527850597244586e6a746c506d6a59756b547359666d59426f6d684976705a764667734170637a4b42 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-cbc-128 crypto-key 4a5949525974576a5359634755795664 integ-alg sha-512-256 integ-key 4d44556e514b4c58726e5a4d634a48566956775a657143527850597244586e6a746c506d6a59756b547359666d59426f6d684976705a764667734170637a4b42 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-cbc-128 crypto-key 4d4e6f415a537663766964616c577348 integ-alg sha-512-256 integ-key 5978694355564c467a43536877414573746d50654561594c466b774a5843776565584576564f58707456575472556270677773764e675a714b6479696f4f5857 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-cbc-128 crypto-key 4d4e6f415a537663766964616c577348 integ-alg sha-512-256 integ-key 5978694355564c467a43536877414573746d50654561594c466b774a5843776565584576564f58707456575472556270677773764e675a714b6479696f4f5857 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-cbc-128 crypto-key 6a6576415675514a48566475505a6248 integ-alg sha-512-256 integ-key 41524e436c70597178696f594d6c79477371734259514346544f4c5a49634e62556368484c51797845476e7a444375435651757a61536a7058635961794d616d esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-cbc-128 crypto-key 6a6576415675514a48566475505a6248 integ-alg sha-512-256 integ-key 41524e436c70597178696f594d6c79477371734259514346544f4c5a49634e62556368484c51797845476e7a444375435651757a61536a7058635961794d616d esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-cbc-128 crypto-key 6d7867695162745849647a684a635a50 integ-alg sha-512-256 integ-key 676f42437844744752566145714c4f774a6671615061507a5951414c726a5a61744b44434758574d70686e436e504f596b74457863546c68676e4e454f55554f esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-cbc-128 crypto-key 6d7867695162745849647a684a635a50 integ-alg sha-512-256 integ-key 676f42437844744752566145714c4f774a6671615061507a5951414c726a5a61744b44434758574d70686e436e504f596b74457863546c68676e4e454f55554f esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-cbc-128 crypto-key 776573696b49627a50785042546c6a4e integ-alg sha-512-256 integ-key 46434268637547496d74615248536f6c5976716f56504e69574c73704e6f66696e434b52495a575362714159576f6555656957664150414b47494b4553555679 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-cbc-128 crypto-key 776573696b49627a50785042546c6a4e integ-alg sha-512-256 integ-key 46434268637547496d74615248536f6c5976716f56504e69574c73704e6f66696e434b52495a575362714159576f6555656957664150414b47494b4553555679 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-cbc-128 crypto-key 48716770695248434b494c6e696e554b integ-alg sha-512-256 integ-key 6a5057436f54567453704c4f4a45714f4b674273724f576e4c494c504545446e6178656a68636f756f54514477676361696f55575a4d7971574e5969486c764a esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-cbc-128 crypto-key 48716770695248434b494c6e696e554b integ-alg sha-512-256 integ-key 6a5057436f54567453704c4f4a45714f4b674273724f576e4c494c504545446e6178656a68636f756f54514477676361696f55575a4d7971574e5969486c764a esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-cbc-128 crypto-key 6d41564659436c4977587658774b7058 integ-alg sha-512-256 integ-key 6a66674e7a5970774774777878446c727a4466427345674d6743787064474e6972706f6e6463736f526149674869584943765a6b514c7353534d6a444e485453 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-cbc-128 crypto-key 6d41564659436c4977587658774b7058 integ-alg sha-512-256 integ-key 6a66674e7a5970774774777878446c727a4466427345674d6743787064474e6972706f6e6463736f526149674869584943765a6b514c7353534d6a444e485453 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-cbc-128 crypto-key 66687a51494a6b64624b685a6d797762 integ-alg sha-512-256 integ-key 73686f72774157746d4a46684e63507446556f74746c4464414b55446b4e6e6343594c6c64794c65766f537144544a706c49506b6b65484c494b484c7949544a esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-cbc-128 crypto-key 66687a51494a6b64624b685a6d797762 integ-alg sha-512-256 integ-key 73686f72774157746d4a46684e63507446556f74746c4464414b55446b4e6e6343594c6c64794c65766f537144544a706c49506b6b65484c494b484c7949544a esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-cbc-128 crypto-key 567a51576d6c4c524348584545636470 integ-alg sha-512-256 integ-key 734e6d61486c73686a674767726f76416b52425659715447467253786c6d7963506959526e4767795461496271724c456d41615068427868594e4a6847695167 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-cbc-128 crypto-key 567a51576d6c4c524348584545636470 integ-alg sha-512-256 integ-key 734e6d61486c73686a674767726f76416b52425659715447467253786c6d7963506959526e4767795461496271724c456d41615068427868594e4a6847695167 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-cbc-128 crypto-key 766468544a4c686d6c70764259556570 integ-alg sha-512-256 integ-key 4f7778724b6565786243697948674f7373676e625447466d70457471726e596e414c454852446b6c744c7676475a4a684765485a53747665547a765a6e704f58 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-cbc-128 crypto-key 766468544a4c686d6c70764259556570 integ-alg sha-512-256 integ-key 4f7778724b6565786243697948674f7373676e625447466d70457471726e596e414c454852446b6c744c7676475a4a684765485a53747665547a765a6e704f58 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-cbc-128 crypto-key 7345694763726263516a4e54534b6758 integ-alg sha-512-256 integ-key 785a754a6f746277685a776f574f647661516169684d5167717151484464506a685151575141656f6c494a77795656467a6f4f496c786b537a526a484c4a7346 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-cbc-128 crypto-key 7345694763726263516a4e54534b6758 integ-alg sha-512-256 integ-key 785a754a6f746277685a776f574f647661516169684d5167717151484464506a685151575141656f6c494a77795656467a6f4f496c786b537a526a484c4a7346 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-cbc-128 crypto-key 564e54697a75635573486e4f4e784659 integ-alg sha-512-256 integ-key 4d576c4f6e654475574e6455574171516546596472565a744a7a5356454346706c75695342524a465a647a4f5754456f4446636b727069585278597479704468 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-cbc-128 crypto-key 564e54697a75635573486e4f4e784659 integ-alg sha-512-256 integ-key 4d576c4f6e654475574e6455574171516546596472565a744a7a5356454346706c75695342524a465a647a4f5754456f4446636b727069585278597479704468 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-cbc-128 crypto-key 636770436d504a4e65415575764d6d57 integ-alg sha-512-256 integ-key 47644743476a67727a5641754b515a4a57685447477253584a42526e73434d75446a52645a546c6f73797a7947474c4d4c46456669684b78797a614651454f6b esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-cbc-128 crypto-key 636770436d504a4e65415575764d6d57 integ-alg sha-512-256 integ-key 47644743476a67727a5641754b515a4a57685447477253584a42526e73434d75446a52645a546c6f73797a7947474c4d4c46456669684b78797a614651454f6b esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-cbc-128 crypto-key 756a4f69616c6b66676855516a414646 integ-alg sha-512-256 integ-key 416845706375666d7145674e757a576256487346794e5a4c6162547279427143487250417a5a594e61727641665a5350437a566b67617a7650616f59644c5864 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-cbc-128 crypto-key 756a4f69616c6b66676855516a414646 integ-alg sha-512-256 integ-key 416845706375666d7145674e757a576256487346794e5a4c6162547279427143487250417a5a594e61727641665a5350437a566b67617a7650616f59644c5864 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-cbc-128 crypto-key 6778644c52546e464b6a6f5962587756 integ-alg sha-512-256 integ-key 476e674b7846486a6b55686348776f724c6874617656757862557450774b65746c6d73597a547772736a495a5851657646427672674d64645a4c4b6175627249 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-cbc-128 crypto-key 6778644c52546e464b6a6f5962587756 integ-alg sha-512-256 integ-key 476e674b7846486a6b55686348776f724c6874617656757862557450774b65746c6d73597a547772736a495a5851657646427672674d64645a4c4b6175627249 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-cbc-128 crypto-key 54797a7a4e514d6d6b79656a53526c69 integ-alg sha-512-256 integ-key 44705357715741715a4a414241446a4a5457437562596a5772537762564743537357506b4f434368656c4b6d486277676e5261675a73674c5572644869787569 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-cbc-128 crypto-key 54797a7a4e514d6d6b79656a53526c69 integ-alg sha-512-256 integ-key 44705357715741715a4a414241446a4a5457437562596a5772537762564743537357506b4f434368656c4b6d486277676e5261675a73674c5572644869787569 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-cbc-128 crypto-key 417a4e4278794b6e6559684976424469 integ-alg sha-512-256 integ-key 4c724e725562615249775563556e7a566b4768696343754855646144686754516348496a446f6a53426564577a4976697a5a72556e505a6f626c484f6c744f4a esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-cbc-128 crypto-key 417a4e4278794b6e6559684976424469 integ-alg sha-512-256 integ-key 4c724e725562615249775563556e7a566b4768696343754855646144686754516348496a446f6a53426564577a4976697a5a72556e505a6f626c484f6c744f4a esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-cbc-128 crypto-key 6e4661614a6a6c506b71495177706c4e integ-alg sha-512-256 integ-key 71714e41455965514a764c76646f4d78685574627158415753784656576b624e4651797a487441684f6e6e514f5644776871504e7a45646c635a724c74754f42 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-cbc-128 crypto-key 6e4661614a6a6c506b71495177706c4e integ-alg sha-512-256 integ-key 71714e41455965514a764c76646f4d78685574627158415753784656576b624e4651797a487441684f6e6e514f5644776871504e7a45646c635a724c74754f42 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-cbc-128 crypto-key 4475726f4e4670636675766d55495868 integ-alg sha-512-256 integ-key 4e745570636f6841654143736e5065415764564b696579634643647571574b66734943416864554858586d5a616c50514e63574d4e74504256695572464b6243 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-cbc-128 crypto-key 4475726f4e4670636675766d55495868 integ-alg sha-512-256 integ-key 4e745570636f6841654143736e5065415764564b696579634643647571574b66734943416864554858586d5a616c50514e63574d4e74504256695572464b6243 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-cbc-128 crypto-key 48446d4448465564485367724f516464 integ-alg sha-512-256 integ-key 684f4a6a484f6670707a77526f625762496d7a76775468485457705347416a70644b6e7363497957465741494a6371717868444454707461614c6b50486d6f61 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-cbc-128 crypto-key 48446d4448465564485367724f516464 integ-alg sha-512-256 integ-key 684f4a6a484f6670707a77526f625762496d7a76775468485457705347416a70644b6e7363497957465741494a6371717868444454707461614c6b50486d6f61 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-cbc-128 crypto-key 4a4264437056697a6a73715561436951 integ-alg sha-512-256 integ-key 4749516c64714c44636f434f765859424b5344794258614b78766845427a5351747a75734c764569586f73526d4d714777574b4b4964486a7551485164505741 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-cbc-128 crypto-key 4a4264437056697a6a73715561436951 integ-alg sha-512-256 integ-key 4749516c64714c44636f434f765859424b5344794258614b78766845427a5351747a75734c764569586f73526d4d714777574b4b4964486a7551485164505741 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-cbc-128 crypto-key 6c467073514778746a42645742755053 integ-alg sha-512-256 integ-key 50584a704b6e68715a6e45694957464d6a6b4f6f74646c74586a575a576a45785a69546a486354654a64455556424e677852656a6f4d59664443684b75544172 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-cbc-128 crypto-key 6c467073514778746a42645742755053 integ-alg sha-512-256 integ-key 50584a704b6e68715a6e45694957464d6a6b4f6f74646c74586a575a576a45785a69546a486354654a64455556424e677852656a6f4d59664443684b75544172 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-cbc-128 crypto-key 6c4141564a55676f4673776371637545 integ-alg sha-512-256 integ-key 4c714c7356417a61676e41676975584d58795452746f63447047765843737a6a4f664a507663774d4262677779756c4a774d534a737546634b47714979736e70 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-cbc-128 crypto-key 6c4141564a55676f4673776371637545 integ-alg sha-512-256 integ-key 4c714c7356417a61676e41676975584d58795452746f63447047765843737a6a4f664a507663774d4262677779756c4a774d534a737546634b47714979736e70 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-cbc-128 crypto-key 6e45784d777758764e44647048486342 integ-alg sha-512-256 integ-key 6848524670506c414a6a5a67474e614554754955434a486a774c6e4c6f4a5250446469544661685350616d584e444e68656d6551747971756150747949666570 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-cbc-128 crypto-key 6e45784d777758764e44647048486342 integ-alg sha-512-256 integ-key 6848524670506c414a6a5a67474e614554754955434a486a774c6e4c6f4a5250446469544661685350616d584e444e68656d6551747971756150747949666570 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-cbc-128 crypto-key 416e6441625a57464c7679567768554f integ-alg sha-512-256 integ-key 45664e4163425154544b6c69586d4b6d4e6445774c765a6d5a474b5161637943594e5674516e45436472525476436a5268584646586f44776b6f43556c4b4b76 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-cbc-128 crypto-key 416e6441625a57464c7679567768554f integ-alg sha-512-256 integ-key 45664e4163425154544b6c69586d4b6d4e6445774c765a6d5a474b5161637943594e5674516e45436472525476436a5268584646586f44776b6f43556c4b4b76 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-cbc-128 crypto-key 5a5172626d59536a446f6857466a4b78 integ-alg sha-512-256 integ-key 4c78456a785576475242446c73644d43535a75674375424e4376774a70474c414a76516f4d7a4f46546b7046565465556f6b7a766c6f4878646472624845466c esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-cbc-128 crypto-key 5a5172626d59536a446f6857466a4b78 integ-alg sha-512-256 integ-key 4c78456a785576475242446c73644d43535a75674375424e4376774a70474c414a76516f4d7a4f46546b7046565465556f6b7a766c6f4878646472624845466c esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-cbc-128 crypto-key 55654a486876566a6759744b6f667876 integ-alg sha-512-256 integ-key 42727542687849554e4a7256646c446d46425168414e73775a657473414e45756f6565486e47596b596b43764b4476706f5a6d4c716f4574664c596e646d6d41 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-cbc-128 crypto-key 55654a486876566a6759744b6f667876 integ-alg sha-512-256 integ-key 42727542687849554e4a7256646c446d46425168414e73775a657473414e45756f6565486e47596b596b43764b4476706f5a6d4c716f4574664c596e646d6d41 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-cbc-128 crypto-key 6775664361506f4762584f616f46544f integ-alg sha-512-256 integ-key 496253746d546a6771544641726c48435846705a4a4b7955736f7442626449494f6d556454715366737457664d464b4d42696579417641664c786856756b444c esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-cbc-128 crypto-key 6775664361506f4762584f616f46544f integ-alg sha-512-256 integ-key 496253746d546a6771544641726c48435846705a4a4b7955736f7442626449494f6d556454715366737457664d464b4d42696579417641664c786856756b444c esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-cbc-128 crypto-key 6748666c67594e70475341634d674d6e integ-alg sha-512-256 integ-key 4e48776567465a61466c626f42526273484853734e736b777346597155434f4177596e496c444a4d4e526a6666736f6976566379794c7162797451527a486972 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-cbc-128 crypto-key 6748666c67594e70475341634d674d6e integ-alg sha-512-256 integ-key 4e48776567465a61466c626f42526273484853734e736b777346597155434f4177596e496c444a4d4e526a6666736f6976566379794c7162797451527a486972 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-cbc-128 crypto-key 41444d58724e6f426648556a634e7749 integ-alg sha-512-256 integ-key 4566476c74794253784d585a546c43777279444c754a546c5150796176414348794c427a73686562466c5271445872775a744d4a784768596f66796c69484973 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-cbc-128 crypto-key 41444d58724e6f426648556a634e7749 integ-alg sha-512-256 integ-key 4566476c74794253784d585a546c43777279444c754a546c5150796176414348794c427a73686562466c5271445872775a744d4a784768596f66796c69484973 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-cbc-128 crypto-key 766d7644746c684a6e734273666f4a6f integ-alg sha-512-256 integ-key 676f785349484a626653766f446749616a5368755a516a4272654b6a6b666f7046537066726441584a5475666e4b70536951775958796979796e727a4464667a esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-cbc-128 crypto-key 766d7644746c684a6e734273666f4a6f integ-alg sha-512-256 integ-key 676f785349484a626653766f446749616a5368755a516a4272654b6a6b666f7046537066726441584a5475666e4b70536951775958796979796e727a4464667a esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-cbc-128 crypto-key 504c79796449756a4961634842786868 integ-alg sha-512-256 integ-key 446e4c776c56457963514c49427a57705a676f4b786c636774747665516d4a6f5858736a4f646146624a6c4b74597a7548714246715179657263795874685167 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-cbc-128 crypto-key 504c79796449756a4961634842786868 integ-alg sha-512-256 integ-key 446e4c776c56457963514c49427a57705a676f4b786c636774747665516d4a6f5858736a4f646146624a6c4b74597a7548714246715179657263795874685167 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.101 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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.101/24
exec set ip neighbor TwentyFiveGigabitEthernet3b/0/1 200.0.0.102 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.102 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-cbc-128 crypto-key 6a5469524c4257686459514c446c6d70 integ-alg sha-512-256 integ-key 6f45576c4c535765704a534263525775684f515573414f4653764847485443615945627771727a5355734c6c767453664f647741534975774c43426d54754e71 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-cbc-128 crypto-key 6a5469524c4257686459514c446c6d70 integ-alg sha-512-256 integ-key 6f45576c4c535765704a534263525775684f515573414f4653764847485443615945627771727a5355734c6c767453664f647741534975774c43426d54754e71 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.102 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-cbc-128 crypto-key 73716f7646456d7a477871506b435647 integ-alg sha-512-256 integ-key 7977597a704742684a58647a77635069774f595856716c41587476697550714b7578754a7770625262424547636e786d4543444c734f7067485a4663584e786e esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-cbc-128 crypto-key 73716f7646456d7a477871506b435647 integ-alg sha-512-256 integ-key 7977597a704742684a58647a77635069774f595856716c41587476697550714b7578754a7770625262424547636e786d4543444c734f7067485a4663584e786e 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.102 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-cbc-128 crypto-key 4b5646634376727948796f69735a766b integ-alg sha-512-256 integ-key 6e7866547a496774757a57486147566c63426a526877466e7846504c4653464363477652656f6d426b736a6868417a5548427275637259686b6953567177504a esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-cbc-128 crypto-key 4b5646634376727948796f69735a766b integ-alg sha-512-256 integ-key 6e7866547a496774757a57486147566c63426a526877466e7846504c4653464363477652656f6d426b736a6868417a5548427275637259686b6953567177504a 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.102 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-cbc-128 crypto-key 44546145714e5466687852775548756a integ-alg sha-512-256 integ-key 486943545952654c514955744d42724d77454a4d526d596578774a5a494f4e4b6c664e74585267796e7364494e67516b6d524657784d666d7959547a566d736f esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-cbc-128 crypto-key 44546145714e5466687852775548756a integ-alg sha-512-256 integ-key 486943545952654c514955744d42724d77454a4d526d596578774a5a494f4e4b6c664e74585267796e7364494e67516b6d524657784d666d7959547a566d736f 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.102 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-cbc-128 crypto-key 6a54646f45715378466e5a4162527449 integ-alg sha-512-256 integ-key 48447775535a5058644e686375664f496e4c4e5662437666434e4e434a556679446751666d66556d5573596f555a504d596e704741487a426e51466278414877 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-cbc-128 crypto-key 6a54646f45715378466e5a4162527449 integ-alg sha-512-256 integ-key 48447775535a5058644e686375664f496e4c4e5662437666434e4e434a556679446751666d66556d5573596f555a504d596e704741487a426e51466278414877 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.102 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-cbc-128 crypto-key 4e6545437462754b76626e5164706174 integ-alg sha-512-256 integ-key 795a76494563725654585953434b57725653437652737275485767767a4e774e774f65694e506d4d746b65775258647a4452666866525745454e6e4b41634950 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-cbc-128 crypto-key 4e6545437462754b76626e5164706174 integ-alg sha-512-256 integ-key 795a76494563725654585953434b57725653437652737275485767767a4e774e774f65694e506d4d746b65775258647a4452666866525745454e6e4b41634950 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.102 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-cbc-128 crypto-key 5a4475626158556459484e55464d6461 integ-alg sha-512-256 integ-key 596e4458737957516b5078414f4f7449596d7a427853516e62577946464a775a44736c6c646c7544437151504b537757566c574c6258574654525a554e496753 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-cbc-128 crypto-key 5a4475626158556459484e55464d6461 integ-alg sha-512-256 integ-key 596e4458737957516b5078414f4f7449596d7a427853516e62577946464a775a44736c6c646c7544437151504b537757566c574c6258574654525a554e496753 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.102 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-cbc-128 crypto-key 6e4f776367726f6e4a50674264527279 integ-alg sha-512-256 integ-key 516e6351504e566d6448714f6f4a6863657a68654e5a416f794968684f6c47654e694562424e706a6d6c584b4261507273706761567a5359476b574d4a647a70 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-cbc-128 crypto-key 6e4f776367726f6e4a50674264527279 integ-alg sha-512-256 integ-key 516e6351504e566d6448714f6f4a6863657a68654e5a416f794968684f6c47654e694562424e706a6d6c584b4261507273706761567a5359476b574d4a647a70 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.102 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-cbc-128 crypto-key 6456476357727061414153466e6a6861 integ-alg sha-512-256 integ-key 4a5a6d58666e746a59584746646443464b506b554b66756558527550704757754a5748716348734d5a5062735a6b635a7848546765744f42717a614d4c574563 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-cbc-128 crypto-key 6456476357727061414153466e6a6861 integ-alg sha-512-256 integ-key 4a5a6d58666e746a59584746646443464b506b554b66756558527550704757754a5748716348734d5a5062735a6b635a7848546765744f42717a614d4c574563 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.102 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-cbc-128 crypto-key 4f6d707963506b46694568516c504f79 integ-alg sha-512-256 integ-key 6e4f4f724a46624351564d61476c726f4647464e6165766e5a656c7a77564a726f636a75546861687272426b77624d427457745a726e4a574b4e75724e444643 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-cbc-128 crypto-key 4f6d707963506b46694568516c504f79 integ-alg sha-512-256 integ-key 6e4f4f724a46624351564d61476c726f4647464e6165766e5a656c7a77564a726f636a75546861687272426b77624d427457745a726e4a574b4e75724e444643 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.102 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-cbc-128 crypto-key 5a41774a56726b4176435a58666d6555 integ-alg sha-512-256 integ-key 5842577048414d4372524a4a58547755686c7a6b57515251446e566157456541546541524e46745561544559595352596850547257536f417148457a48787866 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-cbc-128 crypto-key 5a41774a56726b4176435a58666d6555 integ-alg sha-512-256 integ-key 5842577048414d4372524a4a58547755686c7a6b57515251446e566157456541546541524e46745561544559595352596850547257536f417148457a48787866 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.102 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-cbc-128 crypto-key 76535749425172596e535a5475577248 integ-alg sha-512-256 integ-key 596c5441664841425544756359487164515476466d7658465367716b7147414e57654e4c4c7948624f4847717075564358734a7759715772624a79474a695277 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-cbc-128 crypto-key 76535749425172596e535a5475577248 integ-alg sha-512-256 integ-key 596c5441664841425544756359487164515476466d7658465367716b7147414e57654e4c4c7948624f4847717075564358734a7759715772624a79474a695277 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.102 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-cbc-128 crypto-key 4a516e64794f6c79416a564d6c737563 integ-alg sha-512-256 integ-key 6263704b4d7a6d484552744f754462687072674b517267474258545a766d4d6c4d4c77566c4a587a4d63776b485742677859486b6c546d466a614a7746784459 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-cbc-128 crypto-key 4a516e64794f6c79416a564d6c737563 integ-alg sha-512-256 integ-key 6263704b4d7a6d484552744f754462687072674b517267474258545a766d4d6c4d4c77566c4a587a4d63776b485742677859486b6c546d466a614a7746784459 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.102 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-cbc-128 crypto-key 456971554f45766e6155776257664f42 integ-alg sha-512-256 integ-key 73474e6f6446766b636e4d5766425a7146776753744d4b6d454562686477486e535258766c776f70504a516873674f494c56644b6a6e67665167685944765044 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-cbc-128 crypto-key 456971554f45766e6155776257664f42 integ-alg sha-512-256 integ-key 73474e6f6446766b636e4d5766425a7146776753744d4b6d454562686477486e535258766c776f70504a516873674f494c56644b6a6e67665167685944765044 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.102 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-cbc-128 crypto-key 75734d5563456c445757535a7a46587a integ-alg sha-512-256 integ-key 4a435270697269556e6c636b666f64435956756a45674c69785768764148696c62626d55614372796e7964776a6b754e4d596147724f6574716f52764b427558 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-cbc-128 crypto-key 75734d5563456c445757535a7a46587a integ-alg sha-512-256 integ-key 4a435270697269556e6c636b666f64435956756a45674c69785768764148696c62626d55614372796e7964776a6b754e4d596147724f6574716f52764b427558 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.102 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-cbc-128 crypto-key 774f4d744664507a694f487a57744275 integ-alg sha-512-256 integ-key 616f586a49496458455276634e7752694b6479424c41414f76694e4846507a4f444a4648674771647249694f6c6a6e616969515542706e6d6b5a664473534765 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-cbc-128 crypto-key 774f4d744664507a694f487a57744275 integ-alg sha-512-256 integ-key 616f586a49496458455276634e7752694b6479424c41414f76694e4846507a4f444a4648674771647249694f6c6a6e616969515542706e6d6b5a664473534765 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.102 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-cbc-128 crypto-key 6f764768737871456c657549526b6d43 integ-alg sha-512-256 integ-key 5171474d6c524669564f4365534e70734f586c735a6665756f4142757974786e6967767355786350564c64517942694c4771776f77696a507a4e4e5243526842 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-cbc-128 crypto-key 6f764768737871456c657549526b6d43 integ-alg sha-512-256 integ-key 5171474d6c524669564f4365534e70734f586c735a6665756f4142757974786e6967767355786350564c64517942694c4771776f77696a507a4e4e5243526842 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.102 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-cbc-128 crypto-key 787851574676656b765454445743615a integ-alg sha-512-256 integ-key 467979785755797168415a416c4a6d51504c736d4b516f69747651574f6a4f646a557a594d75506971764e4f446d634e4f6775546f626669666857754250554d esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-cbc-128 crypto-key 787851574676656b765454445743615a integ-alg sha-512-256 integ-key 467979785755797168415a416c4a6d51504c736d4b516f69747651574f6a4f646a557a594d75506971764e4f446d634e4f6775546f626669666857754250554d 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.102 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-cbc-128 crypto-key 486e76634c467072664141514c74656c integ-alg sha-512-256 integ-key 587457506b4d436b78706a584c436945534f79764c57714c7664414964566b6d4d4b46496b5a4a594a686576685657526b4f765a415045696f596d4f55786852 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-cbc-128 crypto-key 486e76634c467072664141514c74656c integ-alg sha-512-256 integ-key 587457506b4d436b78706a584c436945534f79764c57714c7664414964566b6d4d4b46496b5a4a594a686576685657526b4f765a415045696f596d4f55786852 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.102 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-cbc-128 crypto-key 456677656942785143414b4e7151654e integ-alg sha-512-256 integ-key 754455747779436c476e4c63534d4d717544636e7558626959685171485a53775779705568706243697770774a79506146716a5073424568444c49576d7a426c esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-cbc-128 crypto-key 456677656942785143414b4e7151654e integ-alg sha-512-256 integ-key 754455747779436c476e4c63534d4d717544636e7558626959685171485a53775779705568706243697770774a79506146716a5073424568444c49576d7a426c 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.102 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-cbc-128 crypto-key 77676d686468416b4c65707774674743 integ-alg sha-512-256 integ-key 4c667a56556d4d4a6e4d445a5a726e6c6c6f4269584e644a59684e425a7479594158696341727a53454f694266556b62484b484c775a74567a724c4c6c4a7559 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-cbc-128 crypto-key 77676d686468416b4c65707774674743 integ-alg sha-512-256 integ-key 4c667a56556d4d4a6e4d445a5a726e6c6c6f4269584e644a59684e425a7479594158696341727a53454f694266556b62484b484c775a74567a724c4c6c4a7559 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.102 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-cbc-128 crypto-key 506642684d76566f7a766c4e6a4e4c72 integ-alg sha-512-256 integ-key 757946756a655579744d4a624461497a6e5552624f644f766c6e7a685a56517946746c4d515a434a666b734a63547a43694f68755378646a4c634e6355456a4c esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-cbc-128 crypto-key 506642684d76566f7a766c4e6a4e4c72 integ-alg sha-512-256 integ-key 757946756a655579744d4a624461497a6e5552624f644f766c6e7a685a56517946746c4d515a434a666b734a63547a43694f68755378646a4c634e6355456a4c 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.102 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-cbc-128 crypto-key 664963654a636c6f536a6a7054695153 integ-alg sha-512-256 integ-key 616b757468757849674a4f59594d624142577a50616463737755784c696c5655534d714a6f6d7a5a51474973545877706f61534257675345507875494159464f esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-cbc-128 crypto-key 664963654a636c6f536a6a7054695153 integ-alg sha-512-256 integ-key 616b757468757849674a4f59594d624142577a50616463737755784c696c5655534d714a6f6d7a5a51474973545877706f61534257675345507875494159464f 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.102 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-cbc-128 crypto-key 6f58716b6e7874704a6d525261425756 integ-alg sha-512-256 integ-key 5052734b586b62566f736c53504d564f6d68446b5376686457584d595042464446724f4f62464d5473786f4f4e514350427952725174424c687068574d6c614d esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-cbc-128 crypto-key 6f58716b6e7874704a6d525261425756 integ-alg sha-512-256 integ-key 5052734b586b62566f736c53504d564f6d68446b5376686457584d595042464446724f4f62464d5473786f4f4e514350427952725174424c687068574d6c614d 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.102 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-cbc-128 crypto-key 67645a70577a62446777537a4f53474a integ-alg sha-512-256 integ-key 504e4773796a57436e797766565056684c786f435a756c764f65436271754f4254556978436a5476734643796b57764267765547465a706d5769594d56676871 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-cbc-128 crypto-key 67645a70577a62446777537a4f53474a integ-alg sha-512-256 integ-key 504e4773796a57436e797766565056684c786f435a756c764f65436271754f4254556978436a5476734643796b57764267765547465a706d5769594d56676871 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.102 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-cbc-128 crypto-key 6b5270437844655248506f7a574e4d57 integ-alg sha-512-256 integ-key 62556a72627a6f486f596457794746467253656a4b6d6d5577615945544652764b646c485658554f5844466c447462554a41757a787a4f47436962505a4d7753 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-cbc-128 crypto-key 6b5270437844655248506f7a574e4d57 integ-alg sha-512-256 integ-key 62556a72627a6f486f596457794746467253656a4b6d6d5577615945544652764b646c485658554f5844466c447462554a41757a787a4f47436962505a4d7753 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.102 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-cbc-128 crypto-key 50435366477875734a514d7459474346 integ-alg sha-512-256 integ-key 62564a4d4a76476169654e5243537258436b4564446a524f6f586672416861454c477341736e6563714166714c7858424b776f6d7265555a6567477558476e50 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-cbc-128 crypto-key 50435366477875734a514d7459474346 integ-alg sha-512-256 integ-key 62564a4d4a76476169654e5243537258436b4564446a524f6f586672416861454c477341736e6563714166714c7858424b776f6d7265555a6567477558476e50 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.102 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-cbc-128 crypto-key 71594c4772496170634277444c4b6150 integ-alg sha-512-256 integ-key 77586b6d785757654a4d4b4c744547556f476f596164534b744f654b7a79624f7273487170556779696d52646b534179756b6b4b417a704c6c4f656269444551 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-cbc-128 crypto-key 71594c4772496170634277444c4b6150 integ-alg sha-512-256 integ-key 77586b6d785757654a4d4b4c744547556f476f596164534b744f654b7a79624f7273487170556779696d52646b534179756b6b4b417a704c6c4f656269444551 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.102 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-cbc-128 crypto-key 6e66506f6c50437864706c426f626b54 integ-alg sha-512-256 integ-key 7843586165684553456170514c4544486e77705973786a55635473726d53537451725a567a4f71574b546842586d737054667275644b7a4c67524c704d73424b esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-cbc-128 crypto-key 6e66506f6c50437864706c426f626b54 integ-alg sha-512-256 integ-key 7843586165684553456170514c4544486e77705973786a55635473726d53537451725a567a4f71574b546842586d737054667275644b7a4c67524c704d73424b 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.102 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-cbc-128 crypto-key 74665578534a4a4a6556664c75534247 integ-alg sha-512-256 integ-key 664149474b4b72627768785a6f555a52737768756d4e74574a4e7a61434a734442624c4579655a644862725444664d7568656347557558674f5741716f67574b esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-cbc-128 crypto-key 74665578534a4a4a6556664c75534247 integ-alg sha-512-256 integ-key 664149474b4b72627768785a6f555a52737768756d4e74574a4e7a61434a734442624c4579655a644862725444664d7568656347557558674f5741716f67574b 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.102 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-cbc-128 crypto-key 7a6e545a7562466743656b694b7a4175 integ-alg sha-512-256 integ-key 4d5741567957524d5670624d7074666c787058796e616d77655853556e657a73716b6678724454676370516a784c68655453715a4d79654e6c614772494f4749 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-cbc-128 crypto-key 7a6e545a7562466743656b694b7a4175 integ-alg sha-512-256 integ-key 4d5741567957524d5670624d7074666c787058796e616d77655853556e657a73716b6678724454676370516a784c68655453715a4d79654e6c614772494f4749 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.102 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-cbc-128 crypto-key 647676564d68596956554d4e637a6b77 integ-alg sha-512-256 integ-key 6941574f75424e64724f73655452416178554b70704a49616b756552676e5a4e485a756f634245676864634a71767555716c4773697474684c446964414e6a4c esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-cbc-128 crypto-key 647676564d68596956554d4e637a6b77 integ-alg sha-512-256 integ-key 6941574f75424e64724f73655452416178554b70704a49616b756552676e5a4e485a756f634245676864634a71767555716c4773697474684c446964414e6a4c 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.102 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-cbc-128 crypto-key 6d62454f5443537a4941727746527568 integ-alg sha-512-256 integ-key 6f7a586f666463725052716f6a674574724d5451595577664e495a6e41535245526f6943517a436e667542534150614f48796250594e4277794461726c755056 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-cbc-128 crypto-key 6d62454f5443537a4941727746527568 integ-alg sha-512-256 integ-key 6f7a586f666463725052716f6a674574724d5451595577664e495a6e41535245526f6943517a436e667542534150614f48796250594e4277794461726c755056 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.102 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-cbc-128 crypto-key 574e507571466870446f74436b4f6262 integ-alg sha-512-256 integ-key 666e6a774e6956516e434a4b4757566a4d4b5875447262764850734862436853774c6950634c73794d52464c424b77484665524a796947595a6c684d52725053 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-cbc-128 crypto-key 574e507571466870446f74436b4f6262 integ-alg sha-512-256 integ-key 666e6a774e6956516e434a4b4757566a4d4b5875447262764850734862436853774c6950634c73794d52464c424b77484665524a796947595a6c684d52725053 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.102 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-cbc-128 crypto-key 4573514579677443594d526652516c4d integ-alg sha-512-256 integ-key 475a4c49647452687741735543754e63656d4e467a625567726d4b5a5544496a536d72626d7462567a6a4276616a4b6f644856736e626c774a43554244624246 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-cbc-128 crypto-key 4573514579677443594d526652516c4d integ-alg sha-512-256 integ-key 475a4c49647452687741735543754e63656d4e467a625567726d4b5a5544496a536d72626d7462567a6a4276616a4b6f644856736e626c774a43554244624246 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.102 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-cbc-128 crypto-key 545a6f464a4d786b5858695742535243 integ-alg sha-512-256 integ-key 414b50554b774a5261537762786263654f636d47767a4e5a4c62524356474f785558575249544b4e75795a4155676d6950727a4744777047796f6b53426d7a61 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-cbc-128 crypto-key 545a6f464a4d786b5858695742535243 integ-alg sha-512-256 integ-key 414b50554b774a5261537762786263654f636d47767a4e5a4c62524356474f785558575249544b4e75795a4155676d6950727a4744777047796f6b53426d7a61 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.102 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-cbc-128 crypto-key 4f6e4e5646647056514272685a4c6d48 integ-alg sha-512-256 integ-key 57566654526b45624854706f72565250447750646b54635778426e4d6651704c42626e6642635a496a7a76636b5a4268424672584b674e4a704f7a6371635a69 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-cbc-128 crypto-key 4f6e4e5646647056514272685a4c6d48 integ-alg sha-512-256 integ-key 57566654526b45624854706f72565250447750646b54635778426e4d6651704c42626e6642635a496a7a76636b5a4268424672584b674e4a704f7a6371635a69 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.102 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-cbc-128 crypto-key 5558746c516e426144577956786e4567 integ-alg sha-512-256 integ-key 4e626d736e6f46514165705258587073744679454a6f704650434751566449694165456b724f6c72465a57487a78766f47454169524d6454766e4a6446775a68 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-cbc-128 crypto-key 5558746c516e426144577956786e4567 integ-alg sha-512-256 integ-key 4e626d736e6f46514165705258587073744679454a6f704650434751566449694165456b724f6c72465a57487a78766f47454169524d6454766e4a6446775a68 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.102 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-cbc-128 crypto-key 48456e6165584b51734d734d61754361 integ-alg sha-512-256 integ-key 4b4f4c75766e67535168526c574b756c766d4b744d656563675166437168694573736e59614e46485a7375556579684a464c554e6c4f6c784c64775178787079 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-cbc-128 crypto-key 48456e6165584b51734d734d61754361 integ-alg sha-512-256 integ-key 4b4f4c75766e67535168526c574b756c766d4b744d656563675166437168694573736e59614e46485a7375556579684a464c554e6c4f6c784c64775178787079 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.102 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-cbc-128 crypto-key 615869774171486d646e665a6b465061 integ-alg sha-512-256 integ-key 70754246576b474166444363634f7163627669734b465849446d5a596d756b7354714e527a6679516f714d536f56784d764f7379515579614942684d6f675354 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-cbc-128 crypto-key 615869774171486d646e665a6b465061 integ-alg sha-512-256 integ-key 70754246576b474166444363634f7163627669734b465849446d5a596d756b7354714e527a6679516f714d536f56784d764f7379515579614942684d6f675354 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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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.102/24.0
exec create ipip tunnel src 200.0.0.102 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-cbc-128 crypto-key 6a5469524c4257686459514c446c6d70 integ-alg sha-512-256 integ-key 6f45576c4c535765704a534263525775684f515573414f4653764847485443615945627771727a5355734c6c767453664f647741534975774c43426d54754e71 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-cbc-128 crypto-key 6a5469524c4257686459514c446c6d70 integ-alg sha-512-256 integ-key 6f45576c4c535765704a534263525775684f515573414f4653764847485443615945627771727a5355734c6c767453664f647741534975774c43426d54754e71 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-cbc-128 crypto-key 73716f7646456d7a477871506b435647 integ-alg sha-512-256 integ-key 7977597a704742684a58647a77635069774f595856716c41587476697550714b7578754a7770625262424547636e786d4543444c734f7067485a4663584e786e esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-cbc-128 crypto-key 73716f7646456d7a477871506b435647 integ-alg sha-512-256 integ-key 7977597a704742684a58647a77635069774f595856716c41587476697550714b7578754a7770625262424547636e786d4543444c734f7067485a4663584e786e esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-cbc-128 crypto-key 4b5646634376727948796f69735a766b integ-alg sha-512-256 integ-key 6e7866547a496774757a57486147566c63426a526877466e7846504c4653464363477652656f6d426b736a6868417a5548427275637259686b6953567177504a esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-cbc-128 crypto-key 4b5646634376727948796f69735a766b integ-alg sha-512-256 integ-key 6e7866547a496774757a57486147566c63426a526877466e7846504c4653464363477652656f6d426b736a6868417a5548427275637259686b6953567177504a esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-cbc-128 crypto-key 44546145714e5466687852775548756a integ-alg sha-512-256 integ-key 486943545952654c514955744d42724d77454a4d526d596578774a5a494f4e4b6c664e74585267796e7364494e67516b6d524657784d666d7959547a566d736f esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-cbc-128 crypto-key 44546145714e5466687852775548756a integ-alg sha-512-256 integ-key 486943545952654c514955744d42724d77454a4d526d596578774a5a494f4e4b6c664e74585267796e7364494e67516b6d524657784d666d7959547a566d736f esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-cbc-128 crypto-key 6a54646f45715378466e5a4162527449 integ-alg sha-512-256 integ-key 48447775535a5058644e686375664f496e4c4e5662437666434e4e434a556679446751666d66556d5573596f555a504d596e704741487a426e51466278414877 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-cbc-128 crypto-key 6a54646f45715378466e5a4162527449 integ-alg sha-512-256 integ-key 48447775535a5058644e686375664f496e4c4e5662437666434e4e434a556679446751666d66556d5573596f555a504d596e704741487a426e51466278414877 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-cbc-128 crypto-key 4e6545437462754b76626e5164706174 integ-alg sha-512-256 integ-key 795a76494563725654585953434b57725653437652737275485767767a4e774e774f65694e506d4d746b65775258647a4452666866525745454e6e4b41634950 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-cbc-128 crypto-key 4e6545437462754b76626e5164706174 integ-alg sha-512-256 integ-key 795a76494563725654585953434b57725653437652737275485767767a4e774e774f65694e506d4d746b65775258647a4452666866525745454e6e4b41634950 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-cbc-128 crypto-key 5a4475626158556459484e55464d6461 integ-alg sha-512-256 integ-key 596e4458737957516b5078414f4f7449596d7a427853516e62577946464a775a44736c6c646c7544437151504b537757566c574c6258574654525a554e496753 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-cbc-128 crypto-key 5a4475626158556459484e55464d6461 integ-alg sha-512-256 integ-key 596e4458737957516b5078414f4f7449596d7a427853516e62577946464a775a44736c6c646c7544437151504b537757566c574c6258574654525a554e496753 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-cbc-128 crypto-key 6e4f776367726f6e4a50674264527279 integ-alg sha-512-256 integ-key 516e6351504e566d6448714f6f4a6863657a68654e5a416f794968684f6c47654e694562424e706a6d6c584b4261507273706761567a5359476b574d4a647a70 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-cbc-128 crypto-key 6e4f776367726f6e4a50674264527279 integ-alg sha-512-256 integ-key 516e6351504e566d6448714f6f4a6863657a68654e5a416f794968684f6c47654e694562424e706a6d6c584b4261507273706761567a5359476b574d4a647a70 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-cbc-128 crypto-key 6456476357727061414153466e6a6861 integ-alg sha-512-256 integ-key 4a5a6d58666e746a59584746646443464b506b554b66756558527550704757754a5748716348734d5a5062735a6b635a7848546765744f42717a614d4c574563 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-cbc-128 crypto-key 6456476357727061414153466e6a6861 integ-alg sha-512-256 integ-key 4a5a6d58666e746a59584746646443464b506b554b66756558527550704757754a5748716348734d5a5062735a6b635a7848546765744f42717a614d4c574563 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-cbc-128 crypto-key 4f6d707963506b46694568516c504f79 integ-alg sha-512-256 integ-key 6e4f4f724a46624351564d61476c726f4647464e6165766e5a656c7a77564a726f636a75546861687272426b77624d427457745a726e4a574b4e75724e444643 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-cbc-128 crypto-key 4f6d707963506b46694568516c504f79 integ-alg sha-512-256 integ-key 6e4f4f724a46624351564d61476c726f4647464e6165766e5a656c7a77564a726f636a75546861687272426b77624d427457745a726e4a574b4e75724e444643 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-cbc-128 crypto-key 5a41774a56726b4176435a58666d6555 integ-alg sha-512-256 integ-key 5842577048414d4372524a4a58547755686c7a6b57515251446e566157456541546541524e46745561544559595352596850547257536f417148457a48787866 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-cbc-128 crypto-key 5a41774a56726b4176435a58666d6555 integ-alg sha-512-256 integ-key 5842577048414d4372524a4a58547755686c7a6b57515251446e566157456541546541524e46745561544559595352596850547257536f417148457a48787866 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-cbc-128 crypto-key 76535749425172596e535a5475577248 integ-alg sha-512-256 integ-key 596c5441664841425544756359487164515476466d7658465367716b7147414e57654e4c4c7948624f4847717075564358734a7759715772624a79474a695277 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-cbc-128 crypto-key 76535749425172596e535a5475577248 integ-alg sha-512-256 integ-key 596c5441664841425544756359487164515476466d7658465367716b7147414e57654e4c4c7948624f4847717075564358734a7759715772624a79474a695277 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-cbc-128 crypto-key 4a516e64794f6c79416a564d6c737563 integ-alg sha-512-256 integ-key 6263704b4d7a6d484552744f754462687072674b517267474258545a766d4d6c4d4c77566c4a587a4d63776b485742677859486b6c546d466a614a7746784459 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-cbc-128 crypto-key 4a516e64794f6c79416a564d6c737563 integ-alg sha-512-256 integ-key 6263704b4d7a6d484552744f754462687072674b517267474258545a766d4d6c4d4c77566c4a587a4d63776b485742677859486b6c546d466a614a7746784459 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-cbc-128 crypto-key 456971554f45766e6155776257664f42 integ-alg sha-512-256 integ-key 73474e6f6446766b636e4d5766425a7146776753744d4b6d454562686477486e535258766c776f70504a516873674f494c56644b6a6e67665167685944765044 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-cbc-128 crypto-key 456971554f45766e6155776257664f42 integ-alg sha-512-256 integ-key 73474e6f6446766b636e4d5766425a7146776753744d4b6d454562686477486e535258766c776f70504a516873674f494c56644b6a6e67665167685944765044 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-cbc-128 crypto-key 75734d5563456c445757535a7a46587a integ-alg sha-512-256 integ-key 4a435270697269556e6c636b666f64435956756a45674c69785768764148696c62626d55614372796e7964776a6b754e4d596147724f6574716f52764b427558 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-cbc-128 crypto-key 75734d5563456c445757535a7a46587a integ-alg sha-512-256 integ-key 4a435270697269556e6c636b666f64435956756a45674c69785768764148696c62626d55614372796e7964776a6b754e4d596147724f6574716f52764b427558 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-cbc-128 crypto-key 774f4d744664507a694f487a57744275 integ-alg sha-512-256 integ-key 616f586a49496458455276634e7752694b6479424c41414f76694e4846507a4f444a4648674771647249694f6c6a6e616969515542706e6d6b5a664473534765 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-cbc-128 crypto-key 774f4d744664507a694f487a57744275 integ-alg sha-512-256 integ-key 616f586a49496458455276634e7752694b6479424c41414f76694e4846507a4f444a4648674771647249694f6c6a6e616969515542706e6d6b5a664473534765 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-cbc-128 crypto-key 6f764768737871456c657549526b6d43 integ-alg sha-512-256 integ-key 5171474d6c524669564f4365534e70734f586c735a6665756f4142757974786e6967767355786350564c64517942694c4771776f77696a507a4e4e5243526842 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-cbc-128 crypto-key 6f764768737871456c657549526b6d43 integ-alg sha-512-256 integ-key 5171474d6c524669564f4365534e70734f586c735a6665756f4142757974786e6967767355786350564c64517942694c4771776f77696a507a4e4e5243526842 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-cbc-128 crypto-key 787851574676656b765454445743615a integ-alg sha-512-256 integ-key 467979785755797168415a416c4a6d51504c736d4b516f69747651574f6a4f646a557a594d75506971764e4f446d634e4f6775546f626669666857754250554d esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-cbc-128 crypto-key 787851574676656b765454445743615a integ-alg sha-512-256 integ-key 467979785755797168415a416c4a6d51504c736d4b516f69747651574f6a4f646a557a594d75506971764e4f446d634e4f6775546f626669666857754250554d esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-cbc-128 crypto-key 486e76634c467072664141514c74656c integ-alg sha-512-256 integ-key 587457506b4d436b78706a584c436945534f79764c57714c7664414964566b6d4d4b46496b5a4a594a686576685657526b4f765a415045696f596d4f55786852 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-cbc-128 crypto-key 486e76634c467072664141514c74656c integ-alg sha-512-256 integ-key 587457506b4d436b78706a584c436945534f79764c57714c7664414964566b6d4d4b46496b5a4a594a686576685657526b4f765a415045696f596d4f55786852 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-cbc-128 crypto-key 456677656942785143414b4e7151654e integ-alg sha-512-256 integ-key 754455747779436c476e4c63534d4d717544636e7558626959685171485a53775779705568706243697770774a79506146716a5073424568444c49576d7a426c esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-cbc-128 crypto-key 456677656942785143414b4e7151654e integ-alg sha-512-256 integ-key 754455747779436c476e4c63534d4d717544636e7558626959685171485a53775779705568706243697770774a79506146716a5073424568444c49576d7a426c esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-cbc-128 crypto-key 77676d686468416b4c65707774674743 integ-alg sha-512-256 integ-key 4c667a56556d4d4a6e4d445a5a726e6c6c6f4269584e644a59684e425a7479594158696341727a53454f694266556b62484b484c775a74567a724c4c6c4a7559 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-cbc-128 crypto-key 77676d686468416b4c65707774674743 integ-alg sha-512-256 integ-key 4c667a56556d4d4a6e4d445a5a726e6c6c6f4269584e644a59684e425a7479594158696341727a53454f694266556b62484b484c775a74567a724c4c6c4a7559 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-cbc-128 crypto-key 506642684d76566f7a766c4e6a4e4c72 integ-alg sha-512-256 integ-key 757946756a655579744d4a624461497a6e5552624f644f766c6e7a685a56517946746c4d515a434a666b734a63547a43694f68755378646a4c634e6355456a4c esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-cbc-128 crypto-key 506642684d76566f7a766c4e6a4e4c72 integ-alg sha-512-256 integ-key 757946756a655579744d4a624461497a6e5552624f644f766c6e7a685a56517946746c4d515a434a666b734a63547a43694f68755378646a4c634e6355456a4c esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-cbc-128 crypto-key 664963654a636c6f536a6a7054695153 integ-alg sha-512-256 integ-key 616b757468757849674a4f59594d624142577a50616463737755784c696c5655534d714a6f6d7a5a51474973545877706f61534257675345507875494159464f esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-cbc-128 crypto-key 664963654a636c6f536a6a7054695153 integ-alg sha-512-256 integ-key 616b757468757849674a4f59594d624142577a50616463737755784c696c5655534d714a6f6d7a5a51474973545877706f61534257675345507875494159464f esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-cbc-128 crypto-key 6f58716b6e7874704a6d525261425756 integ-alg sha-512-256 integ-key 5052734b586b62566f736c53504d564f6d68446b5376686457584d595042464446724f4f62464d5473786f4f4e514350427952725174424c687068574d6c614d esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-cbc-128 crypto-key 6f58716b6e7874704a6d525261425756 integ-alg sha-512-256 integ-key 5052734b586b62566f736c53504d564f6d68446b5376686457584d595042464446724f4f62464d5473786f4f4e514350427952725174424c687068574d6c614d esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-cbc-128 crypto-key 67645a70577a62446777537a4f53474a integ-alg sha-512-256 integ-key 504e4773796a57436e797766565056684c786f435a756c764f65436271754f4254556978436a5476734643796b57764267765547465a706d5769594d56676871 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-cbc-128 crypto-key 67645a70577a62446777537a4f53474a integ-alg sha-512-256 integ-key 504e4773796a57436e797766565056684c786f435a756c764f65436271754f4254556978436a5476734643796b57764267765547465a706d5769594d56676871 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-cbc-128 crypto-key 6b5270437844655248506f7a574e4d57 integ-alg sha-512-256 integ-key 62556a72627a6f486f596457794746467253656a4b6d6d5577615945544652764b646c485658554f5844466c447462554a41757a787a4f47436962505a4d7753 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-cbc-128 crypto-key 6b5270437844655248506f7a574e4d57 integ-alg sha-512-256 integ-key 62556a72627a6f486f596457794746467253656a4b6d6d5577615945544652764b646c485658554f5844466c447462554a41757a787a4f47436962505a4d7753 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-cbc-128 crypto-key 50435366477875734a514d7459474346 integ-alg sha-512-256 integ-key 62564a4d4a76476169654e5243537258436b4564446a524f6f586672416861454c477341736e6563714166714c7858424b776f6d7265555a6567477558476e50 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-cbc-128 crypto-key 50435366477875734a514d7459474346 integ-alg sha-512-256 integ-key 62564a4d4a76476169654e5243537258436b4564446a524f6f586672416861454c477341736e6563714166714c7858424b776f6d7265555a6567477558476e50 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-cbc-128 crypto-key 71594c4772496170634277444c4b6150 integ-alg sha-512-256 integ-key 77586b6d785757654a4d4b4c744547556f476f596164534b744f654b7a79624f7273487170556779696d52646b534179756b6b4b417a704c6c4f656269444551 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-cbc-128 crypto-key 71594c4772496170634277444c4b6150 integ-alg sha-512-256 integ-key 77586b6d785757654a4d4b4c744547556f476f596164534b744f654b7a79624f7273487170556779696d52646b534179756b6b4b417a704c6c4f656269444551 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-cbc-128 crypto-key 6e66506f6c50437864706c426f626b54 integ-alg sha-512-256 integ-key 7843586165684553456170514c4544486e77705973786a55635473726d53537451725a567a4f71574b546842586d737054667275644b7a4c67524c704d73424b esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-cbc-128 crypto-key 6e66506f6c50437864706c426f626b54 integ-alg sha-512-256 integ-key 7843586165684553456170514c4544486e77705973786a55635473726d53537451725a567a4f71574b546842586d737054667275644b7a4c67524c704d73424b esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-cbc-128 crypto-key 74665578534a4a4a6556664c75534247 integ-alg sha-512-256 integ-key 664149474b4b72627768785a6f555a52737768756d4e74574a4e7a61434a734442624c4579655a644862725444664d7568656347557558674f5741716f67574b esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-cbc-128 crypto-key 74665578534a4a4a6556664c75534247 integ-alg sha-512-256 integ-key 664149474b4b72627768785a6f555a52737768756d4e74574a4e7a61434a734442624c4579655a644862725444664d7568656347557558674f5741716f67574b esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-cbc-128 crypto-key 7a6e545a7562466743656b694b7a4175 integ-alg sha-512-256 integ-key 4d5741567957524d5670624d7074666c787058796e616d77655853556e657a73716b6678724454676370516a784c68655453715a4d79654e6c614772494f4749 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-cbc-128 crypto-key 7a6e545a7562466743656b694b7a4175 integ-alg sha-512-256 integ-key 4d5741567957524d5670624d7074666c787058796e616d77655853556e657a73716b6678724454676370516a784c68655453715a4d79654e6c614772494f4749 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-cbc-128 crypto-key 647676564d68596956554d4e637a6b77 integ-alg sha-512-256 integ-key 6941574f75424e64724f73655452416178554b70704a49616b756552676e5a4e485a756f634245676864634a71767555716c4773697474684c446964414e6a4c esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-cbc-128 crypto-key 647676564d68596956554d4e637a6b77 integ-alg sha-512-256 integ-key 6941574f75424e64724f73655452416178554b70704a49616b756552676e5a4e485a756f634245676864634a71767555716c4773697474684c446964414e6a4c esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-cbc-128 crypto-key 6d62454f5443537a4941727746527568 integ-alg sha-512-256 integ-key 6f7a586f666463725052716f6a674574724d5451595577664e495a6e41535245526f6943517a436e667542534150614f48796250594e4277794461726c755056 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-cbc-128 crypto-key 6d62454f5443537a4941727746527568 integ-alg sha-512-256 integ-key 6f7a586f666463725052716f6a674574724d5451595577664e495a6e41535245526f6943517a436e667542534150614f48796250594e4277794461726c755056 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-cbc-128 crypto-key 574e507571466870446f74436b4f6262 integ-alg sha-512-256 integ-key 666e6a774e6956516e434a4b4757566a4d4b5875447262764850734862436853774c6950634c73794d52464c424b77484665524a796947595a6c684d52725053 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-cbc-128 crypto-key 574e507571466870446f74436b4f6262 integ-alg sha-512-256 integ-key 666e6a774e6956516e434a4b4757566a4d4b5875447262764850734862436853774c6950634c73794d52464c424b77484665524a796947595a6c684d52725053 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-cbc-128 crypto-key 4573514579677443594d526652516c4d integ-alg sha-512-256 integ-key 475a4c49647452687741735543754e63656d4e467a625567726d4b5a5544496a536d72626d7462567a6a4276616a4b6f644856736e626c774a43554244624246 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-cbc-128 crypto-key 4573514579677443594d526652516c4d integ-alg sha-512-256 integ-key 475a4c49647452687741735543754e63656d4e467a625567726d4b5a5544496a536d72626d7462567a6a4276616a4b6f644856736e626c774a43554244624246 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-cbc-128 crypto-key 545a6f464a4d786b5858695742535243 integ-alg sha-512-256 integ-key 414b50554b774a5261537762786263654f636d47767a4e5a4c62524356474f785558575249544b4e75795a4155676d6950727a4744777047796f6b53426d7a61 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-cbc-128 crypto-key 545a6f464a4d786b5858695742535243 integ-alg sha-512-256 integ-key 414b50554b774a5261537762786263654f636d47767a4e5a4c62524356474f785558575249544b4e75795a4155676d6950727a4744777047796f6b53426d7a61 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-cbc-128 crypto-key 4f6e4e5646647056514272685a4c6d48 integ-alg sha-512-256 integ-key 57566654526b45624854706f72565250447750646b54635778426e4d6651704c42626e6642635a496a7a76636b5a4268424672584b674e4a704f7a6371635a69 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-cbc-128 crypto-key 4f6e4e5646647056514272685a4c6d48 integ-alg sha-512-256 integ-key 57566654526b45624854706f72565250447750646b54635778426e4d6651704c42626e6642635a496a7a76636b5a4268424672584b674e4a704f7a6371635a69 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-cbc-128 crypto-key 5558746c516e426144577956786e4567 integ-alg sha-512-256 integ-key 4e626d736e6f46514165705258587073744679454a6f704650434751566449694165456b724f6c72465a57487a78766f47454169524d6454766e4a6446775a68 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-cbc-128 crypto-key 5558746c516e426144577956786e4567 integ-alg sha-512-256 integ-key 4e626d736e6f46514165705258587073744679454a6f704650434751566449694165456b724f6c72465a57487a78766f47454169524d6454766e4a6446775a68 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-cbc-128 crypto-key 48456e6165584b51734d734d61754361 integ-alg sha-512-256 integ-key 4b4f4c75766e67535168526c574b756c766d4b744d656563675166437168694573736e59614e46485a7375556579684a464c554e6c4f6c784c64775178787079 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-cbc-128 crypto-key 48456e6165584b51734d734d61754361 integ-alg sha-512-256 integ-key 4b4f4c75766e67535168526c574b756c766d4b744d656563675166437168694573736e59614e46485a7375556579684a464c554e6c4f6c784c64775178787079 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-cbc-128 crypto-key 615869774171486d646e665a6b465061 integ-alg sha-512-256 integ-key 70754246576b474166444363634f7163627669734b465849446d5a596d756b7354714e527a6679516f714d536f56784d764f7379515579614942684d6f675354 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-cbc-128 crypto-key 615869774171486d646e665a6b465061 integ-alg sha-512-256 integ-key 70754246576b474166444363634f7163627669734b465849446d5a596d756b7354714e527a6679516f714d536f56784d764f7379515579614942684d6f675354 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.101 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) 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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.101/24
exec set ip neighbor TwentyFiveGigabitEthernet3b/0/1 200.0.0.102 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.102 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 54724f6c756c4e7764465179776a4456 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 54724f6c756c4e7764465179776a4456 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.102 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 4d754a6d65626365704f7a7844776d74 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 4d754a6d65626365704f7a7844776d74 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.102 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 79684a7752474d65415570454f557856 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 79684a7752474d65415570454f557856 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.102 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 41447875574d49434463656c7655635a esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 41447875574d49434463656c7655635a 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.102 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 4b4a486b5346506b5551547943575562 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 4b4a486b5346506b5551547943575562 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.102 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 72734b6e676744784d566a6b5a6d5a74 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 72734b6e676744784d566a6b5a6d5a74 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.102 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 68796c6842564a514d456a7476624549 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 68796c6842564a514d456a7476624549 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.102 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 544544675a726f596a4773636154555a esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 544544675a726f596a4773636154555a 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.102 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 75485a786361614354444d424e744f45 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 75485a786361614354444d424e744f45 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.102 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 596c756e594d696d6442535776556c69 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 596c756e594d696d6442535776556c69 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.102 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 6f5a7050714b5772654962754571464a esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 6f5a7050714b5772654962754571464a 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.102 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 52644450736e52744d6b724b556e4b52 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 52644450736e52744d6b724b556e4b52 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.102 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 4f69447a4f6d67786e4a52456b736545 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 4f69447a4f6d67786e4a52456b736545 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.102 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 587874776f42616c6f4a555273794143 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 587874776f42616c6f4a555273794143 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.102 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 44434a4b6846546766636a6975445859 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 44434a4b6846546766636a6975445859 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.102 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 6e674a617345494b756b534f4f635a62 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 6e674a617345494b756b534f4f635a62 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.102 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 57734d7867616c7a7a7757614c757a4a esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 57734d7867616c7a7a7757614c757a4a 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.102 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 767249714755786f4c4d5a54417a4767 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 767249714755786f4c4d5a54417a4767 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.102 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 54596e53526c4a464a6c644b486b6662 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 54596e53526c4a464a6c644b486b6662 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.102 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 744b5243616d666a666a506159534d48 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 744b5243616d666a666a506159534d48 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.102 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 76636166536a784d4953544258587244 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 76636166536a784d4953544258587244 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.102 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 4b6c556a7a6e70516564525750486548 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 4b6c556a7a6e70516564525750486548 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.102 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 6c786853587a6b7a44774f6763517547 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 6c786853587a6b7a44774f6763517547 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.102 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 7a48507a5777576778796c7664456d44 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 7a48507a5777576778796c7664456d44 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.102 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 6d41505753616441656d4841477a5478 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 6d41505753616441656d4841477a5478 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.102 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 716e724c7750655958544f6e6849464e esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 716e724c7750655958544f6e6849464e 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.102 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 4a7166784b676854526a464743614c74 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 4a7166784b676854526a464743614c74 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.102 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 7671567a4e446b68594a747276415855 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 7671567a4e446b68594a747276415855 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.102 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 717762614b554d537162476d57476e6b esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 717762614b554d537162476d57476e6b 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.102 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 594a7156474a77444e546f714a716d70 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 594a7156474a77444e546f714a716d70 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.102 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 497a6a474d5473624d6244595674594a esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 497a6a474d5473624d6244595674594a 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.102 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 6f4b524a746b5645525a5157686d5670 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 6f4b524a746b5645525a5157686d5670 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.102 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 556441444d755267547666746e476473 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 556441444d755267547666746e476473 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.102 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 5359544b616d7673544c476178464a59 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 5359544b616d7673544c476178464a59 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.102 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 4f6b4f6243424f517959765176455350 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 4f6b4f6243424f517959765176455350 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.102 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 417862764e51544554787a694468494b esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 417862764e51544554787a694468494b 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.102 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 426a4463537846527753544941434274 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 426a4463537846527753544941434274 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.102 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 6a4e72656f724e7856557562687a5050 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 6a4e72656f724e7856557562687a5050 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.102 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 546d6d786a5575586c7a467178455557 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 546d6d786a5575586c7a467178455557 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.102 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 67534749504e7654574a714f5a64615a esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 67534749504e7654574a714f5a64615a 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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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.102/24.0
exec create ipip tunnel src 200.0.0.102 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 54724f6c756c4e7764465179776a4456 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 54724f6c756c4e7764465179776a4456 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 4d754a6d65626365704f7a7844776d74 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 4d754a6d65626365704f7a7844776d74 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 79684a7752474d65415570454f557856 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 79684a7752474d65415570454f557856 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 41447875574d49434463656c7655635a esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 41447875574d49434463656c7655635a esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 4b4a486b5346506b5551547943575562 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 4b4a486b5346506b5551547943575562 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 72734b6e676744784d566a6b5a6d5a74 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 72734b6e676744784d566a6b5a6d5a74 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 68796c6842564a514d456a7476624549 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 68796c6842564a514d456a7476624549 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 544544675a726f596a4773636154555a esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 544544675a726f596a4773636154555a esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 75485a786361614354444d424e744f45 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 75485a786361614354444d424e744f45 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 596c756e594d696d6442535776556c69 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 596c756e594d696d6442535776556c69 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 6f5a7050714b5772654962754571464a esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 6f5a7050714b5772654962754571464a esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 52644450736e52744d6b724b556e4b52 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 52644450736e52744d6b724b556e4b52 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 4f69447a4f6d67786e4a52456b736545 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 4f69447a4f6d67786e4a52456b736545 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 587874776f42616c6f4a555273794143 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 587874776f42616c6f4a555273794143 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 44434a4b6846546766636a6975445859 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 44434a4b6846546766636a6975445859 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 6e674a617345494b756b534f4f635a62 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 6e674a617345494b756b534f4f635a62 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 57734d7867616c7a7a7757614c757a4a esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 57734d7867616c7a7a7757614c757a4a esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 767249714755786f4c4d5a54417a4767 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 767249714755786f4c4d5a54417a4767 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 54596e53526c4a464a6c644b486b6662 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 54596e53526c4a464a6c644b486b6662 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 744b5243616d666a666a506159534d48 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 744b5243616d666a666a506159534d48 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 76636166536a784d4953544258587244 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 76636166536a784d4953544258587244 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 4b6c556a7a6e70516564525750486548 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 4b6c556a7a6e70516564525750486548 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 6c786853587a6b7a44774f6763517547 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 6c786853587a6b7a44774f6763517547 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 7a48507a5777576778796c7664456d44 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 7a48507a5777576778796c7664456d44 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 6d41505753616441656d4841477a5478 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 6d41505753616441656d4841477a5478 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 716e724c7750655958544f6e6849464e esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 716e724c7750655958544f6e6849464e esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 4a7166784b676854526a464743614c74 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 4a7166784b676854526a464743614c74 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 7671567a4e446b68594a747276415855 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 7671567a4e446b68594a747276415855 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 717762614b554d537162476d57476e6b esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 717762614b554d537162476d57476e6b esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 594a7156474a77444e546f714a716d70 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 594a7156474a77444e546f714a716d70 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 497a6a474d5473624d6244595674594a esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 497a6a474d5473624d6244595674594a esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 6f4b524a746b5645525a5157686d5670 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 6f4b524a746b5645525a5157686d5670 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 556441444d755267547666746e476473 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 556441444d755267547666746e476473 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 5359544b616d7673544c476178464a59 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 5359544b616d7673544c476178464a59 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 4f6b4f6243424f517959765176455350 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 4f6b4f6243424f517959765176455350 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 417862764e51544554787a694468494b esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 417862764e51544554787a694468494b esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 426a4463537846527753544941434274 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 426a4463537846527753544941434274 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 6a4e72656f724e7856557562687a5050 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 6a4e72656f724e7856557562687a5050 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 546d6d786a5575586c7a467178455557 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 546d6d786a5575586c7a467178455557 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 67534749504e7654574a714f5a64615a esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 67534749504e7654574a714f5a64615a 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.101 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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.101/24
exec set ip neighbor TwentyFiveGigabitEthernet3b/0/1 200.0.0.102 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.102 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 6a4f44646f64424a424c687250587268 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 6a4f44646f64424a424c687250587268 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.102 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 5a57426d5a5572567442524f6f6f6773 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 5a57426d5a5572567442524f6f6f6773 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.102 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 48586272736168487a64514b4f796e7a esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 48586272736168487a64514b4f796e7a 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.102 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 65456859574f4a774266446c63786253 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 65456859574f4a774266446c63786253 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.102 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 7a484b4e656470696e535370796b5749 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 7a484b4e656470696e535370796b5749 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.102 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 6870714d6f6257746c5368474c764b78 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 6870714d6f6257746c5368474c764b78 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.102 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 706675766f646f43504c4d4761727379 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 706675766f646f43504c4d4761727379 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.102 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 4a4a474e7264424d4f4f63616f594e59 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 4a4a474e7264424d4f4f63616f594e59 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.102 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 50554459684d6f496e5062524b526377 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 50554459684d6f496e5062524b526377 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.102 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 785a414357446d6b634e685149754f4a esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 785a414357446d6b634e685149754f4a 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.102 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 717a427071446f664c67435a41626974 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 717a427071446f664c67435a41626974 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.102 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 48595943474e5a6a4758534874567058 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 48595943474e5a6a4758534874567058 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.102 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 78724c58426f61477564537349627856 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 78724c58426f61477564537349627856 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.102 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 58646d7a69484566486263474971526b esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 58646d7a69484566486263474971526b 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.102 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 6a5079644b41497a714f6f4948695969 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 6a5079644b41497a714f6f4948695969 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.102 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 4d58415259516d765048664f664f686b esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 4d58415259516d765048664f664f686b 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.102 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 78447173445748665246485750486d78 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 78447173445748665246485750486d78 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.102 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 4a7575684e464d554b6f7a684e616251 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 4a7575684e464d554b6f7a684e616251 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.102 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 55787342587552507a5a6a59754d6d47 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 55787342587552507a5a6a59754d6d47 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.102 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 57546159734d6f53745149656c6c5179 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 57546159734d6f53745149656c6c5179 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.102 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 517a4c7342446c745a534e726347754b esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 517a4c7342446c745a534e726347754b 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.102 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 504567597551516e4272765a7462654b esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 504567597551516e4272765a7462654b 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.102 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 67467a50557054474778567468426561 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 67467a50557054474778567468426561 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.102 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 646f706b55456463746559717546526f esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 646f706b55456463746559717546526f 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.102 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 5355745162436f794661414e75417a62 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 5355745162436f794661414e75417a62 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.102 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 654c724143756f6a585058755565547a esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 654c724143756f6a585058755565547a 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.102 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 444b6f71686c49444a6a51644c636a41 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 444b6f71686c49444a6a51644c636a41 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.102 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 51504642567a72484b6b614344794a75 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 51504642567a72484b6b614344794a75 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.102 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 5a4a67506a586666434a496263746b48 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 5a4a67506a586666434a496263746b48 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.102 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 6671634e514d594d5554685a5161714e esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 6671634e514d594d5554685a5161714e 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.102 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 596c58624a4269484e554c7778674962 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 596c58624a4269484e554c7778674962 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.102 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 647a4c4a62657976434c785a68664276 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 647a4c4a62657976434c785a68664276 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.102 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 4a576f424b7678426577575a484d6c55 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 4a576f424b7678426577575a484d6c55 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.102 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 5a774472616c566179434843686e4f78 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 5a774472616c566179434843686e4f78 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.102 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 4a556d697350686574566f7266757156 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 4a556d697350686574566f7266757156 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.102 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 6a675a6b675a6f664b484c706e7a6a6d esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 6a675a6b675a6f664b484c706e7a6a6d 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.102 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 444e73434e576e676b796f58615a7450 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 444e73434e576e676b796f58615a7450 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.102 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 566753764d454b656546506e654a6b48 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 566753764d454b656546506e654a6b48 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.102 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 70584e4d4d5943684161514148567164 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 70584e4d4d5943684161514148567164 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.102 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 554959474c536a4d47684a5079465670 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 554959474c536a4d47684a5079465670 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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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.102/24.0
exec create ipip tunnel src 200.0.0.102 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 6a4f44646f64424a424c687250587268 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 6a4f44646f64424a424c687250587268 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 5a57426d5a5572567442524f6f6f6773 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 5a57426d5a5572567442524f6f6f6773 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 48586272736168487a64514b4f796e7a esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 48586272736168487a64514b4f796e7a esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 65456859574f4a774266446c63786253 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 65456859574f4a774266446c63786253 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 7a484b4e656470696e535370796b5749 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 7a484b4e656470696e535370796b5749 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 6870714d6f6257746c5368474c764b78 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 6870714d6f6257746c5368474c764b78 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 706675766f646f43504c4d4761727379 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 706675766f646f43504c4d4761727379 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 4a4a474e7264424d4f4f63616f594e59 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 4a4a474e7264424d4f4f63616f594e59 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 50554459684d6f496e5062524b526377 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 50554459684d6f496e5062524b526377 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 785a414357446d6b634e685149754f4a esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 785a414357446d6b634e685149754f4a esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 717a427071446f664c67435a41626974 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 717a427071446f664c67435a41626974 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 48595943474e5a6a4758534874567058 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 48595943474e5a6a4758534874567058 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 78724c58426f61477564537349627856 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 78724c58426f61477564537349627856 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 58646d7a69484566486263474971526b esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 58646d7a69484566486263474971526b esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 6a5079644b41497a714f6f4948695969 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 6a5079644b41497a714f6f4948695969 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 4d58415259516d765048664f664f686b esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 4d58415259516d765048664f664f686b esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 78447173445748665246485750486d78 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 78447173445748665246485750486d78 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 4a7575684e464d554b6f7a684e616251 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 4a7575684e464d554b6f7a684e616251 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 55787342587552507a5a6a59754d6d47 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 55787342587552507a5a6a59754d6d47 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 57546159734d6f53745149656c6c5179 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 57546159734d6f53745149656c6c5179 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 517a4c7342446c745a534e726347754b esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 517a4c7342446c745a534e726347754b esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 504567597551516e4272765a7462654b esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 504567597551516e4272765a7462654b esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 67467a50557054474778567468426561 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 67467a50557054474778567468426561 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 646f706b55456463746559717546526f esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 646f706b55456463746559717546526f esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 5355745162436f794661414e75417a62 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 5355745162436f794661414e75417a62 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 654c724143756f6a585058755565547a esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 654c724143756f6a585058755565547a esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 444b6f71686c49444a6a51644c636a41 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 444b6f71686c49444a6a51644c636a41 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 51504642567a72484b6b614344794a75 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 51504642567a72484b6b614344794a75 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 5a4a67506a586666434a496263746b48 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 5a4a67506a586666434a496263746b48 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 6671634e514d594d5554685a5161714e esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 6671634e514d594d5554685a5161714e esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 596c58624a4269484e554c7778674962 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 596c58624a4269484e554c7778674962 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 647a4c4a62657976434c785a68664276 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 647a4c4a62657976434c785a68664276 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 4a576f424b7678426577575a484d6c55 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 4a576f424b7678426577575a484d6c55 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 5a774472616c566179434843686e4f78 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 5a774472616c566179434843686e4f78 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 4a556d697350686574566f7266757156 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 4a556d697350686574566f7266757156 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 6a675a6b675a6f664b484c706e7a6a6d esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 6a675a6b675a6f664b484c706e7a6a6d esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 444e73434e576e676b796f58615a7450 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 444e73434e576e676b796f58615a7450 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 566753764d454b656546506e654a6b48 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 566753764d454b656546506e654a6b48 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 70584e4d4d5943684161514148567164 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 70584e4d4d5943684161514148567164 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 554959474c536a4d47684a5079465670 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 554959474c536a4d47684a5079465670 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.101 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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.101/24
exec set ip neighbor TwentyFiveGigabitEthernet3b/0/1 200.0.0.102 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.102 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 677067795646767a48455148584c4955 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 677067795646767a48455148584c4955 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.102 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 546b4b4675717247526251706d707657 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 546b4b4675717247526251706d707657 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.102 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 735953486d5667695a78707146785776 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 735953486d5667695a78707146785776 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.102 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 4a626756586170416c6b55517465744e esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 4a626756586170416c6b55517465744e 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.102 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 694b526f6c757668574b575374576558 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 694b526f6c757668574b575374576558 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.102 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 426c566c63524167486b6f6b746c476a esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 426c566c63524167486b6f6b746c476a 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.102 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 716f7656466d486d584f785159635459 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 716f7656466d486d584f785159635459 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.102 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 646552786472796c4f637372676d777a esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 646552786472796c4f637372676d777a 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.102 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 6762627654706d6276646a4965524873 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 6762627654706d6276646a4965524873 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.102 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 436851515050474c765a494452675748 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 436851515050474c765a494452675748 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.102 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 545541496d75744f4b537379776c566f esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 545541496d75744f4b537379776c566f 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.102 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 46637a584a67546a716f6f6747516956 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 46637a584a67546a716f6f6747516956 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.102 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 7067476976417074516e594845644857 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 7067476976417074516e594845644857 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.102 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 7448524278576279766d56746775524e esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 7448524278576279766d56746775524e 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.102 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 564a4f556761674f757969584c526d41 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 564a4f556761674f757969584c526d41 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.102 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 7a6745576c515a6f56624d7269424b45 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 7a6745576c515a6f56624d7269424b45 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.102 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 424c5443624e6f6a54694a4d75636249 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 424c5443624e6f6a54694a4d75636249 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.102 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 4a626376777a6e57477779764879496f esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 4a626376777a6e57477779764879496f 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.102 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 6d70594c79656149704e7a4564795558 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 6d70594c79656149704e7a4564795558 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.102 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 686c417763656a4458756758646d495a esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 686c417763656a4458756758646d495a 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.102 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 53676d577873616e7241744b49744c67 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 53676d577873616e7241744b49744c67 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.102 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 486b706b725577625978484548596c47 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 486b706b725577625978484548596c47 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.102 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 4464454f57455855506a425742557978 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 4464454f57455855506a425742557978 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.102 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 746f77725a4c6175747555585074734c esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 746f77725a4c6175747555585074734c 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.102 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 664a6e766c746b565862765161507247 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 664a6e766c746b565862765161507247 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.102 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 5a6a4b44444a755771626a656c477541 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 5a6a4b44444a755771626a656c477541 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.102 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 484467695967616974634c6e59486955 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 484467695967616974634c6e59486955 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.102 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 5654484d4c4c417a4365795562524855 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 5654484d4c4c417a4365795562524855 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.102 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 79636e64726d554c6a677755586c787a esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 79636e64726d554c6a677755586c787a 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.102 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 78716a67744361716e476f417a75526d esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 78716a67744361716e476f417a75526d 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.102 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 7a50464f69654d6c6773746e504b4d66 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 7a50464f69654d6c6773746e504b4d66 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.102 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 5966566f546a706e50666c657a734465 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 5966566f546a706e50666c657a734465 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.102 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 756e6a4c536f664b6f74525353696d76 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 756e6a4c536f664b6f74525353696d76 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.102 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 785142574d754966564159546f557a79 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 785142574d754966564159546f557a79 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.102 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 51484c42516168586675675649637a51 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 51484c42516168586675675649637a51 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.102 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 5859596e6f47516b4b6b445970767254 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 5859596e6f47516b4b6b445970767254 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.102 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 4b4f55507053437a474d6b48516f4b6f esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 4b4f55507053437a474d6b48516f4b6f 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.102 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 574c56624442486441566769787a786a esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 574c56624442486441566769787a786a 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.102 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 70684e4c4c674a765057565a43514f77 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 70684e4c4c674a765057565a43514f77 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.102 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 5a497464437864466e634557414e5648 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 5a497464437864466e634557414e5648 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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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.102/24.0
exec create ipip tunnel src 200.0.0.102 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 677067795646767a48455148584c4955 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 677067795646767a48455148584c4955 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 546b4b4675717247526251706d707657 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 546b4b4675717247526251706d707657 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 735953486d5667695a78707146785776 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 735953486d5667695a78707146785776 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 4a626756586170416c6b55517465744e esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 4a626756586170416c6b55517465744e esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 694b526f6c757668574b575374576558 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 694b526f6c757668574b575374576558 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 426c566c63524167486b6f6b746c476a esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 426c566c63524167486b6f6b746c476a esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 716f7656466d486d584f785159635459 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 716f7656466d486d584f785159635459 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 646552786472796c4f637372676d777a esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 646552786472796c4f637372676d777a esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 6762627654706d6276646a4965524873 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 6762627654706d6276646a4965524873 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 436851515050474c765a494452675748 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 436851515050474c765a494452675748 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 545541496d75744f4b537379776c566f esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 545541496d75744f4b537379776c566f esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 46637a584a67546a716f6f6747516956 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 46637a584a67546a716f6f6747516956 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 7067476976417074516e594845644857 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 7067476976417074516e594845644857 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 7448524278576279766d56746775524e esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 7448524278576279766d56746775524e esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 564a4f556761674f757969584c526d41 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 564a4f556761674f757969584c526d41 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 7a6745576c515a6f56624d7269424b45 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 7a6745576c515a6f56624d7269424b45 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 424c5443624e6f6a54694a4d75636249 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 424c5443624e6f6a54694a4d75636249 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 4a626376777a6e57477779764879496f esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 4a626376777a6e57477779764879496f esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 6d70594c79656149704e7a4564795558 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 6d70594c79656149704e7a4564795558 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 686c417763656a4458756758646d495a esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 686c417763656a4458756758646d495a esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 53676d577873616e7241744b49744c67 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 53676d577873616e7241744b49744c67 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 486b706b725577625978484548596c47 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 486b706b725577625978484548596c47 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 4464454f57455855506a425742557978 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 4464454f57455855506a425742557978 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 746f77725a4c6175747555585074734c esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 746f77725a4c6175747555585074734c esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 664a6e766c746b565862765161507247 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 664a6e766c746b565862765161507247 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 5a6a4b44444a755771626a656c477541 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 5a6a4b44444a755771626a656c477541 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 484467695967616974634c6e59486955 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 484467695967616974634c6e59486955 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 5654484d4c4c417a4365795562524855 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 5654484d4c4c417a4365795562524855 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 79636e64726d554c6a677755586c787a esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 79636e64726d554c6a677755586c787a esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 78716a67744361716e476f417a75526d esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 78716a67744361716e476f417a75526d esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 7a50464f69654d6c6773746e504b4d66 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 7a50464f69654d6c6773746e504b4d66 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 5966566f546a706e50666c657a734465 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 5966566f546a706e50666c657a734465 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 756e6a4c536f664b6f74525353696d76 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 756e6a4c536f664b6f74525353696d76 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 785142574d754966564159546f557a79 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 785142574d754966564159546f557a79 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 51484c42516168586675675649637a51 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 51484c42516168586675675649637a51 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 5859596e6f47516b4b6b445970767254 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 5859596e6f47516b4b6b445970767254 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 4b4f55507053437a474d6b48516f4b6f esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 4b4f55507053437a474d6b48516f4b6f esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 574c56624442486441566769787a786a esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 574c56624442486441566769787a786a esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 70684e4c4c674a765057565a43514f77 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 70684e4c4c674a765057565a43514f77 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 5a497464437864466e634557414e5648 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 5a497464437864466e634557414e5648 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.101 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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.101/24
exec set ip neighbor TwentyFiveGigabitEthernet3b/0/1 200.0.0.102 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.102 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 4e5a484666454f63716a697a75516b79 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 4e5a484666454f63716a697a75516b79 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.102 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 7a44415a6263754d594e777742655658 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 7a44415a6263754d594e777742655658 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.102 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 526c5841527141797079796b7643664d esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 526c5841527141797079796b7643664d 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.102 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 6557567173767041754a5350615a6c66 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 6557567173767041754a5350615a6c66 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.102 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 764859794f6f715756586553796f526b esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 764859794f6f715756586553796f526b 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.102 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 745566726c6a4c4457755a4153477057 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 745566726c6a4c4457755a4153477057 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.102 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 6c566774504b61484e69435646464447 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 6c566774504b61484e69435646464447 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.102 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 4d5174525a4c47656a69436c4663496f esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 4d5174525a4c47656a69436c4663496f 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.102 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 744f765752654654516b57497462664e esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 744f765752654654516b57497462664e 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.102 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 72466750524778507a7671454c61786b esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 72466750524778507a7671454c61786b 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.102 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 47435778454973586b5a7545636c5957 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 47435778454973586b5a7545636c5957 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.102 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 54564441614e5173747a554e774e6778 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 54564441614e5173747a554e774e6778 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.102 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 67426c47684e77506a73646964777347 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 67426c47684e77506a73646964777347 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.102 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 785856494a43774461414e416357654c esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 785856494a43774461414e416357654c 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.102 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 686f774744596657494652555074666a esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 686f774744596657494652555074666a 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.102 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 465463755041596a78687956504d4f67 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 465463755041596a78687956504d4f67 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.102 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 50784d61524d61514954715764704f73 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 50784d61524d61514954715764704f73 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.102 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 484a43446e734b63434e4c4f544e704f esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 484a43446e734b63434e4c4f544e704f 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.102 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 657a725474526d4e4d777a5a61666774 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 657a725474526d4e4d777a5a61666774 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.102 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 6d7863495767616b637a4b644444714d esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 6d7863495767616b637a4b644444714d 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.102 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 79637a487670534f68674a6e536e536c esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 79637a487670534f68674a6e536e536c 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.102 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 65484673675176434d59637872444370 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 65484673675176434d59637872444370 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.102 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 6b614d4c70416e5a636c706f6c4f6b52 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 6b614d4c70416e5a636c706f6c4f6b52 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.102 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 7a4773545069724e70774a4e466f6258 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 7a4773545069724e70774a4e466f6258 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.102 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 7755787676527652536b6a6b4e4d4267 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 7755787676527652536b6a6b4e4d4267 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.102 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 4b74464e4f70464a657569766b514a44 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 4b74464e4f70464a657569766b514a44 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.102 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 6b78736e63424a66565a6f7263504379 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 6b78736e63424a66565a6f7263504379 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.102 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 6f544d767666696c7158675864786965 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 6f544d767666696c7158675864786965 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.102 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 6577634450595a4270636f72754d6353 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 6577634450595a4270636f72754d6353 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.102 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 7a6c7572696368474964517874437a4a esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 7a6c7572696368474964517874437a4a 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.102 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 6e4e6664686e66646e4c464463486344 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 6e4e6664686e66646e4c464463486344 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.102 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 66754c67785243744d5a767156785a64 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 66754c67785243744d5a767156785a64 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.102 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 6f6d4877696c7a6f4f736e5055726344 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 6f6d4877696c7a6f4f736e5055726344 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.102 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 7656744664707a4d4d726a4f59747879 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 7656744664707a4d4d726a4f59747879 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.102 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 47726b52654a77457070447976465950 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 47726b52654a77457070447976465950 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.102 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 616d46556a6e62756a7a4c724d526559 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 616d46556a6e62756a7a4c724d526559 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.102 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 714853516b704349706b544271777369 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 714853516b704349706b544271777369 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.102 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 594f474d4f51476d6c6a51486a6c7065 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 594f474d4f51476d6c6a51486a6c7065 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.102 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 6c6b436c584c414170546e56706c6c72 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 6c6b436c584c414170546e56706c6c72 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.102 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 466545797477795277416158424d6d59 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 466545797477795277416158424d6d59 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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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.102/24.0
exec create ipip tunnel src 200.0.0.102 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 4e5a484666454f63716a697a75516b79 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 4e5a484666454f63716a697a75516b79 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 7a44415a6263754d594e777742655658 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 7a44415a6263754d594e777742655658 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 526c5841527141797079796b7643664d esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 526c5841527141797079796b7643664d esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 6557567173767041754a5350615a6c66 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 6557567173767041754a5350615a6c66 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 764859794f6f715756586553796f526b esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 764859794f6f715756586553796f526b esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 745566726c6a4c4457755a4153477057 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 745566726c6a4c4457755a4153477057 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 6c566774504b61484e69435646464447 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 6c566774504b61484e69435646464447 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 4d5174525a4c47656a69436c4663496f esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 4d5174525a4c47656a69436c4663496f esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 744f765752654654516b57497462664e esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 744f765752654654516b57497462664e esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 72466750524778507a7671454c61786b esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 72466750524778507a7671454c61786b esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 47435778454973586b5a7545636c5957 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 47435778454973586b5a7545636c5957 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 54564441614e5173747a554e774e6778 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 54564441614e5173747a554e774e6778 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 67426c47684e77506a73646964777347 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 67426c47684e77506a73646964777347 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 785856494a43774461414e416357654c esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 785856494a43774461414e416357654c esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 686f774744596657494652555074666a esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 686f774744596657494652555074666a esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 465463755041596a78687956504d4f67 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 465463755041596a78687956504d4f67 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 50784d61524d61514954715764704f73 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 50784d61524d61514954715764704f73 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 484a43446e734b63434e4c4f544e704f esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 484a43446e734b63434e4c4f544e704f esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 657a725474526d4e4d777a5a61666774 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 657a725474526d4e4d777a5a61666774 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 6d7863495767616b637a4b644444714d esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 6d7863495767616b637a4b644444714d esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 79637a487670534f68674a6e536e536c esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 79637a487670534f68674a6e536e536c esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 65484673675176434d59637872444370 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 65484673675176434d59637872444370 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 6b614d4c70416e5a636c706f6c4f6b52 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 6b614d4c70416e5a636c706f6c4f6b52 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 7a4773545069724e70774a4e466f6258 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 7a4773545069724e70774a4e466f6258 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 7755787676527652536b6a6b4e4d4267 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 7755787676527652536b6a6b4e4d4267 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 4b74464e4f70464a657569766b514a44 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 4b74464e4f70464a657569766b514a44 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 6b78736e63424a66565a6f7263504379 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 6b78736e63424a66565a6f7263504379 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 6f544d767666696c7158675864786965 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 6f544d767666696c7158675864786965 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 6577634450595a4270636f72754d6353 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 6577634450595a4270636f72754d6353 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 7a6c7572696368474964517874437a4a esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 7a6c7572696368474964517874437a4a esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 6e4e6664686e66646e4c464463486344 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 6e4e6664686e66646e4c464463486344 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 66754c67785243744d5a767156785a64 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 66754c67785243744d5a767156785a64 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 6f6d4877696c7a6f4f736e5055726344 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 6f6d4877696c7a6f4f736e5055726344 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 7656744664707a4d4d726a4f59747879 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 7656744664707a4d4d726a4f59747879 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 47726b52654a77457070447976465950 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 47726b52654a77457070447976465950 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 616d46556a6e62756a7a4c724d526559 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 616d46556a6e62756a7a4c724d526559 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 714853516b704349706b544271777369 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 714853516b704349706b544271777369 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 594f474d4f51476d6c6a51486a6c7065 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 594f474d4f51476d6c6a51486a6c7065 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 6c6b436c584c414170546e56706c6c72 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 6c6b436c584c414170546e56706c6c72 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 466545797477795277416158424d6d59 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 466545797477795277416158424d6d59 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.101 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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.101/24
exec set ip neighbor TwentyFiveGigabitEthernet3b/0/1 200.0.0.102 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.102 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 507243494b6a534e7a6b5a4c65796251 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 507243494b6a534e7a6b5a4c65796251 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.102 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 6c4444667176496f4f6d575368786b74 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 6c4444667176496f4f6d575368786b74 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.102 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 797156635542445173476c44624b687a esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 797156635542445173476c44624b687a 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.102 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 4a48786c73775354734a504161464b48 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 4a48786c73775354734a504161464b48 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.102 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 5a6d486957676569565a53705761524c esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 5a6d486957676569565a53705761524c 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.102 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 6e4f457a5673465a6b736d5a4345526d esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 6e4f457a5673465a6b736d5a4345526d 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.102 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 4b74437a754f746e704f72706a426370 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 4b74437a754f746e704f72706a426370 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.102 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 47567074446b4a76676566556c585562 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 47567074446b4a76676566556c585562 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.102 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 5a566a4f44656b5951566e776743716c esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 5a566a4f44656b5951566e776743716c 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.102 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 63416c6e517a556f48416e4443764a78 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 63416c6e517a556f48416e4443764a78 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.102 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 644b585154714c5a4b4a575543724865 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 644b585154714c5a4b4a575543724865 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.102 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 754e47626a445a6a4a69504264457748 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 754e47626a445a6a4a69504264457748 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.102 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 636d644e686f73515470494c496a7754 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 636d644e686f73515470494c496a7754 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.102 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 46676a485073645a714e6a7646636268 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 46676a485073645a714e6a7646636268 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.102 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 4a6977684d4264556379694758554a47 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 4a6977684d4264556379694758554a47 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.102 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 735471515555526a46717a6543546c74 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 735471515555526a46717a6543546c74 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.102 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 624647505965724d704b694b47704f55 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 624647505965724d704b694b47704f55 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.102 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 46614c4757585a4f52767a4844474279 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 46614c4757585a4f52767a4844474279 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.102 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 4d657150575249775341526b69524e46 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 4d657150575249775341526b69524e46 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.102 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 615969416b587951546a4f4f62654959 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 615969416b587951546a4f4f62654959 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.102 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 66435154536465434a46757962576c57 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 66435154536465434a46757962576c57 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.102 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 51444664446377527a57516a664b4449 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 51444664446377527a57516a664b4449 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.102 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 534e4e414272726765594a4a52465563 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 534e4e414272726765594a4a52465563 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.102 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 6a6d41554e67565578486d4e494a6152 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 6a6d41554e67565578486d4e494a6152 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.102 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 5a7957486c4b454256506c4758487a69 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 5a7957486c4b454256506c4758487a69 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.102 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 7559676b6673444a4769644646625159 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 7559676b6673444a4769644646625159 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.102 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 7762534549584a504d734e6f59794372 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 7762534549584a504d734e6f59794372 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.102 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 56467242426f6468526d546f54436142 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 56467242426f6468526d546f54436142 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.102 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 4a46616b4b416b4e54694d7668734859 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 4a46616b4b416b4e54694d7668734859 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.102 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 654e624b52536173645059734a507357 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 654e624b52536173645059734a507357 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.102 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 63714442586c5652506672595a4b764b esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 63714442586c5652506672595a4b764b 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.102 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 734b5a4a71506a5a54664b4366554141 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 734b5a4a71506a5a54664b4366554141 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.102 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 4a686f466a6f4e5a637141784a736173 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 4a686f466a6f4e5a637141784a736173 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.102 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 666a6c484872486f4c6b57585244644d esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 666a6c484872486f4c6b57585244644d 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.102 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 75596969775767676542504961757344 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 75596969775767676542504961757344 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.102 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 41566e53464e68794a4b4f4f6553736c esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 41566e53464e68794a4b4f4f6553736c 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.102 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 557a6245566d41744c4a6445754c7074 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 557a6245566d41744c4a6445754c7074 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.102 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 74576d5555516c764e7477634b4d5544 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 74576d5555516c764e7477634b4d5544 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.102 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 41625678675542654f55657656687348 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 41625678675542654f55657656687348 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.102 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 49707546534f544b6b4b477241797268 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 49707546534f544b6b4b477241797268 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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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.102/24.0
exec create ipip tunnel src 200.0.0.102 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 507243494b6a534e7a6b5a4c65796251 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 507243494b6a534e7a6b5a4c65796251 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 6c4444667176496f4f6d575368786b74 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 6c4444667176496f4f6d575368786b74 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 797156635542445173476c44624b687a esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 797156635542445173476c44624b687a esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 4a48786c73775354734a504161464b48 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 4a48786c73775354734a504161464b48 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 5a6d486957676569565a53705761524c esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 5a6d486957676569565a53705761524c esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 6e4f457a5673465a6b736d5a4345526d esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 6e4f457a5673465a6b736d5a4345526d esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 4b74437a754f746e704f72706a426370 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 4b74437a754f746e704f72706a426370 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 47567074446b4a76676566556c585562 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 47567074446b4a76676566556c585562 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 5a566a4f44656b5951566e776743716c esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 5a566a4f44656b5951566e776743716c esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 63416c6e517a556f48416e4443764a78 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 63416c6e517a556f48416e4443764a78 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 644b585154714c5a4b4a575543724865 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 644b585154714c5a4b4a575543724865 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 754e47626a445a6a4a69504264457748 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 754e47626a445a6a4a69504264457748 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 636d644e686f73515470494c496a7754 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 636d644e686f73515470494c496a7754 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 46676a485073645a714e6a7646636268 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 46676a485073645a714e6a7646636268 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 4a6977684d4264556379694758554a47 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 4a6977684d4264556379694758554a47 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 735471515555526a46717a6543546c74 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 735471515555526a46717a6543546c74 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 624647505965724d704b694b47704f55 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 624647505965724d704b694b47704f55 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 46614c4757585a4f52767a4844474279 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 46614c4757585a4f52767a4844474279 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 4d657150575249775341526b69524e46 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 4d657150575249775341526b69524e46 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 615969416b587951546a4f4f62654959 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 615969416b587951546a4f4f62654959 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 66435154536465434a46757962576c57 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 66435154536465434a46757962576c57 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 51444664446377527a57516a664b4449 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 51444664446377527a57516a664b4449 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 534e4e414272726765594a4a52465563 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 534e4e414272726765594a4a52465563 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 6a6d41554e67565578486d4e494a6152 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 6a6d41554e67565578486d4e494a6152 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 5a7957486c4b454256506c4758487a69 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 5a7957486c4b454256506c4758487a69 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 7559676b6673444a4769644646625159 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 7559676b6673444a4769644646625159 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 7762534549584a504d734e6f59794372 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 7762534549584a504d734e6f59794372 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 56467242426f6468526d546f54436142 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 56467242426f6468526d546f54436142 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 4a46616b4b416b4e54694d7668734859 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 4a46616b4b416b4e54694d7668734859 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 654e624b52536173645059734a507357 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 654e624b52536173645059734a507357 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 63714442586c5652506672595a4b764b esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 63714442586c5652506672595a4b764b esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 734b5a4a71506a5a54664b4366554141 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 734b5a4a71506a5a54664b4366554141 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 4a686f466a6f4e5a637141784a736173 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 4a686f466a6f4e5a637141784a736173 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 666a6c484872486f4c6b57585244644d esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 666a6c484872486f4c6b57585244644d esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 75596969775767676542504961757344 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 75596969775767676542504961757344 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 41566e53464e68794a4b4f4f6553736c esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 41566e53464e68794a4b4f4f6553736c esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 557a6245566d41744c4a6445754c7074 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 557a6245566d41744c4a6445754c7074 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 74576d5555516c764e7477634b4d5544 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 74576d5555516c764e7477634b4d5544 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 41625678675542654f55657656687348 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 41625678675542654f55657656687348 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 49707546534f544b6b4b477241797268 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 49707546534f544b6b4b477241797268 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.101 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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.101/24
exec set ip neighbor TwentyFiveGigabitEthernet3b/0/1 200.0.0.102 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.102 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 506e64754f5743564373586a6b757565 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 506e64754f5743564373586a6b757565 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.102 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 484a6c545878486b7463506a5074447a esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 484a6c545878486b7463506a5074447a 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.102 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 61486a544168646e6646466d714f696d esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 61486a544168646e6646466d714f696d 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.102 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 6b6f756e576448706c7a726f59486670 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 6b6f756e576448706c7a726f59486670 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.102 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 6661526d5a7a7a66504d644d47616577 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 6661526d5a7a7a66504d644d47616577 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.102 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 6746477a4d54786a634853564a6d6f79 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 6746477a4d54786a634853564a6d6f79 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.102 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 78424b6e7852504e6c5061644e6e6578 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 78424b6e7852504e6c5061644e6e6578 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.102 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 657a42556c4a6f626d676d667a526b58 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 657a42556c4a6f626d676d667a526b58 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.102 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 77625a4977717856526a4b566865626b esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 77625a4977717856526a4b566865626b 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.102 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 656672706f56447072526f434c485744 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 656672706f56447072526f434c485744 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.102 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 4c5a6d4566526e724c6e59614b746470 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 4c5a6d4566526e724c6e59614b746470 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.102 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 5474684169415942736f717143666753 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 5474684169415942736f717143666753 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.102 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 78774645634d756a4473687263485a58 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 78774645634d756a4473687263485a58 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.102 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 6c6e4d566248667a6e586c6650456958 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 6c6e4d566248667a6e586c6650456958 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.102 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 456847596d6164557746484469785141 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 456847596d6164557746484469785141 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.102 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 5866784e786267675472694b4b6a6f43 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 5866784e786267675472694b4b6a6f43 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.102 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 6f4a426366684b4e6f56696f744e7463 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 6f4a426366684b4e6f56696f744e7463 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.102 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 63757a426c704b44717a57584e595a44 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 63757a426c704b44717a57584e595a44 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.102 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 634f61597061554370764f765741574e esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 634f61597061554370764f765741574e 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.102 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 6e4c4a51485a4b76435549484644566d esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 6e4c4a51485a4b76435549484644566d 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.102 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 676e5a516e6346537872775168796173 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 676e5a516e6346537872775168796173 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.102 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 674f796e76554b4c6e636b6e4d444d51 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 674f796e76554b4c6e636b6e4d444d51 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.102 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 754970776e49636c674361656d456e72 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 754970776e49636c674361656d456e72 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.102 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 556b665446735a4d6d686a796e6a4167 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 556b665446735a4d6d686a796e6a4167 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.102 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 5a644367624b434a4e6c756458474e50 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 5a644367624b434a4e6c756458474e50 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.102 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 42437a71586b79616277536a6d4f5769 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 42437a71586b79616277536a6d4f5769 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.102 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 75624164556972754568467651537059 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 75624164556972754568467651537059 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.102 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 67715352627a42684f4177484a457562 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 67715352627a42684f4177484a457562 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.102 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 68424677776d784a57636d6477424673 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 68424677776d784a57636d6477424673 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.102 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 414249466366476c79474d676f615364 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 414249466366476c79474d676f615364 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.102 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 4d63556146697a477277565559644379 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 4d63556146697a477277565559644379 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.102 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 4d4268656b41446b446e507156567761 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 4d4268656b41446b446e507156567761 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.102 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 51476248776f43624b70585a494b6177 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 51476248776f43624b70585a494b6177 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.102 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 6678664b456a634256487470627a754e esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 6678664b456a634256487470627a754e 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.102 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 41596168634a46666375627a69454752 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 41596168634a46666375627a69454752 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.102 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 69754e776f7a79447856494c77534752 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 69754e776f7a79447856494c77534752 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.102 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 6965555976617277414b455345666d46 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 6965555976617277414b455345666d46 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.102 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 6e53557875674476466c4561444d5578 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 6e53557875674476466c4561444d5578 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.102 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 4559635a6e474a6f6a56747865415571 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 4559635a6e474a6f6a56747865415571 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.102 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 6c7774775a794c4144614c7653704d55 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 6c7774775a794c4144614c7653704d55 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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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.102/24.0
exec create ipip tunnel src 200.0.0.102 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 506e64754f5743564373586a6b757565 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 506e64754f5743564373586a6b757565 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 484a6c545878486b7463506a5074447a esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 484a6c545878486b7463506a5074447a esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 61486a544168646e6646466d714f696d esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 61486a544168646e6646466d714f696d esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 6b6f756e576448706c7a726f59486670 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 6b6f756e576448706c7a726f59486670 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 6661526d5a7a7a66504d644d47616577 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 6661526d5a7a7a66504d644d47616577 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 6746477a4d54786a634853564a6d6f79 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 6746477a4d54786a634853564a6d6f79 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 78424b6e7852504e6c5061644e6e6578 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 78424b6e7852504e6c5061644e6e6578 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 657a42556c4a6f626d676d667a526b58 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 657a42556c4a6f626d676d667a526b58 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 77625a4977717856526a4b566865626b esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 77625a4977717856526a4b566865626b esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 656672706f56447072526f434c485744 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 656672706f56447072526f434c485744 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 4c5a6d4566526e724c6e59614b746470 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 4c5a6d4566526e724c6e59614b746470 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 5474684169415942736f717143666753 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 5474684169415942736f717143666753 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 78774645634d756a4473687263485a58 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 78774645634d756a4473687263485a58 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 6c6e4d566248667a6e586c6650456958 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 6c6e4d566248667a6e586c6650456958 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 456847596d6164557746484469785141 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 456847596d6164557746484469785141 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 5866784e786267675472694b4b6a6f43 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 5866784e786267675472694b4b6a6f43 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 6f4a426366684b4e6f56696f744e7463 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 6f4a426366684b4e6f56696f744e7463 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 63757a426c704b44717a57584e595a44 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 63757a426c704b44717a57584e595a44 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 634f61597061554370764f765741574e esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 634f61597061554370764f765741574e esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 6e4c4a51485a4b76435549484644566d esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 6e4c4a51485a4b76435549484644566d esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 676e5a516e6346537872775168796173 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 676e5a516e6346537872775168796173 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 674f796e76554b4c6e636b6e4d444d51 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 674f796e76554b4c6e636b6e4d444d51 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 754970776e49636c674361656d456e72 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 754970776e49636c674361656d456e72 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 556b665446735a4d6d686a796e6a4167 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 556b665446735a4d6d686a796e6a4167 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 5a644367624b434a4e6c756458474e50 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 5a644367624b434a4e6c756458474e50 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 42437a71586b79616277536a6d4f5769 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 42437a71586b79616277536a6d4f5769 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 75624164556972754568467651537059 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 75624164556972754568467651537059 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 67715352627a42684f4177484a457562 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 67715352627a42684f4177484a457562 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 68424677776d784a57636d6477424673 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 68424677776d784a57636d6477424673 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 414249466366476c79474d676f615364 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 414249466366476c79474d676f615364 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 4d63556146697a477277565559644379 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 4d63556146697a477277565559644379 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 4d4268656b41446b446e507156567761 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 4d4268656b41446b446e507156567761 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 51476248776f43624b70585a494b6177 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 51476248776f43624b70585a494b6177 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 6678664b456a634256487470627a754e esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 6678664b456a634256487470627a754e esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 41596168634a46666375627a69454752 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 41596168634a46666375627a69454752 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 69754e776f7a79447856494c77534752 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 69754e776f7a79447856494c77534752 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 6965555976617277414b455345666d46 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 6965555976617277414b455345666d46 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 6e53557875674476466c4561444d5578 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 6e53557875674476466c4561444d5578 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 4559635a6e474a6f6a56747865415571 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 4559635a6e474a6f6a56747865415571 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 6c7774775a794c4144614c7653704d55 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 6c7774775a794c4144614c7653704d55 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.101 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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.101/24
exec set ip neighbor TwentyFiveGigabitEthernet3b/0/1 200.0.0.102 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.102 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 5041754b4275505773517179456f6168 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 5041754b4275505773517179456f6168 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.102 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 7043664653644c56476e557563616261 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 7043664653644c56476e557563616261 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.102 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 4f49775a63664543624b6d486c716466 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 4f49775a63664543624b6d486c716466 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.102 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 69447654546e6a516255745642564975 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 69447654546e6a516255745642564975 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.102 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 64524c7252667341594b584e6874456b esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 64524c7252667341594b584e6874456b 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.102 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 64656a744374577672756f5971594845 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 64656a744374577672756f5971594845 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.102 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 516c7a796c4b474a4f6866554c61497a esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 516c7a796c4b474a4f6866554c61497a 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.102 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 6b62784e6665585a6e514f6e4551564d esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 6b62784e6665585a6e514f6e4551564d 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.102 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 45454e51416b4e526c5063734845547a esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 45454e51416b4e526c5063734845547a 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.102 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 594f7341577a47554b48754754454e46 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 594f7341577a47554b48754754454e46 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.102 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 7650686c4d757a5654556a7a634b436e esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 7650686c4d757a5654556a7a634b436e 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.102 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 4462797870415451587942615a506c70 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 4462797870415451587942615a506c70 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.102 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 47474b7545624e647264577842634f42 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 47474b7545624e647264577842634f42 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.102 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 5345414e4d657172597468415768675a esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 5345414e4d657172597468415768675a 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.102 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 4e45434251455254757a44487a734974 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 4e45434251455254757a44487a734974 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.102 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 6e46594c6b644b4747435645624c6c46 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 6e46594c6b644b4747435645624c6c46 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.102 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 624b7a657741614d4a4d4f6762737443 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 624b7a657741614d4a4d4f6762737443 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.102 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 757957476f4c67674a7872734745796d esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 757957476f4c67674a7872734745796d 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.102 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 4d626f6b515361684f6f4d7756476251 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 4d626f6b515361684f6f4d7756476251 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.102 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 6867486a534c6347654e477273714772 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 6867486a534c6347654e477273714772 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.102 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 42414e47556e67677163784b75486b67 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 42414e47556e67677163784b75486b67 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.102 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 6a6c73456b78717a4457454e71475168 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 6a6c73456b78717a4457454e71475168 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.102 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 6d41777a536a71747843635971534d42 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 6d41777a536a71747843635971534d42 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.102 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 545a50664b637054555272627157445a esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 545a50664b637054555272627157445a 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.102 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 416253704b5563644c47774262785345 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 416253704b5563644c47774262785345 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.102 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 745148686f794355616447494c694252 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 745148686f794355616447494c694252 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.102 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 4552447944446467754e7579674c6c65 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 4552447944446467754e7579674c6c65 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.102 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 595950774b69586b77627574446a4474 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 595950774b69586b77627574446a4474 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.102 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 754d4679524d71754158797978655259 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 754d4679524d71754158797978655259 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.102 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 6f4a696f58624e7478795363614b524d esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 6f4a696f58624e7478795363614b524d 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.102 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 77477a4954546f546a53636a6e674c59 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 77477a4954546f546a53636a6e674c59 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.102 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 474d665a49796848525a476676524863 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 474d665a49796848525a476676524863 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.102 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 5563435366676c6d4d4f584b654e6b73 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 5563435366676c6d4d4f584b654e6b73 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.102 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 6146764f53586f4177686a6f476e4642 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 6146764f53586f4177686a6f476e4642 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.102 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 705a526f6c4e6847445554555579744a esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 705a526f6c4e6847445554555579744a 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.102 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 4b724c724950797075754c6572526369 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 4b724c724950797075754c6572526369 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.102 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 55414258524e704a764f68684148494a esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 55414258524e704a764f68684148494a 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.102 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 64624f6876634c75765746496a5a4870 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 64624f6876634c75765746496a5a4870 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.102 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 747978615552504b4378785865626175 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 747978615552504b4378785865626175 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.102 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 4f545241624a764d516b4a4145717370 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 4f545241624a764d516b4a4145717370 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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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.102/24.0
exec create ipip tunnel src 200.0.0.102 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 5041754b4275505773517179456f6168 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 5041754b4275505773517179456f6168 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 7043664653644c56476e557563616261 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 7043664653644c56476e557563616261 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 4f49775a63664543624b6d486c716466 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 4f49775a63664543624b6d486c716466 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 69447654546e6a516255745642564975 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 69447654546e6a516255745642564975 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 64524c7252667341594b584e6874456b esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 64524c7252667341594b584e6874456b esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 64656a744374577672756f5971594845 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 64656a744374577672756f5971594845 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 516c7a796c4b474a4f6866554c61497a esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 516c7a796c4b474a4f6866554c61497a esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 6b62784e6665585a6e514f6e4551564d esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 6b62784e6665585a6e514f6e4551564d esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 45454e51416b4e526c5063734845547a esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 45454e51416b4e526c5063734845547a esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 594f7341577a47554b48754754454e46 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 594f7341577a47554b48754754454e46 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 7650686c4d757a5654556a7a634b436e esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 7650686c4d757a5654556a7a634b436e esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 4462797870415451587942615a506c70 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 4462797870415451587942615a506c70 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 47474b7545624e647264577842634f42 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 47474b7545624e647264577842634f42 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 5345414e4d657172597468415768675a esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 5345414e4d657172597468415768675a esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 4e45434251455254757a44487a734974 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 4e45434251455254757a44487a734974 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 6e46594c6b644b4747435645624c6c46 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 6e46594c6b644b4747435645624c6c46 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 624b7a657741614d4a4d4f6762737443 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 624b7a657741614d4a4d4f6762737443 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 757957476f4c67674a7872734745796d esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 757957476f4c67674a7872734745796d esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 4d626f6b515361684f6f4d7756476251 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 4d626f6b515361684f6f4d7756476251 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 6867486a534c6347654e477273714772 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 6867486a534c6347654e477273714772 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 42414e47556e67677163784b75486b67 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 42414e47556e67677163784b75486b67 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 6a6c73456b78717a4457454e71475168 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 6a6c73456b78717a4457454e71475168 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 6d41777a536a71747843635971534d42 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 6d41777a536a71747843635971534d42 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 545a50664b637054555272627157445a esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 545a50664b637054555272627157445a esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 416253704b5563644c47774262785345 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 416253704b5563644c47774262785345 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 745148686f794355616447494c694252 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 745148686f794355616447494c694252 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 4552447944446467754e7579674c6c65 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 4552447944446467754e7579674c6c65 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 595950774b69586b77627574446a4474 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 595950774b69586b77627574446a4474 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 754d4679524d71754158797978655259 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 754d4679524d71754158797978655259 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 6f4a696f58624e7478795363614b524d esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 6f4a696f58624e7478795363614b524d esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 77477a4954546f546a53636a6e674c59 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 77477a4954546f546a53636a6e674c59 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 474d665a49796848525a476676524863 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 474d665a49796848525a476676524863 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 5563435366676c6d4d4f584b654e6b73 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 5563435366676c6d4d4f584b654e6b73 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 6146764f53586f4177686a6f476e4642 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 6146764f53586f4177686a6f476e4642 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 705a526f6c4e6847445554555579744a esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 705a526f6c4e6847445554555579744a esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 4b724c724950797075754c6572526369 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 4b724c724950797075754c6572526369 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 55414258524e704a764f68684148494a esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 55414258524e704a764f68684148494a esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 64624f6876634c75765746496a5a4870 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 64624f6876634c75765746496a5a4870 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 747978615552504b4378785865626175 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 747978615552504b4378785865626175 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 4f545241624a764d516b4a4145717370 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 4f545241624a764d516b4a4145717370 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.101 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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.101/24
exec set ip neighbor TwentyFiveGigabitEthernet3b/0/1 200.0.0.102 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.102 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 44704f5756484e6f636e55657870484f esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 44704f5756484e6f636e55657870484f 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.102 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 4978794d687453666762694d5656726e esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 4978794d687453666762694d5656726e 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.102 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 64434e687752564c644963666f655168 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 64434e687752564c644963666f655168 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.102 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 724946775242754757527467735a6541 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 724946775242754757527467735a6541 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.102 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 51415155654e7846446f536255534676 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 51415155654e7846446f536255534676 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.102 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 7a486e5676446a717a7164784573456a esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 7a486e5676446a717a7164784573456a 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.102 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 5973706f57654f64674268766d6d756c esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 5973706f57654f64674268766d6d756c 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.102 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 7a686f72554171414b48476c635a7963 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 7a686f72554171414b48476c635a7963 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.102 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 6f536e6579744f416c546972446b436e esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 6f536e6579744f416c546972446b436e 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.102 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 484b5352674b4d4f766a556f75484179 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 484b5352674b4d4f766a556f75484179 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.102 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 616571696a6d6b57716c6f6e4b474455 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 616571696a6d6b57716c6f6e4b474455 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.102 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 4c6966596a5048707562614746726b66 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 4c6966596a5048707562614746726b66 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.102 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 417149636848594544727a6a7a734e6d esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 417149636848594544727a6a7a734e6d 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.102 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 65776561696f6463776c6678744a656d esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 65776561696f6463776c6678744a656d 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.102 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 4c5175677178456776716c464c7a4e64 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 4c5175677178456776716c464c7a4e64 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.102 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 75747475694b4d597653737163627045 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 75747475694b4d597653737163627045 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.102 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 53706c7353474651637578516164516b esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 53706c7353474651637578516164516b 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.102 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 64537141584d6666706b66664b57655a esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 64537141584d6666706b66664b57655a 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.102 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 5a74627349516e736342507854515a4d esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 5a74627349516e736342507854515a4d 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.102 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 7744754149616d4e6d46777641524162 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 7744754149616d4e6d46777641524162 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.102 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 6a4c755947674d4655667a6473746f46 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 6a4c755947674d4655667a6473746f46 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.102 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 52587148784f476d4479594a5a6f4265 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 52587148784f476d4479594a5a6f4265 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.102 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 7a7772715063484375506e746c475263 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 7a7772715063484375506e746c475263 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.102 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 48516a725365686a72544e7046446158 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 48516a725365686a72544e7046446158 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.102 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 576d504d7368556b4e5354416857566e esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 576d504d7368556b4e5354416857566e 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.102 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 54576559434a626644637a5a46446b6a esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 54576559434a626644637a5a46446b6a 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.102 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 6f787a6f756b44736461687744505669 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 6f787a6f756b44736461687744505669 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.102 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 506466506e7955524b4d6b6851487263 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 506466506e7955524b4d6b6851487263 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.102 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 6c6d695952614a694f65735763727174 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 6c6d695952614a694f65735763727174 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.102 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 6e506a6673546f434e6b615a59555159 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 6e506a6673546f434e6b615a59555159 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.102 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 6373676c7a6145487668696348436b58 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 6373676c7a6145487668696348436b58 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.102 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 694f67486d4a56476e7a686d4276666b esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 694f67486d4a56476e7a686d4276666b 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.102 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 4f4441446f704b7a466a4b504364516f esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 4f4441446f704b7a466a4b504364516f 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.102 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 42536c5545785945507a547a5a586d44 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 42536c5545785945507a547a5a586d44 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.102 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 764b4f545157505962744c4374614a65 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 764b4f545157505962744c4374614a65 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.102 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 446e6e665870597075704d766a4d6848 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 446e6e665870597075704d766a4d6848 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.102 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 66466d78696345597949676757536c76 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 66466d78696345597949676757536c76 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.102 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 54687a53796f7362566376554a417956 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 54687a53796f7362566376554a417956 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.102 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 664142734a53496757624c6a56504b61 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 664142734a53496757624c6a56504b61 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.102 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 51614a614a76775075657a67496e4e67 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 51614a614a76775075657a67496e4e67 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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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.102/24.0
exec create ipip tunnel src 200.0.0.102 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-128 crypto-key 44704f5756484e6f636e55657870484f esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-128 crypto-key 44704f5756484e6f636e55657870484f esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-128 crypto-key 4978794d687453666762694d5656726e esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-128 crypto-key 4978794d687453666762694d5656726e esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-128 crypto-key 64434e687752564c644963666f655168 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-128 crypto-key 64434e687752564c644963666f655168 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-128 crypto-key 724946775242754757527467735a6541 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-128 crypto-key 724946775242754757527467735a6541 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-128 crypto-key 51415155654e7846446f536255534676 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-128 crypto-key 51415155654e7846446f536255534676 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-128 crypto-key 7a486e5676446a717a7164784573456a esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-128 crypto-key 7a486e5676446a717a7164784573456a esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-128 crypto-key 5973706f57654f64674268766d6d756c esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-128 crypto-key 5973706f57654f64674268766d6d756c esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-128 crypto-key 7a686f72554171414b48476c635a7963 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-128 crypto-key 7a686f72554171414b48476c635a7963 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-128 crypto-key 6f536e6579744f416c546972446b436e esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-128 crypto-key 6f536e6579744f416c546972446b436e esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-128 crypto-key 484b5352674b4d4f766a556f75484179 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-128 crypto-key 484b5352674b4d4f766a556f75484179 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-128 crypto-key 616571696a6d6b57716c6f6e4b474455 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-128 crypto-key 616571696a6d6b57716c6f6e4b474455 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-128 crypto-key 4c6966596a5048707562614746726b66 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-128 crypto-key 4c6966596a5048707562614746726b66 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-128 crypto-key 417149636848594544727a6a7a734e6d esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-128 crypto-key 417149636848594544727a6a7a734e6d esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-128 crypto-key 65776561696f6463776c6678744a656d esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-128 crypto-key 65776561696f6463776c6678744a656d esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-128 crypto-key 4c5175677178456776716c464c7a4e64 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-128 crypto-key 4c5175677178456776716c464c7a4e64 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-128 crypto-key 75747475694b4d597653737163627045 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-128 crypto-key 75747475694b4d597653737163627045 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-128 crypto-key 53706c7353474651637578516164516b esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-128 crypto-key 53706c7353474651637578516164516b esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-128 crypto-key 64537141584d6666706b66664b57655a esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-128 crypto-key 64537141584d6666706b66664b57655a esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-128 crypto-key 5a74627349516e736342507854515a4d esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-128 crypto-key 5a74627349516e736342507854515a4d esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-128 crypto-key 7744754149616d4e6d46777641524162 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-128 crypto-key 7744754149616d4e6d46777641524162 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-128 crypto-key 6a4c755947674d4655667a6473746f46 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-128 crypto-key 6a4c755947674d4655667a6473746f46 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-128 crypto-key 52587148784f476d4479594a5a6f4265 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-128 crypto-key 52587148784f476d4479594a5a6f4265 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-128 crypto-key 7a7772715063484375506e746c475263 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-128 crypto-key 7a7772715063484375506e746c475263 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-128 crypto-key 48516a725365686a72544e7046446158 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-128 crypto-key 48516a725365686a72544e7046446158 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-128 crypto-key 576d504d7368556b4e5354416857566e esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-128 crypto-key 576d504d7368556b4e5354416857566e esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-128 crypto-key 54576559434a626644637a5a46446b6a esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-128 crypto-key 54576559434a626644637a5a46446b6a esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-128 crypto-key 6f787a6f756b44736461687744505669 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-128 crypto-key 6f787a6f756b44736461687744505669 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-128 crypto-key 506466506e7955524b4d6b6851487263 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-128 crypto-key 506466506e7955524b4d6b6851487263 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-128 crypto-key 6c6d695952614a694f65735763727174 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-128 crypto-key 6c6d695952614a694f65735763727174 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-128 crypto-key 6e506a6673546f434e6b615a59555159 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-128 crypto-key 6e506a6673546f434e6b615a59555159 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-128 crypto-key 6373676c7a6145487668696348436b58 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-128 crypto-key 6373676c7a6145487668696348436b58 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-128 crypto-key 694f67486d4a56476e7a686d4276666b esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-128 crypto-key 694f67486d4a56476e7a686d4276666b esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-128 crypto-key 4f4441446f704b7a466a4b504364516f esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-128 crypto-key 4f4441446f704b7a466a4b504364516f esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-128 crypto-key 42536c5545785945507a547a5a586d44 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-128 crypto-key 42536c5545785945507a547a5a586d44 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-128 crypto-key 764b4f545157505962744c4374614a65 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-128 crypto-key 764b4f545157505962744c4374614a65 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-128 crypto-key 446e6e665870597075704d766a4d6848 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-128 crypto-key 446e6e665870597075704d766a4d6848 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-128 crypto-key 66466d78696345597949676757536c76 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-128 crypto-key 66466d78696345597949676757536c76 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-128 crypto-key 54687a53796f7362566376554a417956 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-128 crypto-key 54687a53796f7362566376554a417956 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-128 crypto-key 664142734a53496757624c6a56504b61 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-128 crypto-key 664142734a53496757624c6a56504b61 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-128 crypto-key 51614a614a76775075657a67496e4e67 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-128 crypto-key 51614a614a76775075657a67496e4e67 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.101 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) 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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.101/24
exec set ip neighbor TwentyFiveGigabitEthernet3b/0/1 200.0.0.102 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.102 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 50446d59666171436f487172745a78454d74575961756d6d50534d4b544c5763 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 50446d59666171436f487172745a78454d74575961756d6d50534d4b544c5763 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.102 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 46444c46415241646761417a6654724977417a636a4a42754c47525469765242 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 46444c46415241646761417a6654724977417a636a4a42754c47525469765242 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.102 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 676f6e617a5a476758664a6c47555852747049706850494a656245416d694268 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 676f6e617a5a476758664a6c47555852747049706850494a656245416d694268 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.102 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 547165686c6a516b474f7165444d544b41744f6a58456a5a585572776f71746a esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 547165686c6a516b474f7165444d544b41744f6a58456a5a585572776f71746a 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.102 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 55457748744b417653775342457453665173504b4155526b45686b4d51494e72 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 55457748744b417653775342457453665173504b4155526b45686b4d51494e72 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.102 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 43556c646445544f495743766542756d6b435055727177416c767755524e4657 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 43556c646445544f495743766542756d6b435055727177416c767755524e4657 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.102 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 71636142517a4d65536362796c6958634b6961756867636542524f6349746243 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 71636142517a4d65536362796c6958634b6961756867636542524f6349746243 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.102 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 4a7046614a68437070764d6c6871584f76767a77574a6550474c726b73467548 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 4a7046614a68437070764d6c6871584f76767a77574a6550474c726b73467548 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.102 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 6b6e56626964776f756c586f785375477363794e6c4e6c6d644475627971784d esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 6b6e56626964776f756c586f785375477363794e6c4e6c6d644475627971784d 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.102 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 714d7a684148647941505650575142617359695674706f6b466c5679565a586a esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 714d7a684148647941505650575142617359695674706f6b466c5679565a586a 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.102 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 6b655441634a694d474248646256776a5362707a556255477a6f7a52494d6472 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 6b655441634a694d474248646256776a5362707a556255477a6f7a52494d6472 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.102 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 4d75686e6266434475466967686f73794579664c77794250766b6671694b6374 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 4d75686e6266434475466967686f73794579664c77794250766b6671694b6374 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.102 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 696b4e684e76677577637a62496667496c5a4d6448776c7043446251766d6c63 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 696b4e684e76677577637a62496667496c5a4d6448776c7043446251766d6c63 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.102 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 4f6761476b53577a50756f536a5250665952514241716a6a73766a66794a4169 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 4f6761476b53577a50756f536a5250665952514241716a6a73766a66794a4169 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.102 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 5a4976664d4267786e694f4762484e6a626d6a4d526e4a42686f6550736b5379 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 5a4976664d4267786e694f4762484e6a626d6a4d526e4a42686f6550736b5379 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.102 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 4e4248597a4869736d62537172416e4c595579596162716647464847425a456c esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 4e4248597a4869736d62537172416e4c595579596162716647464847425a456c 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.102 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 557a644f6275726a485655796861454f445a6c64536470646c6e536f79746642 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 557a644f6275726a485655796861454f445a6c64536470646c6e536f79746642 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.102 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 6e5a6f544f61556c4f586e4e4171625870566b6b79777170446479745970436d esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 6e5a6f544f61556c4f586e4e4171625870566b6b79777170446479745970436d 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.102 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 6b5a666e7a73694b6b4f494c4248716e50554b5a6f4a57675a76594964664e72 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 6b5a666e7a73694b6b4f494c4248716e50554b5a6f4a57675a76594964664e72 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.102 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 52796b506b6e516d7371565878786c654c7876696e6351616366665178506b6a esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 52796b506b6e516d7371565878786c654c7876696e6351616366665178506b6a 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.102 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 73766e505272684f4b6662594e55515546676a6b685a6e734471504f4f647666 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 73766e505272684f4b6662594e55515546676a6b685a6e734471504f4f647666 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.102 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 656864617163795a70596a6e505845586b6f4a444c7663446644525847524f41 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 656864617163795a70596a6e505845586b6f4a444c7663446644525847524f41 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.102 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 6768536b614370525266457473474d485a6f7076454171625a46696e48725165 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 6768536b614370525266457473474d485a6f7076454171625a46696e48725165 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.102 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 4d7877734c7a67424a755654555469796d45776644576c6f46666b667171764c esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 4d7877734c7a67424a755654555469796d45776644576c6f46666b667171764c 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.102 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 6d4473554a6c694f435559704d784a474b4a6852534c754852766d7a6b4e634d esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 6d4473554a6c694f435559704d784a474b4a6852534c754852766d7a6b4e634d 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.102 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 554a62416248445171757254715047736b4c67547958554e6d42474d6d77726e esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 554a62416248445171757254715047736b4c67547958554e6d42474d6d77726e 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.102 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 486366504556504b7156615362705843725146777274506865644847674f6e41 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 486366504556504b7156615362705843725146777274506865644847674f6e41 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.102 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 58424473497250574a7753785241776f477a7142786c457249706745724b766c esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 58424473497250574a7753785241776f477a7142786c457249706745724b766c 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.102 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 524466694a41735056436c6255714c6b456d525774494a506c5770726a794474 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 524466694a41735056436c6255714c6b456d525774494a506c5770726a794474 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.102 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 6d436b6575427565705a544e776547716c6e654f4e43427169706c6d50546f5a esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 6d436b6575427565705a544e776547716c6e654f4e43427169706c6d50546f5a 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.102 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 4e6d574f6d4a71694e4d6e706366714248776251715a4a4c445779525a484e71 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 4e6d574f6d4a71694e4d6e706366714248776251715a4a4c445779525a484e71 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.102 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 446e4946484d7866636152677249774545615667746775507749785655484c56 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 446e4946484d7866636152677249774545615667746775507749785655484c56 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.102 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 757a55644150765643574c616f47706b68726f45614d52525a69454972455767 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 757a55644150765643574c616f47706b68726f45614d52525a69454972455767 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.102 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 686c62724e6654666d747466726c4b4f4f45504d4e694b4a5555556b67414358 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 686c62724e6654666d747466726c4b4f4f45504d4e694b4a5555556b67414358 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.102 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 6f6f61594648704e667859544f784b6b58746f417a6663764573674e796d694c esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 6f6f61594648704e667859544f784b6b58746f417a6663764573674e796d694c 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.102 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 636c427957505a5363465248506a4e7171637251616666485643486771456f6a esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 636c427957505a5363465248506a4e7171637251616666485643486771456f6a 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.102 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 726e714f486c726a5670664a48506977427a6e6478714c4d6c64744c5863634f esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 726e714f486c726a5670664a48506977427a6e6478714c4d6c64744c5863634f 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.102 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 7a654c747a676b5a737779784c4478497a4b6a6c4f415a776f6b5863626d775a esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 7a654c747a676b5a737779784c4478497a4b6a6c4f415a776f6b5863626d775a 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.102 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 4f6d6145525678755a7543524d6c57717274617a52534879496154795646734c esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 4f6d6145525678755a7543524d6c57717274617a52534879496154795646734c 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.102 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 68446f4a454b57697a416f54446e497370554b666e71706b52714d4576566451 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 68446f4a454b57697a416f54446e497370554b666e71706b52714d4576566451 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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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.102/24.0
exec create ipip tunnel src 200.0.0.102 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 50446d59666171436f487172745a78454d74575961756d6d50534d4b544c5763 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 50446d59666171436f487172745a78454d74575961756d6d50534d4b544c5763 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 46444c46415241646761417a6654724977417a636a4a42754c47525469765242 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 46444c46415241646761417a6654724977417a636a4a42754c47525469765242 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 676f6e617a5a476758664a6c47555852747049706850494a656245416d694268 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 676f6e617a5a476758664a6c47555852747049706850494a656245416d694268 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 547165686c6a516b474f7165444d544b41744f6a58456a5a585572776f71746a esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 547165686c6a516b474f7165444d544b41744f6a58456a5a585572776f71746a esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 55457748744b417653775342457453665173504b4155526b45686b4d51494e72 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 55457748744b417653775342457453665173504b4155526b45686b4d51494e72 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 43556c646445544f495743766542756d6b435055727177416c767755524e4657 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 43556c646445544f495743766542756d6b435055727177416c767755524e4657 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 71636142517a4d65536362796c6958634b6961756867636542524f6349746243 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 71636142517a4d65536362796c6958634b6961756867636542524f6349746243 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 4a7046614a68437070764d6c6871584f76767a77574a6550474c726b73467548 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 4a7046614a68437070764d6c6871584f76767a77574a6550474c726b73467548 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 6b6e56626964776f756c586f785375477363794e6c4e6c6d644475627971784d esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 6b6e56626964776f756c586f785375477363794e6c4e6c6d644475627971784d esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 714d7a684148647941505650575142617359695674706f6b466c5679565a586a esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 714d7a684148647941505650575142617359695674706f6b466c5679565a586a esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 6b655441634a694d474248646256776a5362707a556255477a6f7a52494d6472 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 6b655441634a694d474248646256776a5362707a556255477a6f7a52494d6472 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 4d75686e6266434475466967686f73794579664c77794250766b6671694b6374 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 4d75686e6266434475466967686f73794579664c77794250766b6671694b6374 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 696b4e684e76677577637a62496667496c5a4d6448776c7043446251766d6c63 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 696b4e684e76677577637a62496667496c5a4d6448776c7043446251766d6c63 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 4f6761476b53577a50756f536a5250665952514241716a6a73766a66794a4169 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 4f6761476b53577a50756f536a5250665952514241716a6a73766a66794a4169 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 5a4976664d4267786e694f4762484e6a626d6a4d526e4a42686f6550736b5379 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 5a4976664d4267786e694f4762484e6a626d6a4d526e4a42686f6550736b5379 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 4e4248597a4869736d62537172416e4c595579596162716647464847425a456c esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 4e4248597a4869736d62537172416e4c595579596162716647464847425a456c esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 557a644f6275726a485655796861454f445a6c64536470646c6e536f79746642 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 557a644f6275726a485655796861454f445a6c64536470646c6e536f79746642 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 6e5a6f544f61556c4f586e4e4171625870566b6b79777170446479745970436d esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 6e5a6f544f61556c4f586e4e4171625870566b6b79777170446479745970436d esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 6b5a666e7a73694b6b4f494c4248716e50554b5a6f4a57675a76594964664e72 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 6b5a666e7a73694b6b4f494c4248716e50554b5a6f4a57675a76594964664e72 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 52796b506b6e516d7371565878786c654c7876696e6351616366665178506b6a esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 52796b506b6e516d7371565878786c654c7876696e6351616366665178506b6a esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 73766e505272684f4b6662594e55515546676a6b685a6e734471504f4f647666 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 73766e505272684f4b6662594e55515546676a6b685a6e734471504f4f647666 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 656864617163795a70596a6e505845586b6f4a444c7663446644525847524f41 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 656864617163795a70596a6e505845586b6f4a444c7663446644525847524f41 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 6768536b614370525266457473474d485a6f7076454171625a46696e48725165 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 6768536b614370525266457473474d485a6f7076454171625a46696e48725165 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 4d7877734c7a67424a755654555469796d45776644576c6f46666b667171764c esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 4d7877734c7a67424a755654555469796d45776644576c6f46666b667171764c esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 6d4473554a6c694f435559704d784a474b4a6852534c754852766d7a6b4e634d esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 6d4473554a6c694f435559704d784a474b4a6852534c754852766d7a6b4e634d esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 554a62416248445171757254715047736b4c67547958554e6d42474d6d77726e esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 554a62416248445171757254715047736b4c67547958554e6d42474d6d77726e esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 486366504556504b7156615362705843725146777274506865644847674f6e41 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 486366504556504b7156615362705843725146777274506865644847674f6e41 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 58424473497250574a7753785241776f477a7142786c457249706745724b766c esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 58424473497250574a7753785241776f477a7142786c457249706745724b766c esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 524466694a41735056436c6255714c6b456d525774494a506c5770726a794474 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 524466694a41735056436c6255714c6b456d525774494a506c5770726a794474 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 6d436b6575427565705a544e776547716c6e654f4e43427169706c6d50546f5a esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 6d436b6575427565705a544e776547716c6e654f4e43427169706c6d50546f5a esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 4e6d574f6d4a71694e4d6e706366714248776251715a4a4c445779525a484e71 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 4e6d574f6d4a71694e4d6e706366714248776251715a4a4c445779525a484e71 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 446e4946484d7866636152677249774545615667746775507749785655484c56 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 446e4946484d7866636152677249774545615667746775507749785655484c56 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 757a55644150765643574c616f47706b68726f45614d52525a69454972455767 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 757a55644150765643574c616f47706b68726f45614d52525a69454972455767 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 686c62724e6654666d747466726c4b4f4f45504d4e694b4a5555556b67414358 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 686c62724e6654666d747466726c4b4f4f45504d4e694b4a5555556b67414358 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 6f6f61594648704e667859544f784b6b58746f417a6663764573674e796d694c esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 6f6f61594648704e667859544f784b6b58746f417a6663764573674e796d694c esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 636c427957505a5363465248506a4e7171637251616666485643486771456f6a esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 636c427957505a5363465248506a4e7171637251616666485643486771456f6a esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 726e714f486c726a5670664a48506977427a6e6478714c4d6c64744c5863634f esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 726e714f486c726a5670664a48506977427a6e6478714c4d6c64744c5863634f esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 7a654c747a676b5a737779784c4478497a4b6a6c4f415a776f6b5863626d775a esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 7a654c747a676b5a737779784c4478497a4b6a6c4f415a776f6b5863626d775a esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 4f6d6145525678755a7543524d6c57717274617a52534879496154795646734c esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 4f6d6145525678755a7543524d6c57717274617a52534879496154795646734c esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 68446f4a454b57697a416f54446e497370554b666e71706b52714d4576566451 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 68446f4a454b57697a416f54446e497370554b666e71706b52714d4576566451 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.101 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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.101/24
exec set ip neighbor TwentyFiveGigabitEthernet3b/0/1 200.0.0.102 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.102 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 624275516459754c776f4d755061454478476d4876504c53636a466f567a6b78 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 624275516459754c776f4d755061454478476d4876504c53636a466f567a6b78 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.102 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 51414843445675546f537676535a4d524a694d506f5454624e4d436f68454f46 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 51414843445675546f537676535a4d524a694d506f5454624e4d436f68454f46 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.102 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 6d624265454f524b615a755042495857444a485548696a63524d4257757a4b56 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 6d624265454f524b615a755042495857444a485548696a63524d4257757a4b56 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.102 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 76764242444e794253734c6342457856756c71746153527153475a72446b7141 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 76764242444e794253734c6342457856756c71746153527153475a72446b7141 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.102 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 496d58614377504d776855546e594b4742544f734f69794b496a7543744c6774 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 496d58614377504d776855546e594b4742544f734f69794b496a7543744c6774 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.102 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 564b76706f6876794e7173784b414150525545695152706b475046714566544a esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 564b76706f6876794e7173784b414150525545695152706b475046714566544a 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.102 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 594e744a42746345584a4b567a7766635742424258694a77617a6953524f4e69 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 594e744a42746345584a4b567a7766635742424258694a77617a6953524f4e69 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.102 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 4f76777968766c706e5568667a4872516843766276727644434b5777424e787a esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 4f76777968766c706e5568667a4872516843766276727644434b5777424e787a 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.102 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 6f467050506f7075664f436e674b4f6b4a4b744f487165644354627867516369 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 6f467050506f7075664f436e674b4f6b4a4b744f487165644354627867516369 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.102 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 62457865674959724c656c664e67494f42686642577866555a5669766b774b6f esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 62457865674959724c656c664e67494f42686642577866555a5669766b774b6f 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.102 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 6c64476f477370726f6a7857596a414b496e424553587658656a424f754b6a74 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 6c64476f477370726f6a7857596a414b496e424553587658656a424f754b6a74 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.102 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 4d65656f48575a747344495a514b667a72777a7a58706d72484c516744594963 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 4d65656f48575a747344495a514b667a72777a7a58706d72484c516744594963 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.102 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 6b6d5444586463525553624e4a454250684f73685a634e6c7472534777766146 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 6b6d5444586463525553624e4a454250684f73685a634e6c7472534777766146 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.102 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 5366476e4657684e6b7542505152646269736e5a4b4a61734a6561786e697662 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 5366476e4657684e6b7542505152646269736e5a4b4a61734a6561786e697662 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.102 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 714e78524b6c744e45677448534c6b6148765156436e707375736b6771734749 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 714e78524b6c744e45677448534c6b6148765156436e707375736b6771734749 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.102 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 684f6f564a714b647771796d414e654e4d426b6a6a775345484b4e64416d6b75 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 684f6f564a714b647771796d414e654e4d426b6a6a775345484b4e64416d6b75 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.102 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 424d614148426a716e48575365566e6d4d62564b647777666e71727046544e5a esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 424d614148426a716e48575365566e6d4d62564b647777666e71727046544e5a 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.102 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 7258566d786b77624254754676686a675766487173554966524161755551464b esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 7258566d786b77624254754676686a675766487173554966524161755551464b 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.102 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 6d4a7455674a51474f485165794559415249564b46437451576d6852646d7774 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 6d4a7455674a51474f485165794559415249564b46437451576d6852646d7774 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.102 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 714d676c6c626a6373577975464c776d764f707164686b456550625a6a754247 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 714d676c6c626a6373577975464c776d764f707164686b456550625a6a754247 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.102 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 4d71684a6b504b457359714458566459544444455954746f666b4e65546b5658 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 4d71684a6b504b457359714458566459544444455954746f666b4e65546b5658 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.102 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 794858436a6374746354785454645166454f53594e464e4678574151487a5948 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 794858436a6374746354785454645166454f53594e464e4678574151487a5948 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.102 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 4f4c7748496b52635874535a655956724b6f4e674a57756b52776877686e6c47 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 4f4c7748496b52635874535a655956724b6f4e674a57756b52776877686e6c47 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.102 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 615166764e48536b4d4562427070754b724c5544476e476b466c487a43526c77 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 615166764e48536b4d4562427070754b724c5544476e476b466c487a43526c77 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.102 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 4d57777447515274546646515a6f48524a46574f7451786e6e6879666d744776 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 4d57777447515274546646515a6f48524a46574f7451786e6e6879666d744776 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.102 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 787543785a7851746458774b547649744a556b716f7672466d484b4868504151 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 787543785a7851746458774b547649744a556b716f7672466d484b4868504151 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.102 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 6f4b4d4c4648644f4562787a4548686b59444a6d47687554526c746773727a6f esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 6f4b4d4c4648644f4562787a4548686b59444a6d47687554526c746773727a6f 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.102 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 4a4856686c49666a6462686e5a4e4145674e7947726467756a6b674554446f71 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 4a4856686c49666a6462686e5a4e4145674e7947726467756a6b674554446f71 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.102 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 6348734d48776962574c4246455363596a426e43744c796149666e7161424154 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 6348734d48776962574c4246455363596a426e43744c796149666e7161424154 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.102 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 6e6d4842634c42656d4f4853796f5746646c57494353494b445a4b4f494d6865 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 6e6d4842634c42656d4f4853796f5746646c57494353494b445a4b4f494d6865 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.102 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 6f6657744942676c6e4f764f464a5a79684f4b7968586256797548677554696e esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 6f6657744942676c6e4f764f464a5a79684f4b7968586256797548677554696e 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.102 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 64764f42526f4b6863465653524b6f656176746c5454464969676b456d577168 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 64764f42526f4b6863465653524b6f656176746c5454464969676b456d577168 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.102 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 5573694f456f6a5071646b5841524b6c4350504b6c64586d70414f427a446e7a esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 5573694f456f6a5071646b5841524b6c4350504b6c64586d70414f427a446e7a 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.102 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 5577684b4f6b617a6c6b446b4864457276636e56495a4c6262646c705a776b4f esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 5577684b4f6b617a6c6b446b4864457276636e56495a4c6262646c705a776b4f 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.102 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 706773564975644b66637550436a554d45535962646e636e53634f5643704a79 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 706773564975644b66637550436a554d45535962646e636e53634f5643704a79 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.102 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 564568566f7278724158714876765a715566424459494c6c454d4e5046547169 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 564568566f7278724158714876765a715566424459494c6c454d4e5046547169 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.102 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 5a5a6561676e62526461757271536b7472707a6a63574f447a536b5264624748 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 5a5a6561676e62526461757271536b7472707a6a63574f447a536b5264624748 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.102 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 474f674f686e516d4e5442436164677564786e624e4e656750517064716c724a esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 474f674f686e516d4e5442436164677564786e624e4e656750517064716c724a 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.102 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 434e696d794e5072526143476f46426a4d626f6e6a47705441486a6e5a54516a esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 434e696d794e5072526143476f46426a4d626f6e6a47705441486a6e5a54516a 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.102 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 4d4578594b7a664f564c686371744f4243774e496c73414c456b51447945494b esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 4d4578594b7a664f564c686371744f4243774e496c73414c456b51447945494b 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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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.102/24.0
exec create ipip tunnel src 200.0.0.102 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 624275516459754c776f4d755061454478476d4876504c53636a466f567a6b78 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 624275516459754c776f4d755061454478476d4876504c53636a466f567a6b78 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 51414843445675546f537676535a4d524a694d506f5454624e4d436f68454f46 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 51414843445675546f537676535a4d524a694d506f5454624e4d436f68454f46 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 6d624265454f524b615a755042495857444a485548696a63524d4257757a4b56 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 6d624265454f524b615a755042495857444a485548696a63524d4257757a4b56 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 76764242444e794253734c6342457856756c71746153527153475a72446b7141 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 76764242444e794253734c6342457856756c71746153527153475a72446b7141 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 496d58614377504d776855546e594b4742544f734f69794b496a7543744c6774 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 496d58614377504d776855546e594b4742544f734f69794b496a7543744c6774 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 564b76706f6876794e7173784b414150525545695152706b475046714566544a esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 564b76706f6876794e7173784b414150525545695152706b475046714566544a esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 594e744a42746345584a4b567a7766635742424258694a77617a6953524f4e69 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 594e744a42746345584a4b567a7766635742424258694a77617a6953524f4e69 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 4f76777968766c706e5568667a4872516843766276727644434b5777424e787a esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 4f76777968766c706e5568667a4872516843766276727644434b5777424e787a esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 6f467050506f7075664f436e674b4f6b4a4b744f487165644354627867516369 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 6f467050506f7075664f436e674b4f6b4a4b744f487165644354627867516369 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 62457865674959724c656c664e67494f42686642577866555a5669766b774b6f esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 62457865674959724c656c664e67494f42686642577866555a5669766b774b6f esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 6c64476f477370726f6a7857596a414b496e424553587658656a424f754b6a74 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 6c64476f477370726f6a7857596a414b496e424553587658656a424f754b6a74 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 4d65656f48575a747344495a514b667a72777a7a58706d72484c516744594963 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 4d65656f48575a747344495a514b667a72777a7a58706d72484c516744594963 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 6b6d5444586463525553624e4a454250684f73685a634e6c7472534777766146 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 6b6d5444586463525553624e4a454250684f73685a634e6c7472534777766146 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 5366476e4657684e6b7542505152646269736e5a4b4a61734a6561786e697662 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 5366476e4657684e6b7542505152646269736e5a4b4a61734a6561786e697662 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 714e78524b6c744e45677448534c6b6148765156436e707375736b6771734749 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 714e78524b6c744e45677448534c6b6148765156436e707375736b6771734749 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 684f6f564a714b647771796d414e654e4d426b6a6a775345484b4e64416d6b75 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 684f6f564a714b647771796d414e654e4d426b6a6a775345484b4e64416d6b75 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 424d614148426a716e48575365566e6d4d62564b647777666e71727046544e5a esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 424d614148426a716e48575365566e6d4d62564b647777666e71727046544e5a esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 7258566d786b77624254754676686a675766487173554966524161755551464b esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 7258566d786b77624254754676686a675766487173554966524161755551464b esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 6d4a7455674a51474f485165794559415249564b46437451576d6852646d7774 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 6d4a7455674a51474f485165794559415249564b46437451576d6852646d7774 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 714d676c6c626a6373577975464c776d764f707164686b456550625a6a754247 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 714d676c6c626a6373577975464c776d764f707164686b456550625a6a754247 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 4d71684a6b504b457359714458566459544444455954746f666b4e65546b5658 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 4d71684a6b504b457359714458566459544444455954746f666b4e65546b5658 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 794858436a6374746354785454645166454f53594e464e4678574151487a5948 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 794858436a6374746354785454645166454f53594e464e4678574151487a5948 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 4f4c7748496b52635874535a655956724b6f4e674a57756b52776877686e6c47 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 4f4c7748496b52635874535a655956724b6f4e674a57756b52776877686e6c47 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 615166764e48536b4d4562427070754b724c5544476e476b466c487a43526c77 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 615166764e48536b4d4562427070754b724c5544476e476b466c487a43526c77 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 4d57777447515274546646515a6f48524a46574f7451786e6e6879666d744776 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 4d57777447515274546646515a6f48524a46574f7451786e6e6879666d744776 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 787543785a7851746458774b547649744a556b716f7672466d484b4868504151 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 787543785a7851746458774b547649744a556b716f7672466d484b4868504151 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 6f4b4d4c4648644f4562787a4548686b59444a6d47687554526c746773727a6f esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 6f4b4d4c4648644f4562787a4548686b59444a6d47687554526c746773727a6f esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 4a4856686c49666a6462686e5a4e4145674e7947726467756a6b674554446f71 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 4a4856686c49666a6462686e5a4e4145674e7947726467756a6b674554446f71 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 6348734d48776962574c4246455363596a426e43744c796149666e7161424154 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 6348734d48776962574c4246455363596a426e43744c796149666e7161424154 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 6e6d4842634c42656d4f4853796f5746646c57494353494b445a4b4f494d6865 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 6e6d4842634c42656d4f4853796f5746646c57494353494b445a4b4f494d6865 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 6f6657744942676c6e4f764f464a5a79684f4b7968586256797548677554696e esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 6f6657744942676c6e4f764f464a5a79684f4b7968586256797548677554696e esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 64764f42526f4b6863465653524b6f656176746c5454464969676b456d577168 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 64764f42526f4b6863465653524b6f656176746c5454464969676b456d577168 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 5573694f456f6a5071646b5841524b6c4350504b6c64586d70414f427a446e7a esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 5573694f456f6a5071646b5841524b6c4350504b6c64586d70414f427a446e7a esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 5577684b4f6b617a6c6b446b4864457276636e56495a4c6262646c705a776b4f esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 5577684b4f6b617a6c6b446b4864457276636e56495a4c6262646c705a776b4f esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 706773564975644b66637550436a554d45535962646e636e53634f5643704a79 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 706773564975644b66637550436a554d45535962646e636e53634f5643704a79 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 564568566f7278724158714876765a715566424459494c6c454d4e5046547169 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 564568566f7278724158714876765a715566424459494c6c454d4e5046547169 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 5a5a6561676e62526461757271536b7472707a6a63574f447a536b5264624748 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 5a5a6561676e62526461757271536b7472707a6a63574f447a536b5264624748 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 474f674f686e516d4e5442436164677564786e624e4e656750517064716c724a esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 474f674f686e516d4e5442436164677564786e624e4e656750517064716c724a esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 434e696d794e5072526143476f46426a4d626f6e6a47705441486a6e5a54516a esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 434e696d794e5072526143476f46426a4d626f6e6a47705441486a6e5a54516a esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 4d4578594b7a664f564c686371744f4243774e496c73414c456b51447945494b esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 4d4578594b7a664f564c686371744f4243774e496c73414c456b51447945494b 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.101 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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.101/24
exec set ip neighbor TwentyFiveGigabitEthernet3b/0/1 200.0.0.102 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.102 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 416e5454474d43465a7374766d70704a697368634f7a46545a727143456c4470 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 416e5454474d43465a7374766d70704a697368634f7a46545a727143456c4470 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.102 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 6f725641424e6465737164697753474d75485675704d665a7a73735064524849 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 6f725641424e6465737164697753474d75485675704d665a7a73735064524849 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.102 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 4f465a7951506b6a4f47635a584c6e6e73676a4c6a6378575852446b6a69776f esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 4f465a7951506b6a4f47635a584c6e6e73676a4c6a6378575852446b6a69776f 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.102 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 6d536d764e686d4b66427268726d51506d7656745a73767a7778714d6c51746d esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 6d536d764e686d4b66427268726d51506d7656745a73767a7778714d6c51746d 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.102 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 4a66746d79666e4978677059664e6a69704f4c64784b56495064414b6a70424c esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 4a66746d79666e4978677059664e6a69704f4c64784b56495064414b6a70424c 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.102 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 645a7a5a7769575245435541524b7a73747745584d72584e6c4c6f786d6d726e esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 645a7a5a7769575245435541524b7a73747745584d72584e6c4c6f786d6d726e 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.102 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 59526b697558546b7a6a566b65415546726261414b48445056454e6c4d494e46 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 59526b697558546b7a6a566b65415546726261414b48445056454e6c4d494e46 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.102 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 77714b626a7641625150784c6b42446875634f6365574a4f7365747579635067 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 77714b626a7641625150784c6b42446875634f6365574a4f7365747579635067 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.102 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 4b484d6f786770544e5a455567696c7a6f78786a57656b70614d645056706b70 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 4b484d6f786770544e5a455567696c7a6f78786a57656b70614d645056706b70 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.102 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 7853707557565763597352457669684d7772637a57436e766768676c6f50704b esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 7853707557565763597352457669684d7772637a57436e766768676c6f50704b 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.102 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 5a547a4569796d5a595363496c684a656a6759646470676845556b4d7078504f esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 5a547a4569796d5a595363496c684a656a6759646470676845556b4d7078504f 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.102 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 465a736d546374525a4f6e6c7061664350566f71684b6741574f70474555456d esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 465a736d546374525a4f6e6c7061664350566f71684b6741574f70474555456d 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.102 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 415269515a745461777074706c74685a47634d6d4b66794a6e4c7a6269464764 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 415269515a745461777074706c74685a47634d6d4b66794a6e4c7a6269464764 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.102 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 4e56777a6b6f5a6b63726f4e69646f5a6f4a4b68496555566947706248744942 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 4e56777a6b6f5a6b63726f4e69646f5a6f4a4b68496555566947706248744942 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.102 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 506351744c434365724d6c764e7444706875767061504d57674d49696c734778 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 506351744c434365724d6c764e7444706875767061504d57674d49696c734778 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.102 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 4376696a795a6d425179664865494d76486e685755707764584e5578735a6853 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 4376696a795a6d425179664865494d76486e685755707764584e5578735a6853 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.102 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 534c5748736f6d6978777175506d566848654441654a4c424a7259686e54676f esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 534c5748736f6d6978777175506d566848654441654a4c424a7259686e54676f 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.102 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 674e53796267446c4269486f6b595377444e5a474172684e5a426c49546e7850 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 674e53796267446c4269486f6b595377444e5a474172684e5a426c49546e7850 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.102 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 6259546761624242524b48446f7a6b67414f73626371494b5472445266715543 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 6259546761624242524b48446f7a6b67414f73626371494b5472445266715543 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.102 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 74676d685744576a6766445967796149666e7545527251656948577352526e43 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 74676d685744576a6766445967796149666e7545527251656948577352526e43 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.102 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 5349734a7344617644417a666f6f694a78487248616d6677694357794e797657 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 5349734a7344617644417a666f6f694a78487248616d6677694357794e797657 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.102 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 51695874435949706f4f637079644a6c6968706f495863755276786355726752 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 51695874435949706f4f637079644a6c6968706f495863755276786355726752 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.102 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 494a717848757644646c73596964744d74656c67504a75787173786877507443 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 494a717848757644646c73596964744d74656c67504a75787173786877507443 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.102 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 47417363774269794e636b4178565954656b4a674d6d6c446c754e4d697a6c6d esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 47417363774269794e636b4178565954656b4a674d6d6c446c754e4d697a6c6d 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.102 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 494164665369476365474c6b554a534c72536a4764466f48726872624f6d4970 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 494164665369476365474c6b554a534c72536a4764466f48726872624f6d4970 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.102 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 43737178626c505269754f6f434c70747546696a4366496e4f59524f6f686b70 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 43737178626c505269754f6f434c70747546696a4366496e4f59524f6f686b70 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.102 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 5a584d715a41517a4b5470746a494f664447485a745a4a6255566f47664f7442 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 5a584d715a41517a4b5470746a494f664447485a745a4a6255566f47664f7442 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.102 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 41536976446a65707143434f4c4443634b6f6542724471577347516d784d7a73 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 41536976446a65707143434f4c4443634b6f6542724471577347516d784d7a73 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.102 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 51686b587a716876676d70677a566962597a47506c6e596f414d49637974744e esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 51686b587a716876676d70677a566962597a47506c6e596f414d49637974744e 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.102 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 6b685a684157756477686b704d4c594d4f527857746a574d6450617572494756 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 6b685a684157756477686b704d4c594d4f527857746a574d6450617572494756 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.102 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 71527865794572566d5648536c625a6278584966444b57416d445a676c434341 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 71527865794572566d5648536c625a6278584966444b57416d445a676c434341 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.102 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 466b6d54746d7949447269694b4f625068487648435067737650667564765141 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 466b6d54746d7949447269694b4f625068487648435067737650667564765141 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.102 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 58676c684e664a446b55584673754674724b574b5a4d4d4f574f496266594746 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 58676c684e664a446b55584673754674724b574b5a4d4d4f574f496266594746 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.102 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 594e716f6471766b416856787071754d527368794257494349704e6658654252 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 594e716f6471766b416856787071754d527368794257494349704e6658654252 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.102 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 5a4f6b6257474963436a4468774a44425a6172727a564d724d51657169634e68 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 5a4f6b6257474963436a4468774a44425a6172727a564d724d51657169634e68 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.102 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 58544251534a4c5849726a707a64444e6f6e524d74634c556646774e62734d7a esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 58544251534a4c5849726a707a64444e6f6e524d74634c556646774e62734d7a 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.102 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 774657497472737572705675697346456c4f7456736e6c5a686e787266736d64 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 774657497472737572705675697346456c4f7456736e6c5a686e787266736d64 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.102 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 476a4d45674a4a446743756b53544c6f724f6358584e4661797248564446496e esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 476a4d45674a4a446743756b53544c6f724f6358584e4661797248564446496e 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.102 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 556d69575358797676514f595242536b727a517252434d4343495a6f47764f73 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 556d69575358797676514f595242536b727a517252434d4343495a6f47764f73 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.102 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 56595050424b4b576b5054624c4c794863785a754f6a78695659686a50534143 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 56595050424b4b576b5054624c4c794863785a754f6a78695659686a50534143 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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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.102/24.0
exec create ipip tunnel src 200.0.0.102 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 416e5454474d43465a7374766d70704a697368634f7a46545a727143456c4470 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 416e5454474d43465a7374766d70704a697368634f7a46545a727143456c4470 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 6f725641424e6465737164697753474d75485675704d665a7a73735064524849 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 6f725641424e6465737164697753474d75485675704d665a7a73735064524849 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 4f465a7951506b6a4f47635a584c6e6e73676a4c6a6378575852446b6a69776f esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 4f465a7951506b6a4f47635a584c6e6e73676a4c6a6378575852446b6a69776f esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 6d536d764e686d4b66427268726d51506d7656745a73767a7778714d6c51746d esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 6d536d764e686d4b66427268726d51506d7656745a73767a7778714d6c51746d esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 4a66746d79666e4978677059664e6a69704f4c64784b56495064414b6a70424c esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 4a66746d79666e4978677059664e6a69704f4c64784b56495064414b6a70424c esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 645a7a5a7769575245435541524b7a73747745584d72584e6c4c6f786d6d726e esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 645a7a5a7769575245435541524b7a73747745584d72584e6c4c6f786d6d726e esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 59526b697558546b7a6a566b65415546726261414b48445056454e6c4d494e46 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 59526b697558546b7a6a566b65415546726261414b48445056454e6c4d494e46 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 77714b626a7641625150784c6b42446875634f6365574a4f7365747579635067 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 77714b626a7641625150784c6b42446875634f6365574a4f7365747579635067 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 4b484d6f786770544e5a455567696c7a6f78786a57656b70614d645056706b70 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 4b484d6f786770544e5a455567696c7a6f78786a57656b70614d645056706b70 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 7853707557565763597352457669684d7772637a57436e766768676c6f50704b esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 7853707557565763597352457669684d7772637a57436e766768676c6f50704b esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 5a547a4569796d5a595363496c684a656a6759646470676845556b4d7078504f esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 5a547a4569796d5a595363496c684a656a6759646470676845556b4d7078504f esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 465a736d546374525a4f6e6c7061664350566f71684b6741574f70474555456d esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 465a736d546374525a4f6e6c7061664350566f71684b6741574f70474555456d esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 415269515a745461777074706c74685a47634d6d4b66794a6e4c7a6269464764 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 415269515a745461777074706c74685a47634d6d4b66794a6e4c7a6269464764 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 4e56777a6b6f5a6b63726f4e69646f5a6f4a4b68496555566947706248744942 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 4e56777a6b6f5a6b63726f4e69646f5a6f4a4b68496555566947706248744942 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 506351744c434365724d6c764e7444706875767061504d57674d49696c734778 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 506351744c434365724d6c764e7444706875767061504d57674d49696c734778 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 4376696a795a6d425179664865494d76486e685755707764584e5578735a6853 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 4376696a795a6d425179664865494d76486e685755707764584e5578735a6853 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 534c5748736f6d6978777175506d566848654441654a4c424a7259686e54676f esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 534c5748736f6d6978777175506d566848654441654a4c424a7259686e54676f esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 674e53796267446c4269486f6b595377444e5a474172684e5a426c49546e7850 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 674e53796267446c4269486f6b595377444e5a474172684e5a426c49546e7850 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 6259546761624242524b48446f7a6b67414f73626371494b5472445266715543 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 6259546761624242524b48446f7a6b67414f73626371494b5472445266715543 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 74676d685744576a6766445967796149666e7545527251656948577352526e43 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 74676d685744576a6766445967796149666e7545527251656948577352526e43 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 5349734a7344617644417a666f6f694a78487248616d6677694357794e797657 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 5349734a7344617644417a666f6f694a78487248616d6677694357794e797657 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 51695874435949706f4f637079644a6c6968706f495863755276786355726752 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 51695874435949706f4f637079644a6c6968706f495863755276786355726752 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 494a717848757644646c73596964744d74656c67504a75787173786877507443 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 494a717848757644646c73596964744d74656c67504a75787173786877507443 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 47417363774269794e636b4178565954656b4a674d6d6c446c754e4d697a6c6d esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 47417363774269794e636b4178565954656b4a674d6d6c446c754e4d697a6c6d esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 494164665369476365474c6b554a534c72536a4764466f48726872624f6d4970 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 494164665369476365474c6b554a534c72536a4764466f48726872624f6d4970 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 43737178626c505269754f6f434c70747546696a4366496e4f59524f6f686b70 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 43737178626c505269754f6f434c70747546696a4366496e4f59524f6f686b70 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 5a584d715a41517a4b5470746a494f664447485a745a4a6255566f47664f7442 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 5a584d715a41517a4b5470746a494f664447485a745a4a6255566f47664f7442 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 41536976446a65707143434f4c4443634b6f6542724471577347516d784d7a73 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 41536976446a65707143434f4c4443634b6f6542724471577347516d784d7a73 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 51686b587a716876676d70677a566962597a47506c6e596f414d49637974744e esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 51686b587a716876676d70677a566962597a47506c6e596f414d49637974744e esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 6b685a684157756477686b704d4c594d4f527857746a574d6450617572494756 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 6b685a684157756477686b704d4c594d4f527857746a574d6450617572494756 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 71527865794572566d5648536c625a6278584966444b57416d445a676c434341 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 71527865794572566d5648536c625a6278584966444b57416d445a676c434341 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 466b6d54746d7949447269694b4f625068487648435067737650667564765141 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 466b6d54746d7949447269694b4f625068487648435067737650667564765141 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 58676c684e664a446b55584673754674724b574b5a4d4d4f574f496266594746 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 58676c684e664a446b55584673754674724b574b5a4d4d4f574f496266594746 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 594e716f6471766b416856787071754d527368794257494349704e6658654252 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 594e716f6471766b416856787071754d527368794257494349704e6658654252 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 5a4f6b6257474963436a4468774a44425a6172727a564d724d51657169634e68 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 5a4f6b6257474963436a4468774a44425a6172727a564d724d51657169634e68 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 58544251534a4c5849726a707a64444e6f6e524d74634c556646774e62734d7a esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 58544251534a4c5849726a707a64444e6f6e524d74634c556646774e62734d7a esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 774657497472737572705675697346456c4f7456736e6c5a686e787266736d64 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 774657497472737572705675697346456c4f7456736e6c5a686e787266736d64 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 476a4d45674a4a446743756b53544c6f724f6358584e4661797248564446496e esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 476a4d45674a4a446743756b53544c6f724f6358584e4661797248564446496e esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 556d69575358797676514f595242536b727a517252434d4343495a6f47764f73 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 556d69575358797676514f595242536b727a517252434d4343495a6f47764f73 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 56595050424b4b576b5054624c4c794863785a754f6a78695659686a50534143 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 56595050424b4b576b5054624c4c794863785a754f6a78695659686a50534143 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.101 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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.101/24
exec set ip neighbor TwentyFiveGigabitEthernet3b/0/1 200.0.0.102 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.102 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 59674a49436367556a756c6e47536d6947725043614c664e784e4f4569496752 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 59674a49436367556a756c6e47536d6947725043614c664e784e4f4569496752 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.102 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 4369437757504b46654152544458666478664e596c6566674157676b764d576c esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 4369437757504b46654152544458666478664e596c6566674157676b764d576c 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.102 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 464c5474707a5671476f74796f494c7443466e564661536a79636d70624c7a45 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 464c5474707a5671476f74796f494c7443466e564661536a79636d70624c7a45 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.102 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 5a6d436d4f6b635955694e66727577436243794a416a534e63677050546a4150 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 5a6d436d4f6b635955694e66727577436243794a416a534e63677050546a4150 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.102 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 584f634e55514c496578506c616d6863757a6f55696e7543737945537747506b esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 584f634e55514c496578506c616d6863757a6f55696e7543737945537747506b 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.102 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 6875476e71434275727a516f514f4c746f49614d417777776c4d785a74545272 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 6875476e71434275727a516f514f4c746f49614d417777776c4d785a74545272 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.102 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 7a506c717863617a456443665048484753594c78496752577a6a464d7454644d esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 7a506c717863617a456443665048484753594c78496752577a6a464d7454644d 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.102 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 79786151644375784b7269755376566a5451746b58474f59786e75527a71526f esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 79786151644375784b7269755376566a5451746b58474f59786e75527a71526f 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.102 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 7568467a51646c754a614e4c5a455a6170486164537879594b68464c5965456c esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 7568467a51646c754a614e4c5a455a6170486164537879594b68464c5965456c 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.102 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 48476c4d556569426343536348414d4653644367704e6e476a6c696d4c436355 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 48476c4d556569426343536348414d4653644367704e6e476a6c696d4c436355 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.102 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 72684c64695a77476177614c58546a6441594d546a7061686f595756696a4c54 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 72684c64695a77476177614c58546a6441594d546a7061686f595756696a4c54 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.102 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 6c6e754f6c4452676f42737670675664656a6e6b6c6e4e4f774142515262415a esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 6c6e754f6c4452676f42737670675664656a6e6b6c6e4e4f774142515262415a 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.102 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 5766684745744f686b6f6175794d4e566a645053774961766b66476c684c6a64 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 5766684745744f686b6f6175794d4e566a645053774961766b66476c684c6a64 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.102 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 7553627958505a77707162546d556b46764246414256434350695472586f797a esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 7553627958505a77707162546d556b46764246414256434350695472586f797a 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.102 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 614f4b784566436e58514c774f48674748484275775366554970625a54684361 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 614f4b784566436e58514c774f48674748484275775366554970625a54684361 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.102 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 6c4658797669477674486947444f766b537364754c6b71495878536e656f6742 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 6c4658797669477674486947444f766b537364754c6b71495878536e656f6742 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.102 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 58756b51774e4755616b75464b5378755a796a42704d44646356436c704e6575 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 58756b51774e4755616b75464b5378755a796a42704d44646356436c704e6575 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.102 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 6674746c75544258626e59544b7868784b5159487043514d4543525547696268 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 6674746c75544258626e59544b7868784b5159487043514d4543525547696268 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.102 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 545a5a745a6b564c78457641525063794974477a66665065496f7741616d6a56 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 545a5a745a6b564c78457641525063794974477a66665065496f7741616d6a56 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.102 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 4d6864457867674e45637a467a68796c667361754a586958746d4653706a4373 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 4d6864457867674e45637a467a68796c667361754a586958746d4653706a4373 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.102 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 69715654654c666356684955544178636865746a45546c546c42546b56624666 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 69715654654c666356684955544178636865746a45546c546c42546b56624666 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.102 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 5a4d4d5a6e4c5a696f45796c644d5566504665504151414e6375504146454a76 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 5a4d4d5a6e4c5a696f45796c644d5566504665504151414e6375504146454a76 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.102 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 724b41434f51736d5665567a4e6a444f78446950656951447977735457545162 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 724b41434f51736d5665567a4e6a444f78446950656951447977735457545162 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.102 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 5376706966444d74596d426c6e7a5145697664624844756f5647664946715065 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 5376706966444d74596d426c6e7a5145697664624844756f5647664946715065 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.102 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 787a5a6d687445794c77584f437a4c6f50584b6948724f756e42745641727452 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 787a5a6d687445794c77584f437a4c6f50584b6948724f756e42745641727452 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.102 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 62596d63584e416361654569734a686c6151634d716f4b41777755494b645150 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 62596d63584e416361654569734a686c6151634d716f4b41777755494b645150 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.102 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 67744b6b4171594a78534f667673414d595274677942684763616f4b4a756173 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 67744b6b4171594a78534f667673414d595274677942684763616f4b4a756173 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.102 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 46677a7057586b5548734a7075557a5a4c6e766b41777175776e51647a585a43 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 46677a7057586b5548734a7075557a5a4c6e766b41777175776e51647a585a43 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.102 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 53766f6c6944564c724e566242546a766d5469646e6d7759624e434f78416b5a esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 53766f6c6944564c724e566242546a766d5469646e6d7759624e434f78416b5a 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.102 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 50744569456963545241437241665949544e55646f616351417a51546c7a514c esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 50744569456963545241437241665949544e55646f616351417a51546c7a514c 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.102 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 7070637949586556534e537365687a466376516c654d44726e43444848655445 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 7070637949586556534e537365687a466376516c654d44726e43444848655445 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.102 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 4c584755596252554667627249564169654c744d59794c77476f465652634644 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 4c584755596252554667627249564169654c744d59794c77476f465652634644 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.102 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 524d5363696b545066426e64507354527748757372637a4a5851745359524279 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 524d5363696b545066426e64507354527748757372637a4a5851745359524279 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.102 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 55574c4d6348466f787979735a5a58555359427563497452524a756a6d554b72 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 55574c4d6348466f787979735a5a58555359427563497452524a756a6d554b72 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.102 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 55446e4d5043526f425a4c486469576a797344557a45536461494259574b6859 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 55446e4d5043526f425a4c486469576a797344557a45536461494259574b6859 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.102 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 425141626e694572726742466e4c74684949755253557151664d5559695a627a esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 425141626e694572726742466e4c74684949755253557151664d5559695a627a 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.102 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 6d41574245426d6a71526d696f42646f7774454443484e636e4e70666848654a esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 6d41574245426d6a71526d696f42646f7774454443484e636e4e70666848654a 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.102 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 4274596455697041776356526f5363664c625052744c7876496c6e7243545469 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 4274596455697041776356526f5363664c625052744c7876496c6e7243545469 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.102 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 576a43706858784241614f7956664a65457762745a62444d63474c54654a794d esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 576a43706858784241614f7956664a65457762745a62444d63474c54654a794d 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.102 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 7a46666c5a7a65514f6b42667a557451507774684f5944507963687452464268 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 7a46666c5a7a65514f6b42667a557451507774684f5944507963687452464268 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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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.102/24.0
exec create ipip tunnel src 200.0.0.102 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 59674a49436367556a756c6e47536d6947725043614c664e784e4f4569496752 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 59674a49436367556a756c6e47536d6947725043614c664e784e4f4569496752 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 4369437757504b46654152544458666478664e596c6566674157676b764d576c esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 4369437757504b46654152544458666478664e596c6566674157676b764d576c esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 464c5474707a5671476f74796f494c7443466e564661536a79636d70624c7a45 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 464c5474707a5671476f74796f494c7443466e564661536a79636d70624c7a45 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 5a6d436d4f6b635955694e66727577436243794a416a534e63677050546a4150 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 5a6d436d4f6b635955694e66727577436243794a416a534e63677050546a4150 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 584f634e55514c496578506c616d6863757a6f55696e7543737945537747506b esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 584f634e55514c496578506c616d6863757a6f55696e7543737945537747506b esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 6875476e71434275727a516f514f4c746f49614d417777776c4d785a74545272 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 6875476e71434275727a516f514f4c746f49614d417777776c4d785a74545272 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 7a506c717863617a456443665048484753594c78496752577a6a464d7454644d esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 7a506c717863617a456443665048484753594c78496752577a6a464d7454644d esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 79786151644375784b7269755376566a5451746b58474f59786e75527a71526f esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 79786151644375784b7269755376566a5451746b58474f59786e75527a71526f esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 7568467a51646c754a614e4c5a455a6170486164537879594b68464c5965456c esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 7568467a51646c754a614e4c5a455a6170486164537879594b68464c5965456c esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 48476c4d556569426343536348414d4653644367704e6e476a6c696d4c436355 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 48476c4d556569426343536348414d4653644367704e6e476a6c696d4c436355 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 72684c64695a77476177614c58546a6441594d546a7061686f595756696a4c54 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 72684c64695a77476177614c58546a6441594d546a7061686f595756696a4c54 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 6c6e754f6c4452676f42737670675664656a6e6b6c6e4e4f774142515262415a esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 6c6e754f6c4452676f42737670675664656a6e6b6c6e4e4f774142515262415a esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 5766684745744f686b6f6175794d4e566a645053774961766b66476c684c6a64 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 5766684745744f686b6f6175794d4e566a645053774961766b66476c684c6a64 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 7553627958505a77707162546d556b46764246414256434350695472586f797a esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 7553627958505a77707162546d556b46764246414256434350695472586f797a esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 614f4b784566436e58514c774f48674748484275775366554970625a54684361 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 614f4b784566436e58514c774f48674748484275775366554970625a54684361 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 6c4658797669477674486947444f766b537364754c6b71495878536e656f6742 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 6c4658797669477674486947444f766b537364754c6b71495878536e656f6742 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 58756b51774e4755616b75464b5378755a796a42704d44646356436c704e6575 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 58756b51774e4755616b75464b5378755a796a42704d44646356436c704e6575 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 6674746c75544258626e59544b7868784b5159487043514d4543525547696268 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 6674746c75544258626e59544b7868784b5159487043514d4543525547696268 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 545a5a745a6b564c78457641525063794974477a66665065496f7741616d6a56 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 545a5a745a6b564c78457641525063794974477a66665065496f7741616d6a56 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 4d6864457867674e45637a467a68796c667361754a586958746d4653706a4373 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 4d6864457867674e45637a467a68796c667361754a586958746d4653706a4373 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 69715654654c666356684955544178636865746a45546c546c42546b56624666 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 69715654654c666356684955544178636865746a45546c546c42546b56624666 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 5a4d4d5a6e4c5a696f45796c644d5566504665504151414e6375504146454a76 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 5a4d4d5a6e4c5a696f45796c644d5566504665504151414e6375504146454a76 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 724b41434f51736d5665567a4e6a444f78446950656951447977735457545162 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 724b41434f51736d5665567a4e6a444f78446950656951447977735457545162 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 5376706966444d74596d426c6e7a5145697664624844756f5647664946715065 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 5376706966444d74596d426c6e7a5145697664624844756f5647664946715065 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 787a5a6d687445794c77584f437a4c6f50584b6948724f756e42745641727452 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 787a5a6d687445794c77584f437a4c6f50584b6948724f756e42745641727452 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 62596d63584e416361654569734a686c6151634d716f4b41777755494b645150 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 62596d63584e416361654569734a686c6151634d716f4b41777755494b645150 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 67744b6b4171594a78534f667673414d595274677942684763616f4b4a756173 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 67744b6b4171594a78534f667673414d595274677942684763616f4b4a756173 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 46677a7057586b5548734a7075557a5a4c6e766b41777175776e51647a585a43 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 46677a7057586b5548734a7075557a5a4c6e766b41777175776e51647a585a43 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 53766f6c6944564c724e566242546a766d5469646e6d7759624e434f78416b5a esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 53766f6c6944564c724e566242546a766d5469646e6d7759624e434f78416b5a esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 50744569456963545241437241665949544e55646f616351417a51546c7a514c esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 50744569456963545241437241665949544e55646f616351417a51546c7a514c esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 7070637949586556534e537365687a466376516c654d44726e43444848655445 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 7070637949586556534e537365687a466376516c654d44726e43444848655445 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 4c584755596252554667627249564169654c744d59794c77476f465652634644 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 4c584755596252554667627249564169654c744d59794c77476f465652634644 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 524d5363696b545066426e64507354527748757372637a4a5851745359524279 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 524d5363696b545066426e64507354527748757372637a4a5851745359524279 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 55574c4d6348466f787979735a5a58555359427563497452524a756a6d554b72 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 55574c4d6348466f787979735a5a58555359427563497452524a756a6d554b72 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 55446e4d5043526f425a4c486469576a797344557a45536461494259574b6859 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 55446e4d5043526f425a4c486469576a797344557a45536461494259574b6859 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 425141626e694572726742466e4c74684949755253557151664d5559695a627a esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 425141626e694572726742466e4c74684949755253557151664d5559695a627a esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 6d41574245426d6a71526d696f42646f7774454443484e636e4e70666848654a esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 6d41574245426d6a71526d696f42646f7774454443484e636e4e70666848654a esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 4274596455697041776356526f5363664c625052744c7876496c6e7243545469 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 4274596455697041776356526f5363664c625052744c7876496c6e7243545469 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 576a43706858784241614f7956664a65457762745a62444d63474c54654a794d esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 576a43706858784241614f7956664a65457762745a62444d63474c54654a794d esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 7a46666c5a7a65514f6b42667a557451507774684f5944507963687452464268 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 7a46666c5a7a65514f6b42667a557451507774684f5944507963687452464268 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.101 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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.101/24
exec set ip neighbor TwentyFiveGigabitEthernet3b/0/1 200.0.0.102 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.102 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 526a514e766642615276527257485a6557434d6454474242575a61444f736247 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 526a514e766642615276527257485a6557434d6454474242575a61444f736247 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.102 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 6f526a786b4b6f6e6363464f7a5771456e534757754744644d736b7a6e4f7667 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 6f526a786b4b6f6e6363464f7a5771456e534757754744644d736b7a6e4f7667 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.102 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 5943786668595a4e58476d4a466379486f48784a6a6570705377754b53646562 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 5943786668595a4e58476d4a466379486f48784a6a6570705377754b53646562 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.102 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 6479487371434b47415a6a50674e74766773476a43646e437a7470545248616b esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 6479487371434b47415a6a50674e74766773476a43646e437a7470545248616b 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.102 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 6f424a6756566a4969666d4e7155667176486c497066776e524947546a745365 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 6f424a6756566a4969666d4e7155667176486c497066776e524947546a745365 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.102 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 546149716c5473564d505656546b436258516c58667764536d4d546c4368497a esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 546149716c5473564d505656546b436258516c58667764536d4d546c4368497a 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.102 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 464f52446f486175694b596764485a417058665657447a64714f634958625375 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 464f52446f486175694b596764485a417058665657447a64714f634958625375 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.102 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 6e504f6558746d6d4c476c524e5578694e6f6e4b4c7a6d73754863576b616447 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 6e504f6558746d6d4c476c524e5578694e6f6e4b4c7a6d73754863576b616447 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.102 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 424a576f766c656c71715a4c696741785868556249686744634f537864666e57 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 424a576f766c656c71715a4c696741785868556249686744634f537864666e57 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.102 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 5765535a656d656c7245765a4d49626c4d4267655a71486e6971485a7352616b esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 5765535a656d656c7245765a4d49626c4d4267655a71486e6971485a7352616b 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.102 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 6757666b6d486a714a427844627778534662756e4157595a71547753554c4f72 esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 6757666b6d486a714a427844627778534662756e4157595a71547753554c4f72 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.102 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 7a6d78437a4b69544d55736b454c75436b6546454e4c41516a62535870477351 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 7a6d78437a4b69544d55736b454c75436b6546454e4c41516a62535870477351 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.102 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 7669425a6e475646624d4b6f714b4d72464f6e6978717171636e644a45495265 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 7669425a6e475646624d4b6f714b4d72464f6e6978717171636e644a45495265 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.102 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 4751754b536f4c7352496d5a58775658594b6c594b4371704e50626761796870 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 4751754b536f4c7352496d5a58775658594b6c594b4371704e50626761796870 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.102 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 58676845475748566a584849774750755a7a746b6951456b5064787554745a70 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 58676845475748566a584849774750755a7a746b6951456b5064787554745a70 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.102 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 6148784c476c6b53714e414b697848426f5969766f4a695751514f4c57567453 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 6148784c476c6b53714e414b697848426f5969766f4a695751514f4c57567453 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.102 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 6c6f527164556b4d41644c594a7677536557614a416c6f7a41764b714c614378 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 6c6f527164556b4d41644c594a7677536557614a416c6f7a41764b714c614378 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.102 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 6a71757953476a74656b4177554e5177455665667a5a724d6777784871546574 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 6a71757953476a74656b4177554e5177455665667a5a724d6777784871546574 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.102 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 634c746a7a537547684c74654a7351727a794e486464724c6c494d754d687141 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 634c746a7a537547684c74654a7351727a794e486464724c6c494d754d687141 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.102 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 54794e784b48766b4173436e46575651636e5545667176446d7a697359697364 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 54794e784b48766b4173436e46575651636e5545667176446d7a697359697364 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.102 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 65436d48434b62754f4f555644586f614f6c7476736b51794953724b6d45726a esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 65436d48434b62754f4f555644586f614f6c7476736b51794953724b6d45726a 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.102 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 72434b4f59674a48636270757a64524c665849694c784f484b5663644b655978 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 72434b4f59674a48636270757a64524c665849694c784f484b5663644b655978 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.102 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 4f49567352456852646d56685954575341587171766b5742526664536a556c5a esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 4f49567352456852646d56685954575341587171766b5742526664536a556c5a 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.102 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 6c586f557675596d4f6170464845524c4a7873595564676c4d504a4341486957 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 6c586f557675596d4f6170464845524c4a7873595564676c4d504a4341486957 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.102 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 4874537568784448466d7572736453456746425075614b6b637775666470696c esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 4874537568784448466d7572736453456746425075614b6b637775666470696c 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.102 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 4a436f7069476e68576a796d7454436b44777457686745796d616c5453424c49 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 4a436f7069476e68576a796d7454436b44777457686745796d616c5453424c49 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.102 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 667a5168764c556350644369436e6a5647506f727a7362434b69744459486c4e esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 667a5168764c556350644369436e6a5647506f727a7362434b69744459486c4e 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.102 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 454972686e624759446866634773726c4c68597a69516e457052647477664e65 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 454972686e624759446866634773726c4c68597a69516e457052647477664e65 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.102 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 494947586f5752586f465765706c6b544c52544463576b677357776b727a4a6c esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 494947586f5752586f465765706c6b544c52544463576b677357776b727a4a6c 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.102 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 6a646666654f6348714a61635166677368485a4642506455546b4b4b61465542 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 6a646666654f6348714a61635166677368485a4642506455546b4b4b61465542 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.102 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 4b475464764b526e6856664850717563586667514e7068424542486a71686665 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 4b475464764b526e6856664850717563586667514e7068424542486a71686665 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.102 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 4d5042466964516e76484a6d6341776e6f64756662554d52617362464e4d7475 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 4d5042466964516e76484a6d6341776e6f64756662554d52617362464e4d7475 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.102 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 5556685454494459474d6e79566e5670797747515265466c586c53484c595644 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 5556685454494459474d6e79566e5670797747515265466c586c53484c595644 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.102 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 42565351504a4c4e756c56455761487a70574b6a55765a674e43436e4c566274 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 42565351504a4c4e756c56455761487a70574b6a55765a674e43436e4c566274 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.102 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 627959494441455246555146557a6d50496c6c76594f507641566f584154526d esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 627959494441455246555146557a6d50496c6c76594f507641566f584154526d 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.102 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 7a6f5356656d476c6574714f526f5763477867565a556d65526f52464a705877 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 7a6f5356656d476c6574714f526f5763477867565a556d65526f52464a705877 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.102 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 4a476a7941756866455762514f4258686a464d4a775969704270584446517670 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 4a476a7941756866455762514f4258686a464d4a775969704270584446517670 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.102 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 57714965446d614e72544c66684c6c466b727965635552496d4f79525451794f esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 57714965446d614e72544c66684c6c466b727965635552496d4f79525451794f 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.102 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 445741486358676a54766c7459506b537a55596170716e78714c567256466f62 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 445741486358676a54766c7459506b537a55596170716e78714c567256466f62 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.102 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 4e6c424e6a435a626656615870446a466e7150425676524e4d544c6b794a4b57 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 4e6c424e6a435a626656615870446a466e7150425676524e4d544c6b794a4b57 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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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.102/24.0
exec create ipip tunnel src 200.0.0.102 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 526a514e766642615276527257485a6557434d6454474242575a61444f736247 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 526a514e766642615276527257485a6557434d6454474242575a61444f736247 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 6f526a786b4b6f6e6363464f7a5771456e534757754744644d736b7a6e4f7667 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 6f526a786b4b6f6e6363464f7a5771456e534757754744644d736b7a6e4f7667 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 5943786668595a4e58476d4a466379486f48784a6a6570705377754b53646562 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 5943786668595a4e58476d4a466379486f48784a6a6570705377754b53646562 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 6479487371434b47415a6a50674e74766773476a43646e437a7470545248616b esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 6479487371434b47415a6a50674e74766773476a43646e437a7470545248616b esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 6f424a6756566a4969666d4e7155667176486c497066776e524947546a745365 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 6f424a6756566a4969666d4e7155667176486c497066776e524947546a745365 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 546149716c5473564d505656546b436258516c58667764536d4d546c4368497a esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 546149716c5473564d505656546b436258516c58667764536d4d546c4368497a esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 464f52446f486175694b596764485a417058665657447a64714f634958625375 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 464f52446f486175694b596764485a417058665657447a64714f634958625375 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 6e504f6558746d6d4c476c524e5578694e6f6e4b4c7a6d73754863576b616447 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 6e504f6558746d6d4c476c524e5578694e6f6e4b4c7a6d73754863576b616447 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 424a576f766c656c71715a4c696741785868556249686744634f537864666e57 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 424a576f766c656c71715a4c696741785868556249686744634f537864666e57 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 5765535a656d656c7245765a4d49626c4d4267655a71486e6971485a7352616b esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 5765535a656d656c7245765a4d49626c4d4267655a71486e6971485a7352616b esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 6757666b6d486a714a427844627778534662756e4157595a71547753554c4f72 esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 6757666b6d486a714a427844627778534662756e4157595a71547753554c4f72 esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 7a6d78437a4b69544d55736b454c75436b6546454e4c41516a62535870477351 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 7a6d78437a4b69544d55736b454c75436b6546454e4c41516a62535870477351 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 7669425a6e475646624d4b6f714b4d72464f6e6978717171636e644a45495265 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 7669425a6e475646624d4b6f714b4d72464f6e6978717171636e644a45495265 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 4751754b536f4c7352496d5a58775658594b6c594b4371704e50626761796870 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 4751754b536f4c7352496d5a58775658594b6c594b4371704e50626761796870 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 58676845475748566a584849774750755a7a746b6951456b5064787554745a70 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 58676845475748566a584849774750755a7a746b6951456b5064787554745a70 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 6148784c476c6b53714e414b697848426f5969766f4a695751514f4c57567453 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 6148784c476c6b53714e414b697848426f5969766f4a695751514f4c57567453 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 6c6f527164556b4d41644c594a7677536557614a416c6f7a41764b714c614378 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 6c6f527164556b4d41644c594a7677536557614a416c6f7a41764b714c614378 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 6a71757953476a74656b4177554e5177455665667a5a724d6777784871546574 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 6a71757953476a74656b4177554e5177455665667a5a724d6777784871546574 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 634c746a7a537547684c74654a7351727a794e486464724c6c494d754d687141 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 634c746a7a537547684c74654a7351727a794e486464724c6c494d754d687141 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 54794e784b48766b4173436e46575651636e5545667176446d7a697359697364 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 54794e784b48766b4173436e46575651636e5545667176446d7a697359697364 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 65436d48434b62754f4f555644586f614f6c7476736b51794953724b6d45726a esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 65436d48434b62754f4f555644586f614f6c7476736b51794953724b6d45726a esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 72434b4f59674a48636270757a64524c665849694c784f484b5663644b655978 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 72434b4f59674a48636270757a64524c665849694c784f484b5663644b655978 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 4f49567352456852646d56685954575341587171766b5742526664536a556c5a esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 4f49567352456852646d56685954575341587171766b5742526664536a556c5a esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 6c586f557675596d4f6170464845524c4a7873595564676c4d504a4341486957 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 6c586f557675596d4f6170464845524c4a7873595564676c4d504a4341486957 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 4874537568784448466d7572736453456746425075614b6b637775666470696c esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 4874537568784448466d7572736453456746425075614b6b637775666470696c esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 4a436f7069476e68576a796d7454436b44777457686745796d616c5453424c49 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 4a436f7069476e68576a796d7454436b44777457686745796d616c5453424c49 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 667a5168764c556350644369436e6a5647506f727a7362434b69744459486c4e esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 667a5168764c556350644369436e6a5647506f727a7362434b69744459486c4e esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 454972686e624759446866634773726c4c68597a69516e457052647477664e65 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 454972686e624759446866634773726c4c68597a69516e457052647477664e65 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 494947586f5752586f465765706c6b544c52544463576b677357776b727a4a6c esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 494947586f5752586f465765706c6b544c52544463576b677357776b727a4a6c esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 6a646666654f6348714a61635166677368485a4642506455546b4b4b61465542 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 6a646666654f6348714a61635166677368485a4642506455546b4b4b61465542 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 4b475464764b526e6856664850717563586667514e7068424542486a71686665 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 4b475464764b526e6856664850717563586667514e7068424542486a71686665 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 4d5042466964516e76484a6d6341776e6f64756662554d52617362464e4d7475 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 4d5042466964516e76484a6d6341776e6f64756662554d52617362464e4d7475 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 5556685454494459474d6e79566e5670797747515265466c586c53484c595644 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 5556685454494459474d6e79566e5670797747515265466c586c53484c595644 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 42565351504a4c4e756c56455761487a70574b6a55765a674e43436e4c566274 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 42565351504a4c4e756c56455761487a70574b6a55765a674e43436e4c566274 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 627959494441455246555146557a6d50496c6c76594f507641566f584154526d esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 627959494441455246555146557a6d50496c6c76594f507641566f584154526d esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 7a6f5356656d476c6574714f526f5763477867565a556d65526f52464a705877 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 7a6f5356656d476c6574714f526f5763477867565a556d65526f52464a705877 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 4a476a7941756866455762514f4258686a464d4a775969704270584446517670 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 4a476a7941756866455762514f4258686a464d4a775969704270584446517670 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 57714965446d614e72544c66684c6c466b727965635552496d4f79525451794f esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 57714965446d614e72544c66684c6c466b727965635552496d4f79525451794f esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 445741486358676a54766c7459506b537a55596170716e78714c567256466f62 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 445741486358676a54766c7459506b537a55596170716e78714c567256466f62 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 4e6c424e6a435a626656615870446a466e7150425676524e4d544c6b794a4b57 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 4e6c424e6a435a626656615870446a466e7150425676524e4d544c6b794a4b57 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.101 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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.101/24
exec set ip neighbor TwentyFiveGigabitEthernet3b/0/1 200.0.0.102 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.102 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 444c754a774a68724d76654a58466754656461577a545a67424241785a535064 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 444c754a774a68724d76654a58466754656461577a545a67424241785a535064 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.102 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 4a514d4661536f4c57514f72687771795a41764a6f684e41694e764a54574776 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 4a514d4661536f4c57514f72687771795a41764a6f684e41694e764a54574776 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.102 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 786c6a6e634c654c524d764d7747464b78795a6655576a6d547670527842776a esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 786c6a6e634c654c524d764d7747464b78795a6655576a6d547670527842776a 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.102 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 6f727247764f4c6454715248724152507473436576534349506c70674f6b4a56 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 6f727247764f4c6454715248724152507473436576534349506c70674f6b4a56 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.102 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 6f6459746d614a4c4d68495469667a677a6e5253615442417161417967727443 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 6f6459746d614a4c4d68495469667a677a6e5253615442417161417967727443 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.102 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 42477648436a507764676143566a45664e767641477067707153764d79577559 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 42477648436a507764676143566a45664e767641477067707153764d79577559 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.102 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 6f5542594d6962437668516e4e484a686b7978477977594f454c525a45415078 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 6f5542594d6962437668516e4e484a686b7978477977594f454c525a45415078 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.102 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 726e42475478444f5241734c6d61524474586e587859577163596148665a7552 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 726e42475478444f5241734c6d61524474586e587859577163596148665a7552 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.102 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 6b68735362466658464e6e424c7a595547745977694f52507278724b68704975 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 6b68735362466658464e6e424c7a595547745977694f52507278724b68704975 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.102 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 4667434c417a4e6c687455456c6a67575952746f6e536d744962684764794a69 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 4667434c417a4e6c687455456c6a67575952746f6e536d744962684764794a69 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.102 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 42464f4a6d454b57745044774c4765466d7875536e6b674e54676a497572534a esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 42464f4a6d454b57745044774c4765466d7875536e6b674e54676a497572534a 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.102 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 6755486b56684c6d49745264496b577466795a57497a556b725478515478734d esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 6755486b56684c6d49745264496b577466795a57497a556b725478515478734d 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.102 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 437742545367424c7844614f6a786d7457467a51776e646f705042736e546255 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 437742545367424c7844614f6a786d7457467a51776e646f705042736e546255 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.102 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 686e735451757673575656635362784e585470716574526c576d5a5550516963 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 686e735451757673575656635362784e585470716574526c576d5a5550516963 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.102 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 6c43505475416f526977434e65674b496c576b4d4c5064536b7755677a566e6c esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 6c43505475416f526977434e65674b496c576b4d4c5064536b7755677a566e6c 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.102 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 7461646f4851616f7750434d694e6142645465574278716958704d5557576241 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 7461646f4851616f7750434d694e6142645465574278716958704d5557576241 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.102 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 634a446e49554c6f746d61795575504e796178756c4c7973414c444f6b655a47 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 634a446e49554c6f746d61795575504e796178756c4c7973414c444f6b655a47 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.102 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 655a58654b474141766d564161765a4d586752534c54645055696e57464f5249 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 655a58654b474141766d564161765a4d586752534c54645055696e57464f5249 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.102 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 657962726c55624e7659796d76416f7062526f42674d79646e47756a63767a61 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 657962726c55624e7659796d76416f7062526f42674d79646e47756a63767a61 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.102 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 6e4f446f67636f6a574e484c58764b6e4c54775167647a4b566a4d7971725355 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 6e4f446f67636f6a574e484c58764b6e4c54775167647a4b566a4d7971725355 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.102 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 6d7241416a5a61695954706e4d4150415767664c6e70707766436f4351477266 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 6d7241416a5a61695954706e4d4150415767664c6e70707766436f4351477266 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.102 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 74544d536c7850584c6e69594d725978614c5476796c7971785644516c4e6657 esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 74544d536c7850584c6e69594d725978614c5476796c7971785644516c4e6657 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.102 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 6e7457646a697a4d794156736c644b434a6f6944784c5151635a6e544c714471 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 6e7457646a697a4d794156736c644b434a6f6944784c5151635a6e544c714471 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.102 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 766d654555636b6556497a64566b654165504967554e7a78526a6570594b7256 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 766d654555636b6556497a64566b654165504967554e7a78526a6570594b7256 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.102 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 5843466c6b5445784d717773596f7a486b4c7770546c7a455a6a5154796e4d43 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 5843466c6b5445784d717773596f7a486b4c7770546c7a455a6a5154796e4d43 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.102 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 53476e6f465a46414177486f6d4863667843626c62765761484969514e70557a esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 53476e6f465a46414177486f6d4863667843626c62765761484969514e70557a 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.102 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 4a4574476c70504d664b7a72786e69645478706c5a48564b7a79447167435a50 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 4a4574476c70504d664b7a72786e69645478706c5a48564b7a79447167435a50 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.102 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 507a4977554b54534e6457704c6b6e76787a436d73474f745951565568624847 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 507a4977554b54534e6457704c6b6e76787a436d73474f745951565568624847 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.102 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 4673744d5a49757651514d48456966697556596374794955777a6d48514c5473 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 4673744d5a49757651514d48456966697556596374794955777a6d48514c5473 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.102 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 777873497a474953726e786b5857654351684959506d714e584c46715957626d esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 777873497a474953726e786b5857654351684959506d714e584c46715957626d 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.102 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 736d71474752556a6b6553595a5979567543417153446278464f687a72594754 esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 736d71474752556a6b6553595a5979567543417153446278464f687a72594754 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.102 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 6549567a74596c4750756d665146446a737556434c7a64766c456d5444746657 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 6549567a74596c4750756d665146446a737556434c7a64766c456d5444746657 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.102 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 7a76696f49424d797478576d464f6a7046785a7561796c7973736c54686c4c69 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 7a76696f49424d797478576d464f6a7046785a7561796c7973736c54686c4c69 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.102 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 6f55564575595751624b484a5a7a75504e587961454b594c50457a5a59774d72 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 6f55564575595751624b484a5a7a75504e587961454b594c50457a5a59774d72 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.102 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 57774c435361504a6f49704e516f6e4f7959567772684b617375536a414c4166 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 57774c435361504a6f49704e516f6e4f7959567772684b617375536a414c4166 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.102 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 5a7a43545758554669755945526e5559555374584867645a6d524d786f444b79 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 5a7a43545758554669755945526e5559555374584867645a6d524d786f444b79 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.102 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 54536f43646b6271657168724f494d767962646f6c7469794b436959566f5263 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 54536f43646b6271657168724f494d767962646f6c7469794b436959566f5263 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.102 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 54416b5a5159475574706c6f4846525155516772644f6b56795444716242436c esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 54416b5a5159475574706c6f4846525155516772644f6b56795444716242436c 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.102 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 4c7a6b634d7a76557a43564c7663474c716a485246476a6e58475a4e6a755766 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 4c7a6b634d7a76557a43564c7663474c716a485246476a6e58475a4e6a755766 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.102 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 4a53726547414c6456467362766566726256545a4b786f41695645777667486f esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 4a53726547414c6456467362766566726256545a4b786f41695645777667486f 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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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.102/24.0
exec create ipip tunnel src 200.0.0.102 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 444c754a774a68724d76654a58466754656461577a545a67424241785a535064 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 444c754a774a68724d76654a58466754656461577a545a67424241785a535064 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 4a514d4661536f4c57514f72687771795a41764a6f684e41694e764a54574776 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 4a514d4661536f4c57514f72687771795a41764a6f684e41694e764a54574776 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 786c6a6e634c654c524d764d7747464b78795a6655576a6d547670527842776a esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 786c6a6e634c654c524d764d7747464b78795a6655576a6d547670527842776a esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 6f727247764f4c6454715248724152507473436576534349506c70674f6b4a56 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 6f727247764f4c6454715248724152507473436576534349506c70674f6b4a56 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 6f6459746d614a4c4d68495469667a677a6e5253615442417161417967727443 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 6f6459746d614a4c4d68495469667a677a6e5253615442417161417967727443 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 42477648436a507764676143566a45664e767641477067707153764d79577559 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 42477648436a507764676143566a45664e767641477067707153764d79577559 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 6f5542594d6962437668516e4e484a686b7978477977594f454c525a45415078 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 6f5542594d6962437668516e4e484a686b7978477977594f454c525a45415078 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 726e42475478444f5241734c6d61524474586e587859577163596148665a7552 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 726e42475478444f5241734c6d61524474586e587859577163596148665a7552 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 6b68735362466658464e6e424c7a595547745977694f52507278724b68704975 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 6b68735362466658464e6e424c7a595547745977694f52507278724b68704975 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 4667434c417a4e6c687455456c6a67575952746f6e536d744962684764794a69 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 4667434c417a4e6c687455456c6a67575952746f6e536d744962684764794a69 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 42464f4a6d454b57745044774c4765466d7875536e6b674e54676a497572534a esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 42464f4a6d454b57745044774c4765466d7875536e6b674e54676a497572534a esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 6755486b56684c6d49745264496b577466795a57497a556b725478515478734d esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 6755486b56684c6d49745264496b577466795a57497a556b725478515478734d esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 437742545367424c7844614f6a786d7457467a51776e646f705042736e546255 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 437742545367424c7844614f6a786d7457467a51776e646f705042736e546255 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 686e735451757673575656635362784e585470716574526c576d5a5550516963 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 686e735451757673575656635362784e585470716574526c576d5a5550516963 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 6c43505475416f526977434e65674b496c576b4d4c5064536b7755677a566e6c esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 6c43505475416f526977434e65674b496c576b4d4c5064536b7755677a566e6c esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 7461646f4851616f7750434d694e6142645465574278716958704d5557576241 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 7461646f4851616f7750434d694e6142645465574278716958704d5557576241 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 634a446e49554c6f746d61795575504e796178756c4c7973414c444f6b655a47 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 634a446e49554c6f746d61795575504e796178756c4c7973414c444f6b655a47 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 655a58654b474141766d564161765a4d586752534c54645055696e57464f5249 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 655a58654b474141766d564161765a4d586752534c54645055696e57464f5249 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 657962726c55624e7659796d76416f7062526f42674d79646e47756a63767a61 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 657962726c55624e7659796d76416f7062526f42674d79646e47756a63767a61 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 6e4f446f67636f6a574e484c58764b6e4c54775167647a4b566a4d7971725355 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 6e4f446f67636f6a574e484c58764b6e4c54775167647a4b566a4d7971725355 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 6d7241416a5a61695954706e4d4150415767664c6e70707766436f4351477266 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 6d7241416a5a61695954706e4d4150415767664c6e70707766436f4351477266 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 74544d536c7850584c6e69594d725978614c5476796c7971785644516c4e6657 esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 74544d536c7850584c6e69594d725978614c5476796c7971785644516c4e6657 esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 6e7457646a697a4d794156736c644b434a6f6944784c5151635a6e544c714471 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 6e7457646a697a4d794156736c644b434a6f6944784c5151635a6e544c714471 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 766d654555636b6556497a64566b654165504967554e7a78526a6570594b7256 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 766d654555636b6556497a64566b654165504967554e7a78526a6570594b7256 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 5843466c6b5445784d717773596f7a486b4c7770546c7a455a6a5154796e4d43 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 5843466c6b5445784d717773596f7a486b4c7770546c7a455a6a5154796e4d43 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 53476e6f465a46414177486f6d4863667843626c62765761484969514e70557a esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 53476e6f465a46414177486f6d4863667843626c62765761484969514e70557a esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 4a4574476c70504d664b7a72786e69645478706c5a48564b7a79447167435a50 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 4a4574476c70504d664b7a72786e69645478706c5a48564b7a79447167435a50 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 507a4977554b54534e6457704c6b6e76787a436d73474f745951565568624847 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 507a4977554b54534e6457704c6b6e76787a436d73474f745951565568624847 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 4673744d5a49757651514d48456966697556596374794955777a6d48514c5473 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 4673744d5a49757651514d48456966697556596374794955777a6d48514c5473 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 777873497a474953726e786b5857654351684959506d714e584c46715957626d esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 777873497a474953726e786b5857654351684959506d714e584c46715957626d esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 736d71474752556a6b6553595a5979567543417153446278464f687a72594754 esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 736d71474752556a6b6553595a5979567543417153446278464f687a72594754 esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 6549567a74596c4750756d665146446a737556434c7a64766c456d5444746657 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 6549567a74596c4750756d665146446a737556434c7a64766c456d5444746657 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 7a76696f49424d797478576d464f6a7046785a7561796c7973736c54686c4c69 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 7a76696f49424d797478576d464f6a7046785a7561796c7973736c54686c4c69 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 6f55564575595751624b484a5a7a75504e587961454b594c50457a5a59774d72 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 6f55564575595751624b484a5a7a75504e587961454b594c50457a5a59774d72 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 57774c435361504a6f49704e516f6e4f7959567772684b617375536a414c4166 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 57774c435361504a6f49704e516f6e4f7959567772684b617375536a414c4166 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 5a7a43545758554669755945526e5559555374584867645a6d524d786f444b79 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 5a7a43545758554669755945526e5559555374584867645a6d524d786f444b79 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 54536f43646b6271657168724f494d767962646f6c7469794b436959566f5263 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 54536f43646b6271657168724f494d767962646f6c7469794b436959566f5263 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 54416b5a5159475574706c6f4846525155516772644f6b56795444716242436c esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 54416b5a5159475574706c6f4846525155516772644f6b56795444716242436c esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 4c7a6b634d7a76557a43564c7663474c716a485246476a6e58475a4e6a755766 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 4c7a6b634d7a76557a43564c7663474c716a485246476a6e58475a4e6a755766 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 4a53726547414c6456467362766566726256545a4b786f41695645777667486f esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 4a53726547414c6456467362766566726256545a4b786f41695645777667486f 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.101 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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.101/24
exec set ip neighbor TwentyFiveGigabitEthernet3b/0/1 200.0.0.102 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.102 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 726e6f5774526f527363517a4374746f5378594f5643515643426d5873635152 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 726e6f5774526f527363517a4374746f5378594f5643515643426d5873635152 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.102 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 7174514577664b776a686e736269426f6f61696d41576a514c50664c76454969 esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 7174514577664b776a686e736269426f6f61696d41576a514c50664c76454969 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.102 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 4864527a68655647764c66664964637644646f5858694f564e6e7a55596c4772 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 4864527a68655647764c66664964637644646f5858694f564e6e7a55596c4772 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.102 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 74647a6f55675442724a587a4d776159686c5961454c6e73636f624d46665a7a esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 74647a6f55675442724a587a4d776159686c5961454c6e73636f624d46665a7a 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.102 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 485a6748426a5379535864577162556a6e47726e72517874424946656b72746b esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 485a6748426a5379535864577162556a6e47726e72517874424946656b72746b 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.102 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 654a48564a434f58497447554f7a414d54574344676155426c4a424f69436451 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 654a48564a434f58497447554f7a414d54574344676155426c4a424f69436451 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.102 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 474c56676a73726752695562755366734e6a456143445756616b6e47486d4d70 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 474c56676a73726752695562755366734e6a456143445756616b6e47486d4d70 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.102 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 4e5a4471786d584270785379485a54686e416748426156436e596d556b717264 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 4e5a4471786d584270785379485a54686e416748426156436e596d556b717264 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.102 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 525153677473556269757a4e48714562666647626e4c71556676736d52535648 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 525153677473556269757a4e48714562666647626e4c71556676736d52535648 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.102 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 496379444752777576526e4b6d744973734d4c6850677776444162746f6b7353 esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 496379444752777576526e4b6d744973734d4c6850677776444162746f6b7353 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.102 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 647276456742444848577347614673656c51517168594a7067574d4c4e65635a esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 647276456742444848577347614673656c51517168594a7067574d4c4e65635a 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.102 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 45455165444d6e707842476841425654687556497661596a71747845644e7669 esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 45455165444d6e707842476841425654687556497661596a71747845644e7669 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.102 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 504a4a4e50676e43446b487041614a6b6450664b544b50787043507650477768 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 504a4a4e50676e43446b487041614a6b6450664b544b50787043507650477768 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.102 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 437a4261724865726758416f6e694e486647524773564e627859516d45707465 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 437a4261724865726758416f6e694e486647524773564e627859516d45707465 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.102 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 7078767a58525a4a4f66736b636277627952634a564367466f7a4b576c6e4b47 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 7078767a58525a4a4f66736b636277627952634a564367466f7a4b576c6e4b47 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.102 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 6f7558796c4d72704d58616e6d594e5067616a7473757a5974526872536a7779 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 6f7558796c4d72704d58616e6d594e5067616a7473757a5974526872536a7779 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.102 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 6a4f576d687a5069436c6e6a794669417a506c6a75646a70726b544665446257 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 6a4f576d687a5069436c6e6a794669417a506c6a75646a70726b544665446257 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.102 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 4c4e56666f62746b5a626c584e63536a6a5164514a4870614866435178634253 esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 4c4e56666f62746b5a626c584e63536a6a5164514a4870614866435178634253 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.102 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 494b44454d6f4e656f57727a7a62697179465a445a634b52416544655a616862 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 494b44454d6f4e656f57727a7a62697179465a445a634b52416544655a616862 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.102 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 5346586b7777627042754b63507372736e664d4251655869754e726c6e767676 esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 5346586b7777627042754b63507372736e664d4251655869754e726c6e767676 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.102 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 78696d6c7053554558444268666c764c574564424d57475769764379426f4754 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 78696d6c7053554558444268666c764c574564424d57475769764379426f4754 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.102 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 6266465a5a646d5044425662654669775242567a524f6f6254634a465055626f esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 6266465a5a646d5044425662654669775242567a524f6f6254634a465055626f 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.102 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 6c57615a70594f42727569425976625066614d42545952784b66616478764456 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 6c57615a70594f42727569425976625066614d42545952784b66616478764456 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.102 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 587142445a55566e735252565067485254656d436d6d764f52664a47654b4569 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 587142445a55566e735252565067485254656d436d6d764f52664a47654b4569 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.102 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 5278496a697a50754148687962616f4c725574617872786a6e757a6b50486d41 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 5278496a697a50754148687962616f4c725574617872786a6e757a6b50486d41 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.102 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 7352676248745852566a4863664d444471796d7577464c734e7a656e717a5379 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 7352676248745852566a4863664d444471796d7577464c734e7a656e717a5379 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.102 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 484a4e51524a77584f6c76674849625969745144716463736555745170494978 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 484a4e51524a77584f6c76674849625969745144716463736555745170494978 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.102 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 6a64785a7a6a6d4c514566616f6275524c5556515877776a556e716e5851504d esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 6a64785a7a6a6d4c514566616f6275524c5556515877776a556e716e5851504d 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.102 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 544d786d68686a744e6374424b6a6f6c586e7a6572474e667671694c474e5747 esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 544d786d68686a744e6374424b6a6f6c586e7a6572474e667671694c474e5747 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.102 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 574a43725968476f486475577770457374625a6e414d6c73796a745751634a51 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 574a43725968476f486475577770457374625a6e414d6c73796a745751634a51 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.102 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 6a66666e795865456b5a4f53574d72454c4472594a52726f4d57716d6d4a757a esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 6a66666e795865456b5a4f53574d72454c4472594a52726f4d57716d6d4a757a 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.102 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 77586c434668556b6f456b6a49535568496d656e524c7a506874686164746357 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 77586c434668556b6f456b6a49535568496d656e524c7a506874686164746357 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.102 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 7a6c766b767a4c4a6f595178714f4669726a4256685165515149424d73756942 esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 7a6c766b767a4c4a6f595178714f4669726a4256685165515149424d73756942 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.102 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 676b456e52664d694450734e6a467355775a695470544c68434a6d54446a4174 esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 676b456e52664d694450734e6a467355775a695470544c68434a6d54446a4174 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.102 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 6869714c44455a634c724c786d6f556d5778616561664170714352534e537061 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 6869714c44455a634c724c786d6f556d5778616561664170714352534e537061 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.102 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 74566c53507a474e62734b444e6a426a756c454259727757744e636b74705956 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 74566c53507a474e62734b444e6a426a756c454259727757744e636b74705956 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.102 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 425748464871506d6754557555596d6963536942436b70747a486c63706e6244 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 425748464871506d6754557555596d6963536942436b70747a486c63706e6244 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.102 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 59424a72416863756e614764446e6b494d4a6248724c587346584b4c44684b55 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 59424a72416863756e614764446e6b494d4a6248724c587346584b4c44684b55 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.102 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 7773786352775446515366644f4773734d6376664d697778424a42667a4c5473 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 7773786352775446515366644f4773734d6376664d697778424a42667a4c5473 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.102 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 564e687077434f5274517557547362706b78744a4b56764d496f61705a756779 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 564e687077434f5274517557547362706b78744a4b56764d496f61705a756779 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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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.102/24.0
exec create ipip tunnel src 200.0.0.102 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 726e6f5774526f527363517a4374746f5378594f5643515643426d5873635152 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 726e6f5774526f527363517a4374746f5378594f5643515643426d5873635152 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 7174514577664b776a686e736269426f6f61696d41576a514c50664c76454969 esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 7174514577664b776a686e736269426f6f61696d41576a514c50664c76454969 esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 4864527a68655647764c66664964637644646f5858694f564e6e7a55596c4772 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 4864527a68655647764c66664964637644646f5858694f564e6e7a55596c4772 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 74647a6f55675442724a587a4d776159686c5961454c6e73636f624d46665a7a esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 74647a6f55675442724a587a4d776159686c5961454c6e73636f624d46665a7a esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 485a6748426a5379535864577162556a6e47726e72517874424946656b72746b esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 485a6748426a5379535864577162556a6e47726e72517874424946656b72746b esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 654a48564a434f58497447554f7a414d54574344676155426c4a424f69436451 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 654a48564a434f58497447554f7a414d54574344676155426c4a424f69436451 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 474c56676a73726752695562755366734e6a456143445756616b6e47486d4d70 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 474c56676a73726752695562755366734e6a456143445756616b6e47486d4d70 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 4e5a4471786d584270785379485a54686e416748426156436e596d556b717264 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 4e5a4471786d584270785379485a54686e416748426156436e596d556b717264 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 525153677473556269757a4e48714562666647626e4c71556676736d52535648 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 525153677473556269757a4e48714562666647626e4c71556676736d52535648 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 496379444752777576526e4b6d744973734d4c6850677776444162746f6b7353 esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 496379444752777576526e4b6d744973734d4c6850677776444162746f6b7353 esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 647276456742444848577347614673656c51517168594a7067574d4c4e65635a esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 647276456742444848577347614673656c51517168594a7067574d4c4e65635a esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 45455165444d6e707842476841425654687556497661596a71747845644e7669 esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 45455165444d6e707842476841425654687556497661596a71747845644e7669 esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 504a4a4e50676e43446b487041614a6b6450664b544b50787043507650477768 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 504a4a4e50676e43446b487041614a6b6450664b544b50787043507650477768 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 437a4261724865726758416f6e694e486647524773564e627859516d45707465 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 437a4261724865726758416f6e694e486647524773564e627859516d45707465 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 7078767a58525a4a4f66736b636277627952634a564367466f7a4b576c6e4b47 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 7078767a58525a4a4f66736b636277627952634a564367466f7a4b576c6e4b47 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 6f7558796c4d72704d58616e6d594e5067616a7473757a5974526872536a7779 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 6f7558796c4d72704d58616e6d594e5067616a7473757a5974526872536a7779 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 6a4f576d687a5069436c6e6a794669417a506c6a75646a70726b544665446257 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 6a4f576d687a5069436c6e6a794669417a506c6a75646a70726b544665446257 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 4c4e56666f62746b5a626c584e63536a6a5164514a4870614866435178634253 esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 4c4e56666f62746b5a626c584e63536a6a5164514a4870614866435178634253 esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 494b44454d6f4e656f57727a7a62697179465a445a634b52416544655a616862 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 494b44454d6f4e656f57727a7a62697179465a445a634b52416544655a616862 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 5346586b7777627042754b63507372736e664d4251655869754e726c6e767676 esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 5346586b7777627042754b63507372736e664d4251655869754e726c6e767676 esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 78696d6c7053554558444268666c764c574564424d57475769764379426f4754 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 78696d6c7053554558444268666c764c574564424d57475769764379426f4754 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 6266465a5a646d5044425662654669775242567a524f6f6254634a465055626f esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 6266465a5a646d5044425662654669775242567a524f6f6254634a465055626f esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 6c57615a70594f42727569425976625066614d42545952784b66616478764456 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 6c57615a70594f42727569425976625066614d42545952784b66616478764456 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 587142445a55566e735252565067485254656d436d6d764f52664a47654b4569 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 587142445a55566e735252565067485254656d436d6d764f52664a47654b4569 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 5278496a697a50754148687962616f4c725574617872786a6e757a6b50486d41 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 5278496a697a50754148687962616f4c725574617872786a6e757a6b50486d41 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 7352676248745852566a4863664d444471796d7577464c734e7a656e717a5379 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 7352676248745852566a4863664d444471796d7577464c734e7a656e717a5379 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 484a4e51524a77584f6c76674849625969745144716463736555745170494978 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 484a4e51524a77584f6c76674849625969745144716463736555745170494978 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 6a64785a7a6a6d4c514566616f6275524c5556515877776a556e716e5851504d esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 6a64785a7a6a6d4c514566616f6275524c5556515877776a556e716e5851504d esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 544d786d68686a744e6374424b6a6f6c586e7a6572474e667671694c474e5747 esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 544d786d68686a744e6374424b6a6f6c586e7a6572474e667671694c474e5747 esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 574a43725968476f486475577770457374625a6e414d6c73796a745751634a51 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 574a43725968476f486475577770457374625a6e414d6c73796a745751634a51 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 6a66666e795865456b5a4f53574d72454c4472594a52726f4d57716d6d4a757a esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 6a66666e795865456b5a4f53574d72454c4472594a52726f4d57716d6d4a757a esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 77586c434668556b6f456b6a49535568496d656e524c7a506874686164746357 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 77586c434668556b6f456b6a49535568496d656e524c7a506874686164746357 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 7a6c766b767a4c4a6f595178714f4669726a4256685165515149424d73756942 esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 7a6c766b767a4c4a6f595178714f4669726a4256685165515149424d73756942 esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 676b456e52664d694450734e6a467355775a695470544c68434a6d54446a4174 esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 676b456e52664d694450734e6a467355775a695470544c68434a6d54446a4174 esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 6869714c44455a634c724c786d6f556d5778616561664170714352534e537061 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 6869714c44455a634c724c786d6f556d5778616561664170714352534e537061 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 74566c53507a474e62734b444e6a426a756c454259727757744e636b74705956 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 74566c53507a474e62734b444e6a426a756c454259727757744e636b74705956 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 425748464871506d6754557555596d6963536942436b70747a486c63706e6244 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 425748464871506d6754557555596d6963536942436b70747a486c63706e6244 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 59424a72416863756e614764446e6b494d4a6248724c587346584b4c44684b55 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 59424a72416863756e614764446e6b494d4a6248724c587346584b4c44684b55 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 7773786352775446515366644f4773734d6376664d697778424a42667a4c5473 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 7773786352775446515366644f4773734d6376664d697778424a42667a4c5473 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 564e687077434f5274517557547362706b78744a4b56764d496f61705a756779 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 564e687077434f5274517557547362706b78744a4b56764d496f61705a756779 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.101 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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.101/24
exec set ip neighbor TwentyFiveGigabitEthernet3b/0/1 200.0.0.102 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.102 p2p
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 45474776446a6c644b71446965557467474761576664687a4448644450676543 esp
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 45474776446a6c644b71446965557467474761576664687a4448644450676543 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.102 p2p
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 587866556442596d4650465a5148744c437a766a5250577345727a4c53715a6e esp
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 587866556442596d4650465a5148744c437a766a5250577345727a4c53715a6e 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.102 p2p
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 4f6341744f547744584c505274534e626653514571626a5243476b5053667152 esp
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 4f6341744f547744584c505274534e626653514571626a5243476b5053667152 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.102 p2p
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 446c64674150576d596a4a5376744c5863655546567452626b414165655a6457 esp
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 446c64674150576d596a4a5376744c5863655546567452626b414165655a6457 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.102 p2p
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 4d7569446844535776745156786b68475172527261785a6b707177524b787866 esp
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 4d7569446844535776745156786b68475172527261785a6b707177524b787866 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.102 p2p
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 4f707163744244567a694e474362684c6974666f424d54437a55694a41685578 esp
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 4f707163744244567a694e474362684c6974666f424d54437a55694a41685578 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.102 p2p
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 444357776e62414b44786f69716b4c435574414f4b4241794f69434b63654469 esp
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 444357776e62414b44786f69716b4c435574414f4b4241794f69434b63654469 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.102 p2p
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 6a555751494a6b6a61516d525178796f4c6f6e5266504475795966414d567a57 esp
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 6a555751494a6b6a61516d525178796f4c6f6e5266504475795966414d567a57 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.102 p2p
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 506b4f4e6252724f7a4a5a686b684250647a4e5479624b42584b75646f4c5961 esp
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 506b4f4e6252724f7a4a5a686b684250647a4e5479624b42584b75646f4c5961 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.102 p2p
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 5a6b65736e4a594c5377534a584a4557557859655a666976726e716e536a456d esp
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 5a6b65736e4a594c5377534a584a4557557859655a666976726e716e536a456d 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.102 p2p
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 50757a65486e4462524469735a794e594b6f4c52745051786d6e6662714f6c4c esp
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 50757a65486e4462524469735a794e594b6f4c52745051786d6e6662714f6c4c 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.102 p2p
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 474e51786a685468676e61534672777945566c64764c4a784962566a58534c6b esp
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 474e51786a685468676e61534672777945566c64764c4a784962566a58534c6b 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.102 p2p
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 7a675a6a7678494a4b4742634976466f704177506677734a4b50547566666a44 esp
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 7a675a6a7678494a4b4742634976466f704177506677734a4b50547566666a44 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.102 p2p
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 7a76465264724b746652737570414f7843744456746e6f794f706e6b4a767969 esp
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 7a76465264724b746652737570414f7843744456746e6f794f706e6b4a767969 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.102 p2p
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 5342505145674f435a7450765342494844696571676459617947505261787074 esp
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 5342505145674f435a7450765342494844696571676459617947505261787074 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.102 p2p
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 6c6568535268464261786544594878506a6d7357716456636b42524f46754562 esp
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 6c6568535268464261786544594878506a6d7357716456636b42524f46754562 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.102 p2p
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 6f796d6579734256555a696c795665516d497157666c6c67694154424a636d49 esp
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 6f796d6579734256555a696c795665516d497157666c6c67694154424a636d49 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.102 p2p
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 7a7446474d4352674f597348584c56564b774f4d625153656b41494d634c736c esp
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 7a7446474d4352674f597348584c56564b774f4d625153656b41494d634c736c 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.102 p2p
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 576943506376554b67636371596e494574777941634278634f63796877546665 esp
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 576943506376554b67636371596e494574777941634278634f63796877546665 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.102 p2p
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 4a6c5472615544794f614c6b636f6565465066794d624565497849526158656e esp
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 4a6c5472615544794f614c6b636f6565465066794d624565497849526158656e 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.102 p2p
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 734e58635279764d6f4c76507446795353775977755454647462716e73685178 esp
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 734e58635279764d6f4c76507446795353775977755454647462716e73685178 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.102 p2p
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 42434e477a61644d425576634a764a4f747550766e7a7656537374584d737a4d esp
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 42434e477a61644d425576634a764a4f747550766e7a7656537374584d737a4d 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.102 p2p
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 4867526162745478507946424d7261726b6b6971514e6f6c5452525554537458 esp
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 4867526162745478507946424d7261726b6b6971514e6f6c5452525554537458 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.102 p2p
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 6b776f42765546434d6b6f496f586a474e724957437a706243586a6c73784257 esp
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 6b776f42765546434d6b6f496f586a474e724957437a706243586a6c73784257 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.102 p2p
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 41756457706e526f61686978786e4c6d616d6a534d5945674d79624d4b794c50 esp
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 41756457706e526f61686978786e4c6d616d6a534d5945674d79624d4b794c50 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.102 p2p
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 73614e4f71666b6c776949754b7a5758637a704f7741424c626278446a414478 esp
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 73614e4f71666b6c776949754b7a5758637a704f7741424c626278446a414478 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.102 p2p
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 544b777256687656434670636a50794641626f6d447551786270534359444777 esp
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 544b777256687656434670636a50794641626f6d447551786270534359444777 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.102 p2p
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 6167496f455a656c57504f56784d4b766d6f6f42776f6b4c61455a4b72576b65 esp
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 6167496f455a656c57504f56784d4b766d6f6f42776f6b4c61455a4b72576b65 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.102 p2p
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 704a5664637541666e7347496b4b475a72594c4770637962566f51454871445a esp
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 704a5664637541666e7347496b4b475a72594c4770637962566f51454871445a 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.102 p2p
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 48464d7a676d67764465637261594862754255696e446f6f59465a7a42756867 esp
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 48464d7a676d67764465637261594862754255696e446f6f59465a7a42756867 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.102 p2p
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 58756d6b694c7a5655466856624d676f6541634e61457547694877636f69506c esp
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 58756d6b694c7a5655466856624d676f6541634e61457547694877636f69506c 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.102 p2p
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 4958596e755641466e6756466a547a65646c4f7367644d6444714b434f5a5276 esp
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 4958596e755641466e6756466a547a65646c4f7367644d6444714b434f5a5276 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.102 p2p
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 46535a504e4f464b5369644f51777667484e66506e6d72794b7656735457536e esp
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 46535a504e4f464b5369644f51777667484e66506e6d72794b7656735457536e 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.102 p2p
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 5067426947757a76716d7a7a776745665167657169564e48797a7a6c4a446c6c esp
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 5067426947757a76716d7a7a776745665167657169564e48797a7a6c4a446c6c 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.102 p2p
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 686b514e676b59766771517346495172725a51454c624c4678506a514d697562 esp
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 686b514e676b59766771517346495172725a51454c624c4678506a514d697562 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.102 p2p
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 5a644677696f725941726c5a4d44617851646963486e477547654d4658715745 esp
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 5a644677696f725941726c5a4d44617851646963486e477547654d4658715745 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.102 p2p
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 6c5263594551554d787547726558684c554d79534b6561514a67766958536c50 esp
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 6c5263594551554d787547726558684c554d79534b6561514a67766958536c50 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.102 p2p
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 6b766b4d726c794b6d48476f58594847526d677a586f694b646b4f62476d6471 esp
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 6b766b4d726c794b6d48476f58594847526d677a586f694b646b4f62476d6471 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.102 p2p
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 5662435a4551635443666772505369685a586b566b4d4a546b74795a4b514178 esp
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 5662435a4551635443666772505369685a586b566b4d4a546b74795a4b514178 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.102 p2p
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 54544d7a754d58547a556d4259594772595563597469616d496174484b447952 esp
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 54544d7a754d58547a556d4259594772595563597469616d496174484b447952 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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘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.102/24.0
exec create ipip tunnel src 200.0.0.102 dst 100.0.0.1 p2p
exec ipsec sa add 100000 spi 200000 crypto-alg aes-gcm-256 crypto-key 45474776446a6c644b71446965557467474761576664687a4448644450676543 esp
exec ipsec sa add 0 spi 100000 crypto-alg aes-gcm-256 crypto-key 45474776446a6c644b71446965557467474761576664687a4448644450676543 esp
exec ipsec tunnel protect ipip0 sa-out 100000 sa-in 0 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.1.1 p2p
exec ipsec sa add 100001 spi 200001 crypto-alg aes-gcm-256 crypto-key 587866556442596d4650465a5148744c437a766a5250577345727a4c53715a6e esp
exec ipsec sa add 1 spi 100001 crypto-alg aes-gcm-256 crypto-key 587866556442596d4650465a5148744c437a766a5250577345727a4c53715a6e esp
exec ipsec tunnel protect ipip1 sa-out 100001 sa-in 1 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.2.1 p2p
exec ipsec sa add 100002 spi 200002 crypto-alg aes-gcm-256 crypto-key 4f6341744f547744584c505274534e626653514571626a5243476b5053667152 esp
exec ipsec sa add 2 spi 100002 crypto-alg aes-gcm-256 crypto-key 4f6341744f547744584c505274534e626653514571626a5243476b5053667152 esp
exec ipsec tunnel protect ipip2 sa-out 100002 sa-in 2 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.3.1 p2p
exec ipsec sa add 100003 spi 200003 crypto-alg aes-gcm-256 crypto-key 446c64674150576d596a4a5376744c5863655546567452626b414165655a6457 esp
exec ipsec sa add 3 spi 100003 crypto-alg aes-gcm-256 crypto-key 446c64674150576d596a4a5376744c5863655546567452626b414165655a6457 esp
exec ipsec tunnel protect ipip3 sa-out 100003 sa-in 3 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.4.1 p2p
exec ipsec sa add 100004 spi 200004 crypto-alg aes-gcm-256 crypto-key 4d7569446844535776745156786b68475172527261785a6b707177524b787866 esp
exec ipsec sa add 4 spi 100004 crypto-alg aes-gcm-256 crypto-key 4d7569446844535776745156786b68475172527261785a6b707177524b787866 esp
exec ipsec tunnel protect ipip4 sa-out 100004 sa-in 4 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.5.1 p2p
exec ipsec sa add 100005 spi 200005 crypto-alg aes-gcm-256 crypto-key 4f707163744244567a694e474362684c6974666f424d54437a55694a41685578 esp
exec ipsec sa add 5 spi 100005 crypto-alg aes-gcm-256 crypto-key 4f707163744244567a694e474362684c6974666f424d54437a55694a41685578 esp
exec ipsec tunnel protect ipip5 sa-out 100005 sa-in 5 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.6.1 p2p
exec ipsec sa add 100006 spi 200006 crypto-alg aes-gcm-256 crypto-key 444357776e62414b44786f69716b4c435574414f4b4241794f69434b63654469 esp
exec ipsec sa add 6 spi 100006 crypto-alg aes-gcm-256 crypto-key 444357776e62414b44786f69716b4c435574414f4b4241794f69434b63654469 esp
exec ipsec tunnel protect ipip6 sa-out 100006 sa-in 6 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.7.1 p2p
exec ipsec sa add 100007 spi 200007 crypto-alg aes-gcm-256 crypto-key 6a555751494a6b6a61516d525178796f4c6f6e5266504475795966414d567a57 esp
exec ipsec sa add 7 spi 100007 crypto-alg aes-gcm-256 crypto-key 6a555751494a6b6a61516d525178796f4c6f6e5266504475795966414d567a57 esp
exec ipsec tunnel protect ipip7 sa-out 100007 sa-in 7 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.8.1 p2p
exec ipsec sa add 100008 spi 200008 crypto-alg aes-gcm-256 crypto-key 506b4f4e6252724f7a4a5a686b684250647a4e5479624b42584b75646f4c5961 esp
exec ipsec sa add 8 spi 100008 crypto-alg aes-gcm-256 crypto-key 506b4f4e6252724f7a4a5a686b684250647a4e5479624b42584b75646f4c5961 esp
exec ipsec tunnel protect ipip8 sa-out 100008 sa-in 8 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.9.1 p2p
exec ipsec sa add 100009 spi 200009 crypto-alg aes-gcm-256 crypto-key 5a6b65736e4a594c5377534a584a4557557859655a666976726e716e536a456d esp
exec ipsec sa add 9 spi 100009 crypto-alg aes-gcm-256 crypto-key 5a6b65736e4a594c5377534a584a4557557859655a666976726e716e536a456d esp
exec ipsec tunnel protect ipip9 sa-out 100009 sa-in 9 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.10.1 p2p
exec ipsec sa add 100010 spi 200010 crypto-alg aes-gcm-256 crypto-key 50757a65486e4462524469735a794e594b6f4c52745051786d6e6662714f6c4c esp
exec ipsec sa add 10 spi 100010 crypto-alg aes-gcm-256 crypto-key 50757a65486e4462524469735a794e594b6f4c52745051786d6e6662714f6c4c esp
exec ipsec tunnel protect ipip10 sa-out 100010 sa-in 10 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.11.1 p2p
exec ipsec sa add 100011 spi 200011 crypto-alg aes-gcm-256 crypto-key 474e51786a685468676e61534672777945566c64764c4a784962566a58534c6b esp
exec ipsec sa add 11 spi 100011 crypto-alg aes-gcm-256 crypto-key 474e51786a685468676e61534672777945566c64764c4a784962566a58534c6b esp
exec ipsec tunnel protect ipip11 sa-out 100011 sa-in 11 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.12.1 p2p
exec ipsec sa add 100012 spi 200012 crypto-alg aes-gcm-256 crypto-key 7a675a6a7678494a4b4742634976466f704177506677734a4b50547566666a44 esp
exec ipsec sa add 12 spi 100012 crypto-alg aes-gcm-256 crypto-key 7a675a6a7678494a4b4742634976466f704177506677734a4b50547566666a44 esp
exec ipsec tunnel protect ipip12 sa-out 100012 sa-in 12 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.13.1 p2p
exec ipsec sa add 100013 spi 200013 crypto-alg aes-gcm-256 crypto-key 7a76465264724b746652737570414f7843744456746e6f794f706e6b4a767969 esp
exec ipsec sa add 13 spi 100013 crypto-alg aes-gcm-256 crypto-key 7a76465264724b746652737570414f7843744456746e6f794f706e6b4a767969 esp
exec ipsec tunnel protect ipip13 sa-out 100013 sa-in 13 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.14.1 p2p
exec ipsec sa add 100014 spi 200014 crypto-alg aes-gcm-256 crypto-key 5342505145674f435a7450765342494844696571676459617947505261787074 esp
exec ipsec sa add 14 spi 100014 crypto-alg aes-gcm-256 crypto-key 5342505145674f435a7450765342494844696571676459617947505261787074 esp
exec ipsec tunnel protect ipip14 sa-out 100014 sa-in 14 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.15.1 p2p
exec ipsec sa add 100015 spi 200015 crypto-alg aes-gcm-256 crypto-key 6c6568535268464261786544594878506a6d7357716456636b42524f46754562 esp
exec ipsec sa add 15 spi 100015 crypto-alg aes-gcm-256 crypto-key 6c6568535268464261786544594878506a6d7357716456636b42524f46754562 esp
exec ipsec tunnel protect ipip15 sa-out 100015 sa-in 15 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.16.1 p2p
exec ipsec sa add 100016 spi 200016 crypto-alg aes-gcm-256 crypto-key 6f796d6579734256555a696c795665516d497157666c6c67694154424a636d49 esp
exec ipsec sa add 16 spi 100016 crypto-alg aes-gcm-256 crypto-key 6f796d6579734256555a696c795665516d497157666c6c67694154424a636d49 esp
exec ipsec tunnel protect ipip16 sa-out 100016 sa-in 16 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.17.1 p2p
exec ipsec sa add 100017 spi 200017 crypto-alg aes-gcm-256 crypto-key 7a7446474d4352674f597348584c56564b774f4d625153656b41494d634c736c esp
exec ipsec sa add 17 spi 100017 crypto-alg aes-gcm-256 crypto-key 7a7446474d4352674f597348584c56564b774f4d625153656b41494d634c736c esp
exec ipsec tunnel protect ipip17 sa-out 100017 sa-in 17 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.18.1 p2p
exec ipsec sa add 100018 spi 200018 crypto-alg aes-gcm-256 crypto-key 576943506376554b67636371596e494574777941634278634f63796877546665 esp
exec ipsec sa add 18 spi 100018 crypto-alg aes-gcm-256 crypto-key 576943506376554b67636371596e494574777941634278634f63796877546665 esp
exec ipsec tunnel protect ipip18 sa-out 100018 sa-in 18 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.19.1 p2p
exec ipsec sa add 100019 spi 200019 crypto-alg aes-gcm-256 crypto-key 4a6c5472615544794f614c6b636f6565465066794d624565497849526158656e esp
exec ipsec sa add 19 spi 100019 crypto-alg aes-gcm-256 crypto-key 4a6c5472615544794f614c6b636f6565465066794d624565497849526158656e esp
exec ipsec tunnel protect ipip19 sa-out 100019 sa-in 19 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.20.1 p2p
exec ipsec sa add 100020 spi 200020 crypto-alg aes-gcm-256 crypto-key 734e58635279764d6f4c76507446795353775977755454647462716e73685178 esp
exec ipsec sa add 20 spi 100020 crypto-alg aes-gcm-256 crypto-key 734e58635279764d6f4c76507446795353775977755454647462716e73685178 esp
exec ipsec tunnel protect ipip20 sa-out 100020 sa-in 20 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.21.1 p2p
exec ipsec sa add 100021 spi 200021 crypto-alg aes-gcm-256 crypto-key 42434e477a61644d425576634a764a4f747550766e7a7656537374584d737a4d esp
exec ipsec sa add 21 spi 100021 crypto-alg aes-gcm-256 crypto-key 42434e477a61644d425576634a764a4f747550766e7a7656537374584d737a4d esp
exec ipsec tunnel protect ipip21 sa-out 100021 sa-in 21 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.22.1 p2p
exec ipsec sa add 100022 spi 200022 crypto-alg aes-gcm-256 crypto-key 4867526162745478507946424d7261726b6b6971514e6f6c5452525554537458 esp
exec ipsec sa add 22 spi 100022 crypto-alg aes-gcm-256 crypto-key 4867526162745478507946424d7261726b6b6971514e6f6c5452525554537458 esp
exec ipsec tunnel protect ipip22 sa-out 100022 sa-in 22 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.23.1 p2p
exec ipsec sa add 100023 spi 200023 crypto-alg aes-gcm-256 crypto-key 6b776f42765546434d6b6f496f586a474e724957437a706243586a6c73784257 esp
exec ipsec sa add 23 spi 100023 crypto-alg aes-gcm-256 crypto-key 6b776f42765546434d6b6f496f586a474e724957437a706243586a6c73784257 esp
exec ipsec tunnel protect ipip23 sa-out 100023 sa-in 23 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.24.1 p2p
exec ipsec sa add 100024 spi 200024 crypto-alg aes-gcm-256 crypto-key 41756457706e526f61686978786e4c6d616d6a534d5945674d79624d4b794c50 esp
exec ipsec sa add 24 spi 100024 crypto-alg aes-gcm-256 crypto-key 41756457706e526f61686978786e4c6d616d6a534d5945674d79624d4b794c50 esp
exec ipsec tunnel protect ipip24 sa-out 100024 sa-in 24 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.25.1 p2p
exec ipsec sa add 100025 spi 200025 crypto-alg aes-gcm-256 crypto-key 73614e4f71666b6c776949754b7a5758637a704f7741424c626278446a414478 esp
exec ipsec sa add 25 spi 100025 crypto-alg aes-gcm-256 crypto-key 73614e4f71666b6c776949754b7a5758637a704f7741424c626278446a414478 esp
exec ipsec tunnel protect ipip25 sa-out 100025 sa-in 25 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.26.1 p2p
exec ipsec sa add 100026 spi 200026 crypto-alg aes-gcm-256 crypto-key 544b777256687656434670636a50794641626f6d447551786270534359444777 esp
exec ipsec sa add 26 spi 100026 crypto-alg aes-gcm-256 crypto-key 544b777256687656434670636a50794641626f6d447551786270534359444777 esp
exec ipsec tunnel protect ipip26 sa-out 100026 sa-in 26 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.27.1 p2p
exec ipsec sa add 100027 spi 200027 crypto-alg aes-gcm-256 crypto-key 6167496f455a656c57504f56784d4b766d6f6f42776f6b4c61455a4b72576b65 esp
exec ipsec sa add 27 spi 100027 crypto-alg aes-gcm-256 crypto-key 6167496f455a656c57504f56784d4b766d6f6f42776f6b4c61455a4b72576b65 esp
exec ipsec tunnel protect ipip27 sa-out 100027 sa-in 27 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.28.1 p2p
exec ipsec sa add 100028 spi 200028 crypto-alg aes-gcm-256 crypto-key 704a5664637541666e7347496b4b475a72594c4770637962566f51454871445a esp
exec ipsec sa add 28 spi 100028 crypto-alg aes-gcm-256 crypto-key 704a5664637541666e7347496b4b475a72594c4770637962566f51454871445a esp
exec ipsec tunnel protect ipip28 sa-out 100028 sa-in 28 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.29.1 p2p
exec ipsec sa add 100029 spi 200029 crypto-alg aes-gcm-256 crypto-key 48464d7a676d67764465637261594862754255696e446f6f59465a7a42756867 esp
exec ipsec sa add 29 spi 100029 crypto-alg aes-gcm-256 crypto-key 48464d7a676d67764465637261594862754255696e446f6f59465a7a42756867 esp
exec ipsec tunnel protect ipip29 sa-out 100029 sa-in 29 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.30.1 p2p
exec ipsec sa add 100030 spi 200030 crypto-alg aes-gcm-256 crypto-key 58756d6b694c7a5655466856624d676f6541634e61457547694877636f69506c esp
exec ipsec sa add 30 spi 100030 crypto-alg aes-gcm-256 crypto-key 58756d6b694c7a5655466856624d676f6541634e61457547694877636f69506c esp
exec ipsec tunnel protect ipip30 sa-out 100030 sa-in 30 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.31.1 p2p
exec ipsec sa add 100031 spi 200031 crypto-alg aes-gcm-256 crypto-key 4958596e755641466e6756466a547a65646c4f7367644d6444714b434f5a5276 esp
exec ipsec sa add 31 spi 100031 crypto-alg aes-gcm-256 crypto-key 4958596e755641466e6756466a547a65646c4f7367644d6444714b434f5a5276 esp
exec ipsec tunnel protect ipip31 sa-out 100031 sa-in 31 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.32.1 p2p
exec ipsec sa add 100032 spi 200032 crypto-alg aes-gcm-256 crypto-key 46535a504e4f464b5369644f51777667484e66506e6d72794b7656735457536e esp
exec ipsec sa add 32 spi 100032 crypto-alg aes-gcm-256 crypto-key 46535a504e4f464b5369644f51777667484e66506e6d72794b7656735457536e esp
exec ipsec tunnel protect ipip32 sa-out 100032 sa-in 32 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.33.1 p2p
exec ipsec sa add 100033 spi 200033 crypto-alg aes-gcm-256 crypto-key 5067426947757a76716d7a7a776745665167657169564e48797a7a6c4a446c6c esp
exec ipsec sa add 33 spi 100033 crypto-alg aes-gcm-256 crypto-key 5067426947757a76716d7a7a776745665167657169564e48797a7a6c4a446c6c esp
exec ipsec tunnel protect ipip33 sa-out 100033 sa-in 33 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.34.1 p2p
exec ipsec sa add 100034 spi 200034 crypto-alg aes-gcm-256 crypto-key 686b514e676b59766771517346495172725a51454c624c4678506a514d697562 esp
exec ipsec sa add 34 spi 100034 crypto-alg aes-gcm-256 crypto-key 686b514e676b59766771517346495172725a51454c624c4678506a514d697562 esp
exec ipsec tunnel protect ipip34 sa-out 100034 sa-in 34 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.35.1 p2p
exec ipsec sa add 100035 spi 200035 crypto-alg aes-gcm-256 crypto-key 5a644677696f725941726c5a4d44617851646963486e477547654d4658715745 esp
exec ipsec sa add 35 spi 100035 crypto-alg aes-gcm-256 crypto-key 5a644677696f725941726c5a4d44617851646963486e477547654d4658715745 esp
exec ipsec tunnel protect ipip35 sa-out 100035 sa-in 35 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.36.1 p2p
exec ipsec sa add 100036 spi 200036 crypto-alg aes-gcm-256 crypto-key 6c5263594551554d787547726558684c554d79534b6561514a67766958536c50 esp
exec ipsec sa add 36 spi 100036 crypto-alg aes-gcm-256 crypto-key 6c5263594551554d787547726558684c554d79534b6561514a67766958536c50 esp
exec ipsec tunnel protect ipip36 sa-out 100036 sa-in 36 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.37.1 p2p
exec ipsec sa add 100037 spi 200037 crypto-alg aes-gcm-256 crypto-key 6b766b4d726c794b6d48476f58594847526d677a586f694b646b4f62476d6471 esp
exec ipsec sa add 37 spi 100037 crypto-alg aes-gcm-256 crypto-key 6b766b4d726c794b6d48476f58594847526d677a586f694b646b4f62476d6471 esp
exec ipsec tunnel protect ipip37 sa-out 100037 sa-in 37 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.38.1 p2p
exec ipsec sa add 100038 spi 200038 crypto-alg aes-gcm-256 crypto-key 5662435a4551635443666772505369685a586b566b4d4a546b74795a4b514178 esp
exec ipsec sa add 38 spi 100038 crypto-alg aes-gcm-256 crypto-key 5662435a4551635443666772505369685a586b566b4d4a546b74795a4b514178 esp
exec ipsec tunnel protect ipip38 sa-out 100038 sa-in 38 add
exec create ipip tunnel src 200.0.0.102 dst 100.0.39.1 p2p
exec ipsec sa add 100039 spi 200039 crypto-alg aes-gcm-256 crypto-key 54544d7a754d58547a556d4259594772595563597469616d496174484b447952 esp
exec ipsec sa add 39 spi 100039 crypto-alg aes-gcm-256 crypto-key 54544d7a754d58547a556d4259594772595563597469616d496174484b447952 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.101 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) 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’WIDqpVFczgwZcsWo’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’dRiQZsSEdlBxeWyQAIGAppvJObpoNUjSAXPataJFMjTUSHKmEZGeJOaALlfURqJy’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’WIDqpVFczgwZcsWo’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’dRiQZsSEdlBxeWyQAIGAppvJObpoNUjSAXPataJFMjTUSHKmEZGeJOaALlfURqJy’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’AUCLFabbFjvFLkLA’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’xrYuPsWEzIXKhHnqeuEGlTYaXvguORyAAHEFhaNcoKCBFGjiNegDYdeSDKeKpGja’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’AUCLFabbFjvFLkLA’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’xrYuPsWEzIXKhHnqeuEGlTYaXvguORyAAHEFhaNcoKCBFGjiNegDYdeSDKeKpGja’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’MSOFxFSeKnaATDqQ’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ZhxPleZMPXXPmnnyZyEMpTxmNCusBfRwjUWJfHnEFWRaikMMGTVdWcHWqxprOSpO’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’MSOFxFSeKnaATDqQ’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ZhxPleZMPXXPmnnyZyEMpTxmNCusBfRwjUWJfHnEFWRaikMMGTVdWcHWqxprOSpO’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’kGGUdqOOaRcTXaga’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’yJghheBYesGUTAgSobWtPWZxLVlaEWfdDfzEzRSMUsislZuujfHzERPlBlUVrYAC’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’kGGUdqOOaRcTXaga’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’yJghheBYesGUTAgSobWtPWZxLVlaEWfdDfzEzRSMUsislZuujfHzERPlBlUVrYAC’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’WIDqpVFczgwZcsWo’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’dRiQZsSEdlBxeWyQAIGAppvJObpoNUjSAXPataJFMjTUSHKmEZGeJOaALlfURqJy’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’WIDqpVFczgwZcsWo’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’dRiQZsSEdlBxeWyQAIGAppvJObpoNUjSAXPataJFMjTUSHKmEZGeJOaALlfURqJy’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’AUCLFabbFjvFLkLA’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’xrYuPsWEzIXKhHnqeuEGlTYaXvguORyAAHEFhaNcoKCBFGjiNegDYdeSDKeKpGja’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’AUCLFabbFjvFLkLA’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’xrYuPsWEzIXKhHnqeuEGlTYaXvguORyAAHEFhaNcoKCBFGjiNegDYdeSDKeKpGja’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’MSOFxFSeKnaATDqQ’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ZhxPleZMPXXPmnnyZyEMpTxmNCusBfRwjUWJfHnEFWRaikMMGTVdWcHWqxprOSpO’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’MSOFxFSeKnaATDqQ’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ZhxPleZMPXXPmnnyZyEMpTxmNCusBfRwjUWJfHnEFWRaikMMGTVdWcHWqxprOSpO’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’kGGUdqOOaRcTXaga’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’yJghheBYesGUTAgSobWtPWZxLVlaEWfdDfzEzRSMUsislZuujfHzERPlBlUVrYAC’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’kGGUdqOOaRcTXaga’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’yJghheBYesGUTAgSobWtPWZxLVlaEWfdDfzEzRSMUsislZuujfHzERPlBlUVrYAC’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’iiLxttoZdWnmZBlD’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’XdAosbYYXjMoCEeNapbbIPkFWTNglwGtKMkxcQZuUByOJGOcdGpTcLUaWMEHaefe’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’iiLxttoZdWnmZBlD’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’XdAosbYYXjMoCEeNapbbIPkFWTNglwGtKMkxcQZuUByOJGOcdGpTcLUaWMEHaefe’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fgwbYzhiJKYmfOqs’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’zYzEDqhmrnHUqhHwGmTUDInLnBIfagZJrEHXDxdhWEFupflBNMLkJzjweoopabNe’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fgwbYzhiJKYmfOqs’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’zYzEDqhmrnHUqhHwGmTUDInLnBIfagZJrEHXDxdhWEFupflBNMLkJzjweoopabNe’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’MHXgVPdCkUAOmhTe’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’EBxguFgjhcnNwaeIKCSIZcnUmXQeCVDJdtOBzhHWIeVrVXEWcHiHuXEpGUdhazRx’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’MHXgVPdCkUAOmhTe’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’EBxguFgjhcnNwaeIKCSIZcnUmXQeCVDJdtOBzhHWIeVrVXEWcHiHuXEpGUdhazRx’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KuTimIGhZLSCLNhi’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’bgPqjdWSsLjRFTYtDVUfEpvvWzFtGTemiuJlIBKLKHNTOpkHrWfsbrVSlrJsMdcJ’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KuTimIGhZLSCLNhi’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’bgPqjdWSsLjRFTYtDVUfEpvvWzFtGTemiuJlIBKLKHNTOpkHrWfsbrVSlrJsMdcJ’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’iiLxttoZdWnmZBlD’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’XdAosbYYXjMoCEeNapbbIPkFWTNglwGtKMkxcQZuUByOJGOcdGpTcLUaWMEHaefe’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’iiLxttoZdWnmZBlD’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’XdAosbYYXjMoCEeNapbbIPkFWTNglwGtKMkxcQZuUByOJGOcdGpTcLUaWMEHaefe’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fgwbYzhiJKYmfOqs’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’zYzEDqhmrnHUqhHwGmTUDInLnBIfagZJrEHXDxdhWEFupflBNMLkJzjweoopabNe’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fgwbYzhiJKYmfOqs’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’zYzEDqhmrnHUqhHwGmTUDInLnBIfagZJrEHXDxdhWEFupflBNMLkJzjweoopabNe’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’MHXgVPdCkUAOmhTe’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’EBxguFgjhcnNwaeIKCSIZcnUmXQeCVDJdtOBzhHWIeVrVXEWcHiHuXEpGUdhazRx’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’MHXgVPdCkUAOmhTe’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’EBxguFgjhcnNwaeIKCSIZcnUmXQeCVDJdtOBzhHWIeVrVXEWcHiHuXEpGUdhazRx’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KuTimIGhZLSCLNhi’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’bgPqjdWSsLjRFTYtDVUfEpvvWzFtGTemiuJlIBKLKHNTOpkHrWfsbrVSlrJsMdcJ’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KuTimIGhZLSCLNhi’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’bgPqjdWSsLjRFTYtDVUfEpvvWzFtGTemiuJlIBKLKHNTOpkHrWfsbrVSlrJsMdcJ’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’WqpdEUDMoRdzNdlR’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ERFXdIbqpnFNSNzjjJnDYFGjLyxHkIHzHEXbFauKlcBVqOFcbRIUzbKphlHvvQyS’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’WqpdEUDMoRdzNdlR’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ERFXdIbqpnFNSNzjjJnDYFGjLyxHkIHzHEXbFauKlcBVqOFcbRIUzbKphlHvvQyS’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’hikqpbLNiSJgrYhR’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’WEMVxgVWcmZMZXdedggyzylGhOulZLBRTKaNYdtVfataPjyetAkmvWOuVAADufBw’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’hikqpbLNiSJgrYhR’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’WEMVxgVWcmZMZXdedggyzylGhOulZLBRTKaNYdtVfataPjyetAkmvWOuVAADufBw’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’yeBxkkmfVVEjTOmg’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’qxTuerSzBJPPNgEgbgoBzDxOfaUIyNUYTfqSIBzyErIuYkGoIaCTJmKBaoKFEHwN’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’yeBxkkmfVVEjTOmg’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’qxTuerSzBJPPNgEgbgoBzDxOfaUIyNUYTfqSIBzyErIuYkGoIaCTJmKBaoKFEHwN’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’JfjuzJiXLSiTuxof’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’EZHqDhoHQXluGZkzykbhODrPkYyiYrOMVRMJNevJWiYEgLFlLMcEoXoGTUFNYUaz’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’JfjuzJiXLSiTuxof’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’EZHqDhoHQXluGZkzykbhODrPkYyiYrOMVRMJNevJWiYEgLFlLMcEoXoGTUFNYUaz’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’WqpdEUDMoRdzNdlR’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ERFXdIbqpnFNSNzjjJnDYFGjLyxHkIHzHEXbFauKlcBVqOFcbRIUzbKphlHvvQyS’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’WqpdEUDMoRdzNdlR’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ERFXdIbqpnFNSNzjjJnDYFGjLyxHkIHzHEXbFauKlcBVqOFcbRIUzbKphlHvvQyS’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’hikqpbLNiSJgrYhR’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’WEMVxgVWcmZMZXdedggyzylGhOulZLBRTKaNYdtVfataPjyetAkmvWOuVAADufBw’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’hikqpbLNiSJgrYhR’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’WEMVxgVWcmZMZXdedggyzylGhOulZLBRTKaNYdtVfataPjyetAkmvWOuVAADufBw’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’yeBxkkmfVVEjTOmg’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’qxTuerSzBJPPNgEgbgoBzDxOfaUIyNUYTfqSIBzyErIuYkGoIaCTJmKBaoKFEHwN’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’yeBxkkmfVVEjTOmg’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’qxTuerSzBJPPNgEgbgoBzDxOfaUIyNUYTfqSIBzyErIuYkGoIaCTJmKBaoKFEHwN’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’JfjuzJiXLSiTuxof’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’EZHqDhoHQXluGZkzykbhODrPkYyiYrOMVRMJNevJWiYEgLFlLMcEoXoGTUFNYUaz’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’JfjuzJiXLSiTuxof’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’EZHqDhoHQXluGZkzykbhODrPkYyiYrOMVRMJNevJWiYEgLFlLMcEoXoGTUFNYUaz’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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) 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’EJyvjPZrbupuRjsl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’EJyvjPZrbupuRjsl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KEomJWRvNdKppoAk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KEomJWRvNdKppoAk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ZfCzElzreuySjWyD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ZfCzElzreuySjWyD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’PLyUCXGiyDEFgbrU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’PLyUCXGiyDEFgbrU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’EJyvjPZrbupuRjsl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’EJyvjPZrbupuRjsl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KEomJWRvNdKppoAk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KEomJWRvNdKppoAk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ZfCzElzreuySjWyD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ZfCzElzreuySjWyD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’PLyUCXGiyDEFgbrU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’PLyUCXGiyDEFgbrU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’jlKNVxmLbWByMEsf’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’jlKNVxmLbWByMEsf’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’zzyoAykAPKeErDAn’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’zzyoAykAPKeErDAn’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KSWjyheUmfSHAGXx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KSWjyheUmfSHAGXx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’IupZKQuUnzVCrXYD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’IupZKQuUnzVCrXYD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’jlKNVxmLbWByMEsf’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’jlKNVxmLbWByMEsf’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’zzyoAykAPKeErDAn’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’zzyoAykAPKeErDAn’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KSWjyheUmfSHAGXx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KSWjyheUmfSHAGXx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’IupZKQuUnzVCrXYD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’IupZKQuUnzVCrXYD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’QinMjUYGNpbCzbdt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’QinMjUYGNpbCzbdt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’zWjkMCNkKAaRyFYd’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’zWjkMCNkKAaRyFYd’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’YHktSqFfiALFbgxz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’YHktSqFfiALFbgxz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XHwzOvEYGQjsyKmS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XHwzOvEYGQjsyKmS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’QinMjUYGNpbCzbdt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’QinMjUYGNpbCzbdt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’zWjkMCNkKAaRyFYd’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’zWjkMCNkKAaRyFYd’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’YHktSqFfiALFbgxz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’YHktSqFfiALFbgxz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XHwzOvEYGQjsyKmS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XHwzOvEYGQjsyKmS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xLdKMaFkjAAGVgJy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’xLdKMaFkjAAGVgJy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’yuSvtKYjAtWIBOYR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’yuSvtKYjAtWIBOYR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’GRDHTeswlWbXDWwr’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’GRDHTeswlWbXDWwr’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’gvGXlxrnsSRnrtOx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’gvGXlxrnsSRnrtOx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xLdKMaFkjAAGVgJy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’xLdKMaFkjAAGVgJy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’yuSvtKYjAtWIBOYR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’yuSvtKYjAtWIBOYR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’GRDHTeswlWbXDWwr’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’GRDHTeswlWbXDWwr’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’gvGXlxrnsSRnrtOx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’gvGXlxrnsSRnrtOx’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’lRRtOGYXmBmEwmsz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’lRRtOGYXmBmEwmsz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’HPIIVjMVJwFRrJaZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’HPIIVjMVJwFRrJaZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’uIYWpmCFkiKpJLsS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’uIYWpmCFkiKpJLsS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’EsqqlICejvzyqCOQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’EsqqlICejvzyqCOQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’lRRtOGYXmBmEwmsz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’lRRtOGYXmBmEwmsz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’HPIIVjMVJwFRrJaZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’HPIIVjMVJwFRrJaZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’uIYWpmCFkiKpJLsS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’uIYWpmCFkiKpJLsS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’EsqqlICejvzyqCOQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’EsqqlICejvzyqCOQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’TCTOzxecbziHVnZU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’TCTOzxecbziHVnZU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’cnIZhDiZpYZCPTtV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’cnIZhDiZpYZCPTtV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’GPicKDCWmTuPYEZN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’GPicKDCWmTuPYEZN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’tSaUdxZoByheADpa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’tSaUdxZoByheADpa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’TCTOzxecbziHVnZU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’TCTOzxecbziHVnZU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’cnIZhDiZpYZCPTtV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’cnIZhDiZpYZCPTtV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’GPicKDCWmTuPYEZN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’GPicKDCWmTuPYEZN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’tSaUdxZoByheADpa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’tSaUdxZoByheADpa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’LVsPsrQqbVILCfnp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’LVsPsrQqbVILCfnp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’YXBBgAYBwwmkneIn’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’YXBBgAYBwwmkneIn’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ihJPjOpYgjjxABqf’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ihJPjOpYgjjxABqf’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’IjjPUWsiCJnLaWyC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’IjjPUWsiCJnLaWyC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’LVsPsrQqbVILCfnp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’LVsPsrQqbVILCfnp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’YXBBgAYBwwmkneIn’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’YXBBgAYBwwmkneIn’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ihJPjOpYgjjxABqf’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ihJPjOpYgjjxABqf’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’IjjPUWsiCJnLaWyC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’IjjPUWsiCJnLaWyC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’BTIcyVxhLffdjLes’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’BTIcyVxhLffdjLes’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’dHRlMKWwhEfTutXp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’dHRlMKWwhEfTutXp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ZxwMheolDnPvRDLa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ZxwMheolDnPvRDLa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ODlcIzzXSbssIwRy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ODlcIzzXSbssIwRy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’BTIcyVxhLffdjLes’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’BTIcyVxhLffdjLes’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’dHRlMKWwhEfTutXp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’dHRlMKWwhEfTutXp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ZxwMheolDnPvRDLa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ZxwMheolDnPvRDLa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ODlcIzzXSbssIwRy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ODlcIzzXSbssIwRy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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) 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’pWfEplCkFPohNTdXOGiPLTlZFyxKXXXw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’pWfEplCkFPohNTdXOGiPLTlZFyxKXXXw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ozsrSQGFGMSVfLdTWbkYxDkfWIVFCInP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ozsrSQGFGMSVfLdTWbkYxDkfWIVFCInP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ratYPKyFWLtCUPNUVGDUJPJpFeYFLGvj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ratYPKyFWLtCUPNUVGDUJPJpFeYFLGvj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’UkLqIQduMOlOdodbWVYDiCSzqiZcIKfT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’UkLqIQduMOlOdodbWVYDiCSzqiZcIKfT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’pWfEplCkFPohNTdXOGiPLTlZFyxKXXXw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’pWfEplCkFPohNTdXOGiPLTlZFyxKXXXw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ozsrSQGFGMSVfLdTWbkYxDkfWIVFCInP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ozsrSQGFGMSVfLdTWbkYxDkfWIVFCInP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ratYPKyFWLtCUPNUVGDUJPJpFeYFLGvj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ratYPKyFWLtCUPNUVGDUJPJpFeYFLGvj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’UkLqIQduMOlOdodbWVYDiCSzqiZcIKfT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’UkLqIQduMOlOdodbWVYDiCSzqiZcIKfT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’karNLrKvclEurgVFHgBMQfOiAEsKfXTa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’karNLrKvclEurgVFHgBMQfOiAEsKfXTa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’kZfiGiXyKBcjrEPKXpNBZKtAOSQotFDD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’kZfiGiXyKBcjrEPKXpNBZKtAOSQotFDD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’YVgHzunSeHjBgGGLdxQDbmeFEaFCYsKL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’YVgHzunSeHjBgGGLdxQDbmeFEaFCYsKL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’CwclQjsEWMggKbLDSOmQykQxtkAHWlws’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’CwclQjsEWMggKbLDSOmQykQxtkAHWlws’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’karNLrKvclEurgVFHgBMQfOiAEsKfXTa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’karNLrKvclEurgVFHgBMQfOiAEsKfXTa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’kZfiGiXyKBcjrEPKXpNBZKtAOSQotFDD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’kZfiGiXyKBcjrEPKXpNBZKtAOSQotFDD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’YVgHzunSeHjBgGGLdxQDbmeFEaFCYsKL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’YVgHzunSeHjBgGGLdxQDbmeFEaFCYsKL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’CwclQjsEWMggKbLDSOmQykQxtkAHWlws’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’CwclQjsEWMggKbLDSOmQykQxtkAHWlws’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’ldhXYsEQJqQZrRWwIsbjPmJXuAZRlNNW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ldhXYsEQJqQZrRWwIsbjPmJXuAZRlNNW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’IzQVATTplhaWQRxMPJgXZJkITWjmEYvE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’IzQVATTplhaWQRxMPJgXZJkITWjmEYvE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’eirEfYCraBPhswetltuihyOLYOrhMEEq’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’eirEfYCraBPhswetltuihyOLYOrhMEEq’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’reZvWcBYhjlpqGuTXWhcliNFPjTUUlVg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’reZvWcBYhjlpqGuTXWhcliNFPjTUUlVg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’ldhXYsEQJqQZrRWwIsbjPmJXuAZRlNNW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ldhXYsEQJqQZrRWwIsbjPmJXuAZRlNNW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’IzQVATTplhaWQRxMPJgXZJkITWjmEYvE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’IzQVATTplhaWQRxMPJgXZJkITWjmEYvE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’eirEfYCraBPhswetltuihyOLYOrhMEEq’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’eirEfYCraBPhswetltuihyOLYOrhMEEq’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’reZvWcBYhjlpqGuTXWhcliNFPjTUUlVg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’reZvWcBYhjlpqGuTXWhcliNFPjTUUlVg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’NzDOkPUyHhSpNaMvfXJbeGXcXHTADufA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’NzDOkPUyHhSpNaMvfXJbeGXcXHTADufA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’LmdqgNhzcgPWeTqYVJkwZgocQXjKBuTU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’LmdqgNhzcgPWeTqYVJkwZgocQXjKBuTU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’UMzfKcADwcdZEhqiaiuODpLSFTCoUInw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’UMzfKcADwcdZEhqiaiuODpLSFTCoUInw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’pfwmPWAuyazgEizVknyqiLxLejDNDiPm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’pfwmPWAuyazgEizVknyqiLxLejDNDiPm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’NzDOkPUyHhSpNaMvfXJbeGXcXHTADufA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’NzDOkPUyHhSpNaMvfXJbeGXcXHTADufA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’LmdqgNhzcgPWeTqYVJkwZgocQXjKBuTU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’LmdqgNhzcgPWeTqYVJkwZgocQXjKBuTU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’UMzfKcADwcdZEhqiaiuODpLSFTCoUInw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’UMzfKcADwcdZEhqiaiuODpLSFTCoUInw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’pfwmPWAuyazgEizVknyqiLxLejDNDiPm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’pfwmPWAuyazgEizVknyqiLxLejDNDiPm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’QUprqkIjbPJruuXAPWRdQmtutGUArPRp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’QUprqkIjbPJruuXAPWRdQmtutGUArPRp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’OcqWHHNpkywNdvFrQOZqkQOttFOQzgxv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’OcqWHHNpkywNdvFrQOZqkQOttFOQzgxv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’uYDPhkEdkqiDlopBpttpwvOyZlBOKoMz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’uYDPhkEdkqiDlopBpttpwvOyZlBOKoMz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’RoMmVhQoAZpVWYCYJiltYOXjEEZwHMnn’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’RoMmVhQoAZpVWYCYJiltYOXjEEZwHMnn’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’QUprqkIjbPJruuXAPWRdQmtutGUArPRp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’QUprqkIjbPJruuXAPWRdQmtutGUArPRp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’OcqWHHNpkywNdvFrQOZqkQOttFOQzgxv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’OcqWHHNpkywNdvFrQOZqkQOttFOQzgxv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’uYDPhkEdkqiDlopBpttpwvOyZlBOKoMz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’uYDPhkEdkqiDlopBpttpwvOyZlBOKoMz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’RoMmVhQoAZpVWYCYJiltYOXjEEZwHMnn’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’RoMmVhQoAZpVWYCYJiltYOXjEEZwHMnn’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’GOuqDAJcEVtFGUjvOvZsHvJADDZhqgtn’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’GOuqDAJcEVtFGUjvOvZsHvJADDZhqgtn’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’AFqNdotdMNypzdkPLZNZKnisZmqkHkfW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’AFqNdotdMNypzdkPLZNZKnisZmqkHkfW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’zGThguWVwEYhNBMOuvuwSWrTNteimrtL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’zGThguWVwEYhNBMOuvuwSWrTNteimrtL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’mKvxoOkWkkcwHlpEQdZzrKXndidqrzzH’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’mKvxoOkWkkcwHlpEQdZzrKXndidqrzzH’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’GOuqDAJcEVtFGUjvOvZsHvJADDZhqgtn’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’GOuqDAJcEVtFGUjvOvZsHvJADDZhqgtn’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’AFqNdotdMNypzdkPLZNZKnisZmqkHkfW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’AFqNdotdMNypzdkPLZNZKnisZmqkHkfW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’zGThguWVwEYhNBMOuvuwSWrTNteimrtL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’zGThguWVwEYhNBMOuvuwSWrTNteimrtL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’mKvxoOkWkkcwHlpEQdZzrKXndidqrzzH’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’mKvxoOkWkkcwHlpEQdZzrKXndidqrzzH’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’apmnatdyDoUuCYYijStPLszELtUKZCrN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’apmnatdyDoUuCYYijStPLszELtUKZCrN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’SeAGRdYCEuiqZDChxnQEzemUwmnJjtYa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’SeAGRdYCEuiqZDChxnQEzemUwmnJjtYa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’sDcxeALOxsnUfdeZFcfhoLWrptESDvDe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’sDcxeALOxsnUfdeZFcfhoLWrptESDvDe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’PUlPGufSEytfKjYdpcEWsTrJpLOgvHfv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’PUlPGufSEytfKjYdpcEWsTrJpLOgvHfv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’apmnatdyDoUuCYYijStPLszELtUKZCrN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’apmnatdyDoUuCYYijStPLszELtUKZCrN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’SeAGRdYCEuiqZDChxnQEzemUwmnJjtYa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’SeAGRdYCEuiqZDChxnQEzemUwmnJjtYa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’sDcxeALOxsnUfdeZFcfhoLWrptESDvDe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’sDcxeALOxsnUfdeZFcfhoLWrptESDvDe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’PUlPGufSEytfKjYdpcEWsTrJpLOgvHfv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’PUlPGufSEytfKjYdpcEWsTrJpLOgvHfv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’ZrmREnwZbbOhyBzQLvztDkEEIzgVOmXz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ZrmREnwZbbOhyBzQLvztDkEEIzgVOmXz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’vOtMhoGhGglWMvEbtlQCjwsftdbVgvhv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’vOtMhoGhGglWMvEbtlQCjwsftdbVgvhv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’zbKIglbcSImkeafsrgjFrSRjnswijUMm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’zbKIglbcSImkeafsrgjFrSRjnswijUMm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’QpXqvdBqNZuTeUjuiUqwkFOksOGdBygY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’QpXqvdBqNZuTeUjuiUqwkFOksOGdBygY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’ZrmREnwZbbOhyBzQLvztDkEEIzgVOmXz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ZrmREnwZbbOhyBzQLvztDkEEIzgVOmXz’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’vOtMhoGhGglWMvEbtlQCjwsftdbVgvhv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’vOtMhoGhGglWMvEbtlQCjwsftdbVgvhv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’zbKIglbcSImkeafsrgjFrSRjnswijUMm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’zbKIglbcSImkeafsrgjFrSRjnswijUMm’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’QpXqvdBqNZuTeUjuiUqwkFOksOGdBygY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’QpXqvdBqNZuTeUjuiUqwkFOksOGdBygY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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) 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-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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’JlNSBNpQzgXPgMQC’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’BWKZzlgiSdjgXCvPQWZoARGoGGduvhXioVRKPZwgGXSjoApHTBfegnpGgnExPKFF’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’JlNSBNpQzgXPgMQC’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’BWKZzlgiSdjgXCvPQWZoARGoGGduvhXioVRKPZwgGXSjoApHTBfegnpGgnExPKFF’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XOfScXEUnIBJxEFl’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’QbkXsNyoYBmzNvRwRtdjredCUGPbLyBQKocFzvlostZuVTUzCNJdejFwRfERkKWp’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XOfScXEUnIBJxEFl’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’QbkXsNyoYBmzNvRwRtdjredCUGPbLyBQKocFzvlostZuVTUzCNJdejFwRfERkKWp’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ONXVMUaAcokTNueh’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’hemhVHfTLSYxrBnGmiGOKuzLWeGhfWKPqeJbcuiHvklAwEuHWAHJfupXbAlQzfmz’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ONXVMUaAcokTNueh’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’hemhVHfTLSYxrBnGmiGOKuzLWeGhfWKPqeJbcuiHvklAwEuHWAHJfupXbAlQzfmz’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’wlynacxoXmzhnMAV’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’InXZBERguvLiksXhvstpVQqNPQuZdXHDOAtFKtxSasphrXwpUzHXTSioXANWttkr’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’wlynacxoXmzhnMAV’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’InXZBERguvLiksXhvstpVQqNPQuZdXHDOAtFKtxSasphrXwpUzHXTSioXANWttkr’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’JlNSBNpQzgXPgMQC’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’BWKZzlgiSdjgXCvPQWZoARGoGGduvhXioVRKPZwgGXSjoApHTBfegnpGgnExPKFF’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’JlNSBNpQzgXPgMQC’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’BWKZzlgiSdjgXCvPQWZoARGoGGduvhXioVRKPZwgGXSjoApHTBfegnpGgnExPKFF’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XOfScXEUnIBJxEFl’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’QbkXsNyoYBmzNvRwRtdjredCUGPbLyBQKocFzvlostZuVTUzCNJdejFwRfERkKWp’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XOfScXEUnIBJxEFl’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’QbkXsNyoYBmzNvRwRtdjredCUGPbLyBQKocFzvlostZuVTUzCNJdejFwRfERkKWp’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ONXVMUaAcokTNueh’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’hemhVHfTLSYxrBnGmiGOKuzLWeGhfWKPqeJbcuiHvklAwEuHWAHJfupXbAlQzfmz’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ONXVMUaAcokTNueh’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’hemhVHfTLSYxrBnGmiGOKuzLWeGhfWKPqeJbcuiHvklAwEuHWAHJfupXbAlQzfmz’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’wlynacxoXmzhnMAV’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’InXZBERguvLiksXhvstpVQqNPQuZdXHDOAtFKtxSasphrXwpUzHXTSioXANWttkr’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’wlynacxoXmzhnMAV’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’InXZBERguvLiksXhvstpVQqNPQuZdXHDOAtFKtxSasphrXwpUzHXTSioXANWttkr’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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-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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’zuMGDoeJgKBjTGux’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’AiNHdEIwodvbtJjfHksHBaAAkbIagrGCeyQxWdiCjJDzAdtmAGWIiZNFfzrBkZij’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’zuMGDoeJgKBjTGux’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’AiNHdEIwodvbtJjfHksHBaAAkbIagrGCeyQxWdiCjJDzAdtmAGWIiZNFfzrBkZij’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ReJhXTDFwScQpayU’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’UNFctpQNmnXAxtJTDRKHHEHlzFgGocSktYOyosqjkELTuvmadgdpZdPKQrUkNEVv’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ReJhXTDFwScQpayU’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’UNFctpQNmnXAxtJTDRKHHEHlzFgGocSktYOyosqjkELTuvmadgdpZdPKQrUkNEVv’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’WbRxgScwolfRlGEn’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’YzOnXboFAgABDvSSIrUFqHszFfaTtRVDJhftfPxAfGkReToGmWRwSHwvElTgobgp’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’WbRxgScwolfRlGEn’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’YzOnXboFAgABDvSSIrUFqHszFfaTtRVDJhftfPxAfGkReToGmWRwSHwvElTgobgp’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’JCfSNRXNKwSOPEKA’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’oWvtBbgsWBxEvirhqLGYrNDQsNhkbMkItRQplBGyIwGBOXmiyCRKTybuzhsGMdMH’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’JCfSNRXNKwSOPEKA’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’oWvtBbgsWBxEvirhqLGYrNDQsNhkbMkItRQplBGyIwGBOXmiyCRKTybuzhsGMdMH’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’zuMGDoeJgKBjTGux’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’AiNHdEIwodvbtJjfHksHBaAAkbIagrGCeyQxWdiCjJDzAdtmAGWIiZNFfzrBkZij’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’zuMGDoeJgKBjTGux’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’AiNHdEIwodvbtJjfHksHBaAAkbIagrGCeyQxWdiCjJDzAdtmAGWIiZNFfzrBkZij’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ReJhXTDFwScQpayU’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’UNFctpQNmnXAxtJTDRKHHEHlzFgGocSktYOyosqjkELTuvmadgdpZdPKQrUkNEVv’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ReJhXTDFwScQpayU’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’UNFctpQNmnXAxtJTDRKHHEHlzFgGocSktYOyosqjkELTuvmadgdpZdPKQrUkNEVv’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’WbRxgScwolfRlGEn’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’YzOnXboFAgABDvSSIrUFqHszFfaTtRVDJhftfPxAfGkReToGmWRwSHwvElTgobgp’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’WbRxgScwolfRlGEn’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’YzOnXboFAgABDvSSIrUFqHszFfaTtRVDJhftfPxAfGkReToGmWRwSHwvElTgobgp’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’JCfSNRXNKwSOPEKA’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’oWvtBbgsWBxEvirhqLGYrNDQsNhkbMkItRQplBGyIwGBOXmiyCRKTybuzhsGMdMH’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’JCfSNRXNKwSOPEKA’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’oWvtBbgsWBxEvirhqLGYrNDQsNhkbMkItRQplBGyIwGBOXmiyCRKTybuzhsGMdMH’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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-2t2c-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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’klqCmUlDaajQjYjG’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ZwEqQqhbnFVaOyCabWFMpnlaohLMAVLiPYrQolMtrlTPGMHuUxsWXgmblgPYCrew’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’klqCmUlDaajQjYjG’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ZwEqQqhbnFVaOyCabWFMpnlaohLMAVLiPYrQolMtrlTPGMHuUxsWXgmblgPYCrew’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’kSjaFGMxfjUEEQWH’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’fsnvMYXfCffiZTnljJIsiNQcDMGBAIxRrLzCuPeTmDgVAFuVgxDGuZgJuidCcyGo’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’kSjaFGMxfjUEEQWH’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’fsnvMYXfCffiZTnljJIsiNQcDMGBAIxRrLzCuPeTmDgVAFuVgxDGuZgJuidCcyGo’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’dahgIqbvmcWXQjKg’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’FjuDGPUYXRbsfOxgxfDRGOfvqlKRYPhLsFtQjXWeCFOyANUDcGDjJvtVLCHJVzFO’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’dahgIqbvmcWXQjKg’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’FjuDGPUYXRbsfOxgxfDRGOfvqlKRYPhLsFtQjXWeCFOyANUDcGDjJvtVLCHJVzFO’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fPpPpnppSvzNpbCi’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’UFoVgNlnZNaBECnrHUjNmUSIfpYSlITjDoJOZXtKJPmVycatKBZIRhQRAFyeGEau’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fPpPpnppSvzNpbCi’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’UFoVgNlnZNaBECnrHUjNmUSIfpYSlITjDoJOZXtKJPmVycatKBZIRhQRAFyeGEau’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’klqCmUlDaajQjYjG’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ZwEqQqhbnFVaOyCabWFMpnlaohLMAVLiPYrQolMtrlTPGMHuUxsWXgmblgPYCrew’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’klqCmUlDaajQjYjG’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ZwEqQqhbnFVaOyCabWFMpnlaohLMAVLiPYrQolMtrlTPGMHuUxsWXgmblgPYCrew’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’kSjaFGMxfjUEEQWH’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’fsnvMYXfCffiZTnljJIsiNQcDMGBAIxRrLzCuPeTmDgVAFuVgxDGuZgJuidCcyGo’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’kSjaFGMxfjUEEQWH’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’fsnvMYXfCffiZTnljJIsiNQcDMGBAIxRrLzCuPeTmDgVAFuVgxDGuZgJuidCcyGo’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’dahgIqbvmcWXQjKg’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’FjuDGPUYXRbsfOxgxfDRGOfvqlKRYPhLsFtQjXWeCFOyANUDcGDjJvtVLCHJVzFO’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’dahgIqbvmcWXQjKg’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’FjuDGPUYXRbsfOxgxfDRGOfvqlKRYPhLsFtQjXWeCFOyANUDcGDjJvtVLCHJVzFO’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fPpPpnppSvzNpbCi’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’UFoVgNlnZNaBECnrHUjNmUSIfpYSlITjDoJOZXtKJPmVycatKBZIRhQRAFyeGEau’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fPpPpnppSvzNpbCi’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’UFoVgNlnZNaBECnrHUjNmUSIfpYSlITjDoJOZXtKJPmVycatKBZIRhQRAFyeGEau’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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-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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’XocJRLZNkcokHNAo’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’RqOQYYEEsbWBDedJUhYHVebYYBjhmzNnztaBRYrJveFEpArTCNPDAEwrhLAAdzcr’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XocJRLZNkcokHNAo’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’RqOQYYEEsbWBDedJUhYHVebYYBjhmzNnztaBRYrJveFEpArTCNPDAEwrhLAAdzcr’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’BwBXMvDmYOUsGPQe’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ALVDdAJOJVqMCtKKGmPcsVnhAZOrXOqEuoevNaoiRckFLbyHHJiIbwKrJNqxCoCv’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’BwBXMvDmYOUsGPQe’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ALVDdAJOJVqMCtKKGmPcsVnhAZOrXOqEuoevNaoiRckFLbyHHJiIbwKrJNqxCoCv’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’MTvCRtoYwWhKcXmm’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’zlnmCDUhAFcSkkPTgPdPbwuINjYSlJyTfhIdZPQFyVsHVirZtisEseEeyOOJJjit’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’MTvCRtoYwWhKcXmm’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’zlnmCDUhAFcSkkPTgPdPbwuINjYSlJyTfhIdZPQFyVsHVirZtisEseEeyOOJJjit’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’NbHwDTUEtHHCjBiy’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’LQaImhkorGsYuzdbBskIVNAIMSxklCFNYKrYgJRBpCivcPnYXtLIDXPNlZmzFcSk’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’NbHwDTUEtHHCjBiy’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’LQaImhkorGsYuzdbBskIVNAIMSxklCFNYKrYgJRBpCivcPnYXtLIDXPNlZmzFcSk’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’XocJRLZNkcokHNAo’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’RqOQYYEEsbWBDedJUhYHVebYYBjhmzNnztaBRYrJveFEpArTCNPDAEwrhLAAdzcr’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XocJRLZNkcokHNAo’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’RqOQYYEEsbWBDedJUhYHVebYYBjhmzNnztaBRYrJveFEpArTCNPDAEwrhLAAdzcr’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’BwBXMvDmYOUsGPQe’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ALVDdAJOJVqMCtKKGmPcsVnhAZOrXOqEuoevNaoiRckFLbyHHJiIbwKrJNqxCoCv’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’BwBXMvDmYOUsGPQe’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ALVDdAJOJVqMCtKKGmPcsVnhAZOrXOqEuoevNaoiRckFLbyHHJiIbwKrJNqxCoCv’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’MTvCRtoYwWhKcXmm’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’zlnmCDUhAFcSkkPTgPdPbwuINjYSlJyTfhIdZPQFyVsHVirZtisEseEeyOOJJjit’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’MTvCRtoYwWhKcXmm’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’zlnmCDUhAFcSkkPTgPdPbwuINjYSlJyTfhIdZPQFyVsHVirZtisEseEeyOOJJjit’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’NbHwDTUEtHHCjBiy’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’LQaImhkorGsYuzdbBskIVNAIMSxklCFNYKrYgJRBpCivcPnYXtLIDXPNlZmzFcSk’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’NbHwDTUEtHHCjBiy’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’LQaImhkorGsYuzdbBskIVNAIMSxklCFNYKrYgJRBpCivcPnYXtLIDXPNlZmzFcSk’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’TpYnCjWioGVdUBBj’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’klPwSOsTPEdBoRpSszvUJWxjYGxpjcfKQTHaLxPSpZBCfjUoqEdWAdDGzlBgYjHx’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’TpYnCjWioGVdUBBj’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’klPwSOsTPEdBoRpSszvUJWxjYGxpjcfKQTHaLxPSpZBCfjUoqEdWAdDGzlBgYjHx’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’NijogiHLCiqpZJmT’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’plCsmMIcswXmxkZRqqmopkzdpjZvnASdOslWuSCwvWFHqbedttZpmhHUcBIMfBxV’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’NijogiHLCiqpZJmT’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’plCsmMIcswXmxkZRqqmopkzdpjZvnASdOslWuSCwvWFHqbedttZpmhHUcBIMfBxV’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’CEuduuqKINqnQYeS’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’TuqnPGfjMVDrPJQocAhVbzlzBIosNpAzStTqtBdrrjYLygAYDqTfdZphZzGWhNZD’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’CEuduuqKINqnQYeS’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’TuqnPGfjMVDrPJQocAhVbzlzBIosNpAzStTqtBdrrjYLygAYDqTfdZphZzGWhNZD’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’yDKVWRkAdIdejwfT’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’hBYTKXCRbGLshMEwVRJpZZNxjhOsdUHfJqXGUIWGQGAMJIopazeCZFrKEFxAwBSH’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’yDKVWRkAdIdejwfT’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’hBYTKXCRbGLshMEwVRJpZZNxjhOsdUHfJqXGUIWGQGAMJIopazeCZFrKEFxAwBSH’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’TpYnCjWioGVdUBBj’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’klPwSOsTPEdBoRpSszvUJWxjYGxpjcfKQTHaLxPSpZBCfjUoqEdWAdDGzlBgYjHx’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’TpYnCjWioGVdUBBj’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’klPwSOsTPEdBoRpSszvUJWxjYGxpjcfKQTHaLxPSpZBCfjUoqEdWAdDGzlBgYjHx’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’NijogiHLCiqpZJmT’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’plCsmMIcswXmxkZRqqmopkzdpjZvnASdOslWuSCwvWFHqbedttZpmhHUcBIMfBxV’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’NijogiHLCiqpZJmT’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’plCsmMIcswXmxkZRqqmopkzdpjZvnASdOslWuSCwvWFHqbedttZpmhHUcBIMfBxV’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’CEuduuqKINqnQYeS’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’TuqnPGfjMVDrPJQocAhVbzlzBIosNpAzStTqtBdrrjYLygAYDqTfdZphZzGWhNZD’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’CEuduuqKINqnQYeS’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’TuqnPGfjMVDrPJQocAhVbzlzBIosNpAzStTqtBdrrjYLygAYDqTfdZphZzGWhNZD’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’yDKVWRkAdIdejwfT’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’hBYTKXCRbGLshMEwVRJpZZNxjhOsdUHfJqXGUIWGQGAMJIopazeCZFrKEFxAwBSH’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’yDKVWRkAdIdejwfT’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’hBYTKXCRbGLshMEwVRJpZZNxjhOsdUHfJqXGUIWGQGAMJIopazeCZFrKEFxAwBSH’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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) 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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’wiYBrSbGlpADQeMZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’wiYBrSbGlpADQeMZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’cTtfvjtbADuLZgfY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’cTtfvjtbADuLZgfY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’mZQyWAZhHIfWUHCY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’mZQyWAZhHIfWUHCY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’nmbZoxVzgLLMRVEu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’nmbZoxVzgLLMRVEu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’wiYBrSbGlpADQeMZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’wiYBrSbGlpADQeMZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’cTtfvjtbADuLZgfY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’cTtfvjtbADuLZgfY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’mZQyWAZhHIfWUHCY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’mZQyWAZhHIfWUHCY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’nmbZoxVzgLLMRVEu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’nmbZoxVzgLLMRVEu’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’ZIFwukKYlUuEfCmW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ZIFwukKYlUuEfCmW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fyfBuQewJFHJzZVQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fyfBuQewJFHJzZVQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’QrFtdQtrkCOSeuXW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’QrFtdQtrkCOSeuXW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’zfXgseCerNaGzTKG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’zfXgseCerNaGzTKG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’ZIFwukKYlUuEfCmW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ZIFwukKYlUuEfCmW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fyfBuQewJFHJzZVQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fyfBuQewJFHJzZVQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’QrFtdQtrkCOSeuXW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’QrFtdQtrkCOSeuXW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’zfXgseCerNaGzTKG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’zfXgseCerNaGzTKG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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-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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’OlhEfAPXzKYFhHMw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’OlhEfAPXzKYFhHMw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’vOaeBvvIhIlPdHKL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’vOaeBvvIhIlPdHKL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’BbpxmaimQdPzsDBL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’BbpxmaimQdPzsDBL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XlaJJuxibfdRIhei’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XlaJJuxibfdRIhei’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’OlhEfAPXzKYFhHMw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’OlhEfAPXzKYFhHMw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’vOaeBvvIhIlPdHKL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’vOaeBvvIhIlPdHKL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’BbpxmaimQdPzsDBL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’BbpxmaimQdPzsDBL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XlaJJuxibfdRIhei’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XlaJJuxibfdRIhei’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’rFIoqlNRtWiUMKAU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rFIoqlNRtWiUMKAU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’wyMAujHSsWXxlTNl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’wyMAujHSsWXxlTNl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’bpFFhOqHFCAIGbhN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’bpFFhOqHFCAIGbhN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’cbshQAGxDekLpHPA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’cbshQAGxDekLpHPA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’rFIoqlNRtWiUMKAU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rFIoqlNRtWiUMKAU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’wyMAujHSsWXxlTNl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’wyMAujHSsWXxlTNl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’bpFFhOqHFCAIGbhN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’bpFFhOqHFCAIGbhN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’cbshQAGxDekLpHPA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’cbshQAGxDekLpHPA’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’NLTzZeDBGLaOPHoN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’NLTzZeDBGLaOPHoN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’EAbwJmmtfpgnMQBg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’EAbwJmmtfpgnMQBg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’uQiqWGzXRDPaOhao’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’uQiqWGzXRDPaOhao’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’MVCMCxROulPBBphk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’MVCMCxROulPBBphk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’NLTzZeDBGLaOPHoN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’NLTzZeDBGLaOPHoN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’EAbwJmmtfpgnMQBg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’EAbwJmmtfpgnMQBg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’uQiqWGzXRDPaOhao’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’uQiqWGzXRDPaOhao’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’MVCMCxROulPBBphk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’MVCMCxROulPBBphk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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) 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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’uUZsRNWJrSoAMZQypOSNBhHoXEajrjbR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’uUZsRNWJrSoAMZQypOSNBhHoXEajrjbR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’lOerlzXVPnLFvorfwHulJFeJzAdyUdbb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’lOerlzXVPnLFvorfwHulJFeJzAdyUdbb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’uRlMCbngFXoErhQqBuIsoucVPAUeHXrZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’uRlMCbngFXoErhQqBuIsoucVPAUeHXrZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’wkQFofrSQQfFFOcyeXuvbNFJwQVTATQN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’wkQFofrSQQfFFOcyeXuvbNFJwQVTATQN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’uUZsRNWJrSoAMZQypOSNBhHoXEajrjbR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’uUZsRNWJrSoAMZQypOSNBhHoXEajrjbR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’lOerlzXVPnLFvorfwHulJFeJzAdyUdbb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’lOerlzXVPnLFvorfwHulJFeJzAdyUdbb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’uRlMCbngFXoErhQqBuIsoucVPAUeHXrZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’uRlMCbngFXoErhQqBuIsoucVPAUeHXrZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’wkQFofrSQQfFFOcyeXuvbNFJwQVTATQN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’wkQFofrSQQfFFOcyeXuvbNFJwQVTATQN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’fxHLSddFEYIjmMsmXIhMWgjKaLGxgnqy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fxHLSddFEYIjmMsmXIhMWgjKaLGxgnqy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’VotDnvCsPbwxuolGbIFIIagLGUhZcvbp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’VotDnvCsPbwxuolGbIFIIagLGUhZcvbp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rwZYfEBWZzTIZOXTIhySkRbZCavkNhEP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rwZYfEBWZzTIZOXTIhySkRbZCavkNhEP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’nGBMYXfZzccwyOAoktRgwYPxWJlCrtmt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’nGBMYXfZzccwyOAoktRgwYPxWJlCrtmt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’fxHLSddFEYIjmMsmXIhMWgjKaLGxgnqy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fxHLSddFEYIjmMsmXIhMWgjKaLGxgnqy’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’VotDnvCsPbwxuolGbIFIIagLGUhZcvbp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’VotDnvCsPbwxuolGbIFIIagLGUhZcvbp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rwZYfEBWZzTIZOXTIhySkRbZCavkNhEP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rwZYfEBWZzTIZOXTIhySkRbZCavkNhEP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’nGBMYXfZzccwyOAoktRgwYPxWJlCrtmt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’nGBMYXfZzccwyOAoktRgwYPxWJlCrtmt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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-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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’chvUVyiqETIKuMjibPJhyoMltFSfPklg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’chvUVyiqETIKuMjibPJhyoMltFSfPklg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rTmiXYuRWljKIcNxluPpVtSsJQDSgdJW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rTmiXYuRWljKIcNxluPpVtSsJQDSgdJW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’QRhjzBsFphPGmMowvCXctonSLUirVTMS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’QRhjzBsFphPGmMowvCXctonSLUirVTMS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’nyHFVyfWvdJpOqqynmHSlgfubLllGzZD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’nyHFVyfWvdJpOqqynmHSlgfubLllGzZD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’chvUVyiqETIKuMjibPJhyoMltFSfPklg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’chvUVyiqETIKuMjibPJhyoMltFSfPklg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rTmiXYuRWljKIcNxluPpVtSsJQDSgdJW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rTmiXYuRWljKIcNxluPpVtSsJQDSgdJW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’QRhjzBsFphPGmMowvCXctonSLUirVTMS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’QRhjzBsFphPGmMowvCXctonSLUirVTMS’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’nyHFVyfWvdJpOqqynmHSlgfubLllGzZD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’nyHFVyfWvdJpOqqynmHSlgfubLllGzZD’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’ExmTdryiZdwJBwYGNtrLeJwQjUelwPSq’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ExmTdryiZdwJBwYGNtrLeJwQjUelwPSq’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KLbzqmrkItPkeVJSEzkfrygiXwfpeZBH’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KLbzqmrkItPkeVJSEzkfrygiXwfpeZBH’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’dalRLjepsCeBteFtElagvQuDNMMdZUrZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’dalRLjepsCeBteFtElagvQuDNMMdZUrZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’WIMPYvgeFTfotNEiqajAkPGKSPcEiDki’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’WIMPYvgeFTfotNEiqajAkPGKSPcEiDki’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’ExmTdryiZdwJBwYGNtrLeJwQjUelwPSq’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ExmTdryiZdwJBwYGNtrLeJwQjUelwPSq’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KLbzqmrkItPkeVJSEzkfrygiXwfpeZBH’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KLbzqmrkItPkeVJSEzkfrygiXwfpeZBH’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’dalRLjepsCeBteFtElagvQuDNMMdZUrZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’dalRLjepsCeBteFtElagvQuDNMMdZUrZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’WIMPYvgeFTfotNEiqajAkPGKSPcEiDki’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’WIMPYvgeFTfotNEiqajAkPGKSPcEiDki’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’pvbFwitZdulFROYlqYCURxbpNACkTGpG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’pvbFwitZdulFROYlqYCURxbpNACkTGpG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’DGnPNzyoqeBJRweIlUJKewiDTelOrtTR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’DGnPNzyoqeBJRweIlUJKewiDTelOrtTR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’UYIFaXvMPNLRXbZrmTKxcHLqlBNCmDFa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’UYIFaXvMPNLRXbZrmTKxcHLqlBNCmDFa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ElZJjDuoEbsZHPAeViLPBtITsfwgcNUe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ElZJjDuoEbsZHPAeViLPBtITsfwgcNUe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’pvbFwitZdulFROYlqYCURxbpNACkTGpG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’pvbFwitZdulFROYlqYCURxbpNACkTGpG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’DGnPNzyoqeBJRweIlUJKewiDTelOrtTR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’DGnPNzyoqeBJRweIlUJKewiDTelOrtTR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’UYIFaXvMPNLRXbZrmTKxcHLqlBNCmDFa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’UYIFaXvMPNLRXbZrmTKxcHLqlBNCmDFa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ElZJjDuoEbsZHPAeViLPBtITsfwgcNUe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ElZJjDuoEbsZHPAeViLPBtITsfwgcNUe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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) 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-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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’XXHWvrNAlwtglKwW’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ZTQTBhJmRRbdpKoCDOtTsnmtsqXysaJBYuTRacpMeeazgsZBErqJxHarjUqwCJGG’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XXHWvrNAlwtglKwW’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ZTQTBhJmRRbdpKoCDOtTsnmtsqXysaJBYuTRacpMeeazgsZBErqJxHarjUqwCJGG’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fHPIpLSolBxTfrno’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’CAoQrpMcFzYWfTXhGsUpUREEXTPotEntfaWrgghiAVjEISGBarGFGWyHcqiutXCz’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fHPIpLSolBxTfrno’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’CAoQrpMcFzYWfTXhGsUpUREEXTPotEntfaWrgghiAVjEISGBarGFGWyHcqiutXCz’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rmIcIhARBsMlwxbk’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’dDDkrJTtVXXYQvYHBTOIrxixsCtYenGqMdakZRWoWuoxgOpFUWGylhfdjPcriLCP’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rmIcIhARBsMlwxbk’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’dDDkrJTtVXXYQvYHBTOIrxixsCtYenGqMdakZRWoWuoxgOpFUWGylhfdjPcriLCP’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’YetspOZrvZjYIkSh’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ZxxyBnKAHEvkKeaOWboOPmqStbGNGxGenlnweIbXWWGdSXDwNjDNrSCzRfPepWHn’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’YetspOZrvZjYIkSh’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ZxxyBnKAHEvkKeaOWboOPmqStbGNGxGenlnweIbXWWGdSXDwNjDNrSCzRfPepWHn’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’XXHWvrNAlwtglKwW’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ZTQTBhJmRRbdpKoCDOtTsnmtsqXysaJBYuTRacpMeeazgsZBErqJxHarjUqwCJGG’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XXHWvrNAlwtglKwW’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ZTQTBhJmRRbdpKoCDOtTsnmtsqXysaJBYuTRacpMeeazgsZBErqJxHarjUqwCJGG’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fHPIpLSolBxTfrno’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’CAoQrpMcFzYWfTXhGsUpUREEXTPotEntfaWrgghiAVjEISGBarGFGWyHcqiutXCz’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fHPIpLSolBxTfrno’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’CAoQrpMcFzYWfTXhGsUpUREEXTPotEntfaWrgghiAVjEISGBarGFGWyHcqiutXCz’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rmIcIhARBsMlwxbk’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’dDDkrJTtVXXYQvYHBTOIrxixsCtYenGqMdakZRWoWuoxgOpFUWGylhfdjPcriLCP’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rmIcIhARBsMlwxbk’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’dDDkrJTtVXXYQvYHBTOIrxixsCtYenGqMdakZRWoWuoxgOpFUWGylhfdjPcriLCP’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’YetspOZrvZjYIkSh’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ZxxyBnKAHEvkKeaOWboOPmqStbGNGxGenlnweIbXWWGdSXDwNjDNrSCzRfPepWHn’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’YetspOZrvZjYIkSh’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’ZxxyBnKAHEvkKeaOWboOPmqStbGNGxGenlnweIbXWWGdSXDwNjDNrSCzRfPepWHn’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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-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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’WJpwoexfWqDdCQhN’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’LRSOaCNCivKRBPCRuTWYkOzKKGtZWBmKzsxZQOXyFdqaldUwrVDLUcAHjdeMQZsZ’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’WJpwoexfWqDdCQhN’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’LRSOaCNCivKRBPCRuTWYkOzKKGtZWBmKzsxZQOXyFdqaldUwrVDLUcAHjdeMQZsZ’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’RcmcqaqORWHxPsWp’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’JiWMtyYhLlGgGfYivoRaneCmTtEJDlvCyLYhtMBMUkTVslZQCnACbfKonaOVXhfo’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’RcmcqaqORWHxPsWp’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’JiWMtyYhLlGgGfYivoRaneCmTtEJDlvCyLYhtMBMUkTVslZQCnACbfKonaOVXhfo’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fNJqXPqnyPoUQEZi’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’FwcwGzSDnCusnGvBxlabhNnpFQisytBGnZMFSIFsxqnJZUdSsYyUlyeqGLTwGVsi’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fNJqXPqnyPoUQEZi’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’FwcwGzSDnCusnGvBxlabhNnpFQisytBGnZMFSIFsxqnJZUdSsYyUlyeqGLTwGVsi’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ReNrDhyKtQDKyCap’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’PNrNaVAxnqgEoDkqmRpbORQhdrFLRoCNwUQUjqUAhKkACGNUEsSTlroLHhwqkrJv’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ReNrDhyKtQDKyCap’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’PNrNaVAxnqgEoDkqmRpbORQhdrFLRoCNwUQUjqUAhKkACGNUEsSTlroLHhwqkrJv’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’WJpwoexfWqDdCQhN’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’LRSOaCNCivKRBPCRuTWYkOzKKGtZWBmKzsxZQOXyFdqaldUwrVDLUcAHjdeMQZsZ’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’WJpwoexfWqDdCQhN’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’LRSOaCNCivKRBPCRuTWYkOzKKGtZWBmKzsxZQOXyFdqaldUwrVDLUcAHjdeMQZsZ’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’RcmcqaqORWHxPsWp’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’JiWMtyYhLlGgGfYivoRaneCmTtEJDlvCyLYhtMBMUkTVslZQCnACbfKonaOVXhfo’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’RcmcqaqORWHxPsWp’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’JiWMtyYhLlGgGfYivoRaneCmTtEJDlvCyLYhtMBMUkTVslZQCnACbfKonaOVXhfo’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fNJqXPqnyPoUQEZi’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’FwcwGzSDnCusnGvBxlabhNnpFQisytBGnZMFSIFsxqnJZUdSsYyUlyeqGLTwGVsi’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fNJqXPqnyPoUQEZi’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’FwcwGzSDnCusnGvBxlabhNnpFQisytBGnZMFSIFsxqnJZUdSsYyUlyeqGLTwGVsi’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ReNrDhyKtQDKyCap’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’PNrNaVAxnqgEoDkqmRpbORQhdrFLRoCNwUQUjqUAhKkACGNUEsSTlroLHhwqkrJv’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ReNrDhyKtQDKyCap’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’PNrNaVAxnqgEoDkqmRpbORQhdrFLRoCNwUQUjqUAhKkACGNUEsSTlroLHhwqkrJv’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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]}]})

 1518b-2t2c-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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’hBKdzxvWVREmjSyK’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’nTssosikMbMijQFLuZFkOkkZrocbORrByyEgkvaRhcImbiYjMnTKDvDMXLomcXqV’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’hBKdzxvWVREmjSyK’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’nTssosikMbMijQFLuZFkOkkZrocbORrByyEgkvaRhcImbiYjMnTKDvDMXLomcXqV’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’WrSEXMvGMlIqGIQP’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’YBmXjAAIuerifLtHFQkghpTMNdwZLbpUQXPeqwJZXeBhjeQORtgwMUKUBLAOTtlE’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’WrSEXMvGMlIqGIQP’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’YBmXjAAIuerifLtHFQkghpTMNdwZLbpUQXPeqwJZXeBhjeQORtgwMUKUBLAOTtlE’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’EQvTJaCgWplTEyPE’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’BSwQnsrmQPEHqtXfjYfrLaeIWbryBkWQlRvuJASEGdaofQgTnnjQURAiOwdqpzwj’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’EQvTJaCgWplTEyPE’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’BSwQnsrmQPEHqtXfjYfrLaeIWbryBkWQlRvuJASEGdaofQgTnnjQURAiOwdqpzwj’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’uWpukddtqEMgEqFA’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’zARSLptaqFysZHVZlnvKGssiPtBAwexTuuHplXAXHpkJRPNyXKvEuSmhDnFSuKqM’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’uWpukddtqEMgEqFA’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’zARSLptaqFysZHVZlnvKGssiPtBAwexTuuHplXAXHpkJRPNyXKvEuSmhDnFSuKqM’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’hBKdzxvWVREmjSyK’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’nTssosikMbMijQFLuZFkOkkZrocbORrByyEgkvaRhcImbiYjMnTKDvDMXLomcXqV’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’hBKdzxvWVREmjSyK’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’nTssosikMbMijQFLuZFkOkkZrocbORrByyEgkvaRhcImbiYjMnTKDvDMXLomcXqV’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’WrSEXMvGMlIqGIQP’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’YBmXjAAIuerifLtHFQkghpTMNdwZLbpUQXPeqwJZXeBhjeQORtgwMUKUBLAOTtlE’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’WrSEXMvGMlIqGIQP’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’YBmXjAAIuerifLtHFQkghpTMNdwZLbpUQXPeqwJZXeBhjeQORtgwMUKUBLAOTtlE’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’EQvTJaCgWplTEyPE’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’BSwQnsrmQPEHqtXfjYfrLaeIWbryBkWQlRvuJASEGdaofQgTnnjQURAiOwdqpzwj’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’EQvTJaCgWplTEyPE’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’BSwQnsrmQPEHqtXfjYfrLaeIWbryBkWQlRvuJASEGdaofQgTnnjQURAiOwdqpzwj’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’uWpukddtqEMgEqFA’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’zARSLptaqFysZHVZlnvKGssiPtBAwexTuuHplXAXHpkJRPNyXKvEuSmhDnFSuKqM’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’uWpukddtqEMgEqFA’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’zARSLptaqFysZHVZlnvKGssiPtBAwexTuuHplXAXHpkJRPNyXKvEuSmhDnFSuKqM’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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-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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’fpgOpeySeNAZtmwt’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’BubqQITHAKkXzDcFLwnXeyVasSPurGGFHGGUurWThmOFvSYOUbSxOWPlgUiItdqD’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fpgOpeySeNAZtmwt’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’BubqQITHAKkXzDcFLwnXeyVasSPurGGFHGGUurWThmOFvSYOUbSxOWPlgUiItdqD’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’SmioAmiTJDdoztCB’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’AbsvNUtuzXJFohZtZaOgGtyjTnRfLjDbsdfeKMZQZHYtRJPKMGKIBHNUoVTWDPSH’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’SmioAmiTJDdoztCB’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’AbsvNUtuzXJFohZtZaOgGtyjTnRfLjDbsdfeKMZQZHYtRJPKMGKIBHNUoVTWDPSH’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’owSkZJgIFSTcJTkr’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’xiulehCqYGWIBUIiNUqrOIPaEOVfeEZIIGYKwoNEduExFznkJgnDsUVIqPFzbNFL’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’owSkZJgIFSTcJTkr’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’xiulehCqYGWIBUIiNUqrOIPaEOVfeEZIIGYKwoNEduExFznkJgnDsUVIqPFzbNFL’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XEsvJZIHsecDCDfa’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’DYHOhxjwOOmltvgGvKtNMHfIokifQsfzHJzpIWQXSHxngQVYBKeUOeDnwmWXMpgT’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XEsvJZIHsecDCDfa’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’DYHOhxjwOOmltvgGvKtNMHfIokifQsfzHJzpIWQXSHxngQVYBKeUOeDnwmWXMpgT’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’fpgOpeySeNAZtmwt’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’BubqQITHAKkXzDcFLwnXeyVasSPurGGFHGGUurWThmOFvSYOUbSxOWPlgUiItdqD’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’fpgOpeySeNAZtmwt’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’BubqQITHAKkXzDcFLwnXeyVasSPurGGFHGGUurWThmOFvSYOUbSxOWPlgUiItdqD’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’SmioAmiTJDdoztCB’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’AbsvNUtuzXJFohZtZaOgGtyjTnRfLjDbsdfeKMZQZHYtRJPKMGKIBHNUoVTWDPSH’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’SmioAmiTJDdoztCB’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’AbsvNUtuzXJFohZtZaOgGtyjTnRfLjDbsdfeKMZQZHYtRJPKMGKIBHNUoVTWDPSH’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’owSkZJgIFSTcJTkr’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’xiulehCqYGWIBUIiNUqrOIPaEOVfeEZIIGYKwoNEduExFznkJgnDsUVIqPFzbNFL’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’owSkZJgIFSTcJTkr’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’xiulehCqYGWIBUIiNUqrOIPaEOVfeEZIIGYKwoNEduExFznkJgnDsUVIqPFzbNFL’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XEsvJZIHsecDCDfa’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’DYHOhxjwOOmltvgGvKtNMHfIokifQsfzHJzpIWQXSHxngQVYBKeUOeDnwmWXMpgT’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’XEsvJZIHsecDCDfa’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’DYHOhxjwOOmltvgGvKtNMHfIokifQsfzHJzpIWQXSHxngQVYBKeUOeDnwmWXMpgT’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’ixvpiBHmVyRWKYOy’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’OSoZgpUnwWQEugNKtnPfXTohDPMQVDCulwcVRjjvuXtNEhczfXnDhWdTyTAXOxiL’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ixvpiBHmVyRWKYOy’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’OSoZgpUnwWQEugNKtnPfXTohDPMQVDCulwcVRjjvuXtNEhczfXnDhWdTyTAXOxiL’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ITTuMKOeYHFQYEVW’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’mmzYPzrhFpDNkGvgGBvBBibzXtBxPYdLUBBcIOkpapjzwPulrvbbyeJAJuDTVbIY’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ITTuMKOeYHFQYEVW’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’mmzYPzrhFpDNkGvgGBvBBibzXtBxPYdLUBBcIOkpapjzwPulrvbbyeJAJuDTVbIY’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’jSMVvKDvdUjOjEQr’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’zxmLeVjUgZHtwXiOepjXhDWnubdKONDaxGjiZPBUVjZEvjDzlCBjqwPPuVsZeLMW’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’jSMVvKDvdUjOjEQr’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’zxmLeVjUgZHtwXiOepjXhDWnubdKONDaxGjiZPBUVjZEvjDzlCBjqwPPuVsZeLMW’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ZKeRbnpkTsVCBFDM’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’iKiUzQlYBBxUwQqDPKdBkxnlDyTfoyeCYMetGwNmsqDUrVQRJBkCqzxaHZIEPAMV’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ZKeRbnpkTsVCBFDM’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’iKiUzQlYBBxUwQqDPKdBkxnlDyTfoyeCYMetGwNmsqDUrVQRJBkCqzxaHZIEPAMV’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’ixvpiBHmVyRWKYOy’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’OSoZgpUnwWQEugNKtnPfXTohDPMQVDCulwcVRjjvuXtNEhczfXnDhWdTyTAXOxiL’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ixvpiBHmVyRWKYOy’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’OSoZgpUnwWQEugNKtnPfXTohDPMQVDCulwcVRjjvuXtNEhczfXnDhWdTyTAXOxiL’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ITTuMKOeYHFQYEVW’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’mmzYPzrhFpDNkGvgGBvBBibzXtBxPYdLUBBcIOkpapjzwPulrvbbyeJAJuDTVbIY’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ITTuMKOeYHFQYEVW’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’mmzYPzrhFpDNkGvgGBvBBibzXtBxPYdLUBBcIOkpapjzwPulrvbbyeJAJuDTVbIY’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’jSMVvKDvdUjOjEQr’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’zxmLeVjUgZHtwXiOepjXhDWnubdKONDaxGjiZPBUVjZEvjDzlCBjqwPPuVsZeLMW’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’jSMVvKDvdUjOjEQr’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’zxmLeVjUgZHtwXiOepjXhDWnubdKONDaxGjiZPBUVjZEvjDzlCBjqwPPuVsZeLMW’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ZKeRbnpkTsVCBFDM’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’iKiUzQlYBBxUwQqDPKdBkxnlDyTfoyeCYMetGwNmsqDUrVQRJBkCqzxaHZIEPAMV’}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ZKeRbnpkTsVCBFDM’}, ‘integrity_algorithm’: 6, ‘integrity_key’: {‘length’: 64, ‘data’: b’iKiUzQlYBBxUwQqDPKdBkxnlDyTfoyeCYMetGwNmsqDUrVQRJBkCqzxaHZIEPAMV’}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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) 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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’VoqjojHTnAzvKsDI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’VoqjojHTnAzvKsDI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’bRmCSNGZtywHLPqO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’bRmCSNGZtywHLPqO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’nronauUMstfXGFSt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’nronauUMstfXGFSt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’oFcVZiNhcTXxvkgs’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’oFcVZiNhcTXxvkgs’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’VoqjojHTnAzvKsDI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’VoqjojHTnAzvKsDI’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’bRmCSNGZtywHLPqO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’bRmCSNGZtywHLPqO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’nronauUMstfXGFSt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’nronauUMstfXGFSt’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’oFcVZiNhcTXxvkgs’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’oFcVZiNhcTXxvkgs’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’lSAaQecypAhLAAzP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’lSAaQecypAhLAAzP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KEUZhnSzRVxVIqQL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KEUZhnSzRVxVIqQL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’kIyIxJWcFbqipUOO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’kIyIxJWcFbqipUOO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’HMTbCmnVIswOMRcC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’HMTbCmnVIswOMRcC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’lSAaQecypAhLAAzP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’lSAaQecypAhLAAzP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KEUZhnSzRVxVIqQL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KEUZhnSzRVxVIqQL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’kIyIxJWcFbqipUOO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’kIyIxJWcFbqipUOO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’HMTbCmnVIswOMRcC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’HMTbCmnVIswOMRcC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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]}]})

 1518b-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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’oPuqkDALInvnjIFw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’oPuqkDALInvnjIFw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’UOKZegRhSgyGelkp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’UOKZegRhSgyGelkp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’DjvRuGUowqdIruaZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’DjvRuGUowqdIruaZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’RNUJIuhYoYVTpAqb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’RNUJIuhYoYVTpAqb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’oPuqkDALInvnjIFw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’oPuqkDALInvnjIFw’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’UOKZegRhSgyGelkp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’UOKZegRhSgyGelkp’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’DjvRuGUowqdIruaZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’DjvRuGUowqdIruaZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’RNUJIuhYoYVTpAqb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’RNUJIuhYoYVTpAqb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’jdmKpITEWApPdgOa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’jdmKpITEWApPdgOa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’PFdsWJzRGVUcOVTj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’PFdsWJzRGVUcOVTj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’szWdamcEvhLeehLh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’szWdamcEvhLeehLh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’UVxLhtgQAGVYkQsg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’UVxLhtgQAGVYkQsg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’jdmKpITEWApPdgOa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’jdmKpITEWApPdgOa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’PFdsWJzRGVUcOVTj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’PFdsWJzRGVUcOVTj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’szWdamcEvhLeehLh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’szWdamcEvhLeehLh’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’UVxLhtgQAGVYkQsg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’UVxLhtgQAGVYkQsg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’SsnMHnExGzjsXDXb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’SsnMHnExGzjsXDXb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rONrcxFAFFOAYGiP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rONrcxFAFFOAYGiP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’IjtqYnBVrWdepSPa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’IjtqYnBVrWdepSPa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’BgpaHkpQYcEHromZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’BgpaHkpQYcEHromZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’SsnMHnExGzjsXDXb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’SsnMHnExGzjsXDXb’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rONrcxFAFFOAYGiP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’rONrcxFAFFOAYGiP’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’IjtqYnBVrWdepSPa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’IjtqYnBVrWdepSPa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’BgpaHkpQYcEHromZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’BgpaHkpQYcEHromZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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) 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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’GHcNAwpnjTKSNtJdWCroyhigrhFbRQoM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’GHcNAwpnjTKSNtJdWCroyhigrhFbRQoM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ujurExrkQEEAqNPVTomxXCUNLKDjNiDF’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ujurExrkQEEAqNPVTomxXCUNLKDjNiDF’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’MyXYnrSGTykObCoQRbjmHqgXETORuwgJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’MyXYnrSGTykObCoQRbjmHqgXETORuwgJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’etUVeNnZCDTSXEHbQsGcVLXYPdPQsQAl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’etUVeNnZCDTSXEHbQsGcVLXYPdPQsQAl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’GHcNAwpnjTKSNtJdWCroyhigrhFbRQoM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’GHcNAwpnjTKSNtJdWCroyhigrhFbRQoM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ujurExrkQEEAqNPVTomxXCUNLKDjNiDF’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ujurExrkQEEAqNPVTomxXCUNLKDjNiDF’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’MyXYnrSGTykObCoQRbjmHqgXETORuwgJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’MyXYnrSGTykObCoQRbjmHqgXETORuwgJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’etUVeNnZCDTSXEHbQsGcVLXYPdPQsQAl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’etUVeNnZCDTSXEHbQsGcVLXYPdPQsQAl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’OURHOsLxnglofQkCBLcofeEALstLLnym’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’OURHOsLxnglofQkCBLcofeEALstLLnym’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’TotFLslShCJzLUUTaXOfKKidxLJNMsdl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’TotFLslShCJzLUUTaXOfKKidxLJNMsdl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’BHrYqFEOtFmNmkpKPygrGTdipNkokcgM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’BHrYqFEOtFmNmkpKPygrGTdipNkokcgM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’iEOSNjCXpRJgCPkiBMShWoPOMeRvxpnc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’iEOSNjCXpRJgCPkiBMShWoPOMeRvxpnc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’OURHOsLxnglofQkCBLcofeEALstLLnym’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’OURHOsLxnglofQkCBLcofeEALstLLnym’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’TotFLslShCJzLUUTaXOfKKidxLJNMsdl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’TotFLslShCJzLUUTaXOfKKidxLJNMsdl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’BHrYqFEOtFmNmkpKPygrGTdipNkokcgM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’BHrYqFEOtFmNmkpKPygrGTdipNkokcgM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’iEOSNjCXpRJgCPkiBMShWoPOMeRvxpnc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’iEOSNjCXpRJgCPkiBMShWoPOMeRvxpnc’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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]}]})

 1518b-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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’RBtFZmLXwvCZzWScMYnMZXYbagpmCXwl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’RBtFZmLXwvCZzWScMYnMZXYbagpmCXwl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’BeeLbkPwPMwyYQeAUQQyLrzrwuZAjTpX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’BeeLbkPwPMwyYQeAUQQyLrzrwuZAjTpX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KnjRqmyWrYfkfUwDWosowyKfjPqNlfmk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KnjRqmyWrYfkfUwDWosowyKfjPqNlfmk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’SLnvGAdPzsmEtyxkQHhMzRfyVSnJWGWY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’SLnvGAdPzsmEtyxkQHhMzRfyVSnJWGWY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’RBtFZmLXwvCZzWScMYnMZXYbagpmCXwl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’RBtFZmLXwvCZzWScMYnMZXYbagpmCXwl’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’BeeLbkPwPMwyYQeAUQQyLrzrwuZAjTpX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’BeeLbkPwPMwyYQeAUQQyLrzrwuZAjTpX’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KnjRqmyWrYfkfUwDWosowyKfjPqNlfmk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’KnjRqmyWrYfkfUwDWosowyKfjPqNlfmk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’SLnvGAdPzsmEtyxkQHhMzRfyVSnJWGWY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’SLnvGAdPzsmEtyxkQHhMzRfyVSnJWGWY’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’dpZdNdRDvnCAVbuxcOcweBBPdLYGmWXJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’dpZdNdRDvnCAVbuxcOcweBBPdLYGmWXJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ddJuRInhQIETYEeuwNhuUDHtClYviiAV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ddJuRInhQIETYEeuwNhuUDHtClYviiAV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’bdJAGZkcuUeXHoqEziafSshauqpTMHPJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’bdJAGZkcuUeXHoqEziafSshauqpTMHPJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’CtXzwOzBHzetTrWNnAqCvCLdAmxaOgvi’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’CtXzwOzBHzetTrWNnAqCvCLdAmxaOgvi’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’dpZdNdRDvnCAVbuxcOcweBBPdLYGmWXJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’dpZdNdRDvnCAVbuxcOcweBBPdLYGmWXJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ddJuRInhQIETYEeuwNhuUDHtClYviiAV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’ddJuRInhQIETYEeuwNhuUDHtClYviiAV’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’bdJAGZkcuUeXHoqEziafSshauqpTMHPJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’bdJAGZkcuUeXHoqEziafSshauqpTMHPJ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’CtXzwOzBHzetTrWNnAqCvCLdAmxaOgvi’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’CtXzwOzBHzetTrWNnAqCvCLdAmxaOgvi’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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=’’)
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’xc0xa8nx0b’}}})
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.254’})
ip_route_add_del(is_add=True,is_multipath=True,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8nxfe’}, ‘via_label’: 1048576, ‘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’xc8x00x00e’}}})
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.102’})
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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’CPbjOcXUWLOTfPoXvzHvpqnleTswfEkZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’CPbjOcXUWLOTfPoXvzHvpqnleTswfEkZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’WvoxkwJDxdJvSMFEglTvXWqCtZGsAWrO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’WvoxkwJDxdJvSMFEglTvXWqCtZGsAWrO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’CKXvmoWKrlvRMQbDwSqOpnvRiXkmRnUQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’CKXvmoWKrlvRMQbDwSqOpnvRiXkmRnUQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’FpVYPcTKXEIBQtYVApiNfoCxMEuAPthE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’FpVYPcTKXEIBQtYVApiNfoCxMEuAPthE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc0xa8x14x0b’}}})
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.254’})
ip_route_add_del(is_add=True,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’xc0xa8x14xfe’}, ‘via_label’: 1048576, ‘obj_id’: 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’xc8x00x00f’}}})
ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’xc8x00x00f’}}, ‘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’CPbjOcXUWLOTfPoXvzHvpqnleTswfEkZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’CPbjOcXUWLOTfPoXvzHvpqnleTswfEkZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’WvoxkwJDxdJvSMFEglTvXWqCtZGsAWrO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’WvoxkwJDxdJvSMFEglTvXWqCtZGsAWrO’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’CKXvmoWKrlvRMQbDwSqOpnvRiXkmRnUQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’CKXvmoWKrlvRMQbDwSqOpnvRiXkmRnUQ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’FpVYPcTKXEIBQtYVApiNfoCxMEuAPthE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘encap_decap_flags’: 0, ‘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’FpVYPcTKXEIBQtYVApiNfoCxMEuAPthE’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel’: {‘src’: 0, ‘dst’: 0, ‘table_id’: 0, ‘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’xc8x00x00e’}, ‘via_label’: 1048576, ‘obj_id’: 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]}]})