To implement N-to-N multicast replication based on user VLANs, you must enable Layer 2 IGMP snooping in multicast VLANs, bind user VLANs to multicast VLANs, and configure static multicast flows in multicast VLANs. When a user VLAN requests to join a certain multicast group, multicast forwarding entries are generated and an N-to-N mapping is established between user VLANs and multicast VLANs based on {UVLAN, Source, Group}.
The system view is displayed.
IGMP snooping is enabled globally.
A VLAN is created, and the VLAN view is displayed.
IGMP snooping is enabled in the VLAN.
The IGMP snooping querier function is enabled in the VLAN.
Multicast VLAN replication is enabled and the current VLAN is configured as a multicast VLAN.
The binding between a multicast VLAN and user VLANs is configured and user VLANs are bound to a multicast VLAN.
Static multicast flows are configured.
After static multicast flows are configured, users in user VLANs can join multicast groups according to the static multicast flow and can receive multicast data from these groups.
Any two static flows in a multicast VLAN cannot be the same. Flows of the same multicast group with different source IP addresses are considered as different flows.
Query messages received in the multicast VLAN are prevented from being sent back to the upstream interface through user VLANs.
By default, if an upstream interface belongs to a multicast VLAN and a user VLAN, Query messages sent to the multicast VLAN can be sent back from the upstream interface through the user VLAN. To prevent Query messages from being sent back to the upstream device, run this command in the multicast VLAN.