I am configuring ipv6 multicast in the below-shown setup. ospfv3 and PIM sparse-mode is enabled on all the routers and on all the interfaces of the router.
R3 is the RP. R6 joins FF08::1 multicast group and mroute entries are created from R6->R1->R2->R3.
If the outgoing interface is gi0/1(interface pointing to R2) then ping works from R3.
Below is the configuration of all the routers.
iosr1
-------------------------------
ipv6 unicast-routing
ipv6 multicast-routing
ip multicast-routing
int gi0/0
ipv6 enable
ip address 100.10.20.1 255.255.255.0
ipv6 address 2001:face:12::1/64
no sh
ospfv3 1 ipv6 area 0
ip pim sparse-dense-mode
int gi0/1
ipv6 enable
ip address 100.10.60.1 255.255.255.0
ipv6 address 2001:face:16::1/64
no sh
ospfv3 1 ipv6 area 0
ip pim sparse-dense-mode
int lo0
ipv6 enable
ip address 1.1.1.1 255.255.255.255
ipv6 address 1::1/128
ospfv3 1 ipv6 area 0
ip pim sparse-dense-mode
router ospfv3 1
router-id 1.1.1.1
iosr2
-------------------------------
ip multicast-routing
ipv6 unicast-routing
ipv6 multicast-routing
int gi0/0
ipv6 enable
ip address 100.10.20.2 255.255.255.0
ipv6 address 2001:face:12::2/64
no sh
ospfv3 1 ipv6 area 0
ip pim sparse-dense-mode
int gi0/1
ipv6 enable
ip address 100.20.30.2 255.255.255.0
ipv6 address 2001:face:23::2/64
no sh
ospfv3 1 ipv6 area 0
ip pim sparse-dense-mode
router ospfv3 1
router-id 2.2.2.2
int lo0
ipv6 enable
ip address 2.2.2.2 255.255.255.255
ipv6 address 2::2/128
ospfv3 1 ipv6 area 0
ip pim sparse-dense-mode
iosr3
-------------------------------
ip multicast-routing
ipv6 unicast-routing
ipv6 multicast-routing
int gi0/0
ipv6 enable
ip address 100.30.40.3 255.255.255.0
ipv6 address 2001:face:34::3/64
no sh
ospfv3 1 ipv6 area 0
ip pim sparse-dense-mode
int gi0/1
ipv6 enable
ip address 100.20.30.3 255.255.255.0
ipv6 address 2001:face:23::3/64
no sh
ospfv3 1 ipv6 area 0
ip pim sparse-dense-mode
router ospfv3 1
router-id 3.3.3.3
int lo0
ipv6 enable
ip address 3.3.3.3 255.255.255.255
ipv6 address 3::3/128
ospfv3 1 ipv6 area 0
ip pim sparse-dense-mode
iosr4
-------------------------------
ip multicast-routing
ipv6 unicast-routing
ipv6 multicast-routing
int gi0/0
ipv6 enable
ip address 100.30.40.4 255.255.255.0
ipv6 address 2001:face:34::4/64
no sh
ospfv3 1 ipv6 area 0
ip pim sparse-dense-mode
int gi0/1
ipv6 enable
ip address 100.40.50.4 255.255.255.0
ipv6 address 2001:face:45::4/64
no sh
ospfv3 1 ipv6 area 0
ip pim sparse-dense-mode
router ospfv3 1
router-id 4.4.4.4
int lo0
ipv6 enable
ip address 4.4.4.4 255.255.255.255
ipv6 address 4::4/128
ospfv3 1 ipv6 area 0
ip pim sparse-dense-mode
iosr5
-------------------------------
ip multicast-routing
ipv6 unicast-routing
ipv6 multicast-routing
int gi0/1
ipv6 enable
ip address 100.40.50.5 255.255.255.0
ipv6 address 2001:face:45::5/64
no sh
ospfv3 1 ipv6 area 0
ip pim sparse-dense-mode
int gi0/0
ipv6 enable
ip address 100.50.60.5 255.255.255.0
ipv6 address 2001:face:56::5/64
no sh
ospfv3 1 ipv6 area 0
ip pim sparse-dense-mode
int lo0
ipv6 enable
ip address 5.5.5.5 255.255.255.255
ipv6 address 5::5/128
ospfv3 1 ipv6 area 0
ip pim sparse-dense-mode
router ospfv3 1
router-id 5.5.5.5
ios6
-----------
ip multicast-routing
ipv6 unicast-routing
ipv6 multicast-routing
int gi0/1
ipv6 enable
ip address 100.10.60.6 255.255.255.0
ipv6 address 2001:face:16::6/64
no sh
ospfv3 1 ipv6 area 0
ip pim sparse-dense-mode
router ospfv3 1
router-id 6.6.6.6
int gi0/0
ipv6 enable
ip address 100.50.60.6 255.255.255.0
ipv6 address 2001:face:56::6/64
no sh
ip ospf 1 area 0
ip pim sparse-dense-mode
int lo0
ipv6 enable
ip address 6.6.6.6 255.255.255.255
ipv6 address 6::6/128
ospfv3 1 ipv6 area 0
ip pim sparse-dense-mode
ipv6 mld join-group FF08::1
----------