1518b-1t1c-ethip4ipsec4tnlsw- ip4base-int-aes128gcm-mrr
|
DUT1: cli_inband(cmd=’show logging’) show_version() sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:aa:c1’, ‘ip_address’: ‘192.168.10.2’}) ip_route_add_del(is_add=True,is_multipath=False,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘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’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) create_loopback_instance(mac_address=0,is_specified=False,user_instance=0) sw_interface_set_flags(sw_if_index=3,flags=1) sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}}) ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 1, ‘flags’: 1, ‘mac_address’: ‘80:41:26:6f:19:7e’, ‘ip_address’: ‘200.0.0.2’}) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}}) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}}) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’EEFaaKYaObywdqMZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’EEFaaKYaObywdqMZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’kufYoyVLZNiWSWdC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’kufYoyVLZNiWSWdC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’mKsUWmdBekOTEMEF’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’mKsUWmdBekOTEMEF’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’EmNBeyslxMzHsqaU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’EmNBeyslxMzHsqaU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_tunnel_protect_update(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=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_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=7) sw_interface_set_flags(sw_if_index=4,flags=1) sw_interface_set_flags(sw_if_index=5,flags=1) sw_interface_set_flags(sw_if_index=6,flags=1) sw_interface_set_flags(sw_if_index=7,flags=1) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) DUT2: cli_inband(cmd=’show logging’) show_version() sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:aa:c0’, ‘ip_address’: ‘192.168.20.2’}) ip_route_add_del(is_add=True,is_multipath=False,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’EEFaaKYaObywdqMZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’EEFaaKYaObywdqMZ’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’kufYoyVLZNiWSWdC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’kufYoyVLZNiWSWdC’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’mKsUWmdBekOTEMEF’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’mKsUWmdBekOTEMEF’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’EmNBeyslxMzHsqaU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’EmNBeyslxMzHsqaU’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]}) ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]}) ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]}) ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]}) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3) sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4) sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5) sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6) sw_interface_set_flags(sw_if_index=3,flags=1) sw_interface_set_flags(sw_if_index=4,flags=1) sw_interface_set_flags(sw_if_index=5,flags=1) sw_interface_set_flags(sw_if_index=6,flags=1) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
|
1518b-2t2c-ethip4ipsec4tnlsw- ip4base-int-aes128gcm-mrr
|
DUT1: cli_inband(cmd=’show logging’) show_version() sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:aa:c1’, ‘ip_address’: ‘192.168.10.2’}) ip_route_add_del(is_add=True,is_multipath=False,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘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’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) create_loopback_instance(mac_address=0,is_specified=False,user_instance=0) sw_interface_set_flags(sw_if_index=3,flags=1) sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}}) ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 1, ‘flags’: 1, ‘mac_address’: ‘80:41:26:6f:19:7e’, ‘ip_address’: ‘200.0.0.2’}) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}}) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}}) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’vxewqAhOBiWgEPUa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’vxewqAhOBiWgEPUa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’qPmShlxYUOCrdKUN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’qPmShlxYUOCrdKUN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’iaWVJCkazMgIjFYk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’iaWVJCkazMgIjFYk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’PThDeMrfyyxdRrjG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’PThDeMrfyyxdRrjG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_tunnel_protect_update(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=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_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=7) sw_interface_set_flags(sw_if_index=4,flags=1) sw_interface_set_flags(sw_if_index=5,flags=1) sw_interface_set_flags(sw_if_index=6,flags=1) sw_interface_set_flags(sw_if_index=7,flags=1) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) DUT2: cli_inband(cmd=’show logging’) show_version() sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:aa:c0’, ‘ip_address’: ‘192.168.20.2’}) ip_route_add_del(is_add=True,is_multipath=False,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’vxewqAhOBiWgEPUa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’vxewqAhOBiWgEPUa’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’qPmShlxYUOCrdKUN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’qPmShlxYUOCrdKUN’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’iaWVJCkazMgIjFYk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’iaWVJCkazMgIjFYk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’PThDeMrfyyxdRrjG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’PThDeMrfyyxdRrjG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]}) ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]}) ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]}) ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]}) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3) sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4) sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5) sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6) sw_interface_set_flags(sw_if_index=3,flags=1) sw_interface_set_flags(sw_if_index=4,flags=1) sw_interface_set_flags(sw_if_index=5,flags=1) sw_interface_set_flags(sw_if_index=6,flags=1) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
|
1518b-4t4c-ethip4ipsec4tnlsw- ip4base-int-aes128gcm-mrr
|
DUT1: cli_inband(cmd=’show logging’) show_version() sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:aa:c1’, ‘ip_address’: ‘192.168.10.2’}) ip_route_add_del(is_add=True,is_multipath=False,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘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’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) create_loopback_instance(mac_address=0,is_specified=False,user_instance=0) sw_interface_set_flags(sw_if_index=3,flags=1) sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}}) ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 1, ‘flags’: 1, ‘mac_address’: ‘80:41:26:6f:19:7e’, ‘ip_address’: ‘200.0.0.2’}) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}}) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}}) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’WoAQSpVXpUqZphqq’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’WoAQSpVXpUqZphqq’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’GrbUMEWVimKKwPiv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’GrbUMEWVimKKwPiv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’gHizIAVQIamfrvyT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’gHizIAVQIamfrvyT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’PdTwCzXnGZECxRXg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’PdTwCzXnGZECxRXg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_tunnel_protect_update(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=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_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=7) sw_interface_set_flags(sw_if_index=4,flags=1) sw_interface_set_flags(sw_if_index=5,flags=1) sw_interface_set_flags(sw_if_index=6,flags=1) sw_interface_set_flags(sw_if_index=7,flags=1) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) DUT2: cli_inband(cmd=’show logging’) show_version() sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:aa:c0’, ‘ip_address’: ‘192.168.20.2’}) ip_route_add_del(is_add=True,is_multipath=False,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’WoAQSpVXpUqZphqq’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’WoAQSpVXpUqZphqq’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’GrbUMEWVimKKwPiv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’GrbUMEWVimKKwPiv’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’gHizIAVQIamfrvyT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’gHizIAVQIamfrvyT’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’PdTwCzXnGZECxRXg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’PdTwCzXnGZECxRXg’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]}) ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]}) ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]}) ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]}) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3) sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4) sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5) sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6) sw_interface_set_flags(sw_if_index=3,flags=1) sw_interface_set_flags(sw_if_index=4,flags=1) sw_interface_set_flags(sw_if_index=5,flags=1) sw_interface_set_flags(sw_if_index=6,flags=1) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
|
imix-1t1c-ethip4ipsec4tnlsw- ip4base-int-aes128gcm-mrr
|
DUT1: cli_inband(cmd=’show logging’) show_version() sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:aa:c1’, ‘ip_address’: ‘192.168.10.2’}) ip_route_add_del(is_add=True,is_multipath=False,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘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’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) create_loopback_instance(mac_address=0,is_specified=False,user_instance=0) sw_interface_set_flags(sw_if_index=3,flags=1) sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}}) ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 1, ‘flags’: 1, ‘mac_address’: ‘80:41:26:6f:19:7e’, ‘ip_address’: ‘200.0.0.2’}) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}}) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}}) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’rFfXmhjbFjgBVQYL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’rFfXmhjbFjgBVQYL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’DEwajxLVEMOHOhgk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’DEwajxLVEMOHOhgk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’iScFqGydgOjVeNVW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’iScFqGydgOjVeNVW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’smcVmyNuWVukwngG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’smcVmyNuWVukwngG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_tunnel_protect_update(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=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_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=7) sw_interface_set_flags(sw_if_index=4,flags=1) sw_interface_set_flags(sw_if_index=5,flags=1) sw_interface_set_flags(sw_if_index=6,flags=1) sw_interface_set_flags(sw_if_index=7,flags=1) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) DUT2: cli_inband(cmd=’show logging’) show_version() sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:aa:c0’, ‘ip_address’: ‘192.168.20.2’}) ip_route_add_del(is_add=True,is_multipath=False,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’rFfXmhjbFjgBVQYL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’rFfXmhjbFjgBVQYL’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’DEwajxLVEMOHOhgk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’DEwajxLVEMOHOhgk’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’iScFqGydgOjVeNVW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’iScFqGydgOjVeNVW’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’smcVmyNuWVukwngG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’smcVmyNuWVukwngG’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]}) ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]}) ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]}) ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]}) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3) sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4) sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5) sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6) sw_interface_set_flags(sw_if_index=3,flags=1) sw_interface_set_flags(sw_if_index=4,flags=1) sw_interface_set_flags(sw_if_index=5,flags=1) sw_interface_set_flags(sw_if_index=6,flags=1) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
|
imix-2t2c-ethip4ipsec4tnlsw- ip4base-int-aes128gcm-mrr
|
DUT1: cli_inband(cmd=’show logging’) show_version() sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:aa:c1’, ‘ip_address’: ‘192.168.10.2’}) ip_route_add_del(is_add=True,is_multipath=False,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘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’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) create_loopback_instance(mac_address=0,is_specified=False,user_instance=0) sw_interface_set_flags(sw_if_index=3,flags=1) sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}}) ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 1, ‘flags’: 1, ‘mac_address’: ‘80:41:26:6f:19:7e’, ‘ip_address’: ‘200.0.0.2’}) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}}) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}}) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’QezaGppcLEopcGlj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’QezaGppcLEopcGlj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’CfOfqeSeOidTcvHR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’CfOfqeSeOidTcvHR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’sFbKRfqJmKCXWgXK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’sFbKRfqJmKCXWgXK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’SpbRFfEFjIKnyEch’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’SpbRFfEFjIKnyEch’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_tunnel_protect_update(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=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_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=7) sw_interface_set_flags(sw_if_index=4,flags=1) sw_interface_set_flags(sw_if_index=5,flags=1) sw_interface_set_flags(sw_if_index=6,flags=1) sw_interface_set_flags(sw_if_index=7,flags=1) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) DUT2: cli_inband(cmd=’show logging’) show_version() sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:aa:c0’, ‘ip_address’: ‘192.168.20.2’}) ip_route_add_del(is_add=True,is_multipath=False,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’QezaGppcLEopcGlj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’QezaGppcLEopcGlj’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’CfOfqeSeOidTcvHR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’CfOfqeSeOidTcvHR’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’sFbKRfqJmKCXWgXK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’sFbKRfqJmKCXWgXK’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’SpbRFfEFjIKnyEch’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’SpbRFfEFjIKnyEch’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]}) ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]}) ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]}) ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]}) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3) sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4) sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5) sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6) sw_interface_set_flags(sw_if_index=3,flags=1) sw_interface_set_flags(sw_if_index=4,flags=1) sw_interface_set_flags(sw_if_index=5,flags=1) sw_interface_set_flags(sw_if_index=6,flags=1) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
|
imix-4t4c-ethip4ipsec4tnlsw- ip4base-int-aes128gcm-mrr
|
DUT1: cli_inband(cmd=’show logging’) show_version() sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8nx01’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 2, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:aa:c1’, ‘ip_address’: ‘192.168.10.2’}) ip_route_add_del(is_add=True,is_multipath=False,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘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’xc0xa8nx02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) create_loopback_instance(mac_address=0,is_specified=False,user_instance=0) sw_interface_set_flags(sw_if_index=3,flags=1) sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x01’}}}) ip_neighbor_add_del(is_add=1,neighbor={‘sw_if_index’: 1, ‘flags’: 1, ‘mac_address’: ‘80:41:26:6f:19:7e’, ‘ip_address’: ‘200.0.0.2’}) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}}) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}}) sw_interface_add_del_address(sw_if_index=3,is_add=True,del_all=False,prefix={‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’hIbJYhRtpAeWecQM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’hIbJYhRtpAeWecQM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’YqJnLJvKiFWznWba’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’YqJnLJvKiFWznWba’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’KGgWOsDmiCXkLxwe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’KGgWOsDmiCXkLxwe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’OFjyWaIKeolvmRsi’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’OFjyWaIKeolvmRsi’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_tunnel_protect_update(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=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_unnumbered(is_add=True,sw_if_index=1,unnumbered_sw_if_index=7) sw_interface_set_flags(sw_if_index=4,flags=1) sw_interface_set_flags(sw_if_index=5,flags=1) sw_interface_set_flags(sw_if_index=6,flags=1) sw_interface_set_flags(sw_if_index=7,flags=1) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 7, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) DUT2: cli_inband(cmd=’show logging’) show_version() sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_set_flags(sw_if_index=1,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_add_del_address(sw_if_index=1,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc0xa8x14x01’}}}) ip_neighbor_add_del(is_add=True,neighbor={‘sw_if_index’: 1, ‘flags’: 0, ‘mac_address’: ‘3c:fd:fe:a8:aa:c0’, ‘ip_address’: ‘192.168.20.2’}) ip_route_add_del(is_add=True,is_multipath=False,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 1, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc0xa8x14x02’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_add_del_address(sw_if_index=2,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x01x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x02x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipip_add_tunnel(tunnel={‘instance’: 4294967295, ‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’xc8x00x00x02’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x03x01’}}, ‘table_id’: 0, ‘flags’: 0, ‘mode’: 0, ‘dscp’: 0}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100000, ‘spi’: 200000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’hIbJYhRtpAeWecQM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 0, ‘spi’: 100000, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’hIbJYhRtpAeWecQM’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100001, ‘spi’: 200001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’YqJnLJvKiFWznWba’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 1, ‘spi’: 100001, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’YqJnLJvKiFWznWba’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100002, ‘spi’: 200002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’KGgWOsDmiCXkLxwe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 2, ‘spi’: 100002, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’KGgWOsDmiCXkLxwe’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 100003, ‘spi’: 200003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’OFjyWaIKeolvmRsi’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 0, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_sad_entry_add_del_v2(is_add=True,entry={‘sad_id’: 3, ‘spi’: 100003, ‘protocol’: 50, ‘crypto_algorithm’: 7, ‘crypto_key’: {‘length’: 16, ‘data’: b’OFjyWaIKeolvmRsi’}, ‘integrity_algorithm’: 0, ‘integrity_key’: {‘length’: 0, ‘data’: None}, ‘flags’: 64, ‘tunnel_src’: 0, ‘tunnel_dst’: 0, ‘tunnel_flags’: 0, ‘dscp’: 0, ‘table_id’: 0, ‘salt’: 0, ‘udp_src_port’: 65535, ‘udp_dst_port’: 65535}) ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 3, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100000, ‘n_sa_in’: 1, ‘sa_in’: [0]}) ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 4, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100001, ‘n_sa_in’: 1, ‘sa_in’: [1]}) ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 5, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100002, ‘n_sa_in’: 1, ‘sa_in’: [2]}) ipsec_tunnel_protect_update(tunnel={‘sw_if_index’: 6, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘sa_out’: 100003, ‘n_sa_in’: 1, ‘sa_in’: [3]}) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 8, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’dx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 2, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’xc8x00x00x01’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=3) sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=4) sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=5) sw_interface_set_unnumbered(is_add=True,sw_if_index=2,unnumbered_sw_if_index=6) sw_interface_set_flags(sw_if_index=3,flags=1) sw_interface_set_flags(sw_if_index=4,flags=1) sw_interface_set_flags(sw_if_index=5,flags=1) sw_interface_set_flags(sw_if_index=6,flags=1) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 3, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x01’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 4, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x02’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=1,is_multipath=0,route={‘table_id’: 0, ‘prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x03’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 6, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: 0, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]})
|