To control the range of multicast groups that hosts on an interface's network segment can join, use an access control list (ACL) to filter Membership Report messages received on the interface. This ACL allows the switch to maintain only memberships of the interface in these multicast groups. 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.
The interface view is displayed.
The interface is switched to Layer 3 mode.
By default, an Ethernet interface works in Layer 2 mode.
Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support switching between Layer 2 and Layer 3 modes.
An ACL is applied to specify the range of multicast groups that the interface can join.
By default, an interface can join any multicast groups.
When configuring an ACL rule for an interface, use the permit parameter in the rule command to allow hosts connected to the interface to join groups within the specified range. If no rule is configured in the ACL, hosts connected to the interface cannot join any groups.