MVPN Multicast with Multi-Protocol BGP MPLS VPN on Cisco IOS
Below assumes you have the basic MPLS transport setup. MVPN or multicast vpn is deployed on Cisco gear using Multicast Distribution Trees (MDT). This information is encapsulated in the MPBGP MPLS sessions to be distributed into label switch paths (LSPs) for forwarding. The following code will produce a basic functioning Cisco IOS MDT multicast environment. A tutorial for that can be found in this post Basic MPLS/VPN with Cisco.
Configuring MVPN Multicast with MBGP MPLS VPN
Global multicast configuration:
1 2 3 4 5 |
ip multicast-routing <strong><em>(!—Globally enable Multicast routing)</em></strong> ip multicast-routing vrf data <strong><em>(!—Enable Multicast for the VRF instance)</em></strong> ip multicast-routing vrf voice <strong><em>(!—Enable Multicast for the VRF instance)</em></strong> |
- VRF Configurations:
1 2 3 4 5 6 7 8 9 10 11 12 |
ip vrf campus-data rd 65001:10 route-target export 65001:11 route-target import 65001:11 mdt default 232.2.2.2 (!—Multicast MDT group. Must be same across all PE routers per VRF) ip vrf voice rd 10437:4 route-target export 10437:5 route-target import 10437:5 mdt default 232.1.1.1 <strong><em>(!—Multicast MDT group. Must be same across all PE routers per VRF)</em></strong> |
- More Global Configurations:
1 2 3 4 5 6 7 8 9 |
interface Vlan10 ip vrf forwarding data <strong><em>(!—Add an interface into the VRF)</em></strong> ip address x.x.x.x 255.255.255.0 ip pim sparse-mode <strong><em>(!—enable PIM (Protocol Independent Multicast, sparse or dense. Sparse recommended in order to avoid flooding)</em></strong> ip pim rp-address 172.24.68.1 override <strong><em>(Explicitly state the PIM RP. This is the core loopback for the network native Multicast table)</em></strong> ip pim vrf campus-data rp-address 128.163.220.8 ip pim vrf voice rp-address 172.17.1.9 override <strong><em>(Explicitly state the PIM RP. This is the core loopback for the network VRF &lt;instance name&gt; Multicast table. This is the RP of the loopback in the Voice core for paging)</em></strong> |
- Useful commands to verify operations:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
xxx-c1#sho ip pim vrf data neighbor <strong><em>(Look for established tunnels to all other PE’s in the VRF)</em></strong> PIM Neighbor Table Mode: B - Bidir Capable, DR - Designated Router, N - Default DR Priority, P - Proxy Capable, S - State Refresh Capable, G - GenID Capable Neighbor Interface Uptime/Expires Ver DR Address Prio/Mode 172.24.68.98 Tunnel0 6w0d/00:01:36 v2 1 / DR S P G 172.24.68.87 Tunnel0 8w4d/00:01:40 v2 1 / S P G 172.24.68.91 Tunnel0 19w6d/00:01:23 v2 1 / S G 172.24.68.4 Tunnel0 23w5d/00:01:23 v2 1 / S P G 172.24.68.5 Tunnel0 23w5d/00:01:32 v2 1 / S P G 172.24.68.9 Tunnel0 23w5d/00:01:28 v2 1 / S P G 172.24.68.15 Tunnel0 23w5d/00:01:20 v2 1 / S P G 172.24.68.6 Tunnel0 23w5d/00:01:26 v2 1 / S P G 172.24.68.78 Tunnel0 23w5d/00:01:15 v2 1 / S P G 172.24.68.97 Tunnel0 23w5d/00:01:38 v2 1 / S P G 172.24.68.2 Tunnel0 23w5d/00:01:38 v2 1 / S P G 172.24.68.1 Tunnel0 23w5d/00:01:43 v2 1 / S P G |
Thanks for stopping by.