To limit the range of multicast groups that an interface can join, configure an IGMP group policy. Then, the interface can join only IGMP groups that are permitted in this policy.
The system view is displayed.
Configure a basic ACL.
Configure an advanced ACL.
Run acl { name advance-acl-name [ advance | [ advance ] number advance-acl-number ] | [ number ] advance-acl-number } [ match-order { config | auto } ]
An advanced ACL is created, and the advanced ACL view is displayed.
Run rule [ rule-id ] [ name rule-name ] { deny | permit } ip [ destination { destination-ip-address { destination-wildcard | 0 } | any } | source { source-ip-address { source-wildcard | 0 } | any } ] *
Rules are configured for the advanced ACL.
If a basic ACL is used, run the rule command and set the source parameter to a multicast group address.
If an advanced ACL is used, run the rule command, set the source parameter to the address of the source that sends multicast data to multicast groups, and set the destination parameter to a multicast group address.
Return to the system view.
The interface view is displayed.
An IGMP group policy is configured to limit the range of multicast groups that the interface can join.
The configuration is committed.