Configure the routing instance (VPN-A) for the Layer 3 VPN on the PE2 router. You need to set the PIM instance for the VPN. Use the vpn-group-address statement at the [edit routing-instances routing-instance-name protocols pim] hierarchy level to specify the VPN group address, which is used for multicast over a Layer 3 VPN configuration. As you did for the PE1 router, configure an additional unit on the loopback interface of the PE2 router at the [edit interfaces] hierarchy level and assign an address from the VPN address space.
- routing-instances {
-
- VPN-A {
- instance-type vrf;
- interface t1-2/0/0:0.0;
- interface lo0.1;
- route-distinguisher 10.255.71.51:100;
- vrf-import VPNA-import;
- vrf-export VPNA-export;
-
- protocols {
-
- ospf {
- export bgp-to-ospf;
-
- area 0.0.0.0 {
- interface t1-2/0/0:0.0;
- interface lo0.1;
- }
- }
-
- pim {
- vpn-group-address 239.1.1.1;
-
- rp {
-
- static {
- address 10.255.245.91;
- }
- }
-
- interface t1-2/0/0:0.0 {
- mode sparse;
- version 2;
-
- interface lo0.1 {
- mode sparse;
- version 2;
- }
- }
- }
- }
- }
-
- interfaces {
-
- lo0 {
- description "unit 1 has the important PIM address";
-
- unit 0 {
-
- family inet {
- address 192.168.27.14/32;
- primary;
- address 127.0.0.1/32;
- }
- }
-
- unit 1 {
-
- family inet {
- address 10.10.47.102/32;
- }
- }
- }
- }
- }
![]() |
Note: Multicast Layer 3 VPNs require the BGP next-hop address of the VPN route to match the BGP next-hop address of the loopback VRF instance address. |