Skip to Content
Cisco IOS Cookbook, 2nd Edition
book

Cisco IOS Cookbook, 2nd Edition

by Kevin Dooley, Ian Brown
December 2006
Intermediate to advanced
1188 pages
72h 8m
English
O'Reilly Media, Inc.
Content preview from Cisco IOS Cookbook, 2nd Edition

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 FastEthernet0/0
Router-C-An(config-if)#ip address 192.168.5.12 255.255.255.0
Router-C-An(config-if)#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 FastEthernet0/0.1
Router-CE-A1(config-subif)#encapsulation dot1Q 101
Router-CE-A1(config-subif)#ip address 192.168.1.5 255.255.255.0
Router-CE-A1(config-subif)#ip pim sparse-dense-mode
Router-CE-A1(config-subif)#exit
Router-CE-A1(config)#interface FastEthernet0/0.2
Router-CE-A1(config-subif)#encapsulation dot1Q 111
Router-CE-A1(config-subif)#ip address 192.168.5.1 255.255.255.0
Router-CE-A1(config-subif)#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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

IP Routing on Cisco IOS, IOS XE, and IOS XR: An Essential Guide to Understanding and Implementing IP Routing Protocols

IP Routing on Cisco IOS, IOS XE, and IOS XR: An Essential Guide to Understanding and Implementing IP Routing Protocols

Brad Edgeworth, Aaron Foss, Ramiro Garza Rios
Cisco Software-Defined Access

Cisco Software-Defined Access

Srilatha Vemula, Jason Gooley, Roddie Hasan

Publisher Resources

ISBN: 0596527225Supplemental ContentErrata Page