A multicast group policy determines which multicast groups the hosts in a VLAN can join. The multicast group policy is applicable only to dynamic multicast groups. Before configuring the 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 vsi vsi-name
The VSI view is displayed.
Run igmp-snooping group-policy acl-number [ version version-number ]
A multicast group policy is configured in the VSI.
If the AC-side interface bound to a VSI instance is a VLANIF interface, configure a multicast group policy on the Layer 2 interface in the corresponding VLAN. For details, see Configuring a Multicast Group Policy in "VLAN-based IGMP Snooping Configuration."
If the AC-side interface bound to a VSI is a physical interface that has been switched to Layer 3 mode using the undo portswitch command, perform the following steps to configure a multicast group policy on the AC-side interface:
Run interface interface-type interface-number
The interface view is displayed.
Run igmp-snooping group-policy acl-number [ version version-number ] vsi vsi-name
A multicast group policy is configured on the AC-side interface.
By default, the user hosts in a VSI 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 VSI in the interface view and VSI view, the system first uses the policy configured in the interface view and then the policy configured in the VSI view to determine the groups that user hosts can join.