In this example, PE-1 connects to VPN-A and VPN-B at site 1, PE-4 connects to VPN-A at site 4, and PE-2 connects to VPN-B at site 3, as shown in Figure 37. To configure a full mesh MVPN for VPN-A and VPN-B, perform the following steps:
Configure PE-1 (both VPN-A and VPN-B at site 1):
- [edit]
- routing-instances {
-
- VPN-A {
- instance-type vrf;
- interface so-6/0/0.0;
- interface so-6/0/1.0;
-
- provider-tunnel {
-
- pim-asm {
- group-address 224.1.1.1;
- }
- }
-
- protocols {
- mvpn;
- }
- route-distinguisher 65535:0;
- vrf-target target:1:1;
- }
-
- VPN-B {
- instance-type vrf;
- interface ge-0/3/0.0;
-
- provider-tunnel {
-
- pim-asm {
- group-address 224.1.1.2;
- }
- }
-
- protocols {
- mvpn;
- }
- route-distinguisher 65535:1;
- vrf-target target:1:2;
- }
Configure PE-4 (VPN-A at site 4):
- [edit]
- routing-instances {
-
- VPN-A {
- instance-type vrf;
- interface so-1/0/0.0;
-
- provider-tunnel {
-
- pim-asm {
- group-address 224.1.1.1;
- }
- }
-
- protocols {
- mvpn;
- }
- route-distinguisher 65535:4;
- vrf-target target:1:1;
- }
Configure PE-2 (VPN-B at site 3):
- [edit]
- routing-instances {
-
- VPN-B {
- instance-type vrf;
- interface ge-1/3/0.0;
-
- provider-tunnel {
-
- pim-asm {
- group-address 224.1.1.2;
- }
- }
-
- protocols {
- mvpn;
- }
- route-distinguisher 65535:3;
- vrf-target target:1:2;
- }