log commands
!
!ip prefix-list pim-eth0-neighbors permit 192.168.2.0/24
!ipv6 prefix-list pimv6-eth0-neighbors permit 2001:db8:2::/64
!
interface r1-eth0
 ip address 192.168.1.1/24
 ip pim
 ipv6 address 2001:db8:1::1/64
 ipv6 pim
!
interface r1-eth1
 ip address 192.168.2.1/24
 ip pim
 ip pim allowed-neighbors prefix-list pim-eth0-neighbors
 ipv6 address 2001:db8:2::1/64
 ipv6 pim
 ipv6 pim allowed-neighbors prefix-list pimv6-eth0-neighbors
!
interface r1-eth2
 ip address 192.168.100.1/24
 ip igmp
 ip pim passive
 ipv6 address 2001:db8:ffff::1/128
 ipv6 mld
 ipv6 pim passive
!
interface lo
 ip address 10.254.254.1/32
 ip pim
 ip pim use-source 10.254.254.1
!
router bgp 65100
 no bgp ebgp-requires-policy
 no bgp network import-check
 neighbor 192.168.1.2 remote-as 65200
 neighbor 192.168.2.2 remote-as 65300
 !
 address-family ipv4 unicast
  redistribute connected
 exit-address-family
 address-family ipv6 unicast
  redistribute connected
  neighbor 192.168.1.2 activate
  neighbor 192.168.2.2 activate
 exit-address-family
!
router pim
 rp 10.254.254.1
!
router pim6
 rp 2001:db8:ffff::1
!
