Enable IGMP-snooping on the layer 2. When the switch port receives an IGMP join message, it monitors the message and adds the corresponding port to the multicast group.