! debug pim
! debug pim zebra
!
interface lo
 ip pim
 ip pim use-source 10.254.254.4
!
interface r4-eth0
 ip pim
!
interface r4-eth1
 ip pim
!
interface r4-eth2
 ip pim
 ip igmp
!
ip msdp timers 10 20 3
ip msdp peer 192.168.2.1 source 192.168.2.2
ip msdp peer 192.168.3.1 source 192.168.3.2
ip pim rp 10.254.254.4
ip pim join-prune-interval 5
!
access-list forbidden-multicast seq 5 deny 229.2.1.0 0.0.0.255
access-list forbidden-multicast seq 1000 permit any
access-list local-only-multicast seq 5 deny 229.3.1.0 0.0.0.255
access-list local-only-multicast seq 6 deny ip 192.168.4.100 0.0.0.0 229.10.1.0 0.0.0.255
access-list local-only-multicast seq 1000 permit any
!
router pim
 msdp peer 192.168.2.1 sa-filter forbidden-multicast in
 msdp peer 192.168.2.1 sa-filter local-only-multicast out
 msdp peer 192.168.3.1 sa-filter forbidden-multicast in
 msdp peer 192.168.3.1 sa-filter local-only-multicast out
!
