Configure the multicast routing table group by adding the VPNA-mcast-rib statement at the [edit routing-options] hierarchy level. This group accesses inet.2 when doing RPF checks. However, if you are using inet.0 for multicast RPF checks, this step will prevent your multicast configuration from working.
You must also include the interface routes in inet.2. For more information about creating routing table groups, see the JUNOS Routing Protocols Configuration Guide.
- routing-options {
-
- interface-routes {
- rib-group VPNA-mcast-rib;
- }
-
- rib-groups {
-
- VPNA-mcast-rib {
- export-rib VPN-A.inet.2;
- import-rib VPN-A.inet.2;
- }
- }
- }
After you configure the multicast routing table group, activate it by including the rib-group inet VPNA-mcast-rib statement at the [edit routing-instances instance-name protocols pim] hierarchy level of the VPN's VRF instance.
- routing-instances {
-
- VPN-A {
-
- protocols {
-
- pim {
- rib-group inet VPNA-mcast-rib;
- }
- }
- }
- }
Use the following commands to verify the configuration:
user@host> show pim interfaces instance
VPN-A
Instance: PIM.VPN-A Name Stat Mode IP V State Count DR address lo0.1 Up Sparse 4 2 DR 0 10.10.47.101 mt-1/1/0.32769 Up Sparse 4 2 DR 1 mt-1/1/0.49154 Up Sparse 4 2 DR 0 pe-1/1/0.32769 Up Sparse 4 1 P2P 0 t1-2/1/0:0.0 Up Sparse 4 2 P2P 1
user@host> show pim neighbors instance
VPN-A
Instance: PIM.VPN-A Interface IP V Mode Option Uptime Neighbor addr mt-1/1/0.32769 4 2 HPL 01:40:46 10.10.47.102 t1-1/0/0:0.0 4 2 HPL 01:41:41 192.168.196.178