This section contains a configuration example and commands you can issue to verify a routing matrix configuration.
In the example shown in Figure 78, there are three routers: PE1, the CE router, and PE2.
Figure 78: Multiprotocol BGP Multicast VPN Example

Router PE1 is configured with multicast VPN A, which is a sender and a receiver site, and multicast VPN B, which is a receiver site.
Router PE1
- [edit]
- routing-instances {
-
- vpn-a {
- instance-type vrf;
- interface so-6/0/0.0;
- interface so-6/0/1.0;
-
- provider tunnel {
-
- rsvp-te {
- label-switched-path-template default-template;
- }
- }
-
- protocols {
-
- mvpn {
-
- route-target {
- export-target unicast target:1:4;
- import-target unicast sender target target:1:4 receiver;
- }
- }
- }
- route-distinguisher 65535:0;
- vrf-target target:1:1;
-
- routing-options {
- auto-export;
-
- static {
- route 172.16.0.0/16 next-hop so-0/0/0.0;
- route 172.17.0.0/16 next-hop so-6/0/1.0;
- }
- }
- }
- }
- [edit]
- routing-instance {
-
- vpn-b {
- instance-type vrf;
- interface ge-0/3/0.0;
-
- provider-tunnel {
-
- pim-sm {
- group-address 224.1.1.2;
- }
- }
-
- protocols {
-
- mvpn {
- receiver-site;
-
- router-target {
- export target:1:5;
- import unicast;
- }
- }
- }
- route-distinguisher 65535:1;
- vrf-target target:1:2;
-
- routing-options {
- auto-export;
- }
- }
- }
The sample configuration for PE2 follows.
Router PE2
- [edit]
- routing-instances {
-
- vpn-a {
- instance-type vrf;
- interface so-1/0/0.0;
-
- provider-tunnel {
-
- rsvp-te {
- label-switched-path-template default-template;
- }
- }
-
- protocols {
-
- mvpn {
- sender-site;
-
- route-target {
- export target:1:4;
- import unicast;
- }
- }
- route-distinguisher 65535:2;
- vrf-target target:1:1;
-
- routing-options {
- auto-export;
-
- static {
- route 172.16.0.0/16 next-hop so-0/0/0.1;
- route 172.17.0.0/16 next-hope so-6/0/1.0;
- }
- }
- }
- }
- }
- [edit]
- routing-instance {
-
- vpn-b {
- instance-type vrf;
- interface ge-0/3/0.0;
-
- provider-tunnel {
-
- pim-sm {
- group-address 224.1.1.2;
- }
- }
-
- protocols {
-
- mvpn {
- sender-site;
-
- router-target {
- export target:1:5;
- import unicast;
- }
- }
- }
- route-distinguisher 65535:1;
- vrf-target target:1:2;
-
- routing-options {
- auto-export;
- }
- }
- }
To verify correct operation of multiprotocol BGP multicast VPNs, use the following commands:
The following sections show the output of these commands used with the configuration example:
Router> show mvpn c-multicastLegend for provider tunnel I-P-tnl -- inclusive provider tunnel S-P-tnl -- selective provider tunnel Legend for c-multicast routes properties (Pr) DS -- derived from (*, c-g) RM -- remote VPN route Instance: VPN-A C-mcast IPv4 (S:G) Ptnl St 192.168.195.78/32:225.5.5.5/32 PIM-SM:10.255.14.144, 239.1.1.1 RM MVPN instance: Legend for provider tunnel I-P-tnl -- inclusive provider tunnel S-P-tnl -- selective provider tunnel Legend for c-multicast routes properties (Pr) DS -- derived from (*, c-g) RM -- remote VPN route Instance: VPN-B C-mcast IPv4 (S:G) Ptnl St 192.168.195.94/32:226.6.6.6/32 PIM-SM:10.255.14.144, 239.2.0.0 RM
Router> show mvpn c-multicast extensiveLegend for provider tunnel I-P-tnl -- inclusive provider tunnel S-P-tnl -- selective provider tunnel Legend for c-multicast routes properties (Pr) DS -- derived from (*, c-g) RM -- remote VPN route Instance: VPN-A C-mcast IPv4 (S:G) Ptnl St 192.168.195.78/32:225.5.5.5/32 PIM-SM:10.255.14.144, 239.1.1.1 RM MVPN instance: Legend for provider tunnel I-P-tnl -- inclusive provider tunnel S-P-tnl -- selective provider tunnel Legend for c-multicast routes properties (Pr) DS -- derived from (*, c-g) RM -- remote VPN route Instance: VPN-B C-mcast IPv4 (S:G) Ptnl St 192.168.195.94/32:226.6.6.6/32 PIM-SM:10.255.14.144, 239.2.0.0 RM
Router> show mvpn c-multicast summaryInstance: VPN-A C-multicast IPv4 route count: 1 Instance: VPN-B C-multicast IPv4 route count: 2
Router> show mvpn instanceMVPN instance: Legend for provider tunnel I-P-tnl -- inclusive provider tunnel S-P-tnl -- selective provider tunnel Legend for c-multicast routes properties (Pr) DS -- derived from (*, c-g) RM -- remote VPN route Instance: VPN-A Provider tunnel: I-P-tnl:PIM-SM:10.255.14.144, 239.1.1.1 Neighbor I-P-tnl 10.255.14.160 PIM-SM:10.255.14.160, 239.1.1.1 10.255.70.17 PIM-SM:10.255.70.17, 239.1.1.1 C-mcast IPv4 (S:G) Ptnl St 192.168.195.78/32:225.5.5.5/32 PIM-SM:10.255.14.144, 239.1.1.1 RM MVPN instance: Legend for provider tunnel I-P-tnl -- inclusive provider tunnel S-P-tnl -- selective provider tunnel Legend for c-multicast routes properties (Pr) DS -- derived from (*, c-g) RM -- remote VPN route Instance: VPN-B Provider tunnel: I-P-tnl:PIM-SM:10.255.14.144, 239.2.0.0 Neighbor I-P-tnl 10.255.14.160 PIM-SM:10.255.14.160, 239.2.0.0 10.255.70.17 PIM-SM:10.255.70.17, 239.2.0.0 C-mcast IPv4 (S:G) Ptnl St 192.168.195.94/32:226.6.6.6/32 PIM-SM:10.255.14.144, 239.2.0.0 RM
Router> show mvpn instance extensiveLegend for provider tunnel I-P-tnl -- inclusive provider tunnel S-P-tnl -- selective provider tunnel Legend for c-multicast routes properties (Pr) DS -- derived from (*, c-g) RM -- remote VPN route Instance: VPN-A Provider tunnel: I-P-tnl:PIM-SM:10.255.14.144, 239.1.1.1 Neighbor I-P-tnl 10.255.14.160 PIM-SM:10.255.14.160, 239.1.1.1 10.255.70.17 PIM-SM:10.255.70.17, 239.1.1.1 C-mcast IPv4 (S:G) Ptnl St 192.168.195.78/32:225.5.5.5/32 PIM-SM:10.255.14.144, 239.1.1.1 RM MVPN instance: Legend for provider tunnel I-P-tnl -- inclusive provider tunnel S-P-tnl -- selective provider tunnel Legend for c-multicast routes properties (Pr) DS -- derived from (*, c-g) RM -- remote VPN route Instance: VPN-B Provider tunnel: I-P-tnl:PIM-SM:10.255.14.144, 239.2.0.0 Neighbor I-P-tnl 10.255.14.160 PIM-SM:10.255.14.160, 239.2.0.0 10.255.70.17 PIM-SM:10.255.70.17, 239.2.0.0 C-mcast IPv4 (S:G) Ptnl St 192.168.195.94/32:226.6.6.6/32 PIM-SM:10.255.14.144, 239.2.0.0 RM
Router> show mvpn instanceMVPN instance: Legend for provider tunnel I-P-tnl -- inclusive provider tunnel S-P-tnl -- selective provider tunnel Legend for c-multicast routes properties (Pr) DS -- derived from (*, c-g) RM -- remote VPN route Instance: VPN-A Provider tunnel: I-P-tnl:RSVP-TE P2MP:10.255.71.190, 27859,10.255.71.190 Neighbor I-P-tnl 10.255.71.2 RSVP-TE P2MP:10.255.71.2, 39143,10.255.71.2 C-mcast IPv4 (S:G) Ptnl St 192.1.1.2/32:225.10.10.1/32 RSVP-TE P2MP:10.255.71.2, 39143,10.255.71.2 DS 0.0.0.0/0:225.10.10.1/32
Router> show mvpn instance summaryInstance: VPN-A Neighbor count: 2 C-multicast IPv4 route count: 1 Instance: VPN-B Neighbor count: 4 C-multicast IPv4 route count: 2
Router> show mvpn instance VPN-ALegend for provider tunnel I-P-tnl -- inclusive provider tunnel S-P-tnl -- selective provider tunnel Legend for c-multicast routes properties (Pr) DS -- derived from (*, c-g) RM -- remote VPN route Instance: VPN-A Provider tunnel: I-P-tnl:PIM-SM:10.255.14.144, 239.1.1.1 Neighbor I-P-tnl 10.255.14.160 PIM-SM:10.255.14.160, 239.1.1.1 10.255.70.17 PIM-SM:10.255.70.17, 239.1.1.1 C-mcast IPv4 (S:G) Ptnl St 192.168.195.78/32:225.5.5.5/32 PIM-SM:10.255.14.144, 239.1.1.1 RM
Router> show mvpn instance VPN-A extensiveI-P-tnl -- inclusive provider tunnel S-P-tnl -- selective provider tunnel Legend for c-multicast routes properties (Pr) DS -- derived from (*, c-g) RM -- remote VPN route Instance: VPN-A Provider tunnel: I-P-tnl:PIM-SM:10.255.14.144, 239.1.1.1 Neighbor I-P-tnl 10.255.14.160 PIM-SM:10.255.14.160, 239.1.1.1 10.255.70.17 PIM-SM:10.255.70.17, 239.1.1.1 C-mcast IPv4 (S:G) Ptnl St 192.168.195.78/32:225.5.5.5/32 PIM-SM:10.255.14.144, 239.1.1.1 RM
Router> show mvpn instance VPN-A summaryInstance: VPN-A Neighbor count: 2 C-multicast IPv4 route count: 1
Router> show mvpn neihgborMVPN instance: Legend for provider tunnel I-P-tnl -- inclusive provider tunnel S-P-tnl -- selective provider tunnel Legend for c-multicast routes properties (Pr) DS -- derived from (*, c-g) RM -- remote VPN route Instance: VPN-A Neighbor I-P-tnl 10.255.14.160 PIM-SM:10.255.14.160, 239.1.1.1 10.255.70.17 PIM-SM:10.255.70.17, 239.1.1.1 MVPN instance: Legend for provider tunnel I-P-tnl -- inclusive provider tunnel S-P-tnl -- selective provider tunnel Legend for c-multicast routes properties (Pr) DS -- derived from (*, c-g) RM -- remote VPN route Instance: VPN-B Neighbor I-P-tnl 10.255.14.160 PIM-SM:10.255.14.160, 239.2.0.0 10.255.70.17 PIM-SM:10.255.70.17, 239.2.0.0
Router> show mvpn neighbor extensiveLegend for provider tunnel I-P-tnl -- inclusive provider tunnel S-P-tnl -- selective provider tunnel Legend for c-multicast routes properties (Pr) DS -- derived from (*, c-g) RM -- remote VPN route Instance: VPN-A C-mcast IPv4 (S:G) Ptnl St 192.168.195.78/32:225.5.5.5/32 PIM-SM:10.255.14.144, 239.1.1.1 RM MVPN instance: Legend for provider tunnel I-P-tnl -- inclusive provider tunnel S-P-tnl -- selective provider tunnel Legend for c-multicast routes properties (Pr) DS -- derived from (*, c-g) RM -- remote VPN route Instance: VPN-B C-mcast IPv4 (S:G) Ptnl St 192.168.195.94/32:226.6.6.6/32 PIM-SM:10.255.14.144, 239.2.0.0 RM
The following is output for a p2mp configuration.
Router> show mvpn neighborMVPN instance: Legend for provider tunnel I-P-tnl -- inclusive provider tunnel S-P-tnl -- selective provider tunnel Legend for c-multicast routes properties (Pr) DS -- derived from (*, c-g) RM -- remote VPN route Instance: VPN-A Neighbor I-P-tnl 10.255.71.2 RSVP-TE P2MP:10.255.71.2, 39143,10.255.71.2