Example of Verifying the System is not Caching Local SourcesWhen you apply this filter, the SA cache is not affected immediately. When sources that are denied by theACL time out, they are not refreshed. Until they time out, they continue to reside in the cache. To applythe redistribute filter to entries already present in the SA cache, first clear the SA cache. You mayoptionally store denied sources in the rejected SA cache.R1(conf)#do show run msdp!ip multicast-msdpip msdp peer 192.168.0.3 connect-source Loopback 0ip msdp redistribute list mylocalfilterip msdp cache-rejected-sa 1000R1_E600(conf)#do show run acl!ip access-list extended mylocalfilterseq 5 deny ip host 239.0.0.1 host 10.11.4.2seq 10 deny ip any anyR1_E600(conf)#do show ip msdp sa-cacheR1_E600(conf)#do show ip msdp sa-cache rejected-saMSDP Rejected SA Cache1 rejected SAs received, cache-size 1000UpTime GroupAddr SourceAddr RPAddr LearnedFrom Reason00:02:20 239.0.0.1 10.11.4.2 192.168.0.1 local RedistributePreventing MSDP from Caching a Remote SourceTo prevent MSDP from caching a remote source, use the following commands.1. OPTIONAL: Cache sources that the SA filter denies in the rejected SA cache.CONFIGURATION modeip msdp cache-rejected-sa2. Prevent the system from caching remote sources learned from a specific peer based on source andgroup.CONFIGURATION modeip msdp sa-filter list out peer list ext-aclExample of Verifying the System is not Caching Remote SourcesAs shown in the following example, R1 is advertising source 10.11.4.2. It is already in the SA cache of R3when an ingress SA filter is applied to R3. The entry remains in the SA cache until it expires and is notstored in the rejected SA cache.[Router 3]R3(conf)#do show run msdp!ip multicast-msdpip msdp peer 192.168.0.1 connect-source Loopback 0ip msdp sa-filter in 192.168.0.1 list myremotefilterR3(conf)#do show run acl!ip access-list extended myremotefilterseq 5 deny ip host 239.0.0.1 host 10.11.4.2R3(conf)#do show ip msdp sa-cacheMSDP Source-Active Cache - 1 entriesGroupAddr SourceAddr RPAddr LearnedFrom Expire UpTime239.0.0.1 10.11.4.2 192.168.0.1 192.168.0.1 1 00:03:59R3(conf)#do show ip msdp sa-cacheMulticast Source Discovery Protocol (MSDP) 567