.. index:: pair: group; Set the list of multicast addresses to filter on @b iut_port port .. _doxid-group__usecases-set__mc__addr__list: Set the list of multicast addresses to filter on @b iut_port port ================================================================= .. toctree:: :hidden: group_usecases-set_mc_addr_list-run.rst Set the list of multicast addresses to filter on **iut_port** port Set the list of multicast addresses to filter on **iut_port** port and send a multicast packets to check the work of whitelist filtering #. Prepare **ethdev_state** Ethernet device state #. Add **mc_addr_list** to the multicast whitelist #. Start the port #. Disable promiscuous mode and allmulticast mode #. Prepare array of **tmpl** copies with different dst addr from **mc_addr_list** #. Ensure that interface is UP on Tester side #. Transmit and sniff different multicast packets from **tst_if** #. Receive packets on **iut_port** and check that the packets received match the packets sent from **tst_if** #. Prepare **tmpl** copies with different dst addr from **mismatch_addr_list** #. Transmit and sniff packets with **mismatch_addr_list** dst addr from **tst_if** #. Receive packets on **iut_port** and check that the packets were dropped #. Flush the set of filtered addresses #. Transmit and sniff packets with **mc_addr_list** dst addr from **tst_if** #. Receive packets on **iut_port** and check that the packets were dropped .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - tmpl - Traffic template * - add_mc_addr_list - List of multicast MAC addresses to add (format: comma-separated list of MACs) | :ref:`set_mc_addr_list`