[~HUAWEI] acl number 2001 [~HUAWEI-acl4-basic-2001] rule permit source 10.10.1.2 0 [~HUAWEI-acl4-basic-2001] rule deny source 10.10.1.1 0 [~HUAWEI-acl4-basic-2001] quit [~HUAWEI] pim [~HUAWEI-pim] source-policy 2001You can run the source-policy command to enable a device to filter the received multicast data packets based on the source address or source/group address.
If source-policy is configured and a basic ACL is defined, the device matches the source addresses of all the received multicast data packets with the ACL. The packets denied by the ACL are discarded. If source-policy is configured and an advanced ACL is defined, the device matches both the source addresses and group addresses of all the received multicast data packets with the ACL. The packets denied by the ACL are discarded. This command is used to filter the multicast data, including the multicast data encapsulated in Register messages.
Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
Politically sensitive content
Content concerning pornography, gambling, and drug abuse
Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."