You can set rules for filtering the multicast source of a Source Active (SA) message on the source RP. The source Rendezvous Point (RP) then filters locally registered and active multicast sources, and determines which (S, G) information need be advertised based on the set rules.
Configure a basic ACL.
Configure an advanced ACL.
Run the acl [ number ] acl-number [ vpn-instance vpn-instance-name ] command to create an advanced ACL and access its view.
Run the rule [ rule-id ] { permit | deny } protocol [ source { source-ip-address { 0 | source-wildcard } | address-set address-set-name | any } | destination { destination-ip-address { 0 | destination-wildcard } | address-set address-set-name | any } ] * command to configure rules for the advanced ACL.
If a basic ACL is used, run the rule command and set the source parameter to the source address of multicast packets.
If an advanced ACL is used, run the rule command, set the source parameter to the source address of multicast packets, and set the destination parameter to a multicast group address.
msdp [ vpn-instance vpn-instance-name ]
import-source [ acl acl-number ]
The parameters of the command are explained as follows:
acl: specifies the filtering list based on multicast sources. The SA message created by an MSDP peer contains the local source information that matches the filtering rules. The MSDP peer can thus control the local (S, G) information.
If the import-source command with acl is used, the SA message does not advertise any information about the local active source.