l2bd

2n1l-10ge2p1x710-avf-ethip4-l2bdbasemaclrn-scapy

2n1l-10ge2p1x710-avf-ethip4-l2bdbasemaclrn-scapy

L2 bridge-domain test cases

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

  • [Enc] Packet Encapsulations: Eth-IPv4 for L2 switching of IPv4. Both apply to all links.

  • [Cfg] DUT configuration: DUT1 is configured with L2 cross-connect switching.

  • [Ver] TG verification: Test IPv4 packets with IP protocol=61 are sent in both directions by TG on links to DUT1; on receive TG. verifies packets for correctness and their IPv4 src-addr, dst-addr and MAC addresses.

  • [Ref] Applicable standard specifications: RFC792

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-0c-avf- 
ethip4-l2bdbasemaclrn-scapy

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’trace add dpdk-input 50’)
cli_inband(cmd=’trace add vhost-user-input 50’)
cli_inband(cmd=’trace add memif-input 50’)
cli_inband(cmd=’trace add avf-input 50’)
cli_inband(cmd=’set logging class avf level debug’)
avf_create(pci_addr=1664811008,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=2201681920,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)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_l2_bridge(rx_sw_if_index=1,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_l2_bridge(rx_sw_if_index=2,bd_id=1,shg=0,port_type=0,enable=True)

2n1l-10ge2p1x710-ethip4-l2bdbasemaclrn-iacl1sf-scapy

2n1l-10ge2p1x710-ethip4-l2bdbasemaclrn-iacl1sf-scapy

L2BD test cases with ACL

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

  • [Enc] Packet Encapsulations: Eth-IPv4 on all links.

  • [Cfg] DUT configuration: DUT1 is configured with L2 bridge domain and MAC learning enabled. Required ACL rules are applied to input paths of both DUT1 intefaces.

  • [Ver] TG verification: Test IPv4 packets are sent in one direction by TG on link to DUT1; on receive TG verifies packets for correctness and drops as applicable.

  • [Ref] Applicable standard specifications:

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-0c-ethip4- 
l2bdbasemaclrn-iacl1sf-scapy

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’trace add dpdk-input 50’)
cli_inband(cmd=’trace add vhost-user-input 50’)
cli_inband(cmd=’trace add memif-input 50’)
cli_inband(cmd=’trace add avf-input 50’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
bridge_domain_add_del(bd_id=1,flood=True,uu_flood=True,forward=True,learn=True,arp_term=False,is_add=True)
sw_interface_set_l2_bridge(rx_sw_if_index=1,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_l2_bridge(rx_sw_if_index=2,bd_id=1,shg=0,port_type=0,enable=True)
acl_add_replace(tag=’’,acl_index=4294967295,count=3,r=[{‘is_permit’: 1, ‘src_prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x1ex1ex1ex01’}}}, ‘dst_prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’(((x01’}}}, ‘proto’: 0, ‘srcport_or_icmptype_first’: 1000, ‘srcport_or_icmptype_last’: 1000, ‘dstport_or_icmpcode_first’: 1000, ‘dstport_or_icmpcode_last’: 1000, ‘tcp_flags_mask’: 0, ‘tcp_flags_value’: 0}, {‘is_permit’: 2, ‘src_prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}}, ‘dst_prefix’: 0, ‘proto’: 0, ‘srcport_or_icmptype_first’: 0, ‘srcport_or_icmptype_last’: 65535, ‘dstport_or_icmpcode_first’: 0, ‘dstport_or_icmpcode_last’: 65535, ‘tcp_flags_mask’: 0, ‘tcp_flags_value’: 0}, {‘is_permit’: 2, ‘src_prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}}, ‘dst_prefix’: 0, ‘proto’: 0, ‘srcport_or_icmptype_first’: 0, ‘srcport_or_icmptype_last’: 65535, ‘dstport_or_icmpcode_first’: 0, ‘dstport_or_icmpcode_last’: 65535, ‘tcp_flags_mask’: 0, ‘tcp_flags_value’: 0}])
acl_interface_set_acl_list(sw_if_index=1,acls=[0],n_input=1,count=1)
acl_interface_set_acl_list(sw_if_index=2,acls=[0],n_input=1,count=1)

2n1l-10ge2p1x710-ethip4-l2bdbasemaclrn-iacl1sl-scapy

2n1l-10ge2p1x710-ethip4-l2bdbasemaclrn-iacl1sl-scapy

L2BD test cases with ACL

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

  • [Enc] Packet Encapsulations: Eth-IPv4 on all links.

  • [Cfg] DUT configuration: DUT1 is configured with L2 bridge domain and MAC learning enabled.Required ACL rules are applied to input paths of both DUT1 intefaces.

  • [Ver] TG verification: Test IPv4 packets are sent in one direction by TG on link to DUT1; on receive TG verifies packets for correctness and drops as applicable.

  • [Ref] Applicable standard specifications:

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-0c-ethip4- 
l2bdbasemaclrn-iacl1sl-scapy

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’trace add dpdk-input 50’)
cli_inband(cmd=’trace add vhost-user-input 50’)
cli_inband(cmd=’trace add memif-input 50’)
cli_inband(cmd=’trace add avf-input 50’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
bridge_domain_add_del(bd_id=1,flood=True,uu_flood=True,forward=True,learn=True,arp_term=False,is_add=True)
sw_interface_set_l2_bridge(rx_sw_if_index=1,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_l2_bridge(rx_sw_if_index=2,bd_id=1,shg=0,port_type=0,enable=True)
acl_add_replace(tag=’’,acl_index=4294967295,count=3,r=[{‘is_permit’: 1, ‘src_prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x1ex1ex1ex01’}}}, ‘dst_prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’(((x01’}}}, ‘proto’: 0, ‘srcport_or_icmptype_first’: 1000, ‘srcport_or_icmptype_last’: 1000, ‘dstport_or_icmpcode_first’: 1000, ‘dstport_or_icmpcode_last’: 1000, ‘tcp_flags_mask’: 0, ‘tcp_flags_value’: 0}, {‘is_permit’: 1, ‘src_prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}}, ‘dst_prefix’: 0, ‘proto’: 0, ‘srcport_or_icmptype_first’: 0, ‘srcport_or_icmptype_last’: 65535, ‘dstport_or_icmpcode_first’: 0, ‘dstport_or_icmpcode_last’: 65535, ‘tcp_flags_mask’: 0, ‘tcp_flags_value’: 0}, {‘is_permit’: 1, ‘src_prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}}, ‘dst_prefix’: 0, ‘proto’: 0, ‘srcport_or_icmptype_first’: 0, ‘srcport_or_icmptype_last’: 65535, ‘dstport_or_icmpcode_first’: 0, ‘dstport_or_icmpcode_last’: 65535, ‘tcp_flags_mask’: 0, ‘tcp_flags_value’: 0}])
acl_interface_set_acl_list(sw_if_index=1,acls=[0],n_input=1,count=1)
acl_interface_set_acl_list(sw_if_index=2,acls=[0],n_input=1,count=1)

2n1l-10ge2p1x710-ethip4-l2bdbasemaclrn-macip-iacl1sl-scapy

2n1l-10ge2p1x710-ethip4-l2bdbasemaclrn-macip-iacl1sl-scapy

L2BD test cases with ACL

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

  • [Enc] Packet Encapsulations: Eth-IPv4 on all links.

  • [Cfg] DUT configuration: DUT1 is configured with L2 bridge domain and MAC learning enabled. Required ACL rules are applied to input paths of both DUT1 intefaces.

  • [Ver] TG verification: Test IPv4 packets are sent in one direction by TG on link to DUT1; on receive TG verifies packets for correctness and drops as applicable.

  • [Ref] Applicable standard specifications:

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-0c-ethip4- 
l2bdbasemaclrn-macip-iacl1sl-scapy

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’trace add dpdk-input 50’)
cli_inband(cmd=’trace add vhost-user-input 50’)
cli_inband(cmd=’trace add memif-input 50’)
cli_inband(cmd=’trace add avf-input 50’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
bridge_domain_add_del(bd_id=1,flood=True,uu_flood=True,forward=True,learn=True,arp_term=False,is_add=True)
sw_interface_set_l2_bridge(rx_sw_if_index=1,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_l2_bridge(rx_sw_if_index=2,bd_id=1,shg=0,port_type=0,enable=True)
macip_acl_add(r=[{‘is_permit’: 1, ‘src_mac’: b’x01x02x03x04x05x06’, ‘src_mac_mask’: b’x00x00x00x00x00x00’, ‘prefix’: 0, ‘src_prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x1ex1ex1ex01’}}}}, {‘is_permit’: 1, ‘src_mac’: b’xcaxfex00x00x00x00’, ‘src_mac_mask’: b’xffxffxffxffxc0x00’, ‘prefix’: 0, ‘src_prefix’: {‘len’: 18, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nx00x00x00’}}}}],count=2,tag=’’)
macip_acl_add(r=[{‘is_permit’: 1, ‘src_mac’: b’x01x02x03x04x05x06’, ‘src_mac_mask’: b’x00x00x00x00x00x00’, ‘prefix’: 0, ‘src_prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x1ex1ex1ex01’}}}}, {‘is_permit’: 1, ‘src_mac’: b’xfaxcex00x00x00x00’, ‘src_mac_mask’: b’xffxffxffxffxc0x00’, ‘prefix’: 0, ‘src_prefix’: {‘len’: 18, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x00x00x00’}}}}],count=2,tag=’’)
macip_acl_interface_add_del(is_add=True,sw_if_index=1,acl_index=0)
macip_acl_interface_add_del(is_add=True,sw_if_index=2,acl_index=1)

2n1l-10ge2p1x710-ethip4-l2bdbasemaclrn-oacl1sf-scapy

2n1l-10ge2p1x710-ethip4-l2bdbasemaclrn-oacl1sf-scapy

L2BD test cases with ACL

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

  • [Enc] Packet Encapsulations: Eth-IPv4 on all links.

  • [Cfg] DUT configuration: DUT1 is configured with L2 bridge domain and MAC learning enabled.Required ACL rules are applied to input paths of both DUT1 intefaces.

  • [Ver] TG verification: Test IPv4 packets are sent in one direction by TG on link to DUT1; on receive TG verifies packets for correctness and drops as applicable.

  • [Ref] Applicable standard specifications:

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-0c-ethip4- 
l2bdbasemaclrn-oacl1sf-scapy

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’trace add dpdk-input 50’)
cli_inband(cmd=’trace add vhost-user-input 50’)
cli_inband(cmd=’trace add memif-input 50’)
cli_inband(cmd=’trace add avf-input 50’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
bridge_domain_add_del(bd_id=1,flood=True,uu_flood=True,forward=True,learn=True,arp_term=False,is_add=True)
sw_interface_set_l2_bridge(rx_sw_if_index=1,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_l2_bridge(rx_sw_if_index=2,bd_id=1,shg=0,port_type=0,enable=True)
acl_add_replace(tag=’’,acl_index=4294967295,count=3,r=[{‘is_permit’: 1, ‘src_prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x1ex1ex1ex01’}}}, ‘dst_prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’(((x01’}}}, ‘proto’: 0, ‘srcport_or_icmptype_first’: 1000, ‘srcport_or_icmptype_last’: 1000, ‘dstport_or_icmpcode_first’: 1000, ‘dstport_or_icmpcode_last’: 1000, ‘tcp_flags_mask’: 0, ‘tcp_flags_value’: 0}, {‘is_permit’: 2, ‘src_prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}}, ‘dst_prefix’: 0, ‘proto’: 0, ‘srcport_or_icmptype_first’: 0, ‘srcport_or_icmptype_last’: 65535, ‘dstport_or_icmpcode_first’: 0, ‘dstport_or_icmpcode_last’: 65535, ‘tcp_flags_mask’: 0, ‘tcp_flags_value’: 0}, {‘is_permit’: 2, ‘src_prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}}, ‘dst_prefix’: 0, ‘proto’: 0, ‘srcport_or_icmptype_first’: 0, ‘srcport_or_icmptype_last’: 65535, ‘dstport_or_icmpcode_first’: 0, ‘dstport_or_icmpcode_last’: 65535, ‘tcp_flags_mask’: 0, ‘tcp_flags_value’: 0}])
acl_interface_set_acl_list(sw_if_index=1,acls=[0],n_input=0,count=1)
acl_interface_set_acl_list(sw_if_index=2,acls=[0],n_input=0,count=1)

2n1l-10ge2p1x710-ethip4-l2bdbasemaclrn-oacl1sl-scapy

2n1l-10ge2p1x710-ethip4-l2bdbasemaclrn-oacl1sl-scapy

L2BD test cases with ACL

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

  • [Enc] Packet Encapsulations: Eth-IPv4 on all links.

  • [Cfg] DUT configuration: DUT1 is configured with L2 bridge domain and MAC learning enabled.Required ACL rules are applied to input paths of both DUT1 intefaces.

  • [Ver] TG verification: Test IPv4 packets are sent in one direction by TG on link to DUT1; on receive TG verifies packets for correctness and drops as applicable.

  • [Ref] Applicable standard specifications:

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-0c-ethip4- 
l2bdbasemaclrn-oacl1sl-scapy

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’trace add dpdk-input 50’)
cli_inband(cmd=’trace add vhost-user-input 50’)
cli_inband(cmd=’trace add memif-input 50’)
cli_inband(cmd=’trace add avf-input 50’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
bridge_domain_add_del(bd_id=1,flood=True,uu_flood=True,forward=True,learn=True,arp_term=False,is_add=True)
sw_interface_set_l2_bridge(rx_sw_if_index=1,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_l2_bridge(rx_sw_if_index=2,bd_id=1,shg=0,port_type=0,enable=True)
acl_add_replace(tag=’’,acl_index=4294967295,count=3,r=[{‘is_permit’: 1, ‘src_prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x1ex1ex1ex01’}}}, ‘dst_prefix’: {‘len’: 32, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’(((x01’}}}, ‘proto’: 0, ‘srcport_or_icmptype_first’: 1000, ‘srcport_or_icmptype_last’: 1000, ‘dstport_or_icmpcode_first’: 1000, ‘dstport_or_icmpcode_last’: 1000, ‘tcp_flags_mask’: 0, ‘tcp_flags_value’: 0}, {‘is_permit’: 1, ‘src_prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’nnnx00’}}}, ‘dst_prefix’: 0, ‘proto’: 0, ‘srcport_or_icmptype_first’: 0, ‘srcport_or_icmptype_last’: 65535, ‘dstport_or_icmpcode_first’: 0, ‘dstport_or_icmpcode_last’: 65535, ‘tcp_flags_mask’: 0, ‘tcp_flags_value’: 0}, {‘is_permit’: 1, ‘src_prefix’: {‘len’: 24, ‘address’: {‘af’: 0, ‘un’: {‘ip4’: b’x14x14x14x00’}}}, ‘dst_prefix’: 0, ‘proto’: 0, ‘srcport_or_icmptype_first’: 0, ‘srcport_or_icmptype_last’: 65535, ‘dstport_or_icmpcode_first’: 0, ‘dstport_or_icmpcode_last’: 65535, ‘tcp_flags_mask’: 0, ‘tcp_flags_value’: 0}])
acl_interface_set_acl_list(sw_if_index=1,acls=[0],n_input=0,count=1)
acl_interface_set_acl_list(sw_if_index=2,acls=[0],n_input=0,count=1)

2n1l-10ge2p1x710-ethip4-l2bdbasemaclrn-scapy

2n1l-10ge2p1x710-ethip4-l2bdbasemaclrn-scapy

L2 bridge-domain test cases

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

  • [Enc] Packet Encapsulations: Eth-IPv4 for L2 switching of IPv4. Both apply to all links.

  • [Cfg] DUT configuration: DUT1 is configured with L2 cross-connect switching.

  • [Ver] TG verification: Test IPv4 packets with IP protocol=61 are sent in both directions by TG on links to DUT1; on receive TG. verifies packets for correctness and their IPv4 src-addr, dst-addr and MAC addresses.

  • [Ref] Applicable standard specifications: RFC792

 Test Name 

 VPP API Test Commands History - Commands Used Per Test Case 

 64b-0c- 
ethip4-l2bdbasemaclrn-scapy

 DUT1:  
cli_inband(cmd=’show logging’)
show_version()
sw_interface_dump(name_filter_valid=False,name_filter=’’)
cli_inband(cmd=’trace add dpdk-input 50’)
cli_inband(cmd=’trace add vhost-user-input 50’)
cli_inband(cmd=’trace add memif-input 50’)
cli_inband(cmd=’trace add avf-input 50’)
sw_interface_set_flags(sw_if_index=1,flags=1)
hw_interface_set_mtu(sw_if_index=1,mtu=9200)
sw_interface_set_flags(sw_if_index=2,flags=1)
hw_interface_set_mtu(sw_if_index=2,mtu=9200)
sw_interface_dump(name_filter_valid=False,name_filter=’’)
sw_interface_set_l2_bridge(rx_sw_if_index=1,bd_id=1,shg=0,port_type=0,enable=True)
sw_interface_set_l2_bridge(rx_sw_if_index=2,bd_id=1,shg=0,port_type=0,enable=True)