64b-2t1c-avf- dot1q-l2bdbasemaclrn-gbp-ndrpdr
|
DUT1: cli_inband(cmd=’show logging’) show_version() sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’set logging class avf level debug’) avf_create(pci_addr=171638784,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’set logging class avf level debug’) avf_create(pci_addr=37421056,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=1,flags=1) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) create_vlan_subif(sw_if_index=1,vlan_id=100) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) create_vlan_subif(sw_if_index=2,vlan_id=200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=3,flags=1) sw_interface_set_flags(sw_if_index=4,flags=1) l2_interface_vlan_tag_rewrite(sw_if_index=3,vtr_op=3,push_dot1q=1,tag1=0,tag2=0) l2_interface_vlan_tag_rewrite(sw_if_index=4,vtr_op=3,push_dot1q=1,tag1=0,tag2=0) create_loopback(mac_address=b’xbaxdcx00xffxeex01’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=5,flags=1) ip_table_add_del(table={‘table_id’: 1, ‘is_ip6’: False},is_add=True) gbp_route_domain_add(rd={‘rd_id’: 1, ‘ip4_table_id’: 1, ‘ip6_table_id’: 0, ‘ip4_uu_sw_if_index’: 4294967295, ‘ip6_uu_sw_if_index’: 4294967295}) sw_interface_set_table(sw_if_index=5,is_ipv6=False,vrf_id=1) bridge_domain_add_del(bd_id=1,flood=1,uu_flood=1,forward=1,learn=1,arp_term=1,is_add=1) gbp_bridge_domain_add(bd={‘flags’: 0, ‘bvi_sw_if_index’: 5, ‘uu_fwd_sw_if_index’: 4294967295, ‘bm_flood_sw_if_index’: 4294967295, ‘bd_id’: 1, ‘rd_id’: 1}) gbp_endpoint_group_add(epg={‘uplink_sw_if_index’: 4294967295, ‘bd_id’: 1, ‘rd_id’: 1, ‘vnid’: 1, ‘sclass’: 100, ‘retention’: {‘remote_ep_timeout’: 4294967295}}) sw_interface_add_del_address(sw_if_index=5,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x01’}}}) gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 100, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x00’}}, ‘len’: 24}, ‘rd_id’: 1}) gbp_ext_itf_add_del(is_add=True,ext_itf={‘sw_if_index’: 5, ‘bd_id’: 1, ‘rd_id’: 1, ‘flags’: 0}) gbp_endpoint_add(endpoint={‘sw_if_index’: 3, ‘ips’: [{‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01d’}}], ‘n_ips’: 1, ‘mac’: b’<xfdxfexddxd4)’, ‘sclass’: 100, ‘flags’: 8, ‘tun’: {‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}}}) gbp_endpoint_add(endpoint={‘sw_if_index’: 4, ‘ips’: [{‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01xc8’}}], ‘n_ips’: 1, ‘mac’: b’<xfdxfexddxd4(‘, ‘sclass’: 100, ‘flags’: 8, ‘tun’: {‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}}}) ip_route_add_del(is_add=True,is_multipath=False,route={‘table_id’: 1, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01d’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=True,is_multipath=False,route={‘table_id’: 1, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01xc8’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 200, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}, ‘len’: 24}, ‘rd_id’: 1}) gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 300, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}, ‘len’: 24}, ‘rd_id’: 1}) acl_add_replace(tag=b’’gbp-permit-200-300’’,acl_index=4294967295,count=1,r=[{‘is_permit’: 1, ‘is_ipv6’: 0, ‘src_ip_addr’: b’x00x00x00x00’, ‘src_ip_prefix_len’: 0, ‘dst_ip_addr’: b’x00x00x00x00’, ‘dst_ip_prefix_len’: 0, ‘srcport_or_icmptype_first’: 0, ‘srcport_or_icmptype_last’: 65535, ‘dstport_or_icmpcode_first’: 0, ‘dstport_or_icmpcode_last’: 65535, ‘proto’: 61}]) gbp_contract_add_del(is_add=True,contract={‘acl_index’: 0, ‘sclass’: 200, ‘dclass’: 300, ‘n_rules’: 2, ‘rules’: [{‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}, {‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}], ‘n_ether_types’: 16, ‘allowed_ethertypes’: [2048, 34525, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}) gbp_contract_add_del(is_add=True,contract={‘acl_index’: 0, ‘sclass’: 300, ‘dclass’: 200, ‘n_rules’: 2, ‘rules’: [{‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}, {‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}], ‘n_ether_types’: 16, ‘allowed_ethertypes’: [2048, 34525, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}) sw_interface_set_flags(sw_if_index=1,flags=1) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’clear runtime’) vpp-stats(path=’^/sys/node’) cli_inband(cmd=’clear errors’) cli_inband(cmd=’clear interfaces’) cli_inband(cmd=’elog trace api cli barrier’) cli_inband(cmd=’show event-logger’) cli_inband(cmd=’show errors’) cli_inband(cmd=’show hardware verbose’) cli_inband(cmd=’clear runtime’) vpp-stats(path=’^/sys/node’) cli_inband(cmd=’clear errors’) cli_inband(cmd=’clear interfaces’) cli_inband(cmd=’elog trace api cli barrier’) cli_inband(cmd=’show event-logger’) cli_inband(cmd=’show errors’) cli_inband(cmd=’show hardware verbose’)
|
64b-4t2c-avf- dot1q-l2bdbasemaclrn-gbp-ndrpdr
|
DUT1: cli_inband(cmd=’show logging’) show_version() sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’set logging class avf level debug’) avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’set logging class avf level debug’) avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=1,flags=1) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) create_vlan_subif(sw_if_index=1,vlan_id=100) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) create_vlan_subif(sw_if_index=2,vlan_id=200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=3,flags=1) sw_interface_set_flags(sw_if_index=4,flags=1) l2_interface_vlan_tag_rewrite(sw_if_index=3,vtr_op=3,push_dot1q=1,tag1=0,tag2=0) l2_interface_vlan_tag_rewrite(sw_if_index=4,vtr_op=3,push_dot1q=1,tag1=0,tag2=0) create_loopback(mac_address=b’xbaxdcx00xffxeex01’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=5,flags=1) ip_table_add_del(table={‘table_id’: 1, ‘is_ip6’: False},is_add=True) gbp_route_domain_add(rd={‘rd_id’: 1, ‘ip4_table_id’: 1, ‘ip6_table_id’: 0, ‘ip4_uu_sw_if_index’: 4294967295, ‘ip6_uu_sw_if_index’: 4294967295}) sw_interface_set_table(sw_if_index=5,is_ipv6=False,vrf_id=1) bridge_domain_add_del(bd_id=1,flood=1,uu_flood=1,forward=1,learn=1,arp_term=1,is_add=1) gbp_bridge_domain_add(bd={‘flags’: 0, ‘bvi_sw_if_index’: 5, ‘uu_fwd_sw_if_index’: 4294967295, ‘bm_flood_sw_if_index’: 4294967295, ‘bd_id’: 1, ‘rd_id’: 1}) gbp_endpoint_group_add(epg={‘uplink_sw_if_index’: 4294967295, ‘bd_id’: 1, ‘rd_id’: 1, ‘vnid’: 1, ‘sclass’: 100, ‘retention’: {‘remote_ep_timeout’: 4294967295}}) sw_interface_add_del_address(sw_if_index=5,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x01’}}}) gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 100, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x00’}}, ‘len’: 24}, ‘rd_id’: 1}) gbp_ext_itf_add_del(is_add=True,ext_itf={‘sw_if_index’: 5, ‘bd_id’: 1, ‘rd_id’: 1, ‘flags’: 0}) gbp_endpoint_add(endpoint={‘sw_if_index’: 3, ‘ips’: [{‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01d’}}], ‘n_ips’: 1, ‘mac’: b’<xfdxfexddxd4)’, ‘sclass’: 100, ‘flags’: 8, ‘tun’: {‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}}}) gbp_endpoint_add(endpoint={‘sw_if_index’: 4, ‘ips’: [{‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01xc8’}}], ‘n_ips’: 1, ‘mac’: b’<xfdxfexddxd4(‘, ‘sclass’: 100, ‘flags’: 8, ‘tun’: {‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}}}) ip_route_add_del(is_add=True,is_multipath=False,route={‘table_id’: 1, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01d’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=True,is_multipath=False,route={‘table_id’: 1, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01xc8’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 200, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}, ‘len’: 24}, ‘rd_id’: 1}) gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 300, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}, ‘len’: 24}, ‘rd_id’: 1}) acl_add_replace(tag=b’’gbp-permit-200-300’’,acl_index=4294967295,count=1,r=[{‘is_permit’: 1, ‘is_ipv6’: 0, ‘src_ip_addr’: b’x00x00x00x00’, ‘src_ip_prefix_len’: 0, ‘dst_ip_addr’: b’x00x00x00x00’, ‘dst_ip_prefix_len’: 0, ‘srcport_or_icmptype_first’: 0, ‘srcport_or_icmptype_last’: 65535, ‘dstport_or_icmpcode_first’: 0, ‘dstport_or_icmpcode_last’: 65535, ‘proto’: 61}]) gbp_contract_add_del(is_add=True,contract={‘acl_index’: 0, ‘sclass’: 200, ‘dclass’: 300, ‘n_rules’: 2, ‘rules’: [{‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}, {‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}], ‘n_ether_types’: 16, ‘allowed_ethertypes’: [2048, 34525, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}) gbp_contract_add_del(is_add=True,contract={‘acl_index’: 0, ‘sclass’: 300, ‘dclass’: 200, ‘n_rules’: 2, ‘rules’: [{‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}, {‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}], ‘n_ether_types’: 16, ‘allowed_ethertypes’: [2048, 34525, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}) sw_interface_set_flags(sw_if_index=1,flags=1) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’clear runtime’) vpp-stats(path=’^/sys/node’) cli_inband(cmd=’clear errors’) cli_inband(cmd=’clear interfaces’) cli_inband(cmd=’elog trace api cli barrier’) cli_inband(cmd=’show event-logger’) cli_inband(cmd=’show errors’) cli_inband(cmd=’show hardware verbose’) cli_inband(cmd=’clear runtime’) vpp-stats(path=’^/sys/node’) cli_inband(cmd=’clear errors’) cli_inband(cmd=’clear interfaces’) cli_inband(cmd=’elog trace api cli barrier’) cli_inband(cmd=’show event-logger’) cli_inband(cmd=’show errors’) cli_inband(cmd=’show hardware verbose’)
|
64b-8t4c-avf- dot1q-l2bdbasemaclrn-gbp-ndrpdr
|
DUT1: cli_inband(cmd=’show logging’) show_version() sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’set logging class avf level debug’) avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’set logging class avf level debug’) avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=1,flags=1) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) create_vlan_subif(sw_if_index=1,vlan_id=100) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) create_vlan_subif(sw_if_index=2,vlan_id=200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=3,flags=1) sw_interface_set_flags(sw_if_index=4,flags=1) l2_interface_vlan_tag_rewrite(sw_if_index=3,vtr_op=3,push_dot1q=1,tag1=0,tag2=0) l2_interface_vlan_tag_rewrite(sw_if_index=4,vtr_op=3,push_dot1q=1,tag1=0,tag2=0) create_loopback(mac_address=b’xbaxdcx00xffxeex01’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=5,flags=1) ip_table_add_del(table={‘table_id’: 1, ‘is_ip6’: False},is_add=True) gbp_route_domain_add(rd={‘rd_id’: 1, ‘ip4_table_id’: 1, ‘ip6_table_id’: 0, ‘ip4_uu_sw_if_index’: 4294967295, ‘ip6_uu_sw_if_index’: 4294967295}) sw_interface_set_table(sw_if_index=5,is_ipv6=False,vrf_id=1) bridge_domain_add_del(bd_id=1,flood=1,uu_flood=1,forward=1,learn=1,arp_term=1,is_add=1) gbp_bridge_domain_add(bd={‘flags’: 0, ‘bvi_sw_if_index’: 5, ‘uu_fwd_sw_if_index’: 4294967295, ‘bm_flood_sw_if_index’: 4294967295, ‘bd_id’: 1, ‘rd_id’: 1}) gbp_endpoint_group_add(epg={‘uplink_sw_if_index’: 4294967295, ‘bd_id’: 1, ‘rd_id’: 1, ‘vnid’: 1, ‘sclass’: 100, ‘retention’: {‘remote_ep_timeout’: 4294967295}}) sw_interface_add_del_address(sw_if_index=5,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x01’}}}) gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 100, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x00’}}, ‘len’: 24}, ‘rd_id’: 1}) gbp_ext_itf_add_del(is_add=True,ext_itf={‘sw_if_index’: 5, ‘bd_id’: 1, ‘rd_id’: 1, ‘flags’: 0}) gbp_endpoint_add(endpoint={‘sw_if_index’: 3, ‘ips’: [{‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01d’}}], ‘n_ips’: 1, ‘mac’: b’<xfdxfexddxd4)’, ‘sclass’: 100, ‘flags’: 8, ‘tun’: {‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}}}) gbp_endpoint_add(endpoint={‘sw_if_index’: 4, ‘ips’: [{‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01xc8’}}], ‘n_ips’: 1, ‘mac’: b’<xfdxfexddxd4(‘, ‘sclass’: 100, ‘flags’: 8, ‘tun’: {‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}}}) ip_route_add_del(is_add=True,is_multipath=False,route={‘table_id’: 1, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01d’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=True,is_multipath=False,route={‘table_id’: 1, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01xc8’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 200, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}, ‘len’: 24}, ‘rd_id’: 1}) gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 300, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}, ‘len’: 24}, ‘rd_id’: 1}) acl_add_replace(tag=b’’gbp-permit-200-300’’,acl_index=4294967295,count=1,r=[{‘is_permit’: 1, ‘is_ipv6’: 0, ‘src_ip_addr’: b’x00x00x00x00’, ‘src_ip_prefix_len’: 0, ‘dst_ip_addr’: b’x00x00x00x00’, ‘dst_ip_prefix_len’: 0, ‘srcport_or_icmptype_first’: 0, ‘srcport_or_icmptype_last’: 65535, ‘dstport_or_icmpcode_first’: 0, ‘dstport_or_icmpcode_last’: 65535, ‘proto’: 61}]) gbp_contract_add_del(is_add=True,contract={‘acl_index’: 0, ‘sclass’: 200, ‘dclass’: 300, ‘n_rules’: 2, ‘rules’: [{‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}, {‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}], ‘n_ether_types’: 16, ‘allowed_ethertypes’: [2048, 34525, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}) gbp_contract_add_del(is_add=True,contract={‘acl_index’: 0, ‘sclass’: 300, ‘dclass’: 200, ‘n_rules’: 2, ‘rules’: [{‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}, {‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}], ‘n_ether_types’: 16, ‘allowed_ethertypes’: [2048, 34525, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}) sw_interface_set_flags(sw_if_index=1,flags=1) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’clear runtime’) vpp-stats(path=’^/sys/node’) cli_inband(cmd=’clear errors’) cli_inband(cmd=’clear interfaces’) cli_inband(cmd=’elog trace api cli barrier’) cli_inband(cmd=’show event-logger’) cli_inband(cmd=’show errors’) cli_inband(cmd=’show hardware verbose’) cli_inband(cmd=’clear runtime’) vpp-stats(path=’^/sys/node’) cli_inband(cmd=’clear errors’) cli_inband(cmd=’clear interfaces’) cli_inband(cmd=’elog trace api cli barrier’) cli_inband(cmd=’show event-logger’) cli_inband(cmd=’show errors’) cli_inband(cmd=’show hardware verbose’)
|
1518b-2t1c-avf- dot1q-l2bdbasemaclrn-gbp-ndrpdr
|
DUT1: cli_inband(cmd=’show logging’) show_version() sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’set logging class avf level debug’) avf_create(pci_addr=171638784,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’set logging class avf level debug’) avf_create(pci_addr=37421056,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=1,flags=1) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) create_vlan_subif(sw_if_index=1,vlan_id=100) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) create_vlan_subif(sw_if_index=2,vlan_id=200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=3,flags=1) sw_interface_set_flags(sw_if_index=4,flags=1) l2_interface_vlan_tag_rewrite(sw_if_index=3,vtr_op=3,push_dot1q=1,tag1=0,tag2=0) l2_interface_vlan_tag_rewrite(sw_if_index=4,vtr_op=3,push_dot1q=1,tag1=0,tag2=0) create_loopback(mac_address=b’xbaxdcx00xffxeex01’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=5,flags=1) ip_table_add_del(table={‘table_id’: 1, ‘is_ip6’: False},is_add=True) gbp_route_domain_add(rd={‘rd_id’: 1, ‘ip4_table_id’: 1, ‘ip6_table_id’: 0, ‘ip4_uu_sw_if_index’: 4294967295, ‘ip6_uu_sw_if_index’: 4294967295}) sw_interface_set_table(sw_if_index=5,is_ipv6=False,vrf_id=1) bridge_domain_add_del(bd_id=1,flood=1,uu_flood=1,forward=1,learn=1,arp_term=1,is_add=1) gbp_bridge_domain_add(bd={‘flags’: 0, ‘bvi_sw_if_index’: 5, ‘uu_fwd_sw_if_index’: 4294967295, ‘bm_flood_sw_if_index’: 4294967295, ‘bd_id’: 1, ‘rd_id’: 1}) gbp_endpoint_group_add(epg={‘uplink_sw_if_index’: 4294967295, ‘bd_id’: 1, ‘rd_id’: 1, ‘vnid’: 1, ‘sclass’: 100, ‘retention’: {‘remote_ep_timeout’: 4294967295}}) sw_interface_add_del_address(sw_if_index=5,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x01’}}}) gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 100, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x00’}}, ‘len’: 24}, ‘rd_id’: 1}) gbp_ext_itf_add_del(is_add=True,ext_itf={‘sw_if_index’: 5, ‘bd_id’: 1, ‘rd_id’: 1, ‘flags’: 0}) gbp_endpoint_add(endpoint={‘sw_if_index’: 3, ‘ips’: [{‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01d’}}], ‘n_ips’: 1, ‘mac’: b’<xfdxfexddxd4)’, ‘sclass’: 100, ‘flags’: 8, ‘tun’: {‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}}}) gbp_endpoint_add(endpoint={‘sw_if_index’: 4, ‘ips’: [{‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01xc8’}}], ‘n_ips’: 1, ‘mac’: b’<xfdxfexddxd4(‘, ‘sclass’: 100, ‘flags’: 8, ‘tun’: {‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}}}) ip_route_add_del(is_add=True,is_multipath=False,route={‘table_id’: 1, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01d’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=True,is_multipath=False,route={‘table_id’: 1, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01xc8’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 200, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}, ‘len’: 24}, ‘rd_id’: 1}) gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 300, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}, ‘len’: 24}, ‘rd_id’: 1}) acl_add_replace(tag=b’’gbp-permit-200-300’’,acl_index=4294967295,count=1,r=[{‘is_permit’: 1, ‘is_ipv6’: 0, ‘src_ip_addr’: b’x00x00x00x00’, ‘src_ip_prefix_len’: 0, ‘dst_ip_addr’: b’x00x00x00x00’, ‘dst_ip_prefix_len’: 0, ‘srcport_or_icmptype_first’: 0, ‘srcport_or_icmptype_last’: 65535, ‘dstport_or_icmpcode_first’: 0, ‘dstport_or_icmpcode_last’: 65535, ‘proto’: 61}]) gbp_contract_add_del(is_add=True,contract={‘acl_index’: 0, ‘sclass’: 200, ‘dclass’: 300, ‘n_rules’: 2, ‘rules’: [{‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}, {‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}], ‘n_ether_types’: 16, ‘allowed_ethertypes’: [2048, 34525, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}) gbp_contract_add_del(is_add=True,contract={‘acl_index’: 0, ‘sclass’: 300, ‘dclass’: 200, ‘n_rules’: 2, ‘rules’: [{‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}, {‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}], ‘n_ether_types’: 16, ‘allowed_ethertypes’: [2048, 34525, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}) sw_interface_set_flags(sw_if_index=1,flags=1) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’clear runtime’) vpp-stats(path=’^/sys/node’) cli_inband(cmd=’clear errors’) cli_inband(cmd=’clear interfaces’) cli_inband(cmd=’elog trace api cli barrier’) cli_inband(cmd=’show event-logger’) cli_inband(cmd=’show errors’) cli_inband(cmd=’show hardware verbose’) cli_inband(cmd=’clear runtime’) vpp-stats(path=’^/sys/node’) cli_inband(cmd=’clear errors’) cli_inband(cmd=’clear interfaces’) cli_inband(cmd=’elog trace api cli barrier’) cli_inband(cmd=’show event-logger’) cli_inband(cmd=’show errors’) cli_inband(cmd=’show hardware verbose’)
|
1518b-4t2c-avf- dot1q-l2bdbasemaclrn-gbp-ndrpdr
|
DUT1: cli_inband(cmd=’show logging’) show_version() sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’set logging class avf level debug’) avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’set logging class avf level debug’) avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=1,flags=1) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) create_vlan_subif(sw_if_index=1,vlan_id=100) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) create_vlan_subif(sw_if_index=2,vlan_id=200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=3,flags=1) sw_interface_set_flags(sw_if_index=4,flags=1) l2_interface_vlan_tag_rewrite(sw_if_index=3,vtr_op=3,push_dot1q=1,tag1=0,tag2=0) l2_interface_vlan_tag_rewrite(sw_if_index=4,vtr_op=3,push_dot1q=1,tag1=0,tag2=0) create_loopback(mac_address=b’xbaxdcx00xffxeex01’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=5,flags=1) ip_table_add_del(table={‘table_id’: 1, ‘is_ip6’: False},is_add=True) gbp_route_domain_add(rd={‘rd_id’: 1, ‘ip4_table_id’: 1, ‘ip6_table_id’: 0, ‘ip4_uu_sw_if_index’: 4294967295, ‘ip6_uu_sw_if_index’: 4294967295}) sw_interface_set_table(sw_if_index=5,is_ipv6=False,vrf_id=1) bridge_domain_add_del(bd_id=1,flood=1,uu_flood=1,forward=1,learn=1,arp_term=1,is_add=1) gbp_bridge_domain_add(bd={‘flags’: 0, ‘bvi_sw_if_index’: 5, ‘uu_fwd_sw_if_index’: 4294967295, ‘bm_flood_sw_if_index’: 4294967295, ‘bd_id’: 1, ‘rd_id’: 1}) gbp_endpoint_group_add(epg={‘uplink_sw_if_index’: 4294967295, ‘bd_id’: 1, ‘rd_id’: 1, ‘vnid’: 1, ‘sclass’: 100, ‘retention’: {‘remote_ep_timeout’: 4294967295}}) sw_interface_add_del_address(sw_if_index=5,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x01’}}}) gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 100, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x00’}}, ‘len’: 24}, ‘rd_id’: 1}) gbp_ext_itf_add_del(is_add=True,ext_itf={‘sw_if_index’: 5, ‘bd_id’: 1, ‘rd_id’: 1, ‘flags’: 0}) gbp_endpoint_add(endpoint={‘sw_if_index’: 3, ‘ips’: [{‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01d’}}], ‘n_ips’: 1, ‘mac’: b’<xfdxfexddxd4)’, ‘sclass’: 100, ‘flags’: 8, ‘tun’: {‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}}}) gbp_endpoint_add(endpoint={‘sw_if_index’: 4, ‘ips’: [{‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01xc8’}}], ‘n_ips’: 1, ‘mac’: b’<xfdxfexddxd4(‘, ‘sclass’: 100, ‘flags’: 8, ‘tun’: {‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}}}) ip_route_add_del(is_add=True,is_multipath=False,route={‘table_id’: 1, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01d’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=True,is_multipath=False,route={‘table_id’: 1, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01xc8’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 200, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}, ‘len’: 24}, ‘rd_id’: 1}) gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 300, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}, ‘len’: 24}, ‘rd_id’: 1}) acl_add_replace(tag=b’’gbp-permit-200-300’’,acl_index=4294967295,count=1,r=[{‘is_permit’: 1, ‘is_ipv6’: 0, ‘src_ip_addr’: b’x00x00x00x00’, ‘src_ip_prefix_len’: 0, ‘dst_ip_addr’: b’x00x00x00x00’, ‘dst_ip_prefix_len’: 0, ‘srcport_or_icmptype_first’: 0, ‘srcport_or_icmptype_last’: 65535, ‘dstport_or_icmpcode_first’: 0, ‘dstport_or_icmpcode_last’: 65535, ‘proto’: 61}]) gbp_contract_add_del(is_add=True,contract={‘acl_index’: 0, ‘sclass’: 200, ‘dclass’: 300, ‘n_rules’: 2, ‘rules’: [{‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}, {‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}], ‘n_ether_types’: 16, ‘allowed_ethertypes’: [2048, 34525, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}) gbp_contract_add_del(is_add=True,contract={‘acl_index’: 0, ‘sclass’: 300, ‘dclass’: 200, ‘n_rules’: 2, ‘rules’: [{‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}, {‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}], ‘n_ether_types’: 16, ‘allowed_ethertypes’: [2048, 34525, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}) sw_interface_set_flags(sw_if_index=1,flags=1) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’clear runtime’) vpp-stats(path=’^/sys/node’) cli_inband(cmd=’clear errors’) cli_inband(cmd=’clear interfaces’) cli_inband(cmd=’elog trace api cli barrier’) cli_inband(cmd=’show event-logger’) cli_inband(cmd=’show errors’) cli_inband(cmd=’show hardware verbose’) cli_inband(cmd=’clear runtime’) vpp-stats(path=’^/sys/node’) cli_inband(cmd=’clear errors’) cli_inband(cmd=’clear interfaces’) cli_inband(cmd=’elog trace api cli barrier’) cli_inband(cmd=’show event-logger’) cli_inband(cmd=’show errors’) cli_inband(cmd=’show hardware verbose’)
|
1518b-8t4c-avf- dot1q-l2bdbasemaclrn-gbp-ndrpdr
|
DUT1: cli_inband(cmd=’show logging’) show_version() sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’set logging class avf level debug’) avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’set logging class avf level debug’) avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=1,flags=1) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) create_vlan_subif(sw_if_index=1,vlan_id=100) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) create_vlan_subif(sw_if_index=2,vlan_id=200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=3,flags=1) sw_interface_set_flags(sw_if_index=4,flags=1) l2_interface_vlan_tag_rewrite(sw_if_index=3,vtr_op=3,push_dot1q=1,tag1=0,tag2=0) l2_interface_vlan_tag_rewrite(sw_if_index=4,vtr_op=3,push_dot1q=1,tag1=0,tag2=0) create_loopback(mac_address=b’xbaxdcx00xffxeex01’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=5,flags=1) ip_table_add_del(table={‘table_id’: 1, ‘is_ip6’: False},is_add=True) gbp_route_domain_add(rd={‘rd_id’: 1, ‘ip4_table_id’: 1, ‘ip6_table_id’: 0, ‘ip4_uu_sw_if_index’: 4294967295, ‘ip6_uu_sw_if_index’: 4294967295}) sw_interface_set_table(sw_if_index=5,is_ipv6=False,vrf_id=1) bridge_domain_add_del(bd_id=1,flood=1,uu_flood=1,forward=1,learn=1,arp_term=1,is_add=1) gbp_bridge_domain_add(bd={‘flags’: 0, ‘bvi_sw_if_index’: 5, ‘uu_fwd_sw_if_index’: 4294967295, ‘bm_flood_sw_if_index’: 4294967295, ‘bd_id’: 1, ‘rd_id’: 1}) gbp_endpoint_group_add(epg={‘uplink_sw_if_index’: 4294967295, ‘bd_id’: 1, ‘rd_id’: 1, ‘vnid’: 1, ‘sclass’: 100, ‘retention’: {‘remote_ep_timeout’: 4294967295}}) sw_interface_add_del_address(sw_if_index=5,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x01’}}}) gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 100, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x00’}}, ‘len’: 24}, ‘rd_id’: 1}) gbp_ext_itf_add_del(is_add=True,ext_itf={‘sw_if_index’: 5, ‘bd_id’: 1, ‘rd_id’: 1, ‘flags’: 0}) gbp_endpoint_add(endpoint={‘sw_if_index’: 3, ‘ips’: [{‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01d’}}], ‘n_ips’: 1, ‘mac’: b’<xfdxfexddxd4)’, ‘sclass’: 100, ‘flags’: 8, ‘tun’: {‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}}}) gbp_endpoint_add(endpoint={‘sw_if_index’: 4, ‘ips’: [{‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01xc8’}}], ‘n_ips’: 1, ‘mac’: b’<xfdxfexddxd4(‘, ‘sclass’: 100, ‘flags’: 8, ‘tun’: {‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}}}) ip_route_add_del(is_add=True,is_multipath=False,route={‘table_id’: 1, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01d’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=True,is_multipath=False,route={‘table_id’: 1, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01xc8’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 200, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}, ‘len’: 24}, ‘rd_id’: 1}) gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 300, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}, ‘len’: 24}, ‘rd_id’: 1}) acl_add_replace(tag=b’’gbp-permit-200-300’’,acl_index=4294967295,count=1,r=[{‘is_permit’: 1, ‘is_ipv6’: 0, ‘src_ip_addr’: b’x00x00x00x00’, ‘src_ip_prefix_len’: 0, ‘dst_ip_addr’: b’x00x00x00x00’, ‘dst_ip_prefix_len’: 0, ‘srcport_or_icmptype_first’: 0, ‘srcport_or_icmptype_last’: 65535, ‘dstport_or_icmpcode_first’: 0, ‘dstport_or_icmpcode_last’: 65535, ‘proto’: 61}]) gbp_contract_add_del(is_add=True,contract={‘acl_index’: 0, ‘sclass’: 200, ‘dclass’: 300, ‘n_rules’: 2, ‘rules’: [{‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}, {‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}], ‘n_ether_types’: 16, ‘allowed_ethertypes’: [2048, 34525, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}) gbp_contract_add_del(is_add=True,contract={‘acl_index’: 0, ‘sclass’: 300, ‘dclass’: 200, ‘n_rules’: 2, ‘rules’: [{‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}, {‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}], ‘n_ether_types’: 16, ‘allowed_ethertypes’: [2048, 34525, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}) sw_interface_set_flags(sw_if_index=1,flags=1) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’clear runtime’) vpp-stats(path=’^/sys/node’) cli_inband(cmd=’clear errors’) cli_inband(cmd=’clear interfaces’) cli_inband(cmd=’elog trace api cli barrier’) cli_inband(cmd=’show event-logger’) cli_inband(cmd=’show errors’) cli_inband(cmd=’show hardware verbose’) cli_inband(cmd=’clear runtime’) vpp-stats(path=’^/sys/node’) cli_inband(cmd=’clear errors’) cli_inband(cmd=’clear interfaces’) cli_inband(cmd=’elog trace api cli barrier’) cli_inband(cmd=’show event-logger’) cli_inband(cmd=’show errors’) cli_inband(cmd=’show hardware verbose’)
|
9000b-2t1c-avf- dot1q-l2bdbasemaclrn-gbp-ndrpdr
|
DUT1: cli_inband(cmd=’show logging’) show_version() sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’set logging class avf level debug’) avf_create(pci_addr=171638784,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’set logging class avf level debug’) avf_create(pci_addr=37421056,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=1,flags=1) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) create_vlan_subif(sw_if_index=1,vlan_id=100) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) create_vlan_subif(sw_if_index=2,vlan_id=200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=3,flags=1) sw_interface_set_flags(sw_if_index=4,flags=1) l2_interface_vlan_tag_rewrite(sw_if_index=3,vtr_op=3,push_dot1q=1,tag1=0,tag2=0) l2_interface_vlan_tag_rewrite(sw_if_index=4,vtr_op=3,push_dot1q=1,tag1=0,tag2=0) create_loopback(mac_address=b’xbaxdcx00xffxeex01’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=5,flags=1) ip_table_add_del(table={‘table_id’: 1, ‘is_ip6’: False},is_add=True) gbp_route_domain_add(rd={‘rd_id’: 1, ‘ip4_table_id’: 1, ‘ip6_table_id’: 0, ‘ip4_uu_sw_if_index’: 4294967295, ‘ip6_uu_sw_if_index’: 4294967295}) sw_interface_set_table(sw_if_index=5,is_ipv6=False,vrf_id=1) bridge_domain_add_del(bd_id=1,flood=1,uu_flood=1,forward=1,learn=1,arp_term=1,is_add=1) gbp_bridge_domain_add(bd={‘flags’: 0, ‘bvi_sw_if_index’: 5, ‘uu_fwd_sw_if_index’: 4294967295, ‘bm_flood_sw_if_index’: 4294967295, ‘bd_id’: 1, ‘rd_id’: 1}) gbp_endpoint_group_add(epg={‘uplink_sw_if_index’: 4294967295, ‘bd_id’: 1, ‘rd_id’: 1, ‘vnid’: 1, ‘sclass’: 100, ‘retention’: {‘remote_ep_timeout’: 4294967295}}) sw_interface_add_del_address(sw_if_index=5,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x01’}}}) gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 100, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x00’}}, ‘len’: 24}, ‘rd_id’: 1}) gbp_ext_itf_add_del(is_add=True,ext_itf={‘sw_if_index’: 5, ‘bd_id’: 1, ‘rd_id’: 1, ‘flags’: 0}) gbp_endpoint_add(endpoint={‘sw_if_index’: 3, ‘ips’: [{‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01d’}}], ‘n_ips’: 1, ‘mac’: b’<xfdxfexddxd4)’, ‘sclass’: 100, ‘flags’: 8, ‘tun’: {‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}}}) gbp_endpoint_add(endpoint={‘sw_if_index’: 4, ‘ips’: [{‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01xc8’}}], ‘n_ips’: 1, ‘mac’: b’<xfdxfexddxd4(‘, ‘sclass’: 100, ‘flags’: 8, ‘tun’: {‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}}}) ip_route_add_del(is_add=True,is_multipath=False,route={‘table_id’: 1, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01d’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=True,is_multipath=False,route={‘table_id’: 1, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01xc8’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 200, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}, ‘len’: 24}, ‘rd_id’: 1}) gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 300, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}, ‘len’: 24}, ‘rd_id’: 1}) acl_add_replace(tag=b’’gbp-permit-200-300’’,acl_index=4294967295,count=1,r=[{‘is_permit’: 1, ‘is_ipv6’: 0, ‘src_ip_addr’: b’x00x00x00x00’, ‘src_ip_prefix_len’: 0, ‘dst_ip_addr’: b’x00x00x00x00’, ‘dst_ip_prefix_len’: 0, ‘srcport_or_icmptype_first’: 0, ‘srcport_or_icmptype_last’: 65535, ‘dstport_or_icmpcode_first’: 0, ‘dstport_or_icmpcode_last’: 65535, ‘proto’: 61}]) gbp_contract_add_del(is_add=True,contract={‘acl_index’: 0, ‘sclass’: 200, ‘dclass’: 300, ‘n_rules’: 2, ‘rules’: [{‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}, {‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}], ‘n_ether_types’: 16, ‘allowed_ethertypes’: [2048, 34525, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}) gbp_contract_add_del(is_add=True,contract={‘acl_index’: 0, ‘sclass’: 300, ‘dclass’: 200, ‘n_rules’: 2, ‘rules’: [{‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}, {‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}], ‘n_ether_types’: 16, ‘allowed_ethertypes’: [2048, 34525, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}) sw_interface_set_flags(sw_if_index=1,flags=1) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’clear runtime’) vpp-stats(path=’^/sys/node’) cli_inband(cmd=’clear errors’) cli_inband(cmd=’clear interfaces’) cli_inband(cmd=’elog trace api cli barrier’) cli_inband(cmd=’show event-logger’) cli_inband(cmd=’show errors’) cli_inband(cmd=’show hardware verbose’) cli_inband(cmd=’clear runtime’) vpp-stats(path=’^/sys/node’) cli_inband(cmd=’clear errors’) cli_inband(cmd=’clear interfaces’) cli_inband(cmd=’elog trace api cli barrier’) cli_inband(cmd=’show event-logger’) cli_inband(cmd=’show errors’) cli_inband(cmd=’show hardware verbose’)
|
9000b-4t2c-avf- dot1q-l2bdbasemaclrn-gbp-ndrpdr
|
DUT1: cli_inband(cmd=’show logging’) show_version() sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’set logging class avf level debug’) avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’set logging class avf level debug’) avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=1,flags=1) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) create_vlan_subif(sw_if_index=1,vlan_id=100) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) create_vlan_subif(sw_if_index=2,vlan_id=200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=3,flags=1) sw_interface_set_flags(sw_if_index=4,flags=1) l2_interface_vlan_tag_rewrite(sw_if_index=3,vtr_op=3,push_dot1q=1,tag1=0,tag2=0) l2_interface_vlan_tag_rewrite(sw_if_index=4,vtr_op=3,push_dot1q=1,tag1=0,tag2=0) create_loopback(mac_address=b’xbaxdcx00xffxeex01’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=5,flags=1) ip_table_add_del(table={‘table_id’: 1, ‘is_ip6’: False},is_add=True) gbp_route_domain_add(rd={‘rd_id’: 1, ‘ip4_table_id’: 1, ‘ip6_table_id’: 0, ‘ip4_uu_sw_if_index’: 4294967295, ‘ip6_uu_sw_if_index’: 4294967295}) sw_interface_set_table(sw_if_index=5,is_ipv6=False,vrf_id=1) bridge_domain_add_del(bd_id=1,flood=1,uu_flood=1,forward=1,learn=1,arp_term=1,is_add=1) gbp_bridge_domain_add(bd={‘flags’: 0, ‘bvi_sw_if_index’: 5, ‘uu_fwd_sw_if_index’: 4294967295, ‘bm_flood_sw_if_index’: 4294967295, ‘bd_id’: 1, ‘rd_id’: 1}) gbp_endpoint_group_add(epg={‘uplink_sw_if_index’: 4294967295, ‘bd_id’: 1, ‘rd_id’: 1, ‘vnid’: 1, ‘sclass’: 100, ‘retention’: {‘remote_ep_timeout’: 4294967295}}) sw_interface_add_del_address(sw_if_index=5,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x01’}}}) gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 100, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x00’}}, ‘len’: 24}, ‘rd_id’: 1}) gbp_ext_itf_add_del(is_add=True,ext_itf={‘sw_if_index’: 5, ‘bd_id’: 1, ‘rd_id’: 1, ‘flags’: 0}) gbp_endpoint_add(endpoint={‘sw_if_index’: 3, ‘ips’: [{‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01d’}}], ‘n_ips’: 1, ‘mac’: b’<xfdxfexddxd4)’, ‘sclass’: 100, ‘flags’: 8, ‘tun’: {‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}}}) gbp_endpoint_add(endpoint={‘sw_if_index’: 4, ‘ips’: [{‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01xc8’}}], ‘n_ips’: 1, ‘mac’: b’<xfdxfexddxd4(‘, ‘sclass’: 100, ‘flags’: 8, ‘tun’: {‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}}}) ip_route_add_del(is_add=True,is_multipath=False,route={‘table_id’: 1, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01d’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=True,is_multipath=False,route={‘table_id’: 1, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01xc8’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 200, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}, ‘len’: 24}, ‘rd_id’: 1}) gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 300, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}, ‘len’: 24}, ‘rd_id’: 1}) acl_add_replace(tag=b’’gbp-permit-200-300’’,acl_index=4294967295,count=1,r=[{‘is_permit’: 1, ‘is_ipv6’: 0, ‘src_ip_addr’: b’x00x00x00x00’, ‘src_ip_prefix_len’: 0, ‘dst_ip_addr’: b’x00x00x00x00’, ‘dst_ip_prefix_len’: 0, ‘srcport_or_icmptype_first’: 0, ‘srcport_or_icmptype_last’: 65535, ‘dstport_or_icmpcode_first’: 0, ‘dstport_or_icmpcode_last’: 65535, ‘proto’: 61}]) gbp_contract_add_del(is_add=True,contract={‘acl_index’: 0, ‘sclass’: 200, ‘dclass’: 300, ‘n_rules’: 2, ‘rules’: [{‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}, {‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}], ‘n_ether_types’: 16, ‘allowed_ethertypes’: [2048, 34525, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}) gbp_contract_add_del(is_add=True,contract={‘acl_index’: 0, ‘sclass’: 300, ‘dclass’: 200, ‘n_rules’: 2, ‘rules’: [{‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}, {‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}], ‘n_ether_types’: 16, ‘allowed_ethertypes’: [2048, 34525, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}) sw_interface_set_flags(sw_if_index=1,flags=1) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’clear runtime’) vpp-stats(path=’^/sys/node’) cli_inband(cmd=’clear errors’) cli_inband(cmd=’clear interfaces’) cli_inband(cmd=’elog trace api cli barrier’) cli_inband(cmd=’show event-logger’) cli_inband(cmd=’show errors’) cli_inband(cmd=’show hardware verbose’) cli_inband(cmd=’clear runtime’) vpp-stats(path=’^/sys/node’) cli_inband(cmd=’clear errors’) cli_inband(cmd=’clear interfaces’) cli_inband(cmd=’elog trace api cli barrier’) cli_inband(cmd=’show event-logger’) cli_inband(cmd=’show errors’) cli_inband(cmd=’show hardware verbose’)
|
9000b-8t4c-avf- dot1q-l2bdbasemaclrn-gbp-ndrpdr
|
DUT1: cli_inband(cmd=’show logging’) show_version() sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’set logging class avf level debug’) avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’set logging class avf level debug’) avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=1,flags=1) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) create_vlan_subif(sw_if_index=1,vlan_id=100) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) create_vlan_subif(sw_if_index=2,vlan_id=200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=3,flags=1) sw_interface_set_flags(sw_if_index=4,flags=1) l2_interface_vlan_tag_rewrite(sw_if_index=3,vtr_op=3,push_dot1q=1,tag1=0,tag2=0) l2_interface_vlan_tag_rewrite(sw_if_index=4,vtr_op=3,push_dot1q=1,tag1=0,tag2=0) create_loopback(mac_address=b’xbaxdcx00xffxeex01’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=5,flags=1) ip_table_add_del(table={‘table_id’: 1, ‘is_ip6’: False},is_add=True) gbp_route_domain_add(rd={‘rd_id’: 1, ‘ip4_table_id’: 1, ‘ip6_table_id’: 0, ‘ip4_uu_sw_if_index’: 4294967295, ‘ip6_uu_sw_if_index’: 4294967295}) sw_interface_set_table(sw_if_index=5,is_ipv6=False,vrf_id=1) bridge_domain_add_del(bd_id=1,flood=1,uu_flood=1,forward=1,learn=1,arp_term=1,is_add=1) gbp_bridge_domain_add(bd={‘flags’: 0, ‘bvi_sw_if_index’: 5, ‘uu_fwd_sw_if_index’: 4294967295, ‘bm_flood_sw_if_index’: 4294967295, ‘bd_id’: 1, ‘rd_id’: 1}) gbp_endpoint_group_add(epg={‘uplink_sw_if_index’: 4294967295, ‘bd_id’: 1, ‘rd_id’: 1, ‘vnid’: 1, ‘sclass’: 100, ‘retention’: {‘remote_ep_timeout’: 4294967295}}) sw_interface_add_del_address(sw_if_index=5,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x01’}}}) gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 100, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x00’}}, ‘len’: 24}, ‘rd_id’: 1}) gbp_ext_itf_add_del(is_add=True,ext_itf={‘sw_if_index’: 5, ‘bd_id’: 1, ‘rd_id’: 1, ‘flags’: 0}) gbp_endpoint_add(endpoint={‘sw_if_index’: 3, ‘ips’: [{‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01d’}}], ‘n_ips’: 1, ‘mac’: b’<xfdxfexddxd4)’, ‘sclass’: 100, ‘flags’: 8, ‘tun’: {‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}}}) gbp_endpoint_add(endpoint={‘sw_if_index’: 4, ‘ips’: [{‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01xc8’}}], ‘n_ips’: 1, ‘mac’: b’<xfdxfexddxd4(‘, ‘sclass’: 100, ‘flags’: 8, ‘tun’: {‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}}}) ip_route_add_del(is_add=True,is_multipath=False,route={‘table_id’: 1, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01d’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=True,is_multipath=False,route={‘table_id’: 1, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01xc8’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 200, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}, ‘len’: 24}, ‘rd_id’: 1}) gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 300, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}, ‘len’: 24}, ‘rd_id’: 1}) acl_add_replace(tag=b’’gbp-permit-200-300’’,acl_index=4294967295,count=1,r=[{‘is_permit’: 1, ‘is_ipv6’: 0, ‘src_ip_addr’: b’x00x00x00x00’, ‘src_ip_prefix_len’: 0, ‘dst_ip_addr’: b’x00x00x00x00’, ‘dst_ip_prefix_len’: 0, ‘srcport_or_icmptype_first’: 0, ‘srcport_or_icmptype_last’: 65535, ‘dstport_or_icmpcode_first’: 0, ‘dstport_or_icmpcode_last’: 65535, ‘proto’: 61}]) gbp_contract_add_del(is_add=True,contract={‘acl_index’: 0, ‘sclass’: 200, ‘dclass’: 300, ‘n_rules’: 2, ‘rules’: [{‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}, {‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}], ‘n_ether_types’: 16, ‘allowed_ethertypes’: [2048, 34525, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}) gbp_contract_add_del(is_add=True,contract={‘acl_index’: 0, ‘sclass’: 300, ‘dclass’: 200, ‘n_rules’: 2, ‘rules’: [{‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}, {‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}], ‘n_ether_types’: 16, ‘allowed_ethertypes’: [2048, 34525, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}) sw_interface_set_flags(sw_if_index=1,flags=1) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’clear runtime’) vpp-stats(path=’^/sys/node’) cli_inband(cmd=’clear errors’) cli_inband(cmd=’clear interfaces’) cli_inband(cmd=’elog trace api cli barrier’) cli_inband(cmd=’show event-logger’) cli_inband(cmd=’show errors’) cli_inband(cmd=’show hardware verbose’) cli_inband(cmd=’clear runtime’) vpp-stats(path=’^/sys/node’) cli_inband(cmd=’clear errors’) cli_inband(cmd=’clear interfaces’) cli_inband(cmd=’elog trace api cli barrier’) cli_inband(cmd=’show event-logger’) cli_inband(cmd=’show errors’) cli_inband(cmd=’show hardware verbose’)
|
imix-2t1c-avf- dot1q-l2bdbasemaclrn-gbp-ndrpdr
|
DUT1: cli_inband(cmd=’show logging’) show_version() sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’set logging class avf level debug’) avf_create(pci_addr=171638784,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’set logging class avf level debug’) avf_create(pci_addr=37421056,enable_elog=0,rxq_num=1,rxq_size=0,txq_size=0) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=1,flags=1) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) create_vlan_subif(sw_if_index=1,vlan_id=100) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) create_vlan_subif(sw_if_index=2,vlan_id=200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=3,flags=1) sw_interface_set_flags(sw_if_index=4,flags=1) l2_interface_vlan_tag_rewrite(sw_if_index=3,vtr_op=3,push_dot1q=1,tag1=0,tag2=0) l2_interface_vlan_tag_rewrite(sw_if_index=4,vtr_op=3,push_dot1q=1,tag1=0,tag2=0) create_loopback(mac_address=b’xbaxdcx00xffxeex01’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=5,flags=1) ip_table_add_del(table={‘table_id’: 1, ‘is_ip6’: False},is_add=True) gbp_route_domain_add(rd={‘rd_id’: 1, ‘ip4_table_id’: 1, ‘ip6_table_id’: 0, ‘ip4_uu_sw_if_index’: 4294967295, ‘ip6_uu_sw_if_index’: 4294967295}) sw_interface_set_table(sw_if_index=5,is_ipv6=False,vrf_id=1) bridge_domain_add_del(bd_id=1,flood=1,uu_flood=1,forward=1,learn=1,arp_term=1,is_add=1) gbp_bridge_domain_add(bd={‘flags’: 0, ‘bvi_sw_if_index’: 5, ‘uu_fwd_sw_if_index’: 4294967295, ‘bm_flood_sw_if_index’: 4294967295, ‘bd_id’: 1, ‘rd_id’: 1}) gbp_endpoint_group_add(epg={‘uplink_sw_if_index’: 4294967295, ‘bd_id’: 1, ‘rd_id’: 1, ‘vnid’: 1, ‘sclass’: 100, ‘retention’: {‘remote_ep_timeout’: 4294967295}}) sw_interface_add_del_address(sw_if_index=5,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x01’}}}) gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 100, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x00’}}, ‘len’: 24}, ‘rd_id’: 1}) gbp_ext_itf_add_del(is_add=True,ext_itf={‘sw_if_index’: 5, ‘bd_id’: 1, ‘rd_id’: 1, ‘flags’: 0}) gbp_endpoint_add(endpoint={‘sw_if_index’: 3, ‘ips’: [{‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01d’}}], ‘n_ips’: 1, ‘mac’: b’<xfdxfexddxd4)’, ‘sclass’: 100, ‘flags’: 8, ‘tun’: {‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}}}) gbp_endpoint_add(endpoint={‘sw_if_index’: 4, ‘ips’: [{‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01xc8’}}], ‘n_ips’: 1, ‘mac’: b’<xfdxfexddxd4(‘, ‘sclass’: 100, ‘flags’: 8, ‘tun’: {‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}}}) ip_route_add_del(is_add=True,is_multipath=False,route={‘table_id’: 1, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01d’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=True,is_multipath=False,route={‘table_id’: 1, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01xc8’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 200, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}, ‘len’: 24}, ‘rd_id’: 1}) gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 300, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}, ‘len’: 24}, ‘rd_id’: 1}) acl_add_replace(tag=b’’gbp-permit-200-300’’,acl_index=4294967295,count=1,r=[{‘is_permit’: 1, ‘is_ipv6’: 0, ‘src_ip_addr’: b’x00x00x00x00’, ‘src_ip_prefix_len’: 0, ‘dst_ip_addr’: b’x00x00x00x00’, ‘dst_ip_prefix_len’: 0, ‘srcport_or_icmptype_first’: 0, ‘srcport_or_icmptype_last’: 65535, ‘dstport_or_icmpcode_first’: 0, ‘dstport_or_icmpcode_last’: 65535, ‘proto’: 61}]) gbp_contract_add_del(is_add=True,contract={‘acl_index’: 0, ‘sclass’: 200, ‘dclass’: 300, ‘n_rules’: 2, ‘rules’: [{‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}, {‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}], ‘n_ether_types’: 16, ‘allowed_ethertypes’: [2048, 34525, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}) gbp_contract_add_del(is_add=True,contract={‘acl_index’: 0, ‘sclass’: 300, ‘dclass’: 200, ‘n_rules’: 2, ‘rules’: [{‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}, {‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}], ‘n_ether_types’: 16, ‘allowed_ethertypes’: [2048, 34525, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}) sw_interface_set_flags(sw_if_index=1,flags=1) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’clear runtime’) vpp-stats(path=’^/sys/node’) cli_inband(cmd=’clear errors’) cli_inband(cmd=’clear interfaces’) cli_inband(cmd=’elog trace api cli barrier’) cli_inband(cmd=’show event-logger’) cli_inband(cmd=’show errors’) cli_inband(cmd=’show hardware verbose’) cli_inband(cmd=’clear runtime’) vpp-stats(path=’^/sys/node’) cli_inband(cmd=’clear errors’) cli_inband(cmd=’clear interfaces’) cli_inband(cmd=’elog trace api cli barrier’) cli_inband(cmd=’show event-logger’) cli_inband(cmd=’show errors’) cli_inband(cmd=’show hardware verbose’)
|
imix-4t2c-avf- dot1q-l2bdbasemaclrn-gbp-ndrpdr
|
DUT1: cli_inband(cmd=’show logging’) show_version() sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’set logging class avf level debug’) avf_create(pci_addr=171638784,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’set logging class avf level debug’) avf_create(pci_addr=37421056,enable_elog=0,rxq_num=2,rxq_size=0,txq_size=0) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=1,flags=1) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) create_vlan_subif(sw_if_index=1,vlan_id=100) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) create_vlan_subif(sw_if_index=2,vlan_id=200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=3,flags=1) sw_interface_set_flags(sw_if_index=4,flags=1) l2_interface_vlan_tag_rewrite(sw_if_index=3,vtr_op=3,push_dot1q=1,tag1=0,tag2=0) l2_interface_vlan_tag_rewrite(sw_if_index=4,vtr_op=3,push_dot1q=1,tag1=0,tag2=0) create_loopback(mac_address=b’xbaxdcx00xffxeex01’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=5,flags=1) ip_table_add_del(table={‘table_id’: 1, ‘is_ip6’: False},is_add=True) gbp_route_domain_add(rd={‘rd_id’: 1, ‘ip4_table_id’: 1, ‘ip6_table_id’: 0, ‘ip4_uu_sw_if_index’: 4294967295, ‘ip6_uu_sw_if_index’: 4294967295}) sw_interface_set_table(sw_if_index=5,is_ipv6=False,vrf_id=1) bridge_domain_add_del(bd_id=1,flood=1,uu_flood=1,forward=1,learn=1,arp_term=1,is_add=1) gbp_bridge_domain_add(bd={‘flags’: 0, ‘bvi_sw_if_index’: 5, ‘uu_fwd_sw_if_index’: 4294967295, ‘bm_flood_sw_if_index’: 4294967295, ‘bd_id’: 1, ‘rd_id’: 1}) gbp_endpoint_group_add(epg={‘uplink_sw_if_index’: 4294967295, ‘bd_id’: 1, ‘rd_id’: 1, ‘vnid’: 1, ‘sclass’: 100, ‘retention’: {‘remote_ep_timeout’: 4294967295}}) sw_interface_add_del_address(sw_if_index=5,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x01’}}}) gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 100, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x00’}}, ‘len’: 24}, ‘rd_id’: 1}) gbp_ext_itf_add_del(is_add=True,ext_itf={‘sw_if_index’: 5, ‘bd_id’: 1, ‘rd_id’: 1, ‘flags’: 0}) gbp_endpoint_add(endpoint={‘sw_if_index’: 3, ‘ips’: [{‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01d’}}], ‘n_ips’: 1, ‘mac’: b’<xfdxfexddxd4)’, ‘sclass’: 100, ‘flags’: 8, ‘tun’: {‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}}}) gbp_endpoint_add(endpoint={‘sw_if_index’: 4, ‘ips’: [{‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01xc8’}}], ‘n_ips’: 1, ‘mac’: b’<xfdxfexddxd4(‘, ‘sclass’: 100, ‘flags’: 8, ‘tun’: {‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}}}) ip_route_add_del(is_add=True,is_multipath=False,route={‘table_id’: 1, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01d’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=True,is_multipath=False,route={‘table_id’: 1, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01xc8’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 200, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}, ‘len’: 24}, ‘rd_id’: 1}) gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 300, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}, ‘len’: 24}, ‘rd_id’: 1}) acl_add_replace(tag=b’’gbp-permit-200-300’’,acl_index=4294967295,count=1,r=[{‘is_permit’: 1, ‘is_ipv6’: 0, ‘src_ip_addr’: b’x00x00x00x00’, ‘src_ip_prefix_len’: 0, ‘dst_ip_addr’: b’x00x00x00x00’, ‘dst_ip_prefix_len’: 0, ‘srcport_or_icmptype_first’: 0, ‘srcport_or_icmptype_last’: 65535, ‘dstport_or_icmpcode_first’: 0, ‘dstport_or_icmpcode_last’: 65535, ‘proto’: 61}]) gbp_contract_add_del(is_add=True,contract={‘acl_index’: 0, ‘sclass’: 200, ‘dclass’: 300, ‘n_rules’: 2, ‘rules’: [{‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}, {‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}], ‘n_ether_types’: 16, ‘allowed_ethertypes’: [2048, 34525, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}) gbp_contract_add_del(is_add=True,contract={‘acl_index’: 0, ‘sclass’: 300, ‘dclass’: 200, ‘n_rules’: 2, ‘rules’: [{‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}, {‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}], ‘n_ether_types’: 16, ‘allowed_ethertypes’: [2048, 34525, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}) sw_interface_set_flags(sw_if_index=1,flags=1) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’clear runtime’) vpp-stats(path=’^/sys/node’) cli_inband(cmd=’clear errors’) cli_inband(cmd=’clear interfaces’) cli_inband(cmd=’elog trace api cli barrier’) cli_inband(cmd=’show event-logger’) cli_inband(cmd=’show errors’) cli_inband(cmd=’show hardware verbose’) cli_inband(cmd=’clear runtime’) vpp-stats(path=’^/sys/node’) cli_inband(cmd=’clear errors’) cli_inband(cmd=’clear interfaces’) cli_inband(cmd=’elog trace api cli barrier’) cli_inband(cmd=’show event-logger’) cli_inband(cmd=’show errors’) cli_inband(cmd=’show hardware verbose’)
|
imix-8t4c-avf- dot1q-l2bdbasemaclrn-gbp-ndrpdr
|
DUT1: cli_inband(cmd=’show logging’) show_version() sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’set logging class avf level debug’) avf_create(pci_addr=171638784,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’set logging class avf level debug’) avf_create(pci_addr=37421056,enable_elog=0,rxq_num=4,rxq_size=0,txq_size=0) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=1,flags=1) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) create_vlan_subif(sw_if_index=1,vlan_id=100) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) create_vlan_subif(sw_if_index=2,vlan_id=200) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=3,flags=1) sw_interface_set_flags(sw_if_index=4,flags=1) l2_interface_vlan_tag_rewrite(sw_if_index=3,vtr_op=3,push_dot1q=1,tag1=0,tag2=0) l2_interface_vlan_tag_rewrite(sw_if_index=4,vtr_op=3,push_dot1q=1,tag1=0,tag2=0) create_loopback(mac_address=b’xbaxdcx00xffxeex01’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_dump(name_filter_valid=False,name_filter=’’) sw_interface_set_flags(sw_if_index=5,flags=1) ip_table_add_del(table={‘table_id’: 1, ‘is_ip6’: False},is_add=True) gbp_route_domain_add(rd={‘rd_id’: 1, ‘ip4_table_id’: 1, ‘ip6_table_id’: 0, ‘ip4_uu_sw_if_index’: 4294967295, ‘ip6_uu_sw_if_index’: 4294967295}) sw_interface_set_table(sw_if_index=5,is_ipv6=False,vrf_id=1) bridge_domain_add_del(bd_id=1,flood=1,uu_flood=1,forward=1,learn=1,arp_term=1,is_add=1) gbp_bridge_domain_add(bd={‘flags’: 0, ‘bvi_sw_if_index’: 5, ‘uu_fwd_sw_if_index’: 4294967295, ‘bm_flood_sw_if_index’: 4294967295, ‘bd_id’: 1, ‘rd_id’: 1}) gbp_endpoint_group_add(epg={‘uplink_sw_if_index’: 4294967295, ‘bd_id’: 1, ‘rd_id’: 1, ‘vnid’: 1, ‘sclass’: 100, ‘retention’: {‘remote_ep_timeout’: 4294967295}}) sw_interface_add_del_address(sw_if_index=5,is_add=True,del_all=False,prefix={‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x01’}}}) gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 100, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01x00’}}, ‘len’: 24}, ‘rd_id’: 1}) gbp_ext_itf_add_del(is_add=True,ext_itf={‘sw_if_index’: 5, ‘bd_id’: 1, ‘rd_id’: 1, ‘flags’: 0}) gbp_endpoint_add(endpoint={‘sw_if_index’: 3, ‘ips’: [{‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01d’}}], ‘n_ips’: 1, ‘mac’: b’<xfdxfexddxd4)’, ‘sclass’: 100, ‘flags’: 8, ‘tun’: {‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}}}) gbp_endpoint_add(endpoint={‘sw_if_index’: 4, ‘ips’: [{‘af’: 0, ‘un’: {‘ip4’: b’x01x01x01xc8’}}], ‘n_ips’: 1, ‘mac’: b’<xfdxfexddxd4(‘, ‘sclass’: 100, ‘flags’: 8, ‘tun’: {‘src’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}, ‘dst’: {‘af’: 0, ‘un’: {‘ip4’: b’x00x00x00x00’}}}}) ip_route_add_del(is_add=True,is_multipath=False,route={‘table_id’: 1, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01d’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) ip_route_add_del(is_add=True,is_multipath=False,route={‘table_id’: 1, ‘prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}}, ‘n_paths’: 1, ‘paths’: [{‘sw_if_index’: 5, ‘table_id’: 0, ‘rpf_id’: 4294967295, ‘weight’: 1, ‘preference’: 1, ‘type’: 0, ‘flags’: 0, ‘proto’: 0, ‘nh’: {‘address’: {‘ip4’: b’x01x01x01xc8’}, ‘via_label’: 1048576, ‘obj_id’: 4294967295}, ‘n_labels’: 0, ‘label_stack’: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}]}) gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 200, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}, ‘len’: 24}, ‘rd_id’: 1}) gbp_subnet_add_del(is_add=True,subnet={‘type’: 4, ‘sw_if_index’: 4294967295, ‘sclass’: 300, ‘prefix’: {‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}, ‘len’: 24}, ‘rd_id’: 1}) acl_add_replace(tag=b’’gbp-permit-200-300’’,acl_index=4294967295,count=1,r=[{‘is_permit’: 1, ‘is_ipv6’: 0, ‘src_ip_addr’: b’x00x00x00x00’, ‘src_ip_prefix_len’: 0, ‘dst_ip_addr’: b’x00x00x00x00’, ‘dst_ip_prefix_len’: 0, ‘srcport_or_icmptype_first’: 0, ‘srcport_or_icmptype_last’: 65535, ‘dstport_or_icmpcode_first’: 0, ‘dstport_or_icmpcode_last’: 65535, ‘proto’: 61}]) gbp_contract_add_del(is_add=True,contract={‘acl_index’: 0, ‘sclass’: 200, ‘dclass’: 300, ‘n_rules’: 2, ‘rules’: [{‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}, {‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}], ‘n_ether_types’: 16, ‘allowed_ethertypes’: [2048, 34525, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}) gbp_contract_add_del(is_add=True,contract={‘acl_index’: 0, ‘sclass’: 300, ‘dclass’: 200, ‘n_rules’: 2, ‘rules’: [{‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}, {‘action’: 1, ‘nh_set’: {‘hash_mode’: 1, ‘n_nhs’: 8, ‘nhs’: [{}, {}, {}, {}, {}, {}, {}, {}]}}], ‘n_ether_types’: 16, ‘allowed_ethertypes’: [2048, 34525, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]}) sw_interface_set_flags(sw_if_index=1,flags=1) sw_interface_set_flags(sw_if_index=2,flags=1) hw_interface_set_mtu(sw_if_index=1,mtu=9200) hw_interface_set_mtu(sw_if_index=2,mtu=9200) sw_interface_dump(name_filter_valid=False,name_filter=’’) cli_inband(cmd=’clear runtime’) vpp-stats(path=’^/sys/node’) cli_inband(cmd=’clear errors’) cli_inband(cmd=’clear interfaces’) cli_inband(cmd=’elog trace api cli barrier’) cli_inband(cmd=’show event-logger’) cli_inband(cmd=’show errors’) cli_inband(cmd=’show hardware verbose’) cli_inband(cmd=’clear runtime’) vpp-stats(path=’^/sys/node’) cli_inband(cmd=’clear errors’) cli_inband(cmd=’clear interfaces’) cli_inband(cmd=’elog trace api cli barrier’) cli_inband(cmd=’show event-logger’) cli_inband(cmd=’show errors’) cli_inband(cmd=’show hardware verbose’)
|