device

eth2p-ethicmp-l2xcbase-device

L2 cross-connect test cases

  • [Top] Network Topologies: TG-DUT1-TG 2-node circular topology with single links between nodes.
  • [Enc] Packet Encapsulations: Eth-IPv4-ICMPv4 for L2 switching of IPv4; Eth-IPv6-ICMPv6 for L2 switching of IPv6 use. Both apply to all links.
  • [Cfg] DUT configuration: DUT1 is configured with L2 cross-connect switching.
  • [Ver] TG verification: Test ICMPv4 (or ICMPv6) Echo Request packets are sent in both directions by TG on links to DUT1; on receive TG verifies packets for correctness and their IPv4 (IPv6) src-addr, dst-addr and MAC addresses.
  • [Ref] Applicable standard specifications: rfc792
Name VPP API Test (VAT) Commands History - Commands Used Per Test Case
eth2p-ethicmpv4-l2xcbase-device
 DUT1:  
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect rx_sw_if_index 1 tx_sw_if_index 2
sw_interface_set_l2_xconnect rx_sw_if_index 2 tx_sw_if_index 1
sw_interface_dump
exec show trace
eth2p-ethicmpv6-l2xcbase-device
 DUT1:  
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_dump
sw_interface_set_flags sw_if_index 1 admin-up link-up
sw_interface_set_flags sw_if_index 2 admin-up link-up
sw_interface_set_l2_xconnect rx_sw_if_index 1 tx_sw_if_index 2
sw_interface_set_l2_xconnect rx_sw_if_index 2 tx_sw_if_index 1
sw_interface_dump
exec show trace