Multicast VPN configuration examples
This section provides examples of configuring multicast VPN on switches.
Intra-AS MD VPN configuration example
Network requirements
Item
Multicast sources
and receivers
VPN instances to
which PE interfaces
belong
Unicast routing
protocols and
MPLS
IP multicast routing
IGMP
PIM
Network requirements
•
In VPN instance a, S 1 is a multicast source, and R 1, R 2 and R 3 are receivers.
•
In VPN instance b, S 2 is a multicast source, and R 4 is a receiver.
•
For VPN instance a, the default-group is 239.1.1.1, and the data-group range is
225.2.2.0 to 225.2.2.15.
•
For VPN instance b, the default-group is 239.2.2, and the data-group range is
225.4.4.0 to 225.4.4.15.
•
PE 1: VLAN-interface 11 and VLAN-interface 20 belong to VPN instance a.
VLAN-interface 12 and Loopback 1 belong to the public network instance.
•
PE 2: VLAN-interface 13 belongs to VPN instance b. VLAN-interface 14 belongs
to VPN instance a. VLAN-interface 15 and Loopback 1 belong to the public
network instance.
•
PE 3: VLAN-interface 17 belongs to VPN instance a. VLAN-interface 18 and
Loopback 2 belong to VPN instance b. VLAN-interface 19 and Loopback 1
belong to the public network instance.
•
Configure OSPF on the public network, and configure RIP between the PEs and
CEs.
•
Establish BGP peer connections between PE 1, PE 2, and PE 3 on their
respective Loopback 1.
•
Configure MPLS on the public network.
•
Enable IP multicast routing on the P device.
•
Enable IP multicast routing on the public network on PE 1, PE 2, and PE 3.
•
Enable IP multicast routing for VPN instance a on PE 1, PE 2, and PE 3.
•
Enable IP multicast routing for VPN instance b on PE 2 and PE 3.
•
Enable IP multicast routing on CE a1, CE a2, CE a3, CE b1, and CE b2.
•
Enable IGMPv2 on VLAN-interface 20 of PE 1.
•
Enable IGMPv2 on VLAN-interface 40 of CE a2, VLAN-interface 50 of CE a3,
and VLAN-interface 60 of CE b2.
Enable PIM-SM on the public network and for VPN instances a and b:
•
Enable PIM-SM on all interfaces of the P device.
•
Enable PIM-SM on all public and private network interfaces of PE 1, PE 2, and
PE 3.
•
Enable PIM-SM on all interfaces that have no receiver hosts connected of CE
a1, CE a2, CE a3, CE b1, and CE b2.
•
Configure Loopback 1 of P as a C-BSR and a C-RP for the public network to
provide services for all multicast groups.
•
Configure Loopback 1 of CE a2 as a C-BSR and a C-RP for VPN instance a to
provide services for all multicast groups.
•
Configure Loopback 2 of PE 3 as a C-BSR and a C-RP for VPN instance b to
provide services for all multicast groups.
199