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