Multicast Over MPLS
Problem
You want to pass customer multicast traffic through an MPLS network.
Solution
For this recipe, we must configure Multicast capabilities on all of the different types of routers: C, CE, P, and PE. First, the C and CE routers, which we configure for multicast using exactly the same techniques that we used in Chapter 23:
Router-C-An#configure terminal
Enter configuration commands, one per line. End with CNTL/Z. Router-C-An(config)#ip multicast-routing
Router-C-An(config)#interface
Router-C-An(config-if)#
FastEthernet0/0
ip address
Router-C-An(config-if)#
192.168.5.12 255.255.255.0
ip pim sparse-dense-mode
Router-C-An(config-if)#exit
Router-C-An(config)#end
Router-C-An#
For the CE routers, we need to configure the interfaces that point to both the C and PE routers:
Router-CE-A1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z. Router-CE-A1(config)#ip multicast-routing
Router-CE-A1(config)#interface
Router-CE-A1(config-subif)#
FastEthernet0/0.1
encapsulation dot1Q
Router-CE-A1(config-subif)#
101
ip address
Router-CE-A1(config-subif)#
192.168.1.5 255.255.255.0
ip pim sparse-dense-mode
Router-CE-A1(config-subif)#exit
Router-CE-A1(config)#interface
Router-CE-A1(config-subif)#
FastEthernet0/0.2
encapsulation dot1Q
Router-CE-A1(config-subif)#
111
ip address
Router-CE-A1(config-subif)#
192.168.5.1 255.255.255.0
ip pim sparse-dense-mode
Router-CE-A1(config-subif)#exit
Router-CE-A1(config)#end
Router-CE-A1#
We will configure a static IGMP join-group ...
Get Cisco IOS Cookbook, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.