A multicast group policy determines which multicast groups the hosts in a VLAN can join. It applies only to dynamic multicast groups. Before configuring a multicast group policy, create an access control list (ACL) and define rules. For details on how to configure an ACL, see ACL Configuration in the S2720, S5700, and S6700 V200R019C10 Configuration Guide - Security.
The system view is displayed.
Run vlan vlan-id
The VLAN view is displayed.
Run igmp-snooping group-policy acl-number [ version version-number ]
A multicast group policy is configured.
Run interface interface-type interface-number
The interface view is displayed.
Run igmp-snooping group-policy acl-number [ version version-number ] vlan vlan-id1 [ to vlan-id2 ]
A multicast group policy is configured on an interface.
By default, the user hosts in a VLAN can join any multicast group. If the IGMP version is not specified for a multicast group policy, the switch applies the policy to all the received IGMP messages regardless of their versions.
If you configure multicast group policies for the same VLAN in the interface view and VLAN view, the system first uses the policy configured in the interface view and then the policy configured in the VLAN view to determine the groups that user hosts can join.